:root {
    /* ── Base palette ── */
    --color-cream: #edeec9;
    --color-pale-green: #dde7c7;
    --color-soft-sage: #bfd8bd;
    --color-medium-green: #98c9a3;
    --color-teal: #77bfa3;
    --color-dark: #2C3E50;
    --color-white: #FFFFFF;
    --color-gray: #757575;
    --color-light-gray: #F8F9FA;
    --color-border: #E0E0E0;
    --color-blue-light: #E3F2FD;
    --color-blue: #2196F3;
    --color-blue-dark: #0D47A1;
    --color-blue-medium: #1565C0;
    --light-cream: #edeec9;
    --pale-green: #dde7c7;
    --soft-sage: #bfd8bd;
    --medium-green: #98c9a3;
    --teal-green: #77bfa3;
    --dark-blue: #2C3E50;
    --white: #FFFFFF;
    --gray-light: #F9F9F9;
    --gray-medium: #E0E0E0;
    --gray-dark: #757575;
    --orange: #FF9800;
    --blue: #2196F3;
    --green: #28a745;
    --light-green: #D4EDDA;
    --dark-green: #155724;
    --light-blue: #E3F2FD;
    --dark-blue-text: #0D47A1;
    --red: #E74C3C;
    --yellow-light: #FFF3CD;
    --yellow: #FFC107;
    --light-cream: #ededdf;
    --pale-green: #dde7c7;
    --soft-sage: #bfd8bd;
    --medium-green: #98c9a3;
    --teal-green: #77bfa3;
    --dark-blue: #2C3E50;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-medium: #E0E0E0;
    --gray-dark: #757575;
    --yellow-light: #FFF3CD;
    --yellow-border: #FFC107;
    --yellow-text: #856404;
    --red-main: #E74C3C;
    --red-light: #FFEBEE;
    --red-dark: #C62828;
    --blue-main: #2196F3;
    --blue-light: #E3F2FD;
    --blue-dark: #0D47A1;
    --color-primary-green: var(--teal-green, #77bfa3);
    --color-bg-dark: var(--dark-color, #2C3E50);
    --color-text-dark: var(--text-color, #334155);
    --color-white: var(--white, #ffffff);
    --color-beige-1: var(--light-cream, #edeec9);
    --color-beige-2: var(--pale-green, #dde7c7);
    --color-accent-orange: var(--warning-color, #f59e0b);
    --color-green-soft: #bfd8bd;
    --color-bg-light: #f8fafc;
    --color-dark: #2C3E50;
    --color-teal: #77bfa3;
    --color-green: #98c9a3;
    --color-orange: #f59e0b;
    --color-red: #e74c3c;
    --color-gray: #6b7280;
    --dark-color: #2C3E50;
    --dark-slate: #2C3E50;
    --dark-blue-grey: #2C3E50;
    --light-orange: #ffd58b;
    --light-cream: #edeec9;
    --pale-green: #dde7c7;
    --soft-sage: #bfd8bd;
    --medium-green: #98c9a3;
    --teal-green: #77bfa3;
    --dark-navy: #2C3E50;
    --white: #FFFFFF;
    --cream: #edeec9;
    --teal: #77bfa3;
    --dark-green: #2C3E50;
    --primary-color: #0f172a;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-color: #334155;
    --heading-color: #1e293b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --font-main: 'AlibabaSans-Regular', sans-serif;
    --font-heading: 'NotoSerifCJKsc-Bold', serif;

    /* ── Dark / navy aliases ── */
    --dark-blue: #2C3E50;
    --dark-text: #2C3E50;
    --primary-dark: #2C3E50;
    --color-primary-dark: #2C3E50;
    --c-dark: #2C3E50;
    --header-bg: #2C3E50;
    --text-dark: #2C3E50;

    /* ── White aliases ── */
    --c-white: #FFFFFF;

    /* ── Teal aliases ── */
    --accent-teal: #77bfa3;
    --c-teal: #77bfa3;
    --color-primary-teal: #77bfa3;

    /* ── Green aliases ── */
    --accent-green: #98c9a3;
    --accent-medium: #98c9a3;
    --c-green-med: #98c9a3;
    --c-medium-green: #98c9a3;
    --color-green-medium: #98c9a3;
    --color-accent-green: #10b981;

    /* ── Sage / soft green aliases ── */
    --accent-soft: #bfd8bd;
    --color-bg-sage: #bfd8bd;
    --c-light-green: #dde7c7;

    /* ── Cream / beige aliases ── */
    --c-cream: #edeec9;
    --c-beige-light: #f5f0e1;
    --c-sage-light: #e8ede7;
    --bg-beige: #f5f0e1;

    /* ── Background aliases ── */
    --bg-page: #f8f9fa;
    --bg-card: #ffffff;
    --card-bg-light: #fafbfc;
    --bg-accent-light: rgba(119, 191, 163, 0.08);
    --color-gray-bg: #f3f4f6;
    --bg-mint: #e8f5f0;

    /* ── Orange / warning aliases ── */
    --alert-orange: #f59e0b;
    --c-warning: #f59e0b;
    --c-warning-bg: #fff8e1;
    --c-warning-border: #f59e0b;

    /* ── Red / danger aliases ── */
    --error-red: #e74c3c;
    --c-danger: #e74c3c;

    /* ── Success aliases ── */
    --success: #10b981;
    --success-green: #10b981;
    --color-success: #10b981;

    /* ── Text / gray aliases ── */
    --text-gray: #6b7280;
    --color-text-gray: #6b7280;
    --text-main: #334155;
    --text-secondary: #6b7280;
    --secondary-color: #64748b;

    /* ── Border aliases ── */
    --color-border: #e2e8f0;

    /* ── Shadow aliases ── */
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);

    /* ── Font aliases ── */
    --font-family: 'AlibabaSans-Regular', sans-serif;
    --font-regular: 'AlibabaSans-Regular', sans-serif;
    --font-medium: 'Alibaba-PuHuiTi-Regular', sans-serif;
    --font-bold: 'Alibaba-PuHuiTi-Bold', sans-serif;

    /* ── Questionnaire accent alias ── */
    --accent-primary: #77bfa3;
}

/* Fonts */
@font-face {
    font-family: 'Alibaba-PuHuiTi-Regular';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/Alibaba-PuHuiTi-Regular.otf');
}

@font-face {
    font-family: 'Alibaba-PuHuiTi-Bold';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/Alibaba-PuHuiTi-Bold.otf');
}

@font-face {
    font-family: 'NotoSerifCJKsc-Bold';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/NotoSerifCJKsc-Bold.otf');
}


@font-face {
    font-family: 'AlibabaSans-Regular';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/AlibabaSans-Regular.otf');
}

@font-face {
    font-family: 'AlibabaSans-Bold';
    src: url('https://assets-persist.lovart.ai/agent-static-assets/Alibaba-PuHuiTi-Bold.otf');
}

.bg-white {
    background-color: var(--white);
}

/* Header */
.main-header {
    width: 100%;
    min-height: 90px;
    background-color: var(--dark-navy);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 16px 60px;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-header-collapse {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.main-header-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.main-header-auth .header-btns {
    flex-direction: row;
}

/* Home icon button - shown only on mobile, beside Enter User Portal */
.btn.home-icon-btn {
    display: none;
    flex: 0 0 auto;
    padding: 8px 12px;
    line-height: 1;
    white-space: nowrap;
}

.btn.home-icon-btn i {
    font-size: 1px;
    line-height: 1;
}

/* Toggle button - hidden on desktop */
.main-header-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white, #ffffff);
    font-size: 28px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
    text-decoration: none;
}

.logo i {
    font-size: 32px;
    color: var(--teal-green);
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo img {
    width: auto;
    height: 40px;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
    font-family: 'NotoSerifCJKsc-Regular', serif;
}

nav a:hover {
    color: var(--teal-green);
}

.header-btns {
    display: flex;
    gap: 15px;
    white-space: nowrap;
}

.btn {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.btn-dark {
    background-color: var(--dark-navy);
    color: var(--white);
}

.btn-teal {
    background-color: var(--teal-green);
    color: var(--white);
}

.btn-medium-green {
    background-color: var(--medium-green);
    color: var(--white);
}

.btn-cream {
    background-color: var(--light-cream);
    color: var(--dark-navy);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--medium-green);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* table */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

thead {
    background: #f8fafc;
}

th {
    text-align: left;
    padding: 20px;
    font-family: 'MiSans-Bold', sans-serif;
    color: #64748b;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-family: 'MiSans-Medium', sans-serif;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f1f5f9;
}

.col-month {
    width: 10%;
    color: var(--accent-color);
    font-weight: bold;
}

.col-right {
    text-align: right;
}

th.col-right {
    text-align: right;
}


/* questions */
.qa-answer,
.review-response {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--color-primary-dark, #1a3044);
    background: #f9fbfc;
    border-left: 3px solid var(--color-orange, #f39c12);
    border-radius: 8px;
    padding: 8px 10px;
    /* margin-top: 4px; */
    word-break: break-word;
    /* margin: 5px 5px; */
}

.grid-item p {
    border-left: 3px solid var(--color-orange, #f39c12);
    border-radius: 8px;
    padding: 8px 10px;
}

/* loan calculation data */
.loan-calculation-data {
    display: none;
    padding: 10px;
}

.loan-calculation-data label {
    font-size: 12px;
    padding: 5px 0;
    display: inline-block;
    min-width: 150px;
    color: var(--teal-green);
    font-weight: 600;
}

.loan-calculation-data span {
    font-size: 12px;
    text-align: end;
    display: inline-block;
    min-width: 100px;
}

/* Footer */
footer {
    background-color: var(--dark-navy);
    color: var(--white);
    padding: 80px 100px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--pale-green);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--teal-green);
}

.footer-contact p {
    margin-bottom: 15px;
    color: #d1d5db;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: var(--teal-green);
}

.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1600px) {

    .main-header {
        height: auto;
        padding: 16px 30px;
    }

    .widgets-section,
    .services-section,
    footer {
        padding: 60px 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .btn {
        font-size: 12px;
        padding: 5px 10px;

    }

    .main-header {
        padding: 16px 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .widgets-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hero CTA - desktop */
.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    padding: 16px 32px;
    font-size: 18px;
    border: 2px solid var(--white);
}

@media (max-width: 768px) {
    .loan-result-card .loan-result-table {
        display: none;
    }

    .loan-result-card .loan-calculation-data {
        display: block;
    }

    .logo span {
        font-size: 16px;
    }

    .logo img {
        width: 20px;
        height: 20px;
    }

    .btn {
        font-size: 12px;
        padding: 5px 10px;

    }

    .hero {
        height: auto;

    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .widgets-section,
    .services-section,
    footer {
        padding: 60px 20px;
    }

    .widget-card {
        flex-direction: column-reverse;
        height: auto;
    }

    .widget-image {
        height: 250px;
        clip-path: none;
    }

    .widgets-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header-btns {
        flex-direction: column;
        width: 100%;
    }

    .header-btns .btn {
        width: 100%;
    }

    .requirements-section {
        padding: 60px 20px;
    }

    .req-container {
        flex-direction: column;
    }

    .req-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .req-title {
        font-size: 32px;
    }

    .req-cta {
        width: 100%;
        padding: 40px 20px;
    }

    .steps-section {
        padding: 60px 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Mobile header toggle */
    .main-header {
        padding: 14px 16px;
        gap: 0;
        position: relative;
    }

    .main-header-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-header-auth {
        margin-top: 12px;
    }

    .main-header-auth .header-btns {
        width: 100%;

        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
    }

    .main-header-auth .header-btns .btn {
        flex: 1;
        padding: 8px 12px;
    }

    /* Show home icon button on mobile only */
    .btn.home-icon-btn {
        display: inline-flex;
    }

    .main-header-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--dark-navy);
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 0 20px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
        z-index: 999;
    }

    .main-header-collapse.open {
        max-height: 500px;
        opacity: 1;
        padding: 20px 20px 16px;
    }

    .main-header-collapse>nav {
        width: 100%;
    }

    .main-header-collapse nav ul {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .main-header-collapse nav a {
        font-size: 15px;
    }

    .main-header-collapse .header-btns {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        align-items: center;
    }

    .main-header-collapse .header-btns .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 400px) {
    .loan-result-card .loan-result-table {
        display: none;
    }

    .loan-result-card .loan-calculation-data {
        display: block;
    }

    .logo span {
        font-size: 18px;
    }

    .logo img {
        width: 20px;
        height: 20px;
    }

    .btn {
        font-size: 12px;
        padding: 5px 10px;

    }

}

/* Full-screen wrapper */
.preloader {
    opacity: 0.7;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    /* Background color of the loading screen */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Ensures it stays on top of everything */
    transition: opacity 0.5s ease;
}

/* The spinning wheel */
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    /* Light grey */
    border-top: 5px solid #3498db;
    /* Blue color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spin animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Class to hide the preloader via JavaScript */
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* for hiding */
.d-none {
    display: none !important;
}

/* for disabling */
.disabled {
    pointer-events: none;
    opacity: 0.6;
}

/* Other Promotions */
.other-promo {
    background-color: white;
    padding: 80px 0;
    text-align: center;
}

.other-promo h3 {
    font-size: 28px;
    color: #2C3E50;
    margin-bottom: 40px;
    font-family: 'NotoSerifCJKsc-Bold', serif;
}

.other-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.other-link-card {
    padding: 30px 50px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 250px;
}

.other-link-card:hover {
    border-color: #77bfa3;
    background-color: #f9fffc;
    transform: translateY(-3px);
}

.other-link-card i {
    display: block;
    font-size: 32px;
    color: #77bfa3;
    margin-bottom: 15px;
}

.other-link-card span {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
}

/* Requirements Section */
.requirements-section {
    background-color: var(--pale-green);
    padding: 30px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.req-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 100%;
}

.req-content {
    flex: 1;
    padding-right: 50px;
}

.req-title {
    font-family: 'NotoSerifCJKsc-Bold', serif;
    font-size: 48px;
    color: var(--dark-green);
    margin-bottom: 40px;
}

.req-list {
    list-style: none;
}

.req-item {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: var(--dark-green);
    margin-bottom: 20px;
}

.req-item i {
    color: var(--teal-green);
    font-size: 24px;
    margin-right: 15px;
    background: white;
    border-radius: 50%;
    padding: 2px;
}

.req-cta {
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
}

.req-cta h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-green);
}

.req-cta p {
    margin-bottom: 30px;
    color: #555;
    line-height: 1.6;
}




/* How to Apply */
.steps-section {
    padding: 30px 100px;
    background-color: var(--light-orange);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 80px;
    font-family: 'AlibabaSans-Bold', sans-serif;
    color: rgba(119, 191, 163, 0.2);
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--teal-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto 20px;
    position: relative;
    z-index: 1;
    color: white;
    font-size: 32px;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-green);
    position: relative;
    z-index: 1;
}

.step-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* How To Apply – single column, no padding on smaller screens */
    #how-to-apply {
        padding: 20px 10px;
    }

    #how-to-apply .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Base Reset & Typography
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'AlibabaSans-Regular', 'NotoSansHans-Regular', sans-serif;
    background-color: var(--white);
    width: 100%;
    margin: 0 auto;
    color: var(--dark-navy);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Alibaba-PuHuiTi-Bold', sans-serif;
}

.font-serif {
    font-family: 'NotoSerifCJKsc-Regular', serif;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent horizontal overflow */
.container {
    max-width: 100%;
    overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===========================
   Section Headers (shared)
   =========================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 48px;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.section-header .line {
    width: 80px;
    height: 4px;
    background-color: var(--teal-green);
    margin: 0 auto;
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
}

/* ===========================
   Accordion (shared)
   =========================== */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-header {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.accordion-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-green);
}

.accordion-icon {
    color: var(--teal-green);
    font-size: 24px;
    transition: transform 0.3s;
}

.accordion-content {
    padding: 0 30px 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #5a6b7c;
    display: none;
}

.accordion-item.expanded {
    border-left: 5px solid var(--teal-green);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.accordion-item.expanded .accordion-content {
    display: block;
}

.accordion-item.expanded .accordion-icon {
    transform: rotate(180deg);
}

/* ===========================
   CTA Section (shared)
   =========================== */
.cta-section {
    background: var(--teal-green);
    padding: 30px 100px;
    text-align: center;
    color: var(--white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(32px, 6vw, 48px);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===========================
   Card Toggle Pulse Animation
   =========================== */
@keyframes card-toggle-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(119, 191, 163, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(119, 191, 163, 0);
        transform: scale(1.08);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(119, 191, 163, 0);
        transform: scale(1);
    }
}

/* Stop pulsing on hover / when expanded */
.card-toggle:hover,
.card-expanded .card-toggle {
    animation: none !important;
}

/* ===========================
   Responsive Tables
   =========================== */

/* Utility: wrap any table in .table-responsive to make it
   horizontally scrollable on small screens with a smaller font */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive>table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
    /* forces scroll on narrow viewports */
}

/* Direct table responsiveness (no wrapper needed) */
.table-scrollable {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Smaller table font on all screens for better density */
table th,
table td {
    padding: 10px 12px;
    font-size: 14px;
}

/* Extra-compact tables */
.table-sm th,
.table-sm td {
    padding: 6px 8px;
    font-size: 13px;
}

/* Responsive table adjustments */
@media (max-width: 992px) {

    table th,
    table td {
        padding: 8px 10px;
        font-size: 13px;
    }

    .table-sm th,
    .table-sm td {
        padding: 5px 6px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {

    table th,
    table td {
        padding: 6px 8px;
        font-size: 12px;
    }

    .table-sm th,
    .table-sm td {
        padding: 4px 5px;
        font-size: 11px;
    }

    /* Ensure comparison-style tables scroll */
    .comparison-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-section table {
        min-width: 480px;
    }
}

@media (max-width: 576px) {

    table th,
    table td {
        padding: 5px 6px;
        font-size: 11px;
    }

    .table-sm th,
    .table-sm td {
        padding: 3px 4px;
        font-size: 10px;
    }
}

/* ===========================
   Responsive additions
   =========================== */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 36px;
    }

    .accordion-header {
        padding: 20px;
    }

    .accordion-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 28px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .other-promo {
        padding: 60px 20px;
    }

    .other-link-card {
        padding: 20px 30px;
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    .accordion-header {
        padding: 15px;
    }

    .accordion-content {
        padding: 0 15px 20px;
    }
}