/* FAQ Page - Modern UI */

/* FAQ Hero */
.faq-hero {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #048bba 0%, #0aa5d9 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 6rem;
    text-align: center;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(100px);
}

.faq-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    filter: blur(80px);
}

.faq-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-badge {
    display: inline-block;
    padding: 0.6rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.faq-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
    font-weight: 400;
}

/* FAQ Main Section */
.faq-main {
    padding: 8rem 2rem;
    background: var(--bg-color);
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.faq-category-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    background: var(--bg-secondary);
    color: var(--secondary-text);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: var(--accent-gradient);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(4, 139, 186, 0.3);
}

/* FAQ Items */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item-modern {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item-modern:hover {
    border-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-item-modern.active {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(4, 139, 186, 0.15);
}

.faq-question-modern {
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.faq-question-modern h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    padding-right: 3rem;
    line-height: 1.5;
}

.faq-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item-modern.active .faq-icon {
    background: var(--accent-gradient);
    transform: rotate(180deg);
}

.faq-icon svg,
.faq-icon i {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item-modern.active .faq-icon svg,
.faq-item-modern.active .faq-icon i {
    color: #ffffff;
}

.faq-answer-modern {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item-modern.active .faq-answer-modern {
    max-height: 1000px;
    padding: 0 2.5rem 2rem;
}

.faq-answer-modern p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--secondary-text);
    margin-bottom: 1rem;
}

.faq-answer-modern p:last-child {
    margin-bottom: 0;
}

/* Still Have Questions Section */
.faq-cta {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(4, 139, 186, 0.05) 100%);
}

.faq-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 3rem;
    background: var(--bg-secondary);
    border-radius: 30px;
    border: 2px solid var(--primary-light);
}

.faq-cta h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.faq-cta p {
    font-size: 1.3rem;
    color: var(--secondary-text);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.faq-cta-btn {
    padding: 1.4rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(4, 139, 186, 0.3);
}

.faq-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(4, 139, 186, 0.4);
}

/* Search Box */
.faq-search {
    max-width: 700px;
    margin: 0 auto 5rem;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 1.5rem 5rem 1.5rem 2rem;
    font-size: 1.1rem;
    font-family: var(--font-main);
    color: var(--text-color);
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(4, 139, 186, 0.1);
}

.faq-search-icon {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-text);
    font-size: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-hero {
        padding: 6rem 1.5rem 4rem;
        min-height: 50vh;
    }

    .faq-main,
    .faq-cta {
        padding: 5rem 1.5rem;
    }

    .faq-categories {
        gap: 0.75rem;
        margin-bottom: 3rem;
    }

    .faq-category-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .faq-question-modern {
        padding: 1.5rem 1.5rem;
    }

    .faq-question-modern h3 {
        font-size: 1.1rem;
    }

    .faq-icon {
        width: 40px;
        height: 40px;
    }

    .faq-item-modern.active .faq-answer-modern {
        padding: 0 1.5rem 1.5rem;
    }

    .faq-cta-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 480px) {
    .faq-hero {
        padding: 5rem 1rem 3rem;
    }

    .faq-main,
    .faq-cta {
        padding: 4rem 1rem;
    }

    .faq-categories {
        flex-direction: column;
    }

    .faq-category-btn {
        width: 100%;
    }

    .faq-search input {
        font-size: 16px;
        /* Prevents iOS zoom */
    }

    .faq-cta-content {
        padding: 2.5rem 1.5rem;
    }
}