/* Modern FAQ Styles - Side Menu Design Language */

/* Container and Layout */
.modern-faq-container {
    background: #f8fafc;
    padding: 0;
}

/* Content Wrapper */
.content-wrapper {
    background: #f8fafc;
    /* padding: 10px 0; */
}

.mt-20{
    margin-top: 20px;
}

/* ============================================================
   NAVIGATION PILLS (EXACT SIDE MENU STYLE)
============================================================ */

.nav-pills-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.15);
    transition: all 0.3s ease;
    padding: 2rem;
    margin-bottom: 40px;
    margin-top: 20px;
}

.nav-pills-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.2);
}

.nav-pills-modern h2 {
    color: #0f172a;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(56, 189, 248, 0.2);
    position: relative;
}

.nav-pills-modern h2::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    margin-bottom: 0.5rem;
}

.nav-menu > li > a,
.nav-pills-modern .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #0f172a;
    border-radius: 8px;
    font-weight: 900;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(56, 189, 248, 0.1);
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.08);
}

.nav-menu > li > a:hover,
.nav-pills-modern .nav-link:hover {
    background: rgba(56, 189, 248, 0.05);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.15);
    color: #0f172a;
    text-decoration: none;
}

.nav-menu > li.active > a,
.nav-pills-modern .nav-link.active {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

/* ============================================================
   FAQ CARDS (EXACT SIDE MENU STYLE)
============================================================ */

.faq-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.15);
    transition: all 0.3s ease;
    padding: 2rem;
    /* margin-bottom: 25px; */
    position: relative;
    overflow: hidden;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.2);
}

.faq-card .category {
    color: #38bdf8;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.faq-card h5 {
    color: #0f172a;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0;
    line-height: 1.4;
    position: relative;
}

.faq-card h5 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-card:hover h5 a {
    color: #38bdf8;
}

/* ============================================================
   FAQ SIDEBAR (EXACT SIDE MENU STYLE)
============================================================ */

.faq-sidebar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.15);
    transition: all 0.3s ease;
    padding: 2rem;
    margin-bottom: 30px;
}

.faq-sidebar:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.2);
}

.faq-sidebar h5 {
    color: #0f172a;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(56, 189, 248, 0.2);
    position: relative;
}

.faq-sidebar h5::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
}

.faq-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq-nav-item {
    margin-bottom: 0.5rem;
}

.faq-nav-link {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #0f172a;
    border-radius: 8px;
    font-weight: 900;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(56, 189, 248, 0.1);
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.08);
}

.faq-nav-link:hover {
    background: rgba(56, 189, 248, 0.05);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.15);
    color: #0f172a;
    text-decoration: none;
}

.faq-nav-link.active {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

/* ============================================================
   FAQ CONTENT SECTION (EXACT SIDE MENU STYLE)
============================================================ */

.faq-content-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.15);
    transition: all 0.3s ease;
    padding: 2rem;
    margin-bottom: 20px;
}

.faq-content-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.2);
}

/* Section Title */
.section-title {
    /* text-align: center; */
    margin-bottom: 10px;
}

.section-title h2,
.section-title h3 {
    color: #0f172a;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(56, 189, 248, 0.2);
    position: relative;
    display: inline-block;
}

.section-title h2::after,
.section-title h3::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
}

/* ============================================================
   MODERN ACCORDION STYLES (SIDE MENU DESIGN)
============================================================ */

/* .accordion-modern {
    margin-top: 30px;
} */

.accordion-item-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item-modern:last-child {
    margin-bottom: 0;
}

.accordion-item-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.2);
}

.accordion-button-modern {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(56, 189, 248, 0.1);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.08);
    padding: 20px 20px;
}

.accordion-button-modern:hover {
    background: rgba(56, 189, 248, 0.05);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.15);
}

.accordion-button-modern[aria-expanded="true"] {
    color: #000000;
    border-color: transparent;
    box-shadow: inset 4px 4px 16px 4px rgba(8, 158, 223, 0.3);
}

.accordion-title-modern {
    font-weight: 900;
    font-size: 1.5rem;
    color: #0f172a;
    flex: 1;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.accordion-icon-modern {
    margin-left: 10px;
    font-size: 0.8rem;
    font-weight: 900;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.accordion-button-modern:hover .accordion-icon-modern,
.accordion-button-modern[aria-expanded="true"] .accordion-icon-modern {
    opacity: 1;
}

.accordion-icon-modern.rotate {
    transform: rotate(90deg);
}

.accordion-content-modern {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.accordion-answer {
    padding: 20px;
    color: #0f172a;
    line-height: 1.6;
    font-size: 1rem;
    border-top: 2px solid rgba(51, 181, 239, 0.22);
    margin: -2px 0;
}

/* ============================================================
   CTA SECTION (SIDE MENU STYLE)
============================================================ */

.cta-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.15);
    transition: all 0.3s ease;
    padding: 15px;
    margin-top: 20px;
    margin-bottom: 20px !important;
    text-align: center;
    color: #0f172a;
}

.cta-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.2);
}

