:root {
  --c1: #7cc91f;
  --c2: #39b74b;
  --c3: #1dad65;
  --c4: #0870e8;
  --white: #ffffff;
}
html,
body {
  overflow-x: hidden;
  width: 100%;
}
section {
  overflow: hidden;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: var(--white);
  color: var(--c4);
}

/* ----------------- NAVBAR ----------------- */
/* ----------------- PILL NAVBAR ----------------- */
.navbar-container {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 20px;
}

.navbar {
  width: auto; /* Shrink to fit content */
  min-width: auto; /* Ensures enough space for links */
  height: 50px;
  display: flex; /* Changed from grid to flex for better pill alignment */
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  background: rgba(255, 255, 255, 0.95); /* Slight transparency */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  backdrop-filter: blur(10px); /* Glass effect */
  border-radius: 50px; /* The Pill Shape */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.logo img {
  height: 45px; /* Scaled down for the smaller pill bar */
  width: auto;
  scale: calc(150%);
}

/* KEEPING YOUR EXACT LINK HOVER LOGIC */
.nav-center {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0 20px;
}

.nav-center a {
  text-decoration: none;
  color: var(--c4);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-center a:hover {
  color: var(--c2); /* Your original hover color */
}

/* Adjust Dropdown position for the Pill Bar */
.dropdown {
  position: absolute;
  top: 50px; /* Adjusted slightly higher for the pill bar */
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 500px;
  background: var(--white);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* MOBILE FIX FOR PILL */
@media (max-width: 992px) {
  .navbar {
    width: 100%;
    min-width: unset;
    border-radius: 15px; /* Square off slightly on mobile */
  }

  .navbar-container {
    top: 10px;
  }
}

/* NAV LINKS CENTER */
.nav-center {
  list-style: none;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.nav-center li {
  position: relative;
}

.nav-center a {
  text-decoration: none;
  color: var(--c4);
  font-weight: 600;
  transition: color 0.3s;
}

.nav-center a:hover {
  color: var(--c2);
}

/* DESKTOP DROPDOWN */
.dropdown {
  position: absolute;
  top: 55px;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 550px;
  background: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 25px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown ul {
  list-style-type: none;
}
.dropdown ul li {
  padding-top: 15px;
}

.dropdown img.desktop-img {
  width: 180px;
  height: 140px;
  border-radius: 10px;
  object-fit: cover;
}

/* NAV ITEM FLEX */
.nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-arrow {
  display: none;
  font-size: 20px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 5px;
}

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--c4);
}

/* ----------------- MOBILE ----------------- */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    /* padding: 0 20px; */
  }

  .nav-center {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 10px;
    padding: 25px 20px;
    display: none;
    /* z-index: 99; */
  }

  .nav-center.active {
    display: flex;
  }

  .mobile-arrow {
    display: block;
  }

  /* MOBILE DROPDOWN: text-only */
  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown {
    position: relative;
    width: 100%;
    box-shadow: none;
    display: none;
    flex-direction: column;
  }

  .dropdown.active {
    display: flex;
  }

  .dropdown img.desktop-img {
    display: none; /* hide images on mobile */
  }

  .dropdown ul {
    list-style: none;
    display: flex;
    flex-direction: column;
  }

  .dropdown ul li a {
    color: var(--c4);
    font-weight: 500;
    display: block;
    transition: color 0.3s;
  }

  .dropdown ul li a:hover {
    color: var(--c2);
  }

  .menu-toggle {
    display: block;
  }
}

/* ----------------- HERO SECTION ----------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* Updated background to match the darker, more professional tone in attachment */
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1593941707882-a5bba14938c7?auto=format&fit=crop&q=80&w=2072")
      center/cover no-repeat;
  display: flex;
  justify-content: flex-start; /* Changed from center to align content to the left */
  align-items: center;
  text-align: left; /* Changed from center to left align text */
  color: var(--white);
  padding-left: 10%; /* Adds the necessary spacing from the left edge */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  /* Removed padding: 0 20px to prevent extra centering offset */
}

.hero-content h1 {
  font-size: 2.5rem; /* Slightly larger to match the bold visual style */
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
}
#hero2 {
  font-weight: lighter;
}
.hero-content .btn-primary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--white);
  border-radius: 8px; /* Matches the slightly rounded button in attachment */
  background: linear-gradient(
    90deg,
    var(--c1),
    var(--c2),
    var(--c3),
    var(--c4)
  ); /* Solid red to match the "Find Nearest Station" button style */
  transition:
    transform 0.3s,
    background 0.3s;
}

