:root {
    --primary-color: #3b55e6;
    /* Blue */
    --secondary-color: #ff5e6c;
    /* Pinkish Red */
    --accent-yellow: #f9c80e;
    --text-dark: #18193f;
    /* Dark Navy/Black */
    --text-light: #7e8299;
    /* Gray */
    --bg-light: #f5f8ff;
    /* Very light blueish white */
    --white: #ffffff;
    --footer-bg: #101036;
    /* Dark Footer */
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    /* Smooth scroll */
}

body {
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--text-dark);
    font-weight: 600;
}

p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Header */
header {
    padding: 20px 0;
    background-color: var(--white);
    position: sticky;
    /* Make header sticky */
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    /* Adjust header logo height */
    width: auto;
}

.footer-logo-img {
    height: 100px;
    /* Footer logo slightly larger if needed, or keep same */
    max-width: 200px;
    filter: brightness(0) invert(1);
    /* Make it white for dark footer if it's transparent */
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-left: 10px;
}

/* Classic Footer Logo */
.classic-logo-container {
    font-family: 'Georgia', 'Playfair Display', 'Times New Roman', serif;
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

.classic-f {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.classic-rest {
    font-size: 2rem;
    font-weight: 400;
    /* Regular weight looks more elegant/classic */
    color: white;
    margin-left: 1px;
}

.logo span {
    color: #ffffff;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    transition: color 0.3s;
}

nav a.active {
    color: var(--primary-color);
    font-weight: 700;
}

nav a:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

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

.btn-outline {
    border: 1px solid #e0e0e0;
    color: var(--text-dark);
    background: transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 85, 230, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 85, 230, 0.4);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 80px;
    background-image: url('assets/background_pattern.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    /* Stronger overlay */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    /* Bring content above overlay */
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 450px;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-wrapper {
    position: relative;
    z-index: 2;
    width: 320px;
}

.phone-wrapper img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    border-radius: 40px;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    text-align: center;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.feature-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.feature-image img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    /* Match standard size */
    height: auto;
    border-radius: 40px;
    /* Standardized Shape */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.image-bg-blob {
    position: absolute;
    width: 350px;
    height: 350px;
    background-color: #fcecf5;
    border-radius: 50% 40% 60% 50%;
    z-index: 1;
    top: 20px;
    left: 20px;
}

.deco-triangle-pink {
    position: absolute;
    top: 50%;
    right: -20px;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid #ff5e6c;
    transform: rotate(30deg);
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.icon-bill {
    background-color: #eef2ff;
    color: #3b55e6;
}

.icon-withdraw {
    background-color: #fff0f1;
    color: #ff5e6c;
}

.icon-card {
    background-color: #fff8e1;
    color: #f9c80e;
}

.icon-qr {
    background-color: #eafbf4;
    color: #2ecc71;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    text-align: center;
    background-color: #f9fbff;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.how-it-works .subtitle {
    max-width: 600px;
    margin: 0 auto 60px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #fff0f1;
    color: #ff5e6c;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step-item:nth-child(3) .step-number {
    background-color: #fff0f1;
    color: #ff5e6c;
}

.step-item:nth-child(5) .step-number {
    background-color: #fff0f1;
    color: #ff5e6c;
}

.step-item h4 {
    margin-bottom: 10px;
}

.step-connector {
    flex: 1;
    height: 2px;
    background-image: linear-gradient(to right, #ccc 50%, transparent 50%);
    background-size: 10px 1px;
    background-repeat: repeat-x;
    margin-top: 25px;
}

/* Payment Section */
.payment-section {
    padding: 80px 0;
    overflow: hidden;
}

.payment-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.payment-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.payment-image img {
    position: relative;
    z-index: 2;
    transform: rotate(-10deg);
    max-width: 80%;
}

.background-yellow-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: #f9c80e;
    border-radius: 50%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.9;
}

.payment-text {
    flex: 1;
}

.payment-text h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.payment-text p {
    margin-bottom: 30px;
}

/* Platform/Features Hub Section NEW */
.platform-section {
    padding: 100px 0;
    background-color: #fffbf7;
    /* keeping the subtle bg */
    overflow: hidden;
}

.platform-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.platform-header-center h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.platform-hub-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
}

.hub-column {
    flex: 1;
}

.center-image {
    flex: 1.2;
    /* Slightly wider center */
    display: flex;
    justify-content: center;
    position: relative;
}

.side-features {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hub-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

/* Icons for Hub */
.icon-small {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.icon-blue {
    background: #eef2ff;
    color: #3b55e6;
}

.icon-pink {
    background: #fff0f1;
    color: #ff5e6c;
}

.icon-yellow {
    background: #fff8e1;
    color: #f9c80e;
}

.icon-green {
    background: #eafbf4;
    color: #2ecc71;
}

.hub-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.hub-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Center Phone Logic */
.floating-phone {
    max-width: 280px;
    border-radius: 40px;
    position: relative;
    z-index: 2;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.circle-bg-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59, 85, 230, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    border-radius: 50%;
}

.floating-widget-bottom {
    position: absolute;
    bottom: 40px;
    right: -20px;
    /* Offset to side */
    background: white;
    padding: 15px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatWidget 4s ease-in-out infinite;
}

@keyframes floatWidget {

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

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

.widget-icon {
    background: #f9c80e;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Districts Scroll Section - Partners Style */
.districts-section {
    text-align: center;
    padding: 60px 0;
    background-color: white;
}

.districts-section p {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.districts-scroll-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.districts-scroll {
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: center;
    animation: scrollDistricts 20s linear infinite;
    width: max-content;
}

@keyframes scrollDistricts {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.district-item {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    opacity: 0.6;
    white-space: nowrap;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.district-item::before {
    content: '📍';
    font-size: 1rem;
}

.district-item:hover {
    opacity: 1;
}

/* Pricing Subtitle */
.pricing-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* Plan Tagline */
.plan-tagline {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .platform-hub-grid {
        flex-direction: column;
    }

    .center-image {
        order: -1;
        /* Show image first on mobile */
        margin-bottom: 40px;
    }

    .hub-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .districts-scroll {
        animation-duration: 10s;
    }
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

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

.testimonial-card {
    display: flex;
    align-items: center;
    gap: 60px;
}

.testimonial-image-wrapper {
    flex: 0 0 400px;
    position: relative;
}

.shape-bg-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background-color: #dbe4ff;
    border-radius: 0 0 0 100px;
    /* shape approximation */
    z-index: 0;
}

.testimonial-image-wrapper img {
    position: relative;
    z-index: 1;
    width: 350px;
    height: auto;
    border-radius: 40px;
    /* Standardized Shape */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    flex: 1;
}

.review-heading {
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.review-text {
    font-size: 1.4rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 500;
}

.user-role {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 50%;
}

.dot.active {
    background-color: var(--text-dark);
}

/* Pricing */
.pricing {
    padding: 80px 0 120px;
    text-align: center;
    background-color: #f9fbff;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Role Selection / Marketing Pricing */
.role-selection-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.role-card {
    background: white;
    border-radius: 24px;
    width: 380px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.role-card:hover {
    transform: translateY(-10px);
}

.card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.customer-card {
    border-top: 6px solid var(--primary-color);
}

.vendor-card {
    border-top: 6px solid var(--secondary-color);
    background: linear-gradient(180deg, #fff 0%, #fffcfc 100%);
}

.role-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.role-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.role-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 30px;
    min-height: 44px;
    /* Align heights */
}

.price-block {
    margin-bottom: 30px;
}

.price-tag {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.role-features {
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.role-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.role-features li span {
    color: var(--accent-yellow);
    /* Branding color match */
    font-weight: bold;
}

/* App Buttons for Customer Card */
.app-buttons-small {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-app {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #18193f;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-app:hover {
    opacity: 0.9;
}

.full-width {
    width: 100%;
    margin-top: auto;
    text-align: center;
}

/* Ribbon */
.popular-ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--secondary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 850px) {
    .role-selection-container {
        flex-direction: column;
        align-items: center;
    }

    .role-card {
        width: 100%;
        max-width: 400px;
    }
}

/* Districts Marquee Section */
.districts-section {
    padding: 60px 0;
    background-color: white;
    overflow: hidden;
}

.district-heading {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 40px;
    opacity: 0.8;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
}

.marquee-content span {
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(24, 25, 63, 0.4);
    /* Transparent text style */
    margin-right: 80px;
    text-transform: uppercase;
    transition: color 0.3s;
    cursor: default;
}

.marquee-content span:hover {
    color: var(--primary-color);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Move half way because content is duplicated */
}

/* Pricing - Updated Adjustments */
/* Removing toggle container styles if no longer needed, keeping for safety or cleanup */
.toggle-container {
    display: none;
    /* Hide toggle since we removed it in HTML */
}

/* Main CTA Section (New) */
.main-cta-section {
    padding: 60px 0 100px;
    background-color: var(--white);
}

.cta-banner {
    background: linear-gradient(135deg, #101036 0%, #1a1b41 100%);
    /* Dark navy gradient */
    border-radius: 30px;
    padding: 60px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-banner-content {
    max-width: 50%;
    z-index: 2;
}

.cta-banner-content h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-banner-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.cta-banner-image {
    position: absolute;
    right: 50px;
    bottom: -80px;
    width: 350px;
    transform: rotate(-10deg);
    transition: transform 0.3s;
}

.cta-banner:hover .cta-banner-image {
    transform: rotate(-5deg) translateY(-10px);
}

.cta-banner-image img {
    width: 100%;
}

.store-buttons {
    display: flex;
    gap: 15px;
}

.store-img-link {
    display: inline-block;
    transition: transform 0.2s;
}

.store-img-link:hover {
    transform: translateY(-3px);
}

.store-img-link img {
    height: 50px;
    /* Standard store badge height */
    width: auto;
    border-radius: 8px;
    /* Optional rounded corners */
}

.btn-store.primary-store {
    background: white;
    color: var(--text-dark);
}

.store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

/* Footer (Updated) */
.main-footer {
    background-color: var(--footer-bg);
    color: white;
    padding-top: 80px;
    padding-bottom: 30px;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #a0a0b0;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: white;
}

.brand-col {
    max-width: 300px;
}

.white-logo {
    color: white;
    margin-bottom: 20px;
}

.logo-icon-small {
    width: 24px;
    height: 24px;
    background-color: white;
    color: var(--text-dark);
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    color: #a0a0b0;
    font-size: 0.85rem;
}

.socials a {
    margin-right: 20px;
    color: white;
}

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

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
    .container {
        padding: 0 30px;
    }

    /* Hero */
    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-text {
        margin: 0 auto;
        max-width: 700px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        display: flex;
        justify-content: center;
        margin-top: 40px;
    }

    .phone-wrapper {
        max-width: 280px;
    }

    /* Stats */
    .stats-container {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .stat-item {
        flex: 1 1 40%;
        /* 2 items per row */
        margin-bottom: 20px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Platform Grid */
    .platform-hub-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .hub-column.side-features {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        width: 100%;
        text-align: center;
    }

    .hub-card {
        margin-bottom: 0;
        align-items: center !important;
        text-align: center !important;
        flex: 1;
    }

    .center-image {
        order: -1;
        margin-bottom: 30px;
    }

    .districts-scroll {
        animation-duration: 25s;
        /* Slower on smaller screens */
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 20px;
    }

    /* Header */
    header .container {
        flex-direction: column;
        gap: 20px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    nav ul {
        gap: 15px;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
    }

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

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    /* Stats */
    .stat-item {
        flex: 1 1 100%;
        /* 1 item per row */
    }

    /* Features */
    .feature-content {
        flex-direction: column;
        text-align: center;
    }

    .feature-image {
        order: -1;
        /* Image first */
        margin-bottom: 40px;
    }

    .feature-text {
        order: 1;
        /* Text second */
    }

    .feature-text h2 {
        text-align: center;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

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

    /* Payment Section */
    .payment-content {
        flex-direction: column;
        text-align: center;
    }

    .payment-image {
        order: -1;
        /* Image first */
        margin-bottom: 40px;
    }

    .payment-text {
        order: 1;
        /* Text second */
    }

    .payment-text h2 {
        text-align: center;
    }

    /* Steps */
    .steps-container {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .step-connector {
        display: none;
    }

    .step-card {
        width: 100%;
        max-width: 350px;
    }

    /* Pricing / Roles */
    .role-selection-container {
        flex-direction: column;
        gap: 30px;
    }

    .role-card {
        width: 100%;
        max-width: 100%;
    }

    .app-buttons-small {
        flex-direction: row;
        justify-content: center;
    }

    /* Platform */
    .hub-column.side-features {
        flex-direction: column;
    }

    /* Testimonials */
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }

    .testimonial-header h2 {
        margin-bottom: 0;
    }

    .testimonial-header .btn {
        width: auto;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .testimonial-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .testimonial-image-wrapper img {
        width: 250px;
    }

    .shape-bg-blue {
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 200px;
    }

    .dots {
        justify-content: center;
    }

    /* CTA Banner */
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .cta-banner-image {
        display: none;
    }

    .store-buttons {
        flex-direction: column;
        width: 100%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
    }
}

/* =========================================
   MOBILE DRAWER NAVIGATION
   ========================================= */

/* Hamburger Button - Hidden by default */
.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-btn .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Drawer Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    /* Higher than header (1000) */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    /* Hidden off-screen */
    width: 280px;
    height: 100vh;
    background-color: white;
    /* Same bg as header */
    z-index: 1200;
    /* Higher than overlay (1100) */
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.drawer-header .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-drawer-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px 15px;
    line-height: 1;
}

.drawer-nav {
    flex: 1;
    padding: 20px 0;
}

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

.drawer-nav ul li {
    border-bottom: 1px solid #f5f5f5;
}

.drawer-link {
    display: block;
    padding: 18px 25px;
    font-size: 1.05rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.2s;
}

.drawer-link:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
}

.drawer-cta {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
}

/* Mobile Breakpoint */
@media (max-width: 768px) {

    /* Show Hamburger */
    .hamburger-btn {
        display: flex;
    }

    /* Hide Desktop Nav */
    .desktop-nav {
        display: none !important;
    }

    /* Adjust Header Layout */
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        gap: 0;
    }
}