* {
      /* Apply the Poppins font globally for a modern look */
      font-family: 'Poppins', sans-serif;
    }
    
    .font-poppins {
  font-family: 'Poppins', sans-serif;
}
    
    /* Responsive Design Improvements */
    @media (max-width: 768px) {
      .flex {
        flex-direction: column !important;
      }
      .max-w-md, .max-w-lg, .max-w-xl, .max-w-2xl, .max-w-3xl, .max-w-4xl {
        width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
      }
      .text-5xl {
        font-size: 2.25rem !important;
      }
      .text-4xl {
        font-size: 1.875rem !important;
      }
      .text-3xl {
        font-size: 1.5rem !important;
      }
      .text-2xl {
        font-size: 1.25rem !important;
      }
      .text-xl {
        font-size: 1.125rem !important;
      }
      .hidden-mobile {
        display: none !important;
      }
      .grid-cols-2, .grid-cols-3, .grid-cols-4 {
        grid-template-columns: 1fr !important;
      }
      /* Fix hero section padding on mobile */
      .gradient-bg {
        padding-top: 40px !important;
        padding-bottom: 1rem !important;
      }
      .space-x-4 {
        margin: 0 !important;
      }
      .space-x-4 > * {
        margin: 0.5rem !important;
      }
      .space-x-8 > * + * {
        margin-left: 0 !important;
        margin-top: 0.5rem !important;
      }
      .space-y-4 > * + * {
        margin-top: 1rem !important;
      }
      .py-16, .py-20, .py-24 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
      }
      
      /* Mobile hero section optimizations */
      .gradient-bg h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
      }
      
      .gradient-bg p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
      }
      nav .flex.items-center.space-x-8 {
        display: none;
      }
      nav .flex.justify-between {
        position: relative;
      }
      
      /* Fix for Apply Now button in header */
      .desktop-nav .bg-brand-orange {
        margin-top: 0.5rem;
        display: block;
        text-align: center;
      }
      
      /* Hero buttons fix */
      .hero-buttons {
        width: 100%;
        justify-content: center;
      }
      
      .hero-buttons a {
        min-width: 200px;
        text-align: center;
        margin: 0.5rem;
      }
      
      /* Force left alignment for contact information on mobile */
      #contact .grid > div:first-child {
        text-align: left !important;
      }
      
      #contact .flex.items-center {
        justify-content: flex-start !important;
        text-align: left !important;
      }
      
      #contact .space-y-4 > div {
        text-align: left !important;
      }
      
      .mobile-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        z-index: 50;
      }
      .mobile-menu.show {
        display: flex !important;
      }
      .mobile-menu-button {
        display: block !important;
      }
      
      /* Language dropdown styling */
      .language-switcher select {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 0.5rem center;
        background-repeat: no-repeat;
        background-size: 1.5em 1.5em;
        padding-right: 2.5rem;
      }
      
      .language-switcher select:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
      }
      .h-96 {
        height: auto !important;
      }
      
      /* NEW: Completely redesigned mobile banner - card-style, left-aligned, modern */
      .compact-hero {
        background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #f97316 100%) !important;
        padding: 1.5rem 1rem !important;
        border-radius: 0 !important;
        position: relative !important;
        overflow: hidden !important;
      }
      
      .compact-hero::before {
        display: none !important;
      }
      
      .compact-hero::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 120px;
        height: 120px;
        background: radial-gradient(circle, rgba(249, 115, 22, 0.2) 0%, transparent 70%);
        border-radius: 50%;
        transform: translate(30px, -30px);
      }
      
      .compact-hero .max-w-6xl {
        padding: 0 !important;
        max-width: 100% !important;
      }
      
      .compact-hero > div > div {
        text-align: left !important;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 1.25rem !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
      }
      
      .compact-hero h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
        font-weight: 700 !important;
        text-align: left !important;
        padding: 0 !important;
      }
      
      .compact-hero h2 {
        font-size: 0.875rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
        text-align: left !important;
        padding: 0 !important;
        opacity: 0.9;
      }
      
      .compact-hero p {
        font-size: 0.875rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
        text-align: left !important;
        padding: 0 !important;
        opacity: 0.85;
      }
      
      .compact-hero .mb-4 {
        margin-bottom: 0.75rem !important;
      }
      
      /* Stat badges - horizontal scroll on mobile */
      .compact-hero .flex.flex-wrap.justify-center.gap-2 {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 0.5rem !important;
        padding: 0 !important;
        margin-bottom: 1rem !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
      }
      
      .compact-hero .flex.flex-wrap.justify-center.gap-2::-webkit-scrollbar {
        display: none;
      }
      
      .compact-hero .stat-badge {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.75rem !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
        min-width: auto !important;
        max-width: none !important;
        white-space: nowrap;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
      }
      
      .compact-hero .stat-badge i {
        font-size: 0.75rem !important;
        margin-right: 0.375rem !important;
      }
      
      /* Single prominent CTA button */
      .compact-hero .flex.flex-wrap.justify-center.gap-3 {
        flex-direction: column !important;
        gap: 0.5rem !important;
        width: 100% !important;
        padding: 0 !important;
        margin-top: 0.75rem !important;
      }
      
      .compact-hero .flex.flex-wrap.justify-center.gap-3 a:first-child {
        width: 100% !important;
        padding: 0.875rem 1.25rem !important;
        font-size: 0.9375rem !important;
        font-weight: 600 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        background: #fc6c24 !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(252, 108, 36, 0.4) !important;
      }
      
      /* Hide secondary button on mobile */
      .compact-hero .flex.flex-wrap.justify-center.gap-3 a:last-child {
        display: none !important;
      }
      
      .compact-hero .mb-5 {
        margin-bottom: 0.75rem !important;
      }
    }
    
    /* Extra small mobile devices */
    @media (max-width: 480px) {
      .compact-hero {
        padding: 1.25rem 0.875rem !important;
      }
      
      .compact-hero > div > div {
        padding: 1rem !important;
        border-radius: 12px !important;
      }
      
      .compact-hero h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
      }
      
      .compact-hero p {
        font-size: 0.8125rem !important;
        margin-bottom: 0.875rem !important;
      }
      
      .compact-hero .stat-badge {
        padding: 0.4375rem 0.625rem !important;
        font-size: 0.6875rem !important;
      }
      
      .compact-hero .flex.flex-wrap.justify-center.gap-3 a:first-child {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
      }
    }
    
    /* Tablet-specific optimizations */
    @media (min-width: 769px) and (max-width: 1024px) {
      .gradient-bg {
        padding-top: 2rem !important;
        padding-bottom: 1rem !important;
      }
      
      .gradient-bg h1 {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
      }
      
      .gradient-bg p {
        font-size: 1.125rem !important;
      }
    }
    
    .gradient-bg {
      /* Hero background updated to brand blue tones */
      background: linear-gradient(135deg, #0c2c8c 0%, #164b93 100%);
    }
    
    .compact-hero {
      background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #f97316 100%);
      position: relative;
      overflow: hidden;
    }
    .compact-hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
      opacity: 0.3;
    }
    .stat-badge {
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      padding: 0.5rem 1rem;
      border-radius: 1rem;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .profit-calculator {
      /* Profit calculator section uses brand orange gradient */
      background: linear-gradient(135deg, #fc6c24 0%, #fca85d 100%);
    }
    .business-model {
      /* This class is no longer applied to the business model section. It remains
         defined for backwards compatibility but does not affect the layout. */
      background: none;
    }
    .opportunity-bg {
      /* Warm cream background for opportunities */
      background: linear-gradient(135deg, #fff7ed 0%, #ffe9d6 100%);
    }
    .text-chai {
      color: #0c2c8c;
    }
    .bg-chai {
      background-color: #0c2c8c;
    }
    .hover\:bg-chai-dark:hover {
      background-color: #071d5a;
    }

    /* Additional brand colour helpers */
    .bg-brand-orange {
      background-color: #fc6c24;
    }
    .hover\:bg-brand-orange-dark:hover {
      background-color: #e65c1f;
    }
    .hover\:text-brand-orange:hover {
      color: #fc6c24;
    }

    /* Additional brand accent styles */
    /* Brand blue text and hover color definitions */
    .text-brand-blue {
      color: #0c2c8c;
    }
    .hover\:text-brand-blue:hover {
      color: #071d5a;
    }

    /* Brand orange text definition */
    .text-brand-orange {
      color: #fc6c24;
    }

    /* Border utility for brand orange outlines */
    .border-brand-orange {
      border-color: #fc6c24;
    }
    /* Hover background for brand orange outlines */
    .hover\:bg-brand-orange:hover {
      background-color: #fc6c24;
    }

    /* Gradient used in profit calculator projections to reflect brand colours */
    .profit-gradient {
      background: linear-gradient(135deg, #fc6c24 0%, #0c2c8c 100%);
    }

    /* Gradient for the chatbot header blending brand blue and orange */
    .bg-gradient-brand {
      background: linear-gradient(135deg, #0c2c8c 0%, #fc6c24 100%);
    }

    /* Global page background: a soft pastel blue gradient used across
       the website (except the hero section).  This ensures a cohesive
       and light appearance on all sections. */
    .page-bg {
      background: linear-gradient(135deg, #f3f8ff 0%, #e8f0ff 100%);
    }

    /* Mobile header grid fixes */
    .lg\:hidden.grid.grid-cols-3 {
      grid-template-columns: 1fr auto 1fr !important;
    }
    
    .lg\:hidden.grid.grid-cols-3 > div:nth-child(1) {
      justify-self: start !important;
    }
    
    .lg\:hidden.grid.grid-cols-3 > div:nth-child(2) {
      justify-self: center !important;
      width: auto !important;
    }
    
    .lg\:hidden.grid.grid-cols-3 > div:nth-child(3) {
      justify-self: end !important;
    }
    
    /* Prevent logo stretching */
    .lg\:hidden img.h-10 {
      width: auto !important;
      max-width: none !important;
      object-fit: contain !important;
    }
    
    /* Force logo to stay inline with hamburger */
    .lg\:hidden .col-span-6.flex {
      white-space: nowrap !important;
      overflow: visible !important;
      min-width: 200px !important;
      width: auto !important;
    }
    
    .lg\:hidden .col-span-6.flex > * {
      display: inline-block !important;
      vertical-align: middle !important;
      float: left !important;
    }
    
    .lg\:hidden .col-span-6.flex img {
      white-space: nowrap !important;
      display: inline !important;
      float: left !important;
    }
    
    /* Override grid constraints */
    .lg\:hidden.grid.grid-cols-12 .col-span-6 {
      grid-column: span 6 !important;
      min-width: 200px !important;
      width: auto !important;
    }
    
    /* Force logo to stay inline with hamburger - Absolute positioning version */
    .lg\:hidden .absolute.left-4 {
      white-space: nowrap !important;
      overflow: visible !important;
      min-width: 300px !important;
      width: auto !important;
    }
    
    .lg\:hidden .absolute.left-4 > * {
      display: inline-block !important;
      vertical-align: middle !important;
      float: left !important;
    }
    
    .lg\:hidden .absolute.left-4 img {
      white-space: nowrap !important;
      display: inline !important;
      float: left !important;
    }
    
    /* Card styling enhancements */
    .card-shadow {
      /* Soft shadow for cards to lift them off the page */
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .hover-scale {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      opacity: 1 !important;
    }
    .hover-scale:hover {
      transform: translateY(-4px);
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
      opacity: 1 !important;
    }
    
    /* Ensure all icons and gradients are fully visible */
    .hover-scale svg,
    .hover-scale .bg-gradient-to-r,
    .hover-scale i {
      opacity: 1 !important;
      visibility: visible !important;
    }

.testimonial-slider {
    position: relative;
    min-height: 300px; /* Set minimum height to prevent layout shift - will be updated dynamically */
    height: 300px; /* Will be set to fixed height by JavaScript */
    overflow: hidden; /* Prevent content overflow */
    width: 100%;
    box-sizing: border-box;
}
.testimonial-slide {
    animation: fade 0.5s ease-in-out;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: block !important; /* Override inline display:none */
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
.testimonial-slide.active {
    position: absolute; /* Keep absolute to prevent height changes */
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    display: block !important;
    width: 100%;
    box-sizing: border-box;
}
@keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
}
.testimonial-prev {
    left: -2.5rem;
}
.testimonial-next {
    right: -2.5rem;
}

/* Basic styling for header and main content to ensure they don't overlap with fixed elements */
header, main, footer {
    position: relative;
    z-index: 1;
}

#burger-menu-button {
    z-index: 1001;
}

/* Sidebar Navigation */
.sidebar-nav {
    position: fixed;
    top: 0;
    left: -250px; /* Hidden by default */
    width: 80vw; /* Responsive width */
    max-width: 250px; /* Max width for larger screens */
    height: 100%;
    background-color: #f4f4f4;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s ease-in-out;
    padding-top: 60px;
}

.sidebar-nav.open {
    left: 0; /* Slide in */
}

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

.sidebar-nav ul li {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.sidebar-nav ul li:last-child {
    border-bottom: none;
}

.sidebar-nav ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    font-size: 1.1em;
    font-family: 'Poppins', sans-serif;
    transition: color 0.2s ease-in-out;
}

.sidebar-nav ul li a:hover {
    color: #007bff;
}


/* Smooth scrolling and header offset for all sections */
html {
    scroll-behavior: smooth;
}

#dream-opportunity,
#business-model,
#opportunities,
#revenue,
#incentive-structure,
#why-choose-us,
#apply,
#contact {
    scroll-margin-top: 6rem; /* Reduced from 8rem for better positioning */
    scroll-padding-top: 6rem; /* Additional support for smooth scrolling */
}

/* Mobile-specific scroll margin for all navigation sections to ensure proper positioning */
@media (max-width: 768px) {
    #dream-opportunity,
    #business-model,
    #opportunities,
    #revenue,
    #incentive-structure,
    #why-choose-us,
    #apply,
    #contact {
        scroll-margin-top: 8rem !important; /* Extra margin on mobile to ensure section headings are visible */
        scroll-padding-top: 8rem !important;
    }
    
    /* Ensure video section doesn't interfere with scrolling */
    #video-showcase {
        scroll-margin-top: 0;
        scroll-padding-top: 0;
    }
}

/* Enhanced smooth scrolling for better user experience */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Ensure sections have proper visual separation */
section {
    position: relative;
}

/* Add subtle visual indicator for section headers */
section h2:first-of-type {
    position: relative;
    z-index: 1;
}

/* Smooth transition for better visual flow */
section {
    transition: all 0.3s ease-in-out;
}

/* Overlay for sidebar */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 998; /* Below sidebar, above content */
    display: none; /* Hidden by default */
}

.sidebar-overlay.active {
    display: block;
}

/* Ensure table headers are visible and properly styled */
#cities-table-container table thead {
    display: table-header-group !important;
}

#cities-table-container table th {
    display: table-cell !important;
    background-color: #1d4ed8 !important;
    color: white !important;
    font-weight: bold !important;
    font-family: 'Poppins', sans-serif !important;
    padding: 0.75rem 1.5rem !important;
    border: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

#cities-table-container table thead tr {
    display: table-row !important;
}