.hero-content .btn-primary:hover {
  transform: translateY(-3px);
  background: var(--c4);
}
@media (max-width: 768px) {
  .hero {
    padding-left: 20px;
    text-align: left;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }
}
@media (max-width: 500px) {
  .hero {
    padding-left: 2px;
    text-align: left;
  }

  .hero-content h1 {
    font-size: 1rem;
  }
}

/* ------------------ NETWORK ------------------ */
.network {
  padding: 100px 0; /* Increased padding for a centered, spacious look */
  background: #ffffff; /* Matching the dark background from your attachment */
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.network-banner {
  background: linear-gradient(90deg, var(--c1), var(--c2));
  border-radius: 20px;
  padding: 60px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  gap: 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.network-content {
  flex: 0 0 30%;
}

.network-content h2 {
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 600;
}

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid var(--white);
  border-radius: 50px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--c1);
}

.network-stats {
  display: flex;
  flex: 1;
  justify-content: space-around;
  align-items: center;
}

.stat-item {
  color: var(--white);
  text-align: center;
  flex: 1;
  position: relative;
}

/* Vertical dividers (only visible on desktop) */
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.stat-item h3 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* ---------- MOBILE RESPONSIVE ---------- */
@media (max-width: 992px) {
  .network-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }

  .network-content {
    flex: unset;
    margin-bottom: 40px;
  }

  .network-stats {
    width: 100%;
    flex-direction: column; /* Stack stats on mobile */
    gap: 30px;
  }

  .stat-item:not(:last-child)::after {
    display: none; /* Hide vertical lines on mobile */
  }

  .stat-item h3 {
    font-size: 3rem;
  }
}

/* ------------------ EVERYWHERE SECTION ------------------ */
.everywhere-section {
  position: relative;
  min-height: 80vh;
  background: url("../images/everywhere.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.everywhere-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.everywhere-content {
  max-width: 1200px;
  text-align: center;
  color: var(--white);
}

/* ------------------ SIMPLE ABC ------------------ */
.simple-abc.light-theme {
  padding: 100px 20px;
  background-color: var(--white);
  text-align: center;
}

.abc-header h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--c4);
}

.abc-header h3 {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--c1);
}

.underline {
  width: 50px;
  height: 4px;
  background: var(--c2);
  margin: 20px auto 60px;
  border-radius: 10px;
}

.abc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.abc-card {
  background: var(--white);
  border: 1px solid var(--c3);
  border-radius: 24px;
  padding: 50px 30px;
  box-shadow: 0 10px 30px rgba(124, 201, 31, 0.1);
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.abc-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(124, 201, 31, 0.2);
  border-color: var(--c4);
}

.card-icon {
  height: 100px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
}

.icon-img {
  width: 70px;
  filter: grayscale(1) brightness(0.5);
}

.auto-charge-text {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--c1);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.neon-pulse {
  animation: neon-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-glow {
  from {
    text-shadow:
      0 0 5px var(--white),
      0 0 10px var(--white),
      0 0 15px var(--c1),
      0 0 20px var(--c1);
  }
  to {
    text-shadow:
      0 0 10px var(--white),
      0 0 20px var(--c2),
      0 0 30px var(--c2),
      0 0 40px var(--c2),
      0 0 50px var(--c2);
  }
}
/* ------------------ LOCATION PARTNERS ------------------ */
.location-partners {
  padding: 80px 0;
  background-color: var(--white);
  overflow: hidden; /* Hide the scrollbar */
}

.partners-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--c2); /* Dark gray for contrast on white */
  margin-bottom: 50px;
  letter-spacing: 0.5px;
}

/* Slider Container */
.logo-slider {
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* Gradient Fades for edges (Optional, for smooth entry/exit) */
.logo-slider::before,
.logo-slider::after {
  background: linear-gradient(
    to right,
    var(--white) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  height: 100%;
  position: absolute;
  width: 15%;
  z-index: 2;
}

.logo-slider::before {
  left: 0;
  top: 0;
}
.logo-slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

/* The Track that Moves */
.slider-track {
  display: flex;
  width: calc(
    250px * 12
  ); /* 250px width per slide * total slides (including dupes) */
  animation: scroll 40s linear infinite;
}

.slide {
  width: 250px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.slide img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%); /* Makes all logos match */
  opacity: 0.6;
  transition: all 0.3s ease;
}

.slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Animation Keyframes */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 6));
  } /* Move by width of half the slides */
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .partners-title {
    font-size: 1.5rem;
  }
  .slider-track {
    width: calc(180px * 12);
  }
  .slide {
    width: 180px;
  }
  @keyframes scroll {
    100% {
      transform: translateX(calc(-180px * 6));
    }
  }
}
/* ------------------ FRANCHISE SECTION ------------------ */
.franchise-section {
  padding: 100px 20px;
  background-color: var(--white);
  text-align: center;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c4); /* updated */
  margin-bottom: 5px;
}

