/* Custom styles for GST Management page */
.gst-managment-section {
    padding: 80px 0;
    min-height: calc(100vh - 140px);
    background-image: url('../images/practice/client-managment/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.client-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    display: flex;
    overflow: hidden;
}

.card-left {
    flex: 1.3;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.card-left h2 {
    font-family: "Rethink Sans";
    font-size: 48px;
    font-weight: 700;
    color: #0A1629;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.card-left p {
    font-family: "DM Sans";
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 30px;
}

.features-row {
    gap: 30px;
    align-items: center;
}

.feature-item-hero {
    font-family: "Rethink Sans";
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 400;
    color: #4b5563;
}

.feature-item {
    font-family: "Rethink Sans";
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 400;
    color: white
}

.check-icon {
    width: 20px;
    height: 20px;
    background-color: #4b7bb4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-right {
    flex: 1;
    background-color: #4b7bb4;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.pill-item {
    background-color: #ffffff;
    font-family: 'inter';
    color: #1f2937;
    font-size: 19px;
    font-weight: 400;
    padding: 14px 28px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.star-icon {
    width: 30px;
    height: 30px;
    fill: #4b7bb4;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .card-left {
        padding: 40px 30px;
    }

    .card-right {
        padding: 40px 30px;
    }

    .card-left h2 {
        font-size: 32px;
    }

    .pill-item {
        font-size: 15px;
        padding: 12px 24px;
    }
}

@media (max-width: 768px) {
    .client-card {
        flex-direction: column;
    }

    .features-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .card-left h2 {
        font-size: 28px;
    }
}

/* Flexible GST Section */
.flexible-gst-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.flexible-gst-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.flexible-gst-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.flexible-gst-section .subtitle {
    display: block;
    color: #4a7bb5;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
}

.flexible-gst-section .section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.flexible-gst-section .section-header p {
    font-size: 16px;
    line-height: 1.6;
    color: #1A1A1C;
    max-width: 750px;
    margin: 0 auto;
}

.table-wrapper {
    border: 12px solid #E6E9F5;
    border-radius: 16px;
    background-color: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.gst-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-width: 900px;
}

.cell {
    padding: 30px 40px;
    align-items: center;
    font-size: 15px;
    line-height: 1.5;
}

.col-1-blue-header {
    font-family: "Rethink Sans";
    background-color: #387BBB;
    color: #ffffff;
    font-weight: 500;
    font-size: 40px;
}

.col-1-blue {
    background-color: #387BBB;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
}

.col-1 {
    background-color: #FFFAF5;
    color: #ffffff;
    font-weight: 500;
    font-size: 16px;
}

.col-2,
.col-3 {
    background-color: #ffffff;
    color: #374151;
    border-bottom: 1px solid #e2e8f0;
}

.col-2 {
    border-right: 1px solid #e2e8f0;
}

.row-last .col-2,
.row-last .col-3 {
    border-bottom: none;
}

.header-cell {
    padding-top: 50px;
    padding-bottom: 40px;
    align-items: flex-start;
}

.header-cell.col-1 {
    font-size: 32px;
    font-weight: 700;
}

.header-cell.col-2,
.header-cell.col-3 {
    font-size: 26px;
    font-weight: 600;
    color: #2b5c92;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .flexible-gst-section .section-header h2 {
        font-size: 32px;
    }

    .cell {
        padding: 24px 30px;
    }

    .header-cell {
        padding-top: 40px;
        padding-bottom: 30px;
    }
}

@media (max-width: 600px) {
    .flexible-gst-section .section-header h2 {
        font-size: 28px;
    }

    .table-wrapper {
        border-width: 6px;
        border-radius: 12px;
    }

    .table-scroll::-webkit-scrollbar {
        height: 6px;
    }

    .table-scroll::-webkit-scrollbar-track {
        background: #f1f5f9;
    }

    .table-scroll::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 10px;
    }
}

/* ----------------------------------
   GST Management - Tabs Section
   ---------------------------------- */
.gst-tabs-section {
    padding-bottom: 80px;
    background: #ffffff;
}