/* Debug: Make sure table is visible */
#cities-table-container table {
    border-collapse: collapse !important;
    width: 100% !important;
    margin-top: 1rem !important;
}

#cities-table-container table td {
    padding: 0.75rem 1.5rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    font-family: 'Poppins', sans-serif !important;
}

/* Ensure proper column alignment - respect Tailwind alignment classes */
#cities-table-container table th.text-left,
#cities-table-container table td.text-left {
    text-align: left !important;
}

#cities-table-container table th.text-right,
#cities-table-container table td.text-right {
    text-align: right !important;
}

/* Ensure proper column width distribution for better alignment */
#cities-table-container table th:nth-child(2),
#cities-table-container table td:nth-child(2),
#cities-table-container table th:nth-child(3),
#cities-table-container table td:nth-child(3) {
    white-space: nowrap;
}

/* Mobile-friendly territory table - convert to card layout */
@media (max-width: 768px) {
    #cities-table-container {
        overflow-x: visible !important;
    }
    
    #cities-table-container table {
        display: block !important;
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }
    
    #cities-table-container table thead {
        display: none !important;
    }
    
    #cities-table-container table tbody {
        display: block !important;
        width: 100% !important;
    }
    
    #cities-table-container table tbody tr {
        display: block !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
        background: white !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 12px !important;
        padding: 1rem !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
        transition: box-shadow 0.2s ease !important;
    }
    
    #cities-table-container table tbody tr:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    #cities-table-container table tbody tr:last-child {
        margin-bottom: 0 !important;
    }
    
    #cities-table-container table tbody td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.75rem 0 !important;
        border: none !important;
        text-align: left !important;
        width: 100% !important;
        white-space: normal !important;
    }
    
    #cities-table-container table tbody td:first-child {
        font-weight: 600 !important;
        font-size: 1.125rem !important;
        color: #1d4ed8 !important;
        padding-bottom: 0.75rem !important;
        margin-bottom: 0.75rem !important;
        border-bottom: 2px solid #e5e7eb !important;
        justify-content: flex-start !important;
    }
    
    #cities-table-container table tbody td:first-child:before {
        display: none !important;
    }
    
    #cities-table-container table tbody td:not(:first-child) {
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 0.375rem !important;
        font-weight: 600 !important;
        color: #111827 !important;
        font-size: 1rem !important;
    }
    
    /* Ensure labels are visible - use more specific selector */
    #cities-table-container table tbody td[data-label]:not(:first-child):before,
    #cities-table-container table tbody td:not(:first-child):before {
        content: attr(data-label) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-weight: 600 !important;
        color: #6b7280 !important;
        font-size: 0.8125rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.025em !important;
        margin-bottom: 0.25rem !important;
        width: 100% !important;
        line-height: 1.4 !important;
        order: -1 !important;
        text-align: left !important;
    }
    
    /* Fallback for browsers that might not support attr() properly */
    #cities-table-container table tbody td:nth-child(2):before {
        content: attr(data-label) !important;
        text-align: left !important;
    }
    
    #cities-table-container table tbody td:nth-child(3):before {
        content: attr(data-label) !important;
        text-align: left !important;
    }
}

