:root {
    --primary: #0066ff;
    --dark: #1a1f36;
    --light: #f7f9fc;
    --accent: #ff9900;
    --border: #e3e8ee;
    --text-muted: #4f566b;
    --success: #36b37e;
    --warning: #ae2e2e;

    /* Card 1 Variables */
    --bank-blue: #1a1f36;
    --text-main: #3c4257;
    --accent-green: #008a00;
    --border-gray: #e3e8ee;
    --bg-light: #f7f9fc;
    --cta-blue: #0055ff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, system-ui, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: #fff;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.nav-links a {
    margin-left: 25px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 14px;
}

.btn-nav {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 6px;
}

/* Hero Section */
.hero {
    background: var(--dark);
    color: #fff;
    padding: 100px 5%;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: #a3acb9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-inline: auto;
}

/* Countdown Section */
.countdown-section {
    background: var(--accent);
    color: #fff;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

/* New Hero Section (Flowbite Port) */
.hero-section {
    padding: 80px 5%;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 15px 4px 4px;
    background: #f3f4f6;
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
    transition: background 0.2s;
}

.hero-badge:hover {
    background: #e5e7eb;
}

.badge-tag {
    background: var(--primary);
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 10px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
    justify-content: center;
}

.btn-large {
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-primary-new {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.btn-primary-new:hover {
    background: #0052cc;
}

.btn-outline {
    background: #fff;
    color: var(--dark);
    border: 1px solid #d1d5db;
    text-decoration: none;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Logos Cloud */
.logo-cloud-header {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.logo-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    opacity: 0.5;
    align-items: center;
}

.logo-cloud svg {
    height: 32px;
    width: auto;
    fill: currentColor;
}

/* Legacy Hero cleanup (can remove later if completely unused) */
/*.hero { ... kept for safety but overridden by new section usage ... }*/
section {
    padding: 80px 5%;
    border-bottom: 1px solid var(--border);
}

.section-header {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* Process / Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
    padding: 20px;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

/* Card List View (Detailed Rows) */
.card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.card-row {
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    background: #fff;
}

.card-left {
    background: #f8f9fa;
    width: 220px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid var(--border);
}

.card-img {
    width: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.card-right {
    flex: 1;
    padding: 25px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.badge {
    background: #eef4ff;
    color: var(--primary);
    padding: 2px 8px;
    /* Reduced from 4px 12px */
    border-radius: 4px;
    font-size: 11px;
    /* Slightly smaller */
    font-weight: 800;
    line-height: normal;
    display: inline-block;
    height: fit-content;
}

.benefit-item {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 8px;
}

.exclusion-warning {
    background: #fff0f0;
    color: #ae2e2e;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 15px;
    display: inline-block;
}

.action-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.btn-apply {
    background: var(--primary);
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.link-details {
    color: var(--dark);
    text-decoration: underline;
    font-size: 14px;
}

/* Grid for Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.cat-box {
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 12px;
}

.cat-box h3 {
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

/* CTA Section */
.cta-box {
    background: var(--primary);
    color: #fff;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
}

.btn-white {
    background: #fff;
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

/* Carousel Styles */
.carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 5px 30px 5px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.card-node {
    flex: 0 0 calc(33.33% - 14px);
    min-width: 300px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.card-node:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card-node .card-img {
    width: 110px;
    height: 70px;
}

.card-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    min-height: 48px;
    color: var(--dark);
}

.best-for {
    font-size: 13px;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature-list {
    list-style: none;
    margin-bottom: 1px;
    flex-grow: 1;
}

.feature-item {
    font-size: 13px;
    margin-bottom: 8px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
}

.fee-block {
    background: var(--light);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 4px;
}

.fee-val {
    font-weight: 700;
    color: var(--dark);
}

.exclusion-box {
    font-size: 11px;
    color: var(--warning);
    background: #fff0f0;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 3px solid var(--warning);
}

/* Scroll Buttons */
.btn-scroll {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
}

.btn-scroll:hover {
    background: var(--primary);
    color: #fff;
}

/* Table Styles (from card1.html) */
.table-container {
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11);
    overflow-x: auto;
    margin-bottom: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

thead {
    background-color: #ffffff;
    border-bottom: 2px solid var(--border);
}

th {
    padding: 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

tbody tr:hover {
    background-color: #fcfcfd;
}

td {
    padding: 20px 16px;
    vertical-align: top;
    font-size: 14px;
}

.card-identity {
    display: flex;
    gap: 15px;
    min-width: 250px;
}

.table-badge {
    display: inline-block;
    background: #e1ffeb;
    color: #006b1b;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.earning-rate {
    color: var(--accent-green);
    font-weight: 600;
}

.caps-exclusions {
    font-size: 12px;
    color: #cd3d64;
}

.action-cell {
    text-align: right;
    min-width: 140px;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .card-node {
        flex: 0 0 calc(50% - 14px);
        min-width: unset;
    }
}

@media (max-width: 768px) {

    .card-row,
    .contact-grid {
        flex-direction: column;
    }

    .card-left {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .card-node {
        flex: 0 0 85%;
        min-width: unset;
        scroll-snap-align: center;
    }

    .carousel-container {
        scroll-snap-type: x mandatory;
        padding-right: 20px;
    }

    .scroll-controls {
        display: none;
    }

    /* Mobile Table: Card Carousel Transformation */
    .table-container {
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow-x: visible;
        /* Container allows scroll but tbody does the work */
    }

    .table-container table {
        display: block;
        width: 100%;
    }

    .table-container thead {
        display: none;
    }

    .table-container tbody {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 20px;
        /* Space for shadow/scroll */
        width: 100vw;
        margin-left: -5%;
        /* Break out of section padding */
        padding-left: 5%;
        /* Align first item */
        padding-right: 5%;
    }

    /* Hide scrollbar */
    .table-container tbody::-webkit-scrollbar {
        display: none;
    }

    /* Transform TR into Card */
    .table-container tbody tr {
        flex: 0 0 85%;
        scroll-snap-align: center;
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--border);
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-right: 0;
        /* Handled by gap on tbody */
    }

    /* Detail Row Styling (Sibling Card) */
    .table-container tbody tr.detail-row {
        display: none;
        /* Hidden by default */
        background: #f8f9fa;
        border: 1px solid var(--primary);
    }

    /* When expanded, show detail row */
    .table-container tbody tr.detail-row.visible {
        display: flex;
        /* Override table-row from JS */
    }

    /* Cell Transformation */
    .table-container td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f0f0f0;
        text-align: right;
        width: 100%;
        position: static;
        /* Remove sticky from previous impl */
        background: transparent;
        box-shadow: none;
        font-size: 14px;
    }

    .table-container td:last-child {
        border-bottom: none;
    }

    /* Add Label via Data Attribute */
    .table-container td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        text-align: left;
        font-size: 13px;
        width: 40%;
    }

    /* Special styling for Card Identity block */
    .table-container td:first-child {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-bottom: 2px solid var(--border);
        padding-bottom: 15px;
        margin-bottom: 10px;
    }

    .table-container td:first-child::before {
        display: none;
        /* No label for image block */
    }

    /* Override previous ID tweaks */
    .card-identity {
        width: 100%;
        padding-top: 0;
        min-width: unset;
    }

    .card-identity .toggle-icon {
        position: relative;
        align-self: flex-end;
        /* Put detailed toggle in corner */
        margin-bottom: -10px;
        /* Pull it up a bit */
        right: auto;
        top: auto;
    }

    /* Values Styling */
    .best-for,
    .earning-rate,
    .annual-fee,
    .caps-exclusions,
    .action-cell {
        text-align: right;
        width: 60%;
    }

    .action-cell {
        justify-content: flex-end;
    }

    /* Mobile Accordion Wrapper */
    .mobile-detail-wrapper {
        order: 100;
        width: 100%;
        border-top: 1px dashed var(--border);
        padding-top: 15px;
        margin-top: 10px;
        display: none;
        /* Hidden by default */
        text-align: left;
    }

    .mobile-detail-wrapper .expanded-content {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-detail-wrapper .expand-box {
        font-size: 13px;
        color: var(--text-muted);
        display: block;
        /* Stack vertically */
        margin-bottom: 5px;
        padding: 5px;
        background: #f8f9fa;
        border-radius: 6px;
    }


    /* Sticky Table Columns */
    .table-container th:first-child,
    .table-container td:first-child {
        position: sticky;
        left: 0;
        background: #fff;
        z-index: 2;
        border-right: 1px solid var(--border);
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
    }

    .card-identity {
        min-width: 120px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        padding-top: 20px;
        /* Space for absolute icon if needed */
    }

    .card-identity .card-img {
        width: 80px;
        height: auto;
    }

    .card-identity .toggle-icon {
        position: absolute;
        top: 0;
        right: 0;
        order: unset;
        margin-top: 0;
    }

    th,
    td {
        padding: 12px 10px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero p {
        font-size: 16px;
    }

    /* Mobile Navigation */
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .nav-links {
        display: flex;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 10px;
        gap: 15px;
        margin-top: 10px;
        white-space: nowrap;
        scrollbar-width: none;
        /* Firefox */
    }

    .nav-links::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .nav-links a {
        margin-left: 0;
        margin-right: 15px;
        font-size: 14px;
        padding: 5px 10px;
        background: #f8f9fa;
        border-radius: 20px;
        border: 1px solid var(--border);
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    /* Grids Stacking */
    .contact-grid,
    .process-steps {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 30px;
    }

    .feature-grid,
    .offer-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        /* Force single column on mobile */
        gap: 20px;
    }

    /* Process Steps Polish */
    .process-steps {
        align-items: center;
        margin: 30px auto;
    }

    .process-steps::before {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }

    .step-node {
        width: 100%;
        padding: 10px;
        background: rgba(255, 255, 255, 0.9);
        /* Fade line behind text */
    }

    /* Footer */
    footer {
        padding: 30px 20px;
        text-align: center;
    }

    /* Reduce Section Padding */
    section {
        padding: 50px 20px;
    }

    /* Contact Form */
    textarea {
        resize: vertical;
    }
}

/* Why Choose Us */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    transition: transform 0.2s;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 900px;
    margin: 50px auto;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.step-node {
    position: relative;
    z-index: 1;
    text-align: center;
    background: #fff;
    /* To hide line behind text if needed */
    padding: 0 10px;
}

.step-circle {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 0 0 5px #fff;
}

/* Latest Offers */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.offer-card {
    background: linear-gradient(135deg, var(--dark) 0%, #2c3e50 100%);
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.offer-card::after {
    content: '%';
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 150px;
    opacity: 0.1;
    font-weight: 900;
}

.offer-tag {
    background: var(--accent);
    color: #fff;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
}

.offer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.offer-text {
    font-size: 14px;
    color: #a3acb9;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* News & Blogs */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.blog-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.blog-img {
    height: 180px;
    width: 100%;
    background: #eee;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

/* Testimonials / Feedback */
.testimonial-card {
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
    font-style: italic;
    border-left: 4px solid var(--primary);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    font-style: normal;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--text-muted);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .process-steps::before {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
    }
}

/* Accordion Styles */
.accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left align */
    gap: 6px;
    /* Space between arrow and text */
    cursor: pointer;
    font-size: 13px;
    /* Slightly smaller text */
    font-weight: 500;
    color: var(--primary);
    margin-top: 8px;
    margin-bottom: 8px;
    /* Add some space below */
    transition: color 0.3s ease;
    width: 100%;
    /* Take full width */
}

.accordion-trigger:hover {
    color: var(--cta-blue);
}

.accordion-trigger .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.card-node.active .accordion-trigger .arrow {
    transform: rotate(180deg);
}

/* Active state for arrow rotation is handled by .accordion-trigger.active .arrow */

.accordion-content {
    display: none;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid var(--border);
    animation: fadeIn 0.3s ease;
    text-align: left;
}

.card-node.active .accordion-content {
    display: block;
}

/* Ensure card node has pointer cursor */
.card-node {
    cursor: pointer;
}

/* Prevent text selection issue on quick clicks if needed, but standard is fine */

/* Comparison Table Accordion Styles */
.toggle-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f0f4ff;
    color: var(--primary);
    font-size: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;

    /* Flex positioning */
    order: 1;
    /* Move to end */
    position: static;
    margin-top: 5px;
    /* Top align adjustment */
    transform: none;
}

.expanded-row .toggle-icon {
    transform: rotate(180deg);
    background: var(--primary);
    color: #fff;
}

.detail-row td {
    background: #f8f9fa;
    padding: 0;
}

.expanded-content {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    border-top: 1px solid var(--border);
}

.expand-box strong {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* Ensure relative positioning for icon placement */
.card-identity {
    gap: 10px;
    /* Reduced gap as requested */
    padding-right: 0;
    margin-left: 0;
}

.detail-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.4;
}

.detail-text strong {
    color: var(--dark);
    font-weight: 600;
}

/* Accordion Desktop Logic */
.detail-row {
    display: none;
}

.detail-row.visible {
    display: table-row;
}

/* =========================================
   Improved Process Section (Stepper)
   ========================================= */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    gap: 20px;
    flex-wrap: wrap;
    /* Fallback */
}

/* Connecting Line (Desktop) */
.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    /* Half of circle (50px) */
    left: 50px;
    right: 50px;
    height: 3px;
    background: #e5e7eb;
    z-index: 0;
    display: none;
    /* Mobile default */
}

@media (min-width: 768px) {
    .process-steps::before {
        display: block;
    }

    .process-steps {
        flex-wrap: nowrap;
    }
}

.step-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step-node:hover .step-circle {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 200px;
    line-height: 1.5;
}

/* =========================================
   Improved Contact Section
   ========================================= */
.contact-section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid-new {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
    border: 1px solid #f3f4f6;
}

@media (min-width: 900px) {
    .contact-grid-new {
        grid-template-columns: 1fr 1.2fr;
        /* Info smaller, Form larger */
    }
}

.contact-info-panel {
    background: var(--primary);
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-panel h3 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #fff;
}

.contact-info-panel p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-point {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 16px;
    opacity: 0.9;
}

.contact-form-panel {
    padding: 40px;
    background: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    /* gray-200 */
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f9fafb;
    /* gray-50 */
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-contact-submit {
    width: 100%;
    padding: 14px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-contact-submit:hover {
    background: #000;
}

.main-header {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 16px;
    /* py-2.5 px-4 */
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 600;
}

.header-logo img {
    height: 24px;
    /* h-6 */
    margin-right: 12px;
}

@media (min-width: 640px) {
    .header-logo img {
        height: 36px;
        /* sm:h-9 */
    }
}

/* Desktop Menu (Links) */
.header-menu {
    display: none;
    /* hidden on mobile */
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (min-width: 1024px) {
    .header-menu {
        display: flex;
        width: auto;
        order: 1;
    }
}

.header-links {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    font-weight: 500;
}

@media (min-width: 1024px) {
    .header-links {
        flex-direction: row;
        gap: 32px;
        /* space-x-8 */
        margin-top: 0;
    }
}

.header-link {
    display: block;
    padding: 8px 0;
    color: #374151;
    /* gray-700 */
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    /* border-gray-100 */
}

@media (min-width: 1024px) {
    .header-link {
        padding: 0;
        border-bottom: none;
        color: #374151;
    }

    .header-link:hover {
        color: var(--primary);
    }
}

/* CTA Buttons & Mobile Toggle */
.header-actions {
    display: flex;
    align-items: center;
}

@media (min-width: 1024px) {
    .header-actions {
        order: 2;
    }
}

.btn-login {
    color: #1f2937;
    /* gray-800 */
    font-weight: 500;
    font-size: 0.875rem;
    /* text-sm */
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 8px;
}

.btn-login:hover {
    background-color: #f9fafb;
    /* bg-gray-50 */
}

.btn-get-started {
    color: #fff;
    background-color: var(--primary);
    /* primary-700 */
    font-weight: 500;
    font-size: 0.875rem;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    margin-right: 8px;
}

.btn-get-started:hover {
    background-color: #1d4ed8;
    /* primary-800 approx */
}

.mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    padding: 8px;
    margin-left: 4px;
    color: #6b7280;
    /* text-gray-500 */
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle:hover {
    background-color: #f3f4f6;
    /* bg-gray-100 */
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Menu Collapsed State */
.header-menu.hidden {
    display: none;
}

.header-menu.active {
    display: block;
    /* Show on mobile when toggled */
}