.cta-section h4 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #0f172a;
}

/* ============================================================
   BUTTONS (SIDE MENU STYLE)
============================================================ */

.btn-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #0f172a;
    border-radius: 8px;
    font-weight: 900;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(56, 189, 248, 0.1);
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.08);
    margin: 0 10px;
    display: inline-block;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.15);
    color: #fff;
    text-decoration: none;
}

.btn-outline-modern {
    background: rgba(255, 255, 255, 0.8);
    color: #0f172a;
    border-color: rgba(56, 189, 248, 0.1);
}

.btn-outline-modern:hover {
    background: rgba(56, 189, 248, 0.05);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.15);
    color: #0f172a;
    text-decoration: none;
}

/* ============================================================
   ICON STYLING (SIDE MENU STYLE)
============================================================ */

.nav-pills-modern i,
.faq-nav-link i,
.accordion-title-modern i {
    margin-right: 12px;
    width: 16px;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-pills-modern .nav-link:hover i,
.nav-pills-modern .nav-link.active i,
.faq-nav-link:hover i,
.faq-nav-link.active i {
    opacity: 1;
}

/* ============================================================
   CHEVRON ICON
============================================================ */

.chev {
    margin-left: 10px;
    font-size: 0.8rem;
    font-weight: 900;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-menu > li > a:hover .chev,
.nav-menu > li.active > a .chev {
    opacity: 1;
}

.chev.rotate {
    transform: rotate(90deg);
}

/* ============================================================
   SUBMENU STYLING (SMOOTH MAX-HEIGHT)
============================================================ */

.submenu {
    max-height: 0;
    overflow: hidden;
    margin-top: 0.5rem;
    padding-left: 0;
    transition: max-height 0.3s ease-in-out;
}

.submenu ul {
    border-left: 2px solid rgba(51, 181, 239, 0.22);
    margin: 8px 0;
    padding-left: 16px;
    border-radius: 0 0 0 8px;
}

.submenu li a {
    display: block;
    padding: 10px 16px;
    margin: 4px 0;
    border-radius: 8px;
    text-decoration: none;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(56, 189, 248, 0.1);
    transition: all 0.3s ease;
    font-size: 1.25rem;
    font-weight: 900;
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(56, 189, 248, 0.1);
    color: #0f172a;
}

.submenu li a:hover {
    background: rgba(56, 189, 248, 0.05);
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
    color: #0f172a;
}

.submenu li.active a {
    background: rgba(56, 189, 248, 0.1);
    color: #0f172a;
    border-color: rgba(56, 189, 248, 0.2);
    font-weight: 600;
}

/* Focus State */
.nav-pills-modern .nav-link:focus,
.faq-nav-link:focus,
.accordion-button-modern:focus,
.btn-modern:focus {
    outline: none !important;
    outline-offset: 2px;
}

.nav-pills-modern {
    background: white;
    border-radius: 25px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
    margin-bottom: 40px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    border: 1px solid #e2e8f0;
}

.nav-pills-modern .nav-link {
    border-radius: 20px;
    padding: 12px 20px;
    color: #64748b;
    font-weight: 500;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.nav-pills-modern .nav-link:hover {
    background: #f1f5f9;
    color: #475569;
    transform: translateY(-2px);
    text-decoration: none;
}

.nav-pills-modern .nav-link.active {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}

/* ============================================================
   RESPONSIVE DESIGN
============================================================ */

@media (max-width: 768px) {
    .faq-hero h1 {
        font-size: 2rem;
    }

    .nav-pills-modern {
        padding: 1.5rem;
        flex-direction: column;
        width: 100%;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .nav-pills-modern .nav-link {
        text-align: center;
        width: 100%;
    }

    .btn-modern {
        margin: 10px 0;
        display: block;
        width: 100%;
        /* max-width: 300px; */
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
    }
/*
    .content-wrapper {
        padding: 30px 0;
    } */

    .faq-card,
    .faq-sidebar,
    .faq-content-section{
        padding: 1.5rem;
        margin-bottom: 20px !important;
    }

    .cta-section {
        padding: 1.5rem;
        margin-top: 0px !important;
    }

    .accordion-button-modern {
        padding: 15px 20px;
    }

    .accordion-answer {
        padding: 15px 20px;
    }

    .accordion-title-modern {
        font-size: 1rem;
    }

    .section-title h2,
    .section-title h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .faq-hero h1 {
        font-size: 1.8rem;
    }

    .faq-hero p {
        font-size: 1rem;
    }

    .accordion-title-modern {
        font-size: 0.95rem;
    }

    .accordion-button-modern {
        /* flex-direction: column; */
        align-items: flex-start;
        /* gap: 10px; */
    }

    .accordion-icon-modern {
        margin-left: 0;
        align-self: flex-end;
        margin-top: -30px;
    }
/*
    .nav-pills-modern {
        padding: 1rem;
    } */

    /* .faq-card,
    .faq-sidebar,
    .faq-content-section {
        padding: 1rem;
    } */
}

/* Submenu Open State */
.submenu.open {
    max-height: 1000px;
}