.section-header .subtitle {
  font-size: 1.1rem;
  color: var(--c2); /* updated */
  font-style: italic;
}

.accent-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--c1), var(--c4));
  margin: 15px auto 50px;
  border-radius: 5px;
}

/* Grid Layout */
.franchise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card Styling */
.franchise-card {
  position: relative;
  border-radius: 30px;
  padding: 60px 40px;
  text-align: left;
  overflow: hidden;
  background: var(--white); /* updated */
  border: 1px solid var(--c3); /* updated */
  transition: all 0.4s ease;
  display: flex;
  align-items: flex-end;
  min-height: 320px;
}

/* Background Gradients using your colors */
.partner-card {
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    rgba(124, 201, 31, 0.1) 100%
  );
}

.franchisee-card {
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    rgba(8, 112, 232, 0.1) 100%
  );
}

.franchise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-inner {
  position: relative;
  z-index: 2;
}

.tag {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c3); /* updated */
  margin-bottom: 10px;
}

.franchise-card h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c4); /* updated */
  margin-bottom: 15px;
}

.franchise-card p {
  font-size: 1rem;
  color: var(--c2); /* updated */
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Button Styling */
.btn-outline-dark {
  display: inline-block;
  padding: 12px 25px;
  border: 2px solid var(--c4); /* updated */
  border-radius: 50px;
  color: var(--c4); /* updated */
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  background: var(--c4); /* updated */
  color: var(--white);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }
  .franchise-grid {
    grid-template-columns: 1fr;
  }
  .franchise-card {
    min-height: auto;
    padding: 40px 30px;
  }
}
/* ===============================
   EV CTA IMAGE SECTION
================================= */

.ev-cta-section {
  position: relative;
  width: 100%;
  padding: 120px 10%;
  background: url("https://images.unsplash.com/photo-1593941707882-a5bba14938c7?auto=format&fit=crop&q=80&w=2072");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Overlay using ONLY your brand color */
.ev-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c3);
  opacity: 0.4; /* allowed — no new color added */
  z-index: 0;
}

/* Container */
.ev-cta-container {
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Content */
.ev-cta-content {
  max-width: 650px;
  color: var(--white);
}

.ev-cta-content h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--white);
}

.subtitle {
  font-size: 1.2rem;
  color: var(--c1);
  margin-bottom: 20px;
  font-weight: 600;
}

.description {
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.7;
  color: var(--white);
}

/* Button */
.ev-btn {
  display: inline-block;
  padding: 14px 35px;
  background: var(--c1);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s ease;
}

.ev-btn:hover {
  background: var(--c4);
  color: var(--white);
}

/* ===============================
   RESPONSIVE DESIGN
================================= */

/* Tablet */
@media (max-width: 1024px) {
  .ev-cta-section {
    padding: 100px 8%;
  }

  .ev-cta-content h2 {
    font-size: 2.2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .ev-cta-section {
    padding: 80px 6%;
    background-attachment: scroll;
    text-align: center;
  }

  .ev-cta-content {
    margin: auto;
  }

  .ev-cta-content h2 {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .description {
    font-size: 1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .ev-cta-content h2 {
    font-size: 1.5rem;
  }

  .ev-btn {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}
/* =========================
   SAFA PAGE LOADER
========================= */
#page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  display: grid;
  place-items: center;
  z-index: 9999;
}

#page-loader.hide {
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

.loader-logo {
  width: 180px;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px #00ff99) drop-shadow(0 0 10px #00ff99);
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px #00ffcc) drop-shadow(0 0 45px #00ffcc);
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 5px #00ff99) drop-shadow(0 0 10px #00ff99);
  }
}

/* ---------------- FOOTER ---------------- */

.footer {
  background: var(--white);
  color: var(--c4);
  padding-top: 60px;
}
#footer-img {
  height: 100px;
  scale: calc(250%);
}

/* TOP CONTAINER */
.footer-top {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border-radius: 30px;
  margin: 0 8%;
  padding: 60px 5%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

/* LOGO */
.footer-logo h2 {
  font-size: 2rem;
  font-weight: 700;
}

.footer-logo p {
  font-size: 1rem;
  opacity: 0.9;
}

/* LINKS */
.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.footer-links a:hover {
  color: var(--c4);
  transform: translateX(5px);
}

/* ---------------- BOTTOM AREA ---------------- */

.footer-bottom {
  padding: 40px 8% 20px 8%;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--c2);
  padding-top: 25px;
  gap: 20px;
}

/* SOCIAL ICONS */
.social-icons a {
  color: var(--c3);
  margin-right: 18px;
  font-size: 1.2rem;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: var(--c4);
}

/* LEGAL LINKS */
.legal-links a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--c3);
  font-size: 0.9rem;
  transition: 0.3s ease;
}

