/* WeCharge Hyperfast Style Marketing Website - Custom CSS */

  /* Import Inter font from Google Fonts */
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

  /* CSS Variables for Brand Colors */
  :root {
    /* Brand Colors */
    --ea-primary: #FFD700; /* Gold/Yellow */
    --ea-primary-dark: #E6C200;
    --ea-secondary: #00B04F; /* Green */
    --ea-secondary-dark: #009A43;
    --ea-white: #FFFFFF;
    --ea-black: #000000;
    --ea-gray-50: #F9FAFB;
    --ea-gray-100: #F8F9FA;
    --ea-gray-200: #E9ECEF;
    --ea-gray-300: #DEE2E6;
    --ea-gray-400: #CED4DA;
    --ea-gray-500: #ADB5BD;
    --ea-gray-600: #6C757D;
    --ea-gray-700: #495057;
    --ea-gray-800: #343A40;
    --ea-gray-900: #212529;
    
    /* Typography */
    --ea-font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --ea-font-size-base: 16px;
    --ea-line-height-base: 1.6;
    
    /* Spacing */
    --ea-section-padding: 80px 0;
    --ea-container-padding: 0 20px;
    
    /* Shadows */
    --ea-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --ea-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --ea-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --ea-border-radius: 8px;
    --ea-border-radius-lg: 16px;
    --ea-border-radius-xl: 24px;
    
    /* Transitions */
    --ea-transition: all 0.3s ease;
  }

  /* Base Styles */
  * {
    box-sizing: border-box;
  }

  body {
    font-family: var(--ea-font-family);
    font-size: var(--ea-font-size-base);
    line-height: var(--ea-line-height-base);
    color: var(--ea-gray-800);
    background-color: var(--ea-white);
    margin: 0;
    padding: 0;
  }

  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--ea-font-family);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ea-gray-900);
  }

  h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* 40px - 56px */
    font-weight: 800;
  }

  h2 {
    font-size: clamp(2rem, 4vw, 2.75rem); /* 32px - 44px */
    font-weight: 700;
  }

  h3 {
    font-size: clamp(1.5rem, 3vw, 2rem); /* 24px - 32px */
    font-weight: 600;
  }

  h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem); /* 20px - 24px */
    font-weight: 600;
  }

  p {
    margin-bottom: 1.5rem;
    color: var(--ea-gray-700);
  }

  .lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--ea-gray-600);
  }

  /* Navigation Styles */
  .navbar {
    background-color: var(--ea-white);
    box-shadow: var(--ea-shadow-sm);
    padding: 1rem 0;
    transition: var(--ea-transition);
    z-index: 1050;
  }

  /* Dropdown positioning fix */
  .navbar .dropdown {
    position: static;
  }

  /* Mega Menu Styles */
  .navbar .dropdown-menu {
    display: none;
    border: none;
    box-shadow: var(--ea-shadow-lg);
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    min-width: 250px;
  }

  /* Mega Menu Container */
  .navbar .mega-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 0;
    background: var(--ea-white);
    border-radius: var(--ea-border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 2rem;
    display: none;
    opacity: 0;
    z-index: 1045;
    pointer-events: none;
  }

  .navbar .mega-menu.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
    animation: megaMenuFadeIn 0.3s ease-out forwards;
  }

  @keyframes megaMenuFadeIn {
    from {
      opacity: 0;
      transform: translateX(-50%) translateY(-15px);
    }
    to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
    }
  }

  /* Mega Menu Grid Layout */
  .mega-menu-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }

  .mega-menu-column {
    display: flex;
    flex-direction: column;
  }

  .mega-menu-column h6 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ea-gray-600);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--ea-primary);
  }

  /* Mega Menu Items */
  .mega-menu-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--ea-border-radius);
    text-decoration: none;
    color: var(--ea-gray-800);
    transition: var(--ea-transition);
    margin-bottom: 0.5rem;
  }

  .mega-menu-item:hover {
    background-color: var(--ea-gray-100);
    transform: translateX(5px);
    color: var(--ea-gray-900);
  }

  .mega-menu-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, var(--ea-primary) 0%, var(--ea-primary-dark) 100%);
    border-radius: var(--ea-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
    color: var(--ea-black);
    transition: var(--ea-transition);
  }

  .mega-menu-item:hover .mega-menu-item-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
  }

  .mega-menu-item-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--ea-gray-900);
  }

  .mega-menu-item-content p {
    font-size: 0.875rem;
    color: var(--ea-gray-600);
    margin-bottom: 0;
    line-height: 1.4;
  }

  /* Featured Section in Mega Menu */
  .mega-menu-featured {
    background: linear-gradient(135deg, var(--ea-gray-900) 0%, var(--ea-gray-800) 100%);
    border-radius: var(--ea-border-radius-lg);
    padding: 1.5rem;
    color: var(--ea-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
  }

  .mega-menu-featured h5 {
    color: var(--ea-primary);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
  }

  .mega-menu-featured p {
    color: var(--ea-gray-300);
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .mega-menu-featured .btn {
    align-self: flex-start;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Dropdown Toggle Arrow */
  .navbar .dropdown-toggle::after {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
  }

  .navbar .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  /* Backdrop Overlay */
  .mega-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 1044;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }

  .mega-menu-backdrop.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  /* Standard Dropdown for Simple Menus */
  .navbar .dropdown-menu.standard-dropdown {
    position: absolute;
    min-width: 250px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-radius: var(--ea-border-radius);
  }

  .navbar .dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: var(--ea-transition);
    border: none;
    background: none;
    color: var(--ea-gray-700);
    font-weight: 400;
  }

  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus {
    background-color: var(--ea-gray-100);
    color: var(--ea-gray-900);
  }

  .navbar .dropdown-item.active {
    background-color: var(--ea-primary);
    color: var(--ea-black);
    font-weight: 600;
  }

  .navbar .dropdown-menu.show {
    display: block;
  }

  .navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ea-gray-900) !important;
    text-decoration: none;
  }

  .navbar-nav .nav-link {
    font-weight: 500;
    color: var(--ea-gray-700) !important;
    padding: 0.75rem 1rem !important;
    transition: var(--ea-transition);
    position: relative;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus {
    color: var(--ea-primary-dark) !important;
  }

  .navbar-nav .nav-link.active {
    color: var(--ea-primary-dark) !important;
    font-weight: 600;
  }

  /* Dropdown Styles */
  .dropdown-menu {
    border: none;
    box-shadow: var(--ea-shadow-lg);
    border-radius: var(--ea-border-radius);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
  }

  .dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 400;
    color: var(--ea-gray-700);
    transition: var(--ea-transition);
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    background-color: var(--ea-gray-100);
    color: var(--ea-primary-dark);
  }

  /* Button Styles */
  .btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: var(--ea-border-radius);
    transition: var(--ea-transition);
    text-decoration: none;
    display: inline-block;
    border: 2px solid transparent;
  }

  .btn-primary {
    background-color: var(--ea-primary);
    border-color: var(--ea-primary);
    color: var(--ea-black);
  }

  .btn-primary:hover,
  .btn-primary:focus {
    background-color: var(--ea-primary-dark);
    border-color: var(--ea-primary-dark);
    color: var(--ea-black);
    transform: translateY(-2px);
    box-shadow: var(--ea-shadow-md);
  }

  .btn-secondary {
    background-color: var(--ea-secondary);
    border-color: var(--ea-secondary);
    color: var(--ea-white);
  }

  .btn-secondary:hover,
  .btn-secondary:focus {
    background-color: var(--ea-secondary-dark);
    border-color: var(--ea-secondary-dark);
    color: var(--ea-white);
    transform: translateY(-2px);
    box-shadow: var(--ea-shadow-md);
  }

  .btn-outline-primary {
    background-color: transparent;
    border-color: var(--ea-primary);
    color: var(--ea-primary-dark);
  }

  .btn-outline-primary:hover,
  .btn-outline-primary:focus {
    background-color: var(--ea-primary);
    border-color: var(--ea-primary);
    color: var(--ea-black);
  }

  .btn-outline-dark {
    background-color: transparent;
    border-color: var(--ea-gray-900);
    color: var(--ea-gray-900);
  }

  .btn-outline-dark:hover,
  .btn-outline-dark:focus {
    background-color: var(--ea-gray-900);
    border-color: var(--ea-gray-900);
    color: var(--ea-white);
  }

  .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
  }

  /* Hero Section Home */
  .hero {
    background: linear-gradient(135deg, var(--ea-gray-900) 0%, var(--ea-gray-800) 100%);
    color: var(--ea-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/home/ev-charging-hero.png') center/cover no-repeat;
    opacity: 0.4;
    z-index: 1;
  }

  .hero .container {
    position: relative;
    z-index: 2;
  }

  .hero h1 {
    color: var(--ea-white);
    margin-bottom: 1.5rem;
  }

  .hero .lead {
    color: var(--ea-gray-200);
    margin-bottom: 2.5rem;
    font-size: 1.375rem;
  }

  .hero .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }

  /* Locate Section Home */
  .locate {
    background: linear-gradient(135deg, var(--ea-gray-900) 0%, var(--ea-gray-800) 100%);
    color: var(--ea-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
  }

  .locate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/home/locating-ev.png') center/cover no-repeat;
    opacity: 0.4;
    z-index: 1;
  }

  .locate .container {
    position: relative;
    z-index: 2;
  }

  .locate h1 {
    color: var(--ea-white);
    margin-bottom: 1.5rem;
  }

  .locate .lead {
    color: var(--ea-gray-200);
    margin-bottom: 2.5rem;
    font-size: 1.375rem;
  }

  .locate .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }

  /* Product Section Home */
  .evproduct {
    background: linear-gradient(135deg, var(--ea-gray-900) 0%, var(--ea-gray-800) 100%);
    color: var(--ea-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
  }

  .evproduct::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/home/ev-products.png') center/cover no-repeat;
    opacity: 0.4;
    z-index: 1;
  }

  .evproduct .container {
    position: relative;
    z-index: 2;
  }

  .evproduct h1 {
    color: var(--ea-white);
    margin-bottom: 1.5rem;
  }

  .evproduct .lead {
    color: var(--ea-gray-200);
    margin-bottom: 2.5rem;
    font-size: 1.375rem;
  }

  .evproduct .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }

  /* Drivers image Section Home */
  .evphone {
    background: linear-gradient(135deg, var(--ea-gray-900) 0%, var(--ea-gray-800) 100%);
    color: var(--ea-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
  }

  .evphone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/home/ev-phone.png') center/cover no-repeat;
    opacity: 0.4;
    z-index: 1;
  }

  .evphone .container {
    position: relative;
    z-index: 2;
  }

  .evphone h1 {
    color: var(--ea-white);
    margin-bottom: 1.5rem;
  }

  .evphone .lead {
    color: var(--ea-gray-200);
    margin-bottom: 2.5rem;
    font-size: 1.375rem;
  }

  .evphone .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }

  /* Franchise image Section Home */
  .evfranchise {
    background: linear-gradient(135deg, var(--ea-gray-900) 0%, var(--ea-gray-800) 100%);
    color: var(--ea-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
  }

  .evfranchise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/home/ev-franchise.png') center/cover no-repeat;
    opacity: 0.4;
    z-index: 1;
  }

  .evfranchise .container {
    position: relative;
    z-index: 2;
  }

  .evfranchise h1 {
    color: var(--ea-white);
    margin-bottom: 1.5rem;
  }

  .evfranchise .lead {
    color: var(--ea-gray-200);
    margin-bottom: 2.5rem;
    font-size: 1.375rem;
  }

  .evfranchise .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }

  /* About image Section Home */
  .evabout {
    background: linear-gradient(135deg, var(--ea-gray-900) 0%, var(--ea-gray-800) 100%);
    color: var(--ea-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
  }

  .evabout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/home/ev-about.png') center/cover no-repeat;
    opacity: 0.4;
    z-index: 1;
  }

  .evabout .container {
    position: relative;
    z-index: 2;
  }

  .evabout h1 {
    color: var(--ea-white);
    margin-bottom: 1.5rem;
  }

  .evabout .lead {
    color: var(--ea-gray-200);
    margin-bottom: 2.5rem;
    font-size: 1.375rem;
  }

  .evabout .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
  }

  /* Section Styles */
  .section {
    padding: var(--ea-section-padding);
  }

  .section-gray {
    background-color: var(--ea-gray-100);
  }

  .section-dark {
    background-color: var(--ea-gray-900);
    color: var(--ea-white);
  }

  .section-dark h1,
  .section-dark h2,
  .section-dark h3,
  .section-dark h4,
  .section-dark h5,
  .section-dark h6 {
    color: var(--ea-white);
  }

  .section-dark p {
    color: var(--ea-gray-300);
  }

  /* Card Styles */
  .card {
    border: none;
    border-radius: var(--ea-border-radius-lg);
    box-shadow: var(--ea-shadow-md);
    transition: var(--ea-transition);
    overflow: hidden;
  }

  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ea-shadow-lg);
  }

  .card-body {
    padding: 2rem;
  }

  .card-title {
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .card-text {
    color: var(--ea-gray-600);
  }

  /* Feature Cards */
  .feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--ea-white);
    border-radius: var(--ea-border-radius-xl);
    box-shadow: var(--ea-shadow-md);
    transition: var(--ea-transition);
    height: 100%;
  }

  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ea-shadow-lg);
  }

  .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--ea-primary) 0%, var(--ea-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--ea-black);
  }

  /* CTA Section */
  .cta-section {
    background: linear-gradient(135deg, var(--ea-primary) 0%, var(--ea-primary-dark) 100%);
    color: var(--ea-black);
    text-align: center;
  }

  .cta-section h2 {
    color: var(--ea-black);
    margin-bottom: 1rem;
  }

  .cta-section p {
    color: var(--ea-gray-800);
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }

  /* Footer */
  .footer {
    background-color: var(--ea-gray-900);
    color: var(--ea-gray-300);
    padding: 3rem 0 1.5rem;
  }

  .footer h5 {
    color: var(--ea-white);
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .footer a {
    color: var(--ea-gray-400);
    text-decoration: none;
    transition: var(--ea-transition);
  }

  .footer a:hover {
    color: var(--ea-primary);
  }

  .footer-bottom {
    border-top: 1px solid var(--ea-gray-700);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: var(--ea-gray-500);
  }

  /* Utility Classes */
  .text-primary {
    color: var(--ea-primary-dark) !important;
  }

  .text-secondary {
    color: var(--ea-secondary) !important;
  }

  .bg-primary {
    background-color: var(--ea-primary) !important;
  }

  .bg-secondary {
    background-color: var(--ea-secondary) !important;
  }

  .rounded-xl {
    border-radius: var(--ea-border-radius-xl) !important;
  }

  .shadow-lg {
    box-shadow: var(--ea-shadow-lg) !important;
  }

  /* Responsive Design */
  @media (max-width: 991.98px) {
    .hero, .locate, .evproduct, .evphone, .evfranchise, .evabout {
      padding: 80px 0 60px;
      text-align: center;
    }
    
    .hero .btn, .locate .btn, .evproduct .btn, .evphone .btn, .evfranchise .btn, .evabout .btn {
      display: block;
      width: 100%;
      margin-right: 0;
      margin-bottom: 1rem;
    }
    
    .section {
      padding: 60px 0;
    }
    
    .feature-card {
      margin-bottom: 2rem;
    }

    /* Mobile Mega Menu Styles */
    .navbar .mega-menu {
      position: static !important;
      width: 100% !important;
      max-width: 100% !important;
      border-radius: 0 !important;
      box-shadow: none !important;
      padding: 1rem !important;
      margin-top: 0 !important;
      margin-bottom: 0.5rem !important;
      background: var(--ea-white) !important;
      border: 1px solid var(--ea-gray-300) !important;
      border-left: none !important;
      border-right: none !important;
      transform: none !important;
      left: auto !important;
      top: auto !important;
      z-index: 1000 !important;
      opacity: 1 !important;
      pointer-events: auto !important;
    }

    .navbar .mega-menu.show {
      display: block !important;
      animation: none !important;
    }

    .mega-menu-content {
      grid-template-columns: 1fr !important;
      gap: 0.75rem !important;
    }

    .mega-menu-column {
      border-bottom: 1px solid var(--ea-gray-200);
      padding-bottom: 0.75rem;
      margin-bottom: 0.75rem;
    }

    .mega-menu-column:last-child {
      border-bottom: none;
      margin-bottom: 0;
      padding-bottom: 0;
    }

    .mega-menu-column h6 {
      font-size: 0.8rem;
      margin-bottom: 0.75rem;
      padding-bottom: 0.5rem;
    }

    .mega-menu-item {
      padding: 0.65rem !important;
      margin-bottom: 0.25rem !important;
      background: var(--ea-gray-50) !important;
    }

    .mega-menu-item:hover {
      background: var(--ea-gray-100) !important;
      transform: none !important;
    }

    .mega-menu-item-icon {
      width: 32px !important;
      height: 32px !important;
      min-width: 32px !important;
      font-size: 0.95rem !important;
      margin-right: 0.75rem !important;
    }

    .mega-menu-item-content h5 {
      font-size: 0.9rem !important;
      margin-bottom: 0.15rem !important;
    }

    .mega-menu-item-content p {
      font-size: 0.8rem !important;
      line-height: 1.3 !important;
    }

    .mega-menu-featured {
      margin-top: 0.5rem !important;
      padding: 1rem !important;
      min-height: auto !important;
      border-radius: var(--ea-border-radius) !important;
    }

    .mega-menu-featured h5 {
      font-size: 1rem !important;
      margin-bottom: 0.5rem !important;
    }

    .mega-menu-featured p {
      font-size: 0.85rem !important;
      margin-bottom: 0.75rem !important;
    }

    .mega-menu-featured .btn {
      padding: 0.5rem 1rem !important;
      font-size: 0.85rem !important;
    }

    .mega-menu-backdrop {
      display: none !important;
    }

    /* Ensure navbar collapse contains dropdowns properly */
    .navbar-collapse {
      max-height: 80vh;
      overflow-y: auto;
      overflow-x: hidden;
    }

    /* Fix dropdown positioning in mobile */
    .navbar .dropdown {
      position: relative !important;
    }

    .navbar .dropdown-menu {
      position: static !important;
      float: none !important;
      width: 100% !important;
      margin: 0 !important;
      border: none !important;
      box-shadow: none !important;
    }

    /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-open {
      overflow: hidden;
      position: fixed;
      width: 100%;
    }
  }

  @media (max-width: 767.98px) {
    /* Increase top padding to prevent navbar from blocking hero text */
    .hero, .locate, .evproduct, .evphone, .evfranchise, .evabout {
      padding: 100px 0 40px;
    }

    /* Adjust background image for mobile */
    .hero::before,
    .locate::before,
    .evproduct::before,
    .evphone::before,
    .evfranchise::before,
    .evabout::before {
      background-size: cover;
      background-position: center center;
      opacity: 0.3;
    }

    /* Make navbar semi-transparent on mobile for hero sections */
    .navbar {
      background-color: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
    }
    
    .section {
      padding: 40px 0;
    }
    
    .card-body {
      padding: 1.5rem;
    }
    
    .feature-card {
      padding: 2rem 1rem;
    }
  }

  /* Smooth Scroll */
  html {
    scroll-behavior: smooth;
  }

  /* Focus Styles for Accessibility */
  .btn:focus,
  .nav-link:focus,
  .dropdown-item:focus {
    outline: 2px solid var(--ea-primary);
    outline-offset: 2px;
  }

  /* Loading Animation */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in-up {
    animation: fadeInUp 0.6s ease-out;
  }

  /* Print Styles */
  @media print {
    .navbar,
    .footer,
    .btn {
      display: none !important;
    }
    
    .hero {       
      background: none !important;
      color: var(--ea-black) !important;
    }
    
    .hero h1,
    .hero .lead {
      color: var(--ea-black) !important;
    }
  }

/*---------------------------------------
  CONTACT INFO               
-----------------------------------------*/
.contact-thumb {
  position: relative;
  bottom: 140px;
  margin-bottom: -140px;
}

.contact-info {
  border-radius: 20px;
  padding: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  border-radius: 12px;
  background: var(--ea-gray-50);
  transition: var(--ea-transition);
}

.contact-item:hover {
  background: var(--ea-gray-100);
  transform: translateX(5px);
}

.contact-item-content {
  flex: 1;
}

.contact-item-content h6 {
  font-weight: 600;
  color: var(--ea-gray-900);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item-content p {
  color: var(--ea-gray-700);
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-link {
  color: var(--ea-gray-700);
  text-decoration: none;
  transition: var(--ea-transition);
  display: inline-block;
}

.contact-link:hover {
  color: var(--ea-primary-dark);
  transform: translateX(3px);
}

.google-map {
  border-radius: 15px;
  border: 3px solid var(--ea-gray-200);
  transition: var(--ea-transition);
}

.google-map:hover {
  border-color: var(--ea-primary);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.map-container h6 {
  font-weight: 600;
  color: var(--ea-gray-900);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.contact-icon {
  color: var(--ea-primary-dark);
  font-size: 1.5rem;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*---------------------------------------
  SOCIAL MEDIA SECTION               
-----------------------------------------*/
.social-media-section {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.social-media-section h4 {
  color: var(--ea-gray-900);
  font-weight: 700;
  margin-bottom: 1rem;
}

.social-media-section p {
  color: var(--ea-gray-700);
  margin-bottom: 1.5rem;
}

.social-icons-wrapper {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.social-icon i {
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.social-label {
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.3s ease;
}

/* Facebook Styling */
.facebook-icon {
  background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
  color: white;
}

.facebook-icon:hover {
  background: linear-gradient(135deg, #0d5dbf 0%, #1877f2 100%);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.facebook-icon:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Instagram Styling */
.instagram-icon {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.instagram-icon:hover {
  background: linear-gradient(135deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(188, 24, 136, 0.4);
}

.instagram-icon:hover i {
  transform: scale(1.2) rotate(-5deg);
}

.social-icon:active {
  transform: translateY(-2px);
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact-container-wrap {
  background-color: #90EE90;
  padding-bottom: 120px;
}

.contact-form {
  margin-top: 30px;
  margin-right: 30px;
}

.contact-form h2 {
  color: var(--ea-gray-900);
  font-weight: 700;
}

.contact-form p {
  color: var(--ea-gray-800);
  font-size: 1.05rem;
  line-height: 1.7;
}

/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border: 0;
  border-bottom: 3px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  transition: all 0.3s;
  outline: none;
  color: var(--ea-gray-900);
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  background: rgba(255, 255, 255, 0.5);
  border-bottom-color: var(--ea-gray-900);
}

.custom-form button[type="submit"] {
  background: var(--ea-secondary);
  border-radius: 100px;
  border: 0;
  color: var(--ea-white);
  font-weight: 700;
  transition: all 0.3s;
  margin-bottom: 0;
  padding: 12px 30px;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--ea-secondary-dark);
  color: var(--ea-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 176, 79, 0.3);
}

/* Responsive Design for Contact Section */
@media (max-width: 991.98px) {
  .contact-thumb {
    bottom: 0;
    margin-bottom: 0;
    margin-top: 40px;
  }

  .social-icons-wrapper {
    justify-content: center;
  }

  .social-icon {
    flex: 1;
    min-width: 200px;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .contact-container-wrap {
    padding-bottom: 60px;
  }

  .contact-form {
    margin-right: 0;
  }

  .social-media-section {
    padding: 20px;
  }

  .social-icons-wrapper {
    flex-direction: column;
  }

  .social-icon {
    width: 100%;
    justify-content: center;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-icon {
    margin-bottom: 10px;
  }
}