.gst-tabs-section .tabs-header-wrapper {
    position: sticky;
    top: 54px;
    /* Sticks below primary header (32px logo + 10px+10px padding + 2px border = 54px) */
    z-index: 999;
    background-color: #ffffff;
    width: 100%;
    margin-bottom: 50px;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.gst-tabs-section .tabs-header-inner {
    padding: 15px 0;
}

.gst-tabs-section .tabs-header {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
    overflow-x: auto;
    white-space: nowrap;
}

.gst-tabs-section .tab-item {
    padding: 10px 5px;
    font-family: "Rethink Sans";
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.gst-tabs-section .tab-item.active {
    color: #1f2937;
    font-weight: 700;
}

.gst-tabs-section .tab-item::after {
    /* Standard underline removed in favor of sliding indicator */
    display: none;
}

/* Sliding Tab Indicator */
.gst-tabs-section .tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: #3b71b9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.gst-tabs-section .tab-content {
    display: block;
    /* All content visible for scroll-spy */
    padding-top: 50px;
    /* Offset for scroll to section */
}

/* Tab Content Header Styling */
.gst-tab-headline {
    text-align: center;
    margin-bottom: 50px;
}

.gst-tab-headline .quick-label {
    display: block;
    color: #4a7bb5;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
}

.gst-tab-headline h2 {
    font-size: 34px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
    max-width: 1100px;
    margin: 0 auto 16px;
    letter-spacing: -0.5px;
}

.gst-tab-headline p {
    font-size: 16px;
    line-height: 1.6;
    color: #696969;
    max-width: 800px;
    margin: 0 auto;
}

/* Common Hero Image Wrapper for Tabs */
.gst-tab-hero-image {
    background-color: #3b71b9;
    border-radius: 20px;
    padding: 40px 40px 0 40px;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
    min-height: 300px;
}

.gst-tab-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
    margin-bottom: -20px;

}

/* Specific overlapping images for IMS tab */
.gst-tab-hero-image .img-modal {
    position: absolute;
    width: 45%;
    bottom: 0;
    right: 2%;
    border-radius: 12px 12px 0 0;
    z-index: 2;
}

/* Features Grid for Tabs */
.gst-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gst-features-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    margin: 24px 0 0;
}

.gst-feature-card {
    background-color: #f5faff;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
}

.gst-feature-card:hover {
    transform: translateY(-3px);
    border-color: #e2e8f0;
}

.gst-feature-card .icon-circle {
    width: 36px;
    height: 36px;
    background-color: #4a77b4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gst-feature-card .icon-circle svg.logo-icon-svg {
    width: 60% !important;
    height: auto !important;
}

.gst-feature-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
}

.gst-feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #696969;
}

