/* FAQ Page Styles - Modern UI Design */

/* FAQ Navigation Section */
.faq-navigation-section h2 {
    color: #3b82f6;
    /* background:   linear-gradient(135deg, #007bff83, #00d5ff68); */
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    margin-top: 50px !important;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-center-titles-h1 {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 52px;
}

.faq-center-titles-p {
    text-align: center;
    font-size: 19px;
    margin: 0 auto;

}

/* FAQ Navigation Buttons */
.faq-nav-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.193);
    border: 2px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-btn i {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.nav-btn span {
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.nav-btn:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.nav-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
}

.nav-btn.active i,
.nav-btn.active span {
    color: white;
}

/* FAQ Content Section */
.faq-content-section {
    padding: 60px 0;
    /* background: white; */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-navigation {
    /* background: white; */
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.faq-nav-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-btn {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.nav-btn.active {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
}

/* FAQ Sections */
.faq-section {
    display: none;
    /* background: white; */
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-section.active {
    display: block !important;
    animation: fadeInUp 0.6s ease;
}

/* Show All section by default */
.faq-section#all {
    display: block;
}

/* FAQ Category Groups in All Section */
.faq-category-group {
    margin-bottom: 4rem;
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-category-group:last-child {
    margin-bottom: 2rem;
}

.faq-category-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding: 1rem 1rem 1rem 2rem;
    border-left: 4px solid #4facfe;
    background: linear-gradient(207deg, #387cc0 0%, #e9ecef 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.faq-category-subtitle:after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #4facfe;
    border-radius: 50%;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-header .faq-category-subtitle {
    margin-bottom: 0;
    flex: 1;
}

.view-all-btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    white-space: nowrap;
    border: 2px solid #4facfe;
    color: #4facfe;
    background: rgba(79, 172, 254, 0.1);
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #4facfe;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 172, 254, 0.3);
}

.faq-section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.faq-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* FAQ Items */
.faq-items {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.faq-item {
    /* background: white; */
    border: 1px solid #e2e8f086;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.faq-item:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.faq-question {
    background: #071e454a;
    padding: 1.5rem;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    background: #90bdf97b;
    color: #ffffff;
}

.faq-question::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
    color: #d8dadd08;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0);
    color: #ffffff;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
    border-top: 1px solid #e2e8f0c7;
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: #ffffffcc;
    font-size: 1rem;
}

/* CTA Section */
.contact-cta-section {
    padding: 80px 0;
    /* background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); */
}

.cta-card {
    text-align: center;
}

.cta-content .section-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-content .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: white;
    color: #3b82f6;
    border: 2px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #3b82f6;
}

/* Related Section */
.related-section {
    padding: 80px 0;
    background: #282e346b;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.related-card {
    background: rgba(255, 255, 255, 0.14);
    padding: 2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;

}

.related-grid a h3,
.related-grid a {
    overflow: hidden;
    color: #ffffff !important;
}

.faq-section-title {
    color: #2c63e3 !important;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: #ffffff;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.related-card h3 {
    color: #2c63e3 !important;
    /* color: #1e293b; */
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.related-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.card-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.related-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(4px);
}

.card-arrow i {
    color: #3b82f6;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

.contact-card h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.contact-card p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

/* Related Links */
.related-links {
    margin-top: 60px;
}

.related-links h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.related-link {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.related-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    color: #333;
}

.related-link h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #667eea;
    font-weight: 600;
}

.related-link p {
    margin: 0;
    line-height: 1.6;
    color: #666;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2.5rem;
    }

    .faq-subtitle {
        font-size: 1rem;
    }

    .faq-nav-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-btn {
        width: 200px;
    }

    .faq-section {
        padding: 25px;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-card h2 {
        font-size: 2rem;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .faq-nav-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-btn {
        padding: 1rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 1rem;
    }

    .faq-navigation-section,
    .faq-content-section,
    .contact-cta-section,
    .related-section {

        padding: 3rem 0;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 1rem;
    }

    .related-card {
        padding: 1.5rem;
    }
}