/* Chat Widget Mobile Responsiveness */
@media (max-width: 768px) {
    /* Chat toggle button - make it larger and better positioned for mobile */
    #chatToggle {
        bottom: 1rem !important;
        right: 1rem !important;
        padding: 1rem !important;
        width: 3.5rem !important;
        height: 3.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #chatToggle i {
        font-size: 1.5rem !important;
    }
    
    /* Chat window - make it mobile-friendly */
    #chatWindow {
        bottom: 5rem !important;
        right: 0.5rem !important;
        left: 0.5rem !important;
        width: auto !important;
        height: 80vh !important;
        max-height: 500px !important;
        min-height: 400px !important;
    }
    
    /* Chat header - adjust for mobile */
    #chatWindow .bg-gradient-brand {
        padding: 0.75rem 1rem !important;
    }
    
    #chatWindow .bg-gradient-brand span {
        font-size: 1rem !important;
    }
    
    /* FAQ toggle - make it more touch-friendly */
    #faqToggle {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
    }
    
    /* FAQ suggestions - adjust spacing for mobile */
    #faqSuggestions {
        padding: 0.75rem 1rem !important;
    }
    
    #faqSuggestions .faq-item {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
        min-height: 2.5rem !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Chat messages - adjust padding for mobile */
    #chatMessages {
        padding: 0.75rem 1rem !important;
    }
    
    /* Chat input area - make it more touch-friendly */
    #chatWindow .border-t {
        padding: 0.75rem 1rem !important;
    }
    
    #chatInput {
        padding: 0.75rem !important;
        font-size: 1rem !important;
        min-height: 2.5rem !important;
    }
    
    #chatSend {
        padding: 0.75rem !important;
        width: 2.5rem !important;
        height: 2.5rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #chatSend i {
        font-size: 1rem !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    #chatWindow {
        bottom: 4.5rem !important;
        height: 75vh !important;
        max-height: 450px !important;
    }
    
    #chatToggle {
        bottom: 0.75rem !important;
        right: 0.75rem !important;
        width: 3rem !important;
        height: 3rem !important;
    }
    
    #chatToggle i {
        font-size: 1.25rem !important;
    }
}