@media (max-width: 900px) {
    .gst-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gst-features-grid.grid-2 {
        max-width: 100%;
    }

    .gst-tab-hero-image .img-modal {
        width: 60%;
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 650px) {
    .gst-tabs-section .tabs-header {
        justify-content: flex-start;
    }

    .gst-features-grid {
        grid-template-columns: 1fr;
    }

    .gst-tab-hero-image {
        padding: 20px 20px 0 20px;
    }

    .gst-tab-hero-image .img-modal {
        width: 75%;
    }
}

/* Download Tab Specialized Layout */
.gst-download-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gst-download-layout .top-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.gst-download-layout .side-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.gst-download-layout .bottom-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .gst-download-layout .top-row {
        grid-template-columns: 1fr;
    }

    .gst-download-layout .side-cards {
        flex-direction: row;
    }

    .gst-download-layout .bottom-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .gst-download-layout .side-cards {
        flex-direction: column;
    }

    .gst-download-layout .bottom-row {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------
   GST Client Needs Table Section
   ---------------------------------- */
.client-needs-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.client-needs-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.client-needs-section .section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    max-width: 850px;
    margin: 0 auto 16px auto;
    letter-spacing: -0.5px;
}

.client-needs-section .section-header p {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

.client-needs-section .table-container {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin: 20px 10px;
}

.client-needs-section .table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    align-items: stretch;
}

.client-needs-section .cell {
    padding: 24px 30px;
    align-items: center;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

.client-needs-section .col-1 {
    border-right: 1px solid #e5e7eb;
}

.client-needs-section .table-row:not(:last-child) .col-1,
.client-needs-section .table-row:not(:last-child) .col-2 {
    border-bottom: 1px solid #e5e7eb;

}

.client-needs-section .header-row .cell {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    justify-content: center;
    text-align: center;
}

.client-needs-section .col-3 {
    background-color: #f5faff;
    border-left: 3px solid #4a7bb5;
    border-right: 3px solid #4a7bb5;
    margin-left: -2px;
    margin-right: -10px;
    position: relative;
    z-index: 2;
    box-shadow: 12px 0 20px -5px rgba(0, 0, 0, 0.08), -12px 0 20px -5px rgba(0, 0, 0, 0.08);
    padding-left: 32px;
}

.client-needs-section .table-row:not(:last-child) .col-3 {
    border-bottom: 1px solid #e0eaf5;
}

.client-needs-section .header-row .col-3 {
    background-color: #4a7bb5;
    color: #ffffff;
    border-top: 3px solid #4a7bb5;
    border-radius: 10px 10px 0 0;
    margin-top: -4px;
    padding-top: 40px;
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1), 12px 0 20px -5px rgba(0, 0, 0, 0.08), -12px 0 20px -5px rgba(0, 0, 0, 0.08);
    z-index: 3;
}

.client-needs-section .table-row:last-child .col-3 {
    border-bottom: 3px solid #4a7bb5;
    border-radius: 0 0 10px 10px;
    margin-bottom: -4px;
    padding-bottom: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 12px 0 20px -5px rgba(0, 0, 0, 0.08), -12px 0 20px -5px rgba(0, 0, 0, 0.08);
    z-index: 3;
}

.client-needs-section .solution-highlight {
    color: #4a7bb5;
    font-weight: 600;
}

@media (max-width: 900px) {
    .client-needs-section .table-row {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .client-needs-section .cell {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .client-needs-section .section-header h2 {
        font-size: 28px;
    }

    .client-needs-section .table-container {
        border: none;
        background: transparent;
        margin: 0;
    }

    .client-needs-section .header-row {
        display: none;
    }

    .client-needs-section .table-row {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        margin-bottom: 24px;
        overflow: hidden;
    }

    .client-needs-section .cell {
        border-bottom: 1px solid #e5e7eb;
        border-right: none;
        padding: 16px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .client-needs-section .cell::before {
        content: attr(data-label);
        font-size: 12px;
        font-weight: 600;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .client-needs-section .col-3 {
        margin: 0;
        padding: 16px 20px;
        border: none;
        border-left: 4px solid #4a7bb5;
        box-shadow: none;
        background-color: #f0f6fc;
    }

    .client-needs-section .table-row:last-child .col-3 {
        margin-bottom: 0;
        padding-bottom: 16px;
        border-bottom: none;
        border-radius: 0;
        box-shadow: none;
    }
}

/* =========================================
   GST API Usage Packs Styles
   ========================================= */
.pricing-usage-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.feature-banner-wrapper {
    background-color: #4a7bb5;
    border-radius: 20px;
    display: flex;
    align-items: stretch;
    padding: 12px 12px 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 80px;
}

.banner-left {
    flex: 0 0 35%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #ffffff;
}

.banner-left h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.banner-left p {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 30px;
}

.btn-white {
    background-color: #ffffff;
    color: #355e8c;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.2s ease;
    display: inline-block;
}

.btn-white:hover {
    background-color: #f1f5f9;
}

.banner-right {
    flex: 1;
    background-color: #1a2522;
    border-radius: 16px;
    padding: 50px 50px;
    color: #ffffff;
}

.banner-right h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 24px;
}

.checklist-dark {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checklist-dark li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.5;
}

.check-circle-blue {
    width: 20px;
    height: 20px;
    background-color: #4a7bb5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-circle-blue svg {
    width: 10px;
    height: 10px;
    stroke: #ffffff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: white;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.pricing-header p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 24px;
}

.inline-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.inline-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4b5563;
    font-weight: 500;
}

.inline-check svg {
    width: 14px;
    height: 14px;
    stroke: #4a7bb5;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.plan-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.plan-top {
    text-align: center;
    margin-bottom: 30px;
}

.plan-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.plan-subtitle {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 30px;
}

.price-label {
    font-size: 14px;
    font-weight: 500;
    color: #4a7bb5;
    display: block;
    margin-bottom: 10px;
}

.price-block {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: #1a202c;
    margin-bottom: 4px;
}

.currency {
    font-size: 40px;
    font-weight: 600;
    margin-right: 2px;
}

.amount {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -1px;
}

.price-suffix {
    font-size: 15px;
    color: #9ca3af;
    display: block;
    margin-bottom: 24px;
}

.btn-more {
    background-color: #4a7bb5;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
}

.btn-more:hover {
    background-color: #3b6496;
}

.plan-bottom {
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-summary {
    font-size: 14px;
    font-weight: 600;
    color: #4a7bb5;
    margin-bottom: 20px;
    line-height: 1.4;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.check-icon-light {
    width: 16px;
    height: 16px;
    background-color: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.check-icon-light svg {
    width: 8px;
    height: 8px;
    stroke: #4a7bb5;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.explore-banner {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.banner-text {
    flex: 1;
}

.banner-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.banner-text p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}

.btn-contact {
    background-color: #4a7bb5;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s;
}

.btn-contact:hover {
    background-color: #3b6496;
}

@media (max-width: 850px) {
    .feature-banner-wrapper {
        flex-direction: column;
        padding: 12px;
    }

    .banner-left {
        flex: auto;
        padding: 40px 20px;
        align-items: center;
        text-align: center;
    }

    .banner-right {
        padding: 40px 30px;
    }

    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .explore-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
}

@media (max-width: 650px) {
    .pricing-header h2 {
        font-size: 30px;
    }

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

/* =========================================
   FAQ Section Styles
   ========================================= */
.faq-section {
    padding: 100px 0;
    background: #ffffff;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-subtitle {
    display: block;
    color: #4a7bb5;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.faq-title {
    font-size: 38px;
    font-weight: 700;
    color: #2b5c92;
    letter-spacing: -0.5px;
}

.faq-accordion {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a202c;
    margin: 0;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background-color: #3b71b9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Increased for safety */
    padding: 0 30px 24px 30px;
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 20px;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 16px;
    }
}