/* FAQ Page Styles */
@import url('style.css');

.page-header {
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7)), url('https://images.unsplash.com/photo-1628348068343-c6a848d2b6dd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

/* Search Bar */
.faq-search-container {
    max-width: 600px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 10;
}

.faq-search-wrapper {
    position: relative;
}

.faq-search-input {
    width: 100%;
    padding: 20px 60px 20px 30px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-md);
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.faq-search-input:focus {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Accordion */
.faq-container {
    max-width: 900px;
    margin: 0 auto 100px;
}

.faq-category-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 40px 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(15, 23, 42, 0.05);
}

.faq-item {
    background: white;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 210, 211, 0.05);
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: white;
}

.faq-answer-content {
    padding: 0 30px 30px;
    color: var(--text-color);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Arbitrary large height */
}

/* Highlight for search */
.highlight-text {
    background-color: yellow;
}
.page-header {
    height: 100px;
    padding: 0;
    margin-bottom: 0;
    overflow: hidden;
}