/* Enforce Poppins font on dropdowns across browsers */
select,
select option,
#state-select,
select[name="preferredCity"],
select[name="investmentCapacity"] {
    font-family: 'Poppins', sans-serif !important;
}

/* Enhanced Form Message Styling */
.form-message {
    min-width: 400px;
    max-width: 500px;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-message.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.form-message.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Message animation keyframes */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.form-message.slide-in {
    animation: slideInRight 0.5s ease-out;
}

.form-message.slide-out {
    animation: slideOutRight 0.5s ease-out;
}

/* B2C Machine Toggle Animations */
@keyframes pulse-once {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse-once {
    animation: pulse-once 0.6s ease-in-out;
}

/* Smooth transitions for B2C card */
#b2cCard {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#b2cCard:hover {
    transform: translateY(-2px);
}

#b2cIcon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#b2cToggle div {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll to Top Button */
#scrollToTop {
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#scrollToTop.visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

#scrollToTop:hover {
    transform: translateY(-2px) !important;
}

/* Mobile adjustments for scroll to top button */
@media (max-width: 768px) {
    #scrollToTop {
        bottom: 1.5rem !important;
        left: 1rem !important;
        padding: 0.75rem !important;
        width: 2.75rem !important;
        height: 2.75rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #scrollToTop i {
        font-size: 1rem !important;
    }
}