.legal-links a:hover {
  color: var(--c4);
}

/* COPYRIGHT */
.copyright {
  margin-top: 20px;
  font-size: 0.85rem;
}

/* ---------------- TABLET ---------------- */

@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
    align-items: center; /* CENTER EVERYTHING */
    text-align: center; /* CENTER TEXT */
  }

  /* FIX LOGO ALIGNMENT */
  .footer-logo {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  #footer-img {
    height: 85px;
    width: auto;
    transform: scale(1); /* REMOVE LARGE SCALE */
  }

  .footer-links {
    gap: 40px;
    justify-content: center;
  }

  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .legal-links a {
    margin-left: 0;
    margin-right: 20px;
  }
}

/* ---------------- MOBILE FIX ---------------- */

@media (max-width: 600px) {
  .footer-top {
    margin: 0 4%;
    padding: 35px 6%;
    border-radius: 18px;
  }

  #footer-img {
    height: 70px !important;
    width: auto !important;
    transform: scale(1) !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .footer-tagline {
    font-size: 0.9rem;
    padding: 20px 6%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .footer-links ul {
    text-align: center;
  }

  .footer-bottom {
    padding: 30px 6%;
  }

  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .legal-links a {
    margin: 0;
    font-size: 0.8rem;
  }

  .copyright {
    text-align: center;
    font-size: 0.8rem;
  }
}
/* FOOTER TAGLINE */

.footer-tagline {
  text-align: center;
  padding: 25px 10%;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c3);
}

/* ================= SUSTAINABILITY SECTION ================= */

.sustainability {
  padding: 120px 8%;
  background: var(--color-5);
}

.sustainability-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* Equal flexible columns */
  align-items: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ================= LEFT SIDE ================= */

.s-left {
  max-width: 520px;
}

.s-left h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-1);
  margin-bottom: 25px;
}

.s-left p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-4);
  margin-bottom: 30px;
}

.green-line {
  width: 80px;
  height: 4px;
  background: var(--color-2);
  margin-bottom: 40px;
}

.info-card {
  background: var(--color-3);
  padding: 30px;
  border-radius: 14px;
  border: 1px solid var(--color-2);
  max-width: 380px;
}

.info-card .icon {
  font-size: 26px;
  margin-bottom: 15px;
  color: var(--color-2);
}

.info-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--color-1);
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-4);
}

/* ================= CENTER IMAGE ================= */

.s-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.s-center img {
  width: 100%;
  max-width: 420px; /* desktop max size */
  height: auto;
  display: block;
  transition: 0.3s ease;
}

/* ================= RIGHT SIDE ================= */

.s-right {
  max-width: 520px;
}

.s-right .feature {
  margin-bottom: 50px;
  padding-top: 30px;
  position: relative;
}

.s-right .feature:first-child {
  padding-top: 0;
}

.s-right .feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  border-top: 2px dotted var(--color-2);
}

.s-right .feature:first-child::before {
  display: none;
}

.s-right .feature h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-1);
  margin-bottom: 12px;
}

.s-right .feature p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-4);
}

/* ================= TABLET ================= */

@media (max-width: 1100px) {
  .sustainability-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 70px;
  }

  .s-center {
    order: -1;
  }

  .s-center img {
    max-width: 360px; /* smaller for tablet */
  }

  .s-left,
  .s-right {
    max-width: 650px;
    margin: 0 auto;
  }

  .info-card {
    margin: 0 auto;
  }

  .s-right .feature::before {
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
  }
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {
  .sustainability {
    padding: 80px 6%;
  }

  .s-left h2 {
    font-size: 2.2rem;
  }

  .s-center img {
    max-width: 260px; /* smaller for mobile */
  }

  .s-left p,
  .s-right .feature p {
    font-size: 0.9rem;
  }

  .s-right .feature {
    margin-bottom: 40px;
  }

  .s-right .feature h4 {
    font-size: 1.05rem;
  }
}
