html {
  scroll-behavior: smooth;
}


:root {
  /* BRAND GREENS - Shifted to be more 'Forest' and less 'Lime' */
  --green-dark: #2d4635;    /* Deep Forest - Use for Headings and Footer. High trust. */
  --green-main: #84b000;    /* Muted Olive-Lime - Professional core brand green. */
  --green-accent: #a4dd00;  /* Your original green - Now used ONLY for CTA buttons/Pulsing dots. */

  /* BACKGROUNDS - Moved away from Yellow to Stone/Parchment */
  --bg-light: #fdfcf7;      /* Clean off-white (looks better with product photos) */
  --bg-earth: #f1f2e9;      /* Sophisticated grey-tinted green for section backgrounds */

  /* TEXT - Sharper for readability */
  --text-dark: #1a1f16;     /* Near black with a hint of green */
  --text-muted: #4a5548;    /* Slate-leaf grey */
}
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: white;
  
  /* --- ADDED THIS FIX --- */
  display: flex;           /* Makes body a flex container */
  flex-direction: column;  /* Stacks content vertically */
  min-height: 100vh;       /* Forces page to fill full screen height */
}
  
 /* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 10%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
} /* Eco accent line on top of navbar */
.nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-accent), var(--green-main));
}
/* TEXT LOGO */
.logo {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}

.logo:hover {
  opacity: 0.9;
}

.logo::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 3px;
  background: var(--green-accent);
  left: 0;
  bottom: -6px;
  border-radius: 2px;
}
.nav a {
  color: var(--text-dark);
  margin-left: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green-accent), var(--green-main));
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}
.nav a:hover::after {
  width: 100%;
} /* HERO */
.hero {
  height: 88vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 10%;
  color: white;
}
.hero-content {
  max-width: 700px;
}
.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 52px; /* Slightly larger */
  line-height: 1.1;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3); /* Adds subtle shadow for readability */
  margin-bottom: 20px;
}
.hero p {
  font-size: 18px;
  opacity: 0.95;
} /* BUTTON */
.btn {
  display: inline-block;
  padding: 14px 34px;
  background: var(--green-accent);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}
.btn.secondary {
  background: transparent;
  border: 2px solid var(--green-accent);
  color: var(--green-accent);
} /* SECTIONS */
.section {
  padding: 90px 10%;
}
.section.light {
  background: var(--bg-light);
}
.section h2 {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.center {
  max-width: 850px;
  margin: auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
} /* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}
.card {
  background: white;
  padding: 36px;
  border-radius: 14px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}/* PRODUCTS SECTION UPGRADE */
.products {
  display: grid;
  /* repeat(auto-fit) makes it responsive so it stacks on mobile automatically */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.product-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 24px; /* More rounded = more modern/luxe */
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* 1. Image Styling - Fixed Aspect Ratio ensures all cards look the same height */
.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3; 
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 25px; /* <--- THIS ADDS THE GAP */
  display: block;
  transition: transform 0.6s ease;
}

/* 2. Text Content Styling */
.product-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  color: var(--green-dark);
  margin: 20px 0 10px 0;
  font-weight: 600;
}

.product-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1; /* Pushes the CTA to the bottom so they align */
}

/* 3. The "View Specs" link */
.product-cta {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-main);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

/* 4. Interaction Effects */
.product-card:hover {
  transform: translateY(-10px); /* Lifts higher */
  box-shadow: 0 20px 40px rgba(18, 38, 32, 0.08); /* Sophisticated green-tinted shadow */
  border-color: var(--green-accent);
}

.product-card:hover img {
  transform: scale(1.03); /* Tiny zoom on hover */
}

.product-card:hover .product-cta {
  color: var(--green-accent);
}

/* Adding a tiny "Success" indicator icon inside the card */
.product-card::before {
  content: "Premium Export Quality";
  position: absolute;
  top: 35px;
  right: -35px;
  background: var(--green-main);
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 5px 40px;
  transform: rotate(45deg);
  z-index: 2;
  text-transform: uppercase;
}
/* GOALS */
.goals {
  background: var(--green-dark);
  color: white;
}
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.goal-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 36px;
  border-radius: 14px;
} /* FORM */
.form {
  max-width: 620px;
  margin: auto;
}
.form input,
.form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: inherit; }
/* FOOTER UPGRADE */
.footer {
  background: #081a14; /* Slightly darker charcoal-green for better contrast */
  color: #d1d5db;
  padding: 80px 10% 40px;
  margin-top: auto;
  border-top: 4px solid var(--green-accent); /* Ties back to your brand pop color */
}

.footer-grid {
  display: grid;
  /* Changed to 4 columns for a more balanced, professional look */
  grid-template-columns: 1.5fr 0.8fr 1fr 1fr; 
  gap: 50px;
}

.footer h4 {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  color: white;
}

.footer p {
  font-size: 14px;
  line-height: 1.6;
}

.footer a {
  color: #d1d5db;
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}

/* Interaction: Links move slightly and change color on hover */
.footer a:hover {
  color: var(--green-accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 60px;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Responsive Fi
} /* ANIMATIONS */
.reveal,
.reveal-left,
.reveal-right,
.reveal-up {
  opacity: 0;
  transition: all 0.9s ease;
}
.reveal {
  transform: translateY(30px);
}
.reveal-left {
  transform: translateX(-40px);
}
.reveal-right {
  transform: translateX(40px);
}
.reveal-up {
  transform: translateY(40px);
}
.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-up.active {
  opacity: 1;
  transform: translate(0, 0);
}
.eco-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--bg-earth);
  padding: 30px 10%;
  text-align: center;
  font-weight: 600;
  color: var(--green-dark);
}
.eco-item {
  padding: 10px;
}
.card,
.product-card,
.goal-card,
.feature {
  border-radius: 18px;
}
.section.light {
  background: linear-gradient(180deg, var(--bg-light), var(--bg-earth));
}
.hero {
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 77, 58, 0.45);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.card:hover {
  transform: translateY(-6px);
  transition: 0.3s ease;
} /* CTA SECTION */
.cta-section {
  background: linear-gradient(180deg, var(--green-dark), var(--green-main));
  color: white;
  padding: 120px 10%;
  text-align: center;
}
.cta-inner {
  max-width: 820px;
  margin: auto;
}
.cta-section h2 {
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  line-height: 1.25;
  margin-bottom: 26px;
}
.cta-section p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 44px;
  opacity: 0.95;
}
.cta-section .btn {
  padding: 16px 44px;
  font-size: 16px;
}
.cta-section .btn:hover {
  transform: translateY(-2px);
  transition: 0.2s ease;
} /* Navbar primary CTA — FINAL FIX (HORIZONTAL + VERTICAL) */
.nav-cta {
  margin-left: 44px; /* RESET inherited nav-link padding */
  padding: 14px 36px !important; /* ← THIS FIXES WIDTH */ /* FORCE SIZE */
  min-height: 46px;
  box-sizing: border-box; /* CENTER CONTENT */
  display: inline-flex;
  align-items: center;
  justify-content: center; /* TEXT */
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap; /* ← PREVENT TEXT WRAP */ /* SHAPE & COLOR */
  border-radius: 999px;
  background: var(--green-accent);
  color: white !important; /* FEEL */
  transition: all 0.25s ease;
} /* Remove underline animation */
.nav-cta::after {
  display: none;
}
.nav-cta:hover {
  background: var(--green-main);
  transform: translateY(-1px);
} /* Remove underline animation */
.nav-cta::after {
  display: none;
}
.nav-cta:hover {
  background: var(--green-main);
  transform: translateY(-1px);
} /* remove underline animation from CTA */
.nav-cta::after {
  display: none;
}
.nav-cta:hover {
  background: var(--green-main);
} /* remove underline animation from CTA */
.nav-cta::after {
  display: none;
}
.nav-cta:hover {
  background: var(--green-main);
}
/* FORM SUBMIT BUTTON — FIXED PLACEMENT */
.form button {
  width: 100%;
  margin-top: 24px;          /* ✅ SPACE FROM INPUTS */
  padding: 16px 20px;

  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;

  border: none;
  border-radius: 10px;

  background: var(--green-accent);
  color: #ffffff;

  cursor: pointer;
  display: block;            /* ✅ ENSURES FULL WIDTH */
  text-align: center;

  box-shadow: 0 6px 18px rgba(164, 221, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form button:hover {
  background: var(--green-dark);    /* Changes color to Deep Forest */
  transform: translateY(-2px);      /* Lifts up slightly */
  box-shadow: 0 10px 26px rgba(45, 70, 53, 0.3); /* Changes shadow color to match dark green */
  transition: all 0.3s ease;
}

.form button:active {
  transform: translateY(0);
}
/* PRODUCT CARD HOVER POP EFFECT */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}
/* CLEAN BREADCRUMB */
/* PRODUCT PAGE BREADCRUMB */
.breadcrumb {
  padding: 14px 10%;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9fbe8;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.breadcrumb a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.crumb-sep {
  color: #9ca3af;
}

.crumb-current {
  color: var(--text-muted);
  font-weight: 600;
}
/* Fix spacing between phone input and textarea */
.iti {
  margin-bottom: 14px;
}
/* PRODUCT CLICK CLARITY */
.product-card {
  cursor: pointer;
}

.product-cta {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--green-dark);
}

.product-card:hover .product-cta {
  color: var(--green-main);
}
/* BIGGER, CLEANER PRODUCT CARDS */
.product-card {
  position: relative;
  cursor: pointer;
}

/* Product image size control */
.product-card img {
  height: 220px;              /* bigger image */
  object-fit: cover;
  border-radius: 16px;
}

/* Space between text blocks */
.product-card h3 {
  margin-top: 18px;
}

.product-card p {
  margin: 14px 0 0;
  line-height: 1.6;
}

/* CTA stays inside card */
.product-cta {
  margin-top: auto;           /* pushes CTA to bottom */
  padding-top: 18px;
}

/* SUBTLE HOVER OVERLAY (PRODUCT CARDS) */
.product-card {
  min-height: 480px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-overlay {
  position: absolute;
  top: 180px; /* Positions it nicely over the image area */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--green-dark);
  color: var(--green-accent);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 5;
  white-space: nowrap; }

/* Show overlay on hover */
.product-card:hover .hover-overlay {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* image size (already matches your design) */
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}


.product-card:hover::after {
  opacity: 1;
}
/* CONTACT VIEW CONTAINER */
.contact-view {
  min-height: calc(100vh - 80px); /* Fill screen minus navbar height */
  display: flex;
  align-items: center;
  padding: 40px 10%;
  background: var(--bg-light);
  overflow: hidden;
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

.contact-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.contact-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* THE SPLIT LAYOUT */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr; /* Info on left, Form on right */
  gap: 50px;
  align-items: start;
}

/* LEFT SIDE INFO */
.contact-notice {
  background: white;
  padding: 25px;
  border-radius: 16px;
  border-left: 5px solid var(--green-accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  margin-bottom: 30px;
}

.contact-notice strong {
  display: block;
  color: var(--green-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 12px;
}

.contact-notice p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: var(--text-muted);
}

.support-tags {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 5px;
}

.support-tags span {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-main);
}

/* RIGHT SIDE FORM */
.form-wrapper {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(18, 38, 32, 0.08);
  border: 1px solid var(--bg-earth);
}

.centered-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-main);
  margin-bottom: 25px;
}

.centered-heading::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--bg-earth);
}

/* COMPACT FORM ELEMENTS */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px; /* Slightly tighter gap to fit screen */
}

.form-row { display: flex; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.form-group label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--green-main); }

.form input, .form select, .form textarea {
  background: var(--bg-earth);
  border: 1.5px solid transparent;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
}

.submit-btn {
  margin-top: 10px;
  padding: 16px !important;
}

/* MOBILE FIX */
@media (max-width: 992px) {
  .contact-view { height: auto; padding: 40px 5%; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .contact-header { margin-bottom: 30px; }
}

/* CENTER PACKAGING / COMPLIANCE TEXT UNDER TABLE */
.packaging-info {
  max-width: 900px;          /* SAME as table */
  margin: 25px auto 0;       /* centers it */
  text-align: center;
}

.packaging-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}


/* 1. The Container */
.map-section {
  width: 100%;
  margin: 0;
  padding: 60px 0;
  background-color: var(--bg-light);
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* 2. The SVG itself */
.responsive-map {
  width: 100%;
  max-width: 1100px;
  height: auto;
  display: block;
}

/* 3. Default Land (Inactive) */
.responsive-map path:not(.export-route):not(.map-pin) {
  fill: #e1e7d5; 
  stroke: #ffffff;
  stroke-width: 0.6;
}

/* 4. INDIA HIGHLIGHT (The Origin) */
/* We target the ID "IN" from your downloaded file */
#IN {
  fill: var(--green-dark) !important;
  stroke: #ffffff !important;
  stroke-width: 1px !important;
  filter: drop-shadow(0 0 5px rgba(152, 205, 0, 0.5)); /* Subtle glow */
}

/* 5. SERVED REGIONS (The Destinations) */
/* Apply class="served" to UAE, UK, Africa paths in your SVG */
.served {
  fill: var(--green-main) !important;
}

/* 6. Animated Routes */
.export-route {
  fill: none !important;
  stroke: var(--green-dark) !important;
  stroke-width: 2.5;
  stroke-dasharray: 8, 12;
  animation: flow 25s linear infinite;
  opacity: 0.8;
}

/* 7. Pins */
.map-pin {
  fill: var(--green-dark) !important;
}

@keyframes flow {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}

/* WHATSAPP FLOATING BUTTON - FINAL FIX */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99999;
  width: 60px;
  height: 60px;
  background-color: var(--green-main); /* Your Brand Olive */
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  animation: wa-pulse 2s infinite;
}

.whatsapp-float svg {
  width: 35px; /* Size of the icon */
  height: 35px;
  fill: white; /* This makes the inner phone handle white */
}

/* Hover Effect */
.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--green-accent); /* Becomes brighter on hover */
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(132, 176, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(132, 176, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(132, 176, 0, 0); }
}

/* Mobile Fix */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}

.logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-wrapper img {
  height: 55px; /* Adjust based on your header height */
  width: auto;
}

/* Sync with page color */
.export-flow-section {
  background-color: var(--bg-light); 
  padding: 100px 10%;
}

.flow-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 60px;
  position: relative;
}

.flow-item {
  /* No background or boxes here */
  padding-top: 30px;
  border-top: 2px solid var(--bg-earth); /* The "Connection Line" */
  transition: all 0.3s ease;
}

.flow-icon {
  color: var(--green-main);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.flow-icon svg {
  width: 32px;
  height: 32px;
}

.flow-item h3 {
  color: var(--green-dark);
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.flow-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Hover Effect: The line lights up */
.flow-item:hover {
  border-top-color: var(--green-main);
}

.flow-item:hover .flow-icon {
  transform: translateY(-5px);
  color: var(--green-dark);
}

/* Mobile: Change horizontal line to vertical spacing if needed */
@media (max-width: 768px) {
  .flow-item {
    border-top: none;
    border-left: 2px solid var(--bg-earth);
    padding-top: 0;
    padding-left: 25px;
    margin-bottom: 30px;
  }
  .flow-item:hover {
    border-left-color: var(--green-main);
  }
}
.material-science .grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 60px; }
.material-list { list-style: none; padding: 0; margin-top: 25px; }
.material-list li { margin-bottom: 15px; padding-left: 25px; position: relative; }
.material-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-main); font-weight: bold; }
.stats-bar {
  background: var(--green-dark);
  color: white;
  padding: 60px 10%;
  text-align: center;
}
.stat-item h4 {
  font-size: 2.5rem;
  color: var(--green-accent);
  margin-bottom: 5px;
  font-family: 'Poppins', sans-serif;
}
.stat-item p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.table-wrapper {
  position: relative;
  overflow-x: auto; /* Allows horizontal swipe on mobile */
  border-radius: 12px;
  border: 1px solid var(--bg-earth);
}

/* Add a "Swipe to view" message on small screens only */
@media (max-width: 768px) {
  .table-wrapper::after {
    content: "← Swipe to view full specs →";
    display: block;
    text-align: center;
    font-size: 11px;
    color: var(--green-main);
    padding: 10px;
    background: var(--bg-light);
  }
}
/* ADD THIS TO THE BOTTOM OF YOUR CSS FILE */

/* Responsive Footer Fix */
@media (max-width: 900px) {
  .footer-grid {
    /* Change from side-by-side to stacked vertically */
    grid-template-columns: 1fr; 
    gap: 30px;
  }

  .footer {
    /* Reduce padding slightly on mobile to save space */
    padding: 50px 5% 30px;
  }
  
  .cta-section {
    /* Reduce CTA padding on smaller screens so footer isn't pushed too far down */
    padding: 80px 5%;
  }
}

.btn:hover {
  background: var(--green-dark); /* Turns darker green on hover */
  transform: translateY(-2px); /* Lifts up slightly */
  transition: 0.3s;
}
.card {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.card:hover {
  border-color: var(--green-main);
  box-shadow: 0 15px 35px rgba(45, 70, 53, 0.1);
  transform: translateY(-5px);
}

/* PRODUCT PAGE ENHANCEMENTS */

/* 1. Spec Highlights */
.spec-highlights {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.spec-highlights div {
  background: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  color: var(--green-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid var(--bg-earth);
}

/* 2. Table Container (adds premium card look) */
.table-wrapper {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  margin-top: 40px;
}

/* 3. Professional Table Styling */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.spec-table th {
  background-color: var(--green-dark);
  color: white;
  font-weight: 600;
  text-align: left;
  padding: 18px 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.spec-table td {
  padding: 16px;
  border-bottom: 1px solid var(--bg-earth);
  color: var(--text-dark);
}

/* zebra striping (looks more professional) */
.spec-table tbody tr:nth-child(even) {
  background: #fafafa;
}

/* hover effect */
.spec-table tbody tr:hover {
  background-color: #f1f7f2;
  transition: background 0.2s ease;
}

/* last row clean */
.spec-table tbody tr:last-child td {
  border-bottom: none;
}

/* 3. Product Meta / CTA Section */
.product-meta {
  margin-top: 50px;
  text-align: center;
  padding: 40px;
  background: var(--bg-earth);
  border-radius: 20px;
}

.packaging-info p {
  max-width: 700px;
  margin: 0 auto 20px;
}

.product-meta .btn {
  margin-top: 20px;
}

/* Center Product Page Headings */
.section.light h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 900px; /* Keeps text from getting too wide */
  margin-bottom: 20px;
}

/* Optional: If you want a nice accent line under the heading */
.section.light h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--green-accent);
  margin: 15px auto 0; /* Centers the line under the centered text */
  border-radius: 2px;
}

.breadcrumb {
  justify-content: center; /* Centers the breadcrumb links */
}

/* STATS BAR SECTION */
.stats-bar {
  background: var(--green-dark);
  padding: 100px 10%;
  text-align: center;
}

.stats-main-title {
  color: white;
  margin-bottom: 60px;
  font-size: 32px;
}

/* This forces the items to stay in 3 columns (Horizontal) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 60px 20px; /* Vertical gap 60px, Horizontal gap 20px */
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item h4 {
  font-size: 3rem;
  color: var(--green-accent);
  margin: 0;
  line-height: 1;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-top: 10px;
}

/* RESPONSIVE: Stack them only on small screens */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablet */
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr; /* 1 per row on phone */
  }
}

/* FORM CONTAINER */
.form-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 40px 20px;
}

.centered-heading {
  text-align: center;
  color: var(--green-dark);
  margin-bottom: 40px;
  font-family: "Poppins", sans-serif;
}

/* THE FORM BOX */
.form {
  background: white;
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(18, 38, 32, 0.05);
  border: 1px solid var(--bg-earth);
  display: flex;
  flex-direction: column;
  gap: 25px; /* THE FIX: Vertical gap between all rows/groups */
}

/* ROW LOGIC */
.form-row {
  display: flex;
  gap: 30px; /* Horizontal gap between items */
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px; /* THE FIX: Explicit space between Label and Input */
  height: auto; /* Ensures container grows with content */
}

.flex-1 { flex: 1; }
.flex-2 { flex: 1.5; }

/* LABELS (B2B Technical Style) */
.form-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--green-main);
  margin: 0; /* Reset margins, gap handles spacing now */
  line-height: 1;
}

/* INPUTS, SELECTS & TEXTAREA */
.form input, 
.form select, 
.form textarea {
  background: var(--bg-earth);
  border: 1.5px solid rgba(0,0,0,0.02); /* Faint border for definition */
  padding: 16px 20px;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  box-sizing: border-box;
  margin: 0; /* Prevents old margin conflicts */
}

/* SPECIAL FIX FOR PHONE INPUT WRAPPER */
/* This prevents the Intl-Tel-Input library from overlapping the label */
.iti { 
  width: 100%; 
  display: block; 
}

/* PREMIUM FOCUS EFFECT */
.form input:focus, 
.form select:focus, 
.form textarea:focus {
  background: white;
  outline: none;
  border-color: var(--green-accent);
  box-shadow: 0 0 0 5px rgba(152, 205, 0, 0.15);
  transform: translateY(-1px);
}

/* SUBMIT BUTTON */
.submit-btn {
  width: 100%;
  margin-top: 10px;
  padding: 20px !important;
  font-size: 16px;
  background: var(--green-accent);
  color: var(--green-dark) !important;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(152, 205, 0, 0.25);
  transition: 0.3s ease;
}

.submit-btn:hover {
  background: var(--green-dark);
  color: var(--green-accent) !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(18, 38, 32, 0.2);
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 25px;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .form { 
    padding: 30px 20px; 
    gap: 20px;
  }
  .form-row { 
    flex-direction: column; 
    gap: 20px; 
  }
  .centered-heading { font-size: 24px; }
}

/* SOCIAL MEDIA ROW */
.social-links {
  margin-top: 25px;
  display: flex;
  gap: 18px; /* Space between icons */
  align-items: center;
}

.social-icon {
  color: #d1d5db; /* Matches your footer text color */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

/* Interaction Effects */
.social-icon:hover {
  color: var(--green-accent) !important; /* Turns Pear Green */
  transform: translateY(-4px); /* Lifts up */
  padding-left: 0 !important; /* Forces it to stay in place instead of sliding left */
}

/* Active/Click effect */
.social-icon:active {
  transform: translateY(-2px);
}
/* Update Navbar to include Export */
.nav-links a.active {
  color: var(--green-accent);
  font-weight: 700;
}

/* Form Styling - Neutralizing the "Export" focus */
.form-group label {
  color: var(--green-dark); /* Less 'technical' green, more 'brand' green */
}

/* EXPORT PAGE HERO SPECIFICS */
.export-hero {
  padding: 120px 10% 80px !important; /* Extra top padding for impact */
  text-align: center;
}

.export-hero-content {
  max-width: 1000px; /* Wider container for more content */
  margin: 0 auto;
}

/* THE BIG HEADING FIX */
.export-hero .centered-heading {
  font-size: clamp(32px, 5vw, 56px) !important; /* Much larger than standard H1 */
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--green-dark);
  font-weight: 800;
  text-transform: none; /* Keep it normal case for better readability if preferred */
  letter-spacing: -1px;
}

.export-lead {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-main);
  margin-bottom: 20px;
  line-height: 1.5;
}

.export-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Ensure the side-lines look good with the bigger font */
.export-hero .centered-heading::before,
.export-hero .centered-heading::after {
  max-width: 80px; /* Shorter lines so they don't distract from big text */
}

@media (max-width: 768px) {
  .export-hero {
    padding: 80px 5% 40px !important;
  }
  .export-lead {
    font-size: 1.1rem;
  }
  .export-description {
    font-size: 1rem;
  }
}

/* Ensure the inclusive form button looks friendly */
.submit-btn {
  background: var(--green-dark); /* High trust color */
  color: var(--green-accent) !important;
}

.submit-btn:hover {
  background: var(--green-accent);
  color: var(--green-dark) !important;
}

/* GLOBAL MARKETS SECTION */
.serving-markets {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-earth) 100%);
}

.markets-grid {
  margin-top: 60px;
}

.market-card {
  text-align: left !important; /* Professional alignment */
  padding: 40px !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.market-icon {
  font-size: 40px;
  margin-bottom: 20px;
}

.market-card h3 {
  color: var(--green-dark);
  font-size: 20px;
  margin-bottom: 15px;
}

.market-list {
  list-style: none;
  padding: 0;
  margin-top: auto; /* Pushes list to the bottom */
  padding-top: 20px;
}

.market-list li {
  font-size: 13px;
  font-weight: 700;
  color: var(--green-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.market-list li::before {
  content: "→";
  color: var(--green-accent);
}

/* LOGISTICS BAR */
.logistics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green-dark);
  color: white;
  border-radius: 20px;
  margin-top: 80px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.logistics-item {
  padding: 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.logistics-item:last-child {
  border-right: none;
}

.logistics-item strong {
  display: block;
  color: var(--green-accent);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.logistics-item p {
  font-size: 14px;
  margin: 0;
  opacity: 0.8;
  line-height: 1.5;
}

/* Responsive Fix */
@media (max-width: 992px) {
  .logistics-bar {
    grid-template-columns: 1fr;
  }
  .logistics-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}
/* CONTACT ITEM CONTAINER */
.contact-item {
  margin-bottom: 12px;
}

/* THE CLICKABLE LINK WRAPPER */
.contact-link {
  display: flex !important; /* Forces horizontal layout */
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #d1d5db !important; /* Gray color */
  transition: all 0.3s ease !important;
  padding-left: 0 !important; /* Prevents the text from sliding */
}

/* THE ICON */
.contact-icon {
  width: 18px;
  height: 18px;
  color: var(--green-accent); /* Branded Green color */
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* HOVER EFFECT - THE "POP" */
.contact-link:hover {
  color: #ffffff !important; /* Text turns white */
  transform: translateY(-2px); /* Lifts up */
}

.contact-link:hover .contact-icon {
  color: #ffffff; /* Icon also turns white on hover */
  transform: scale(1.1); /* Icon grows slightly */
}

/* TAG STYLING */
.contact-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green-accent);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

/* MOBILE NAVBAR LOGIC */

/* Hide hamburger by default (Desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.menu-toggle .bar {
  width: 28px;
  height: 3px;
  background-color: var(--green-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Tablet & Mobile Styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex; /* Show hamburger */
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen by default */
    width: 70%;
    height: 100vh;
    background: white;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 20px;
    z-index: 1000;
  }

  /* When menu is open */
  .nav-links.active {
    right: 0; /* Slides into view */
  }

  .nav a {
    margin: 0; /* Reset margins for mobile */
    font-size: 18px;
    font-weight: 600;
  }

  .nav-cta {
    margin-left: 0 !important;
    width: 80%; /* Full width button on mobile */
  }

  /* Hamburger Animation to 'X' when open */
  .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

/* ============================================================
   MOBILE OVERRIDE (Safe to add at the very bottom)
   ============================================================ */

@media screen and (max-width: 768px) {
  /* 1. Fix the Hero Section (Text was too big) */
  .hero {
    height: auto;
    padding: 80px 5% !important;
    text-align: center;
  }
  .hero h1 {
    font-size: 32px !important; /* Smaller for phone screens */
  }
  .hero-content {
    max-width: 100%;
  }

  /* 2. Fix the Navigation (Prevents horizontal scrolling) */
  .nav {
    padding: 15px 5%;
  }
  .nav-cta {
    display: none; /* Usually better to hide the big button in simple mobile navs */
  }

  /* 3. Fix Grids (Force columns to stack vertically) */
  .grid, .products, .goals-grid, .footer-grid, .contact-layout, .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* 4. Fix Section Spacing */
  .section {
    padding: 50px 5% !important;
  }

  /* 5. Fix Images (Ensure they don't overflow) */
  .product-card img, .logo-wrapper img {
    max-width: 100%;
    height: auto !important;
  }

  /* 6. Fix Form Padding */
  .form {
    padding: 20px !important;
  }
  .form-row {
    flex-direction: column !important;
    gap: 15px !important;
  }

  /* 7. Fix Table (Allow horizontal scrolling so it doesn't break the page) */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  /* 8. Fix the Logo (Make sure it fits) */
  .logo {
    font-size: 18px;
  }
}

/* ============================================================
   UNIVERSAL MOBILE OVERRIDE (Paste at the bottom of style.css)
   ============================================================ */

@media screen and (max-width: 768px) {
  /* 1. Global Layout Fixes */
  .section, .nav, .footer, .eco-strip, .breadcrumb, .contact-view {
    padding-left: 5% !important;
    padding-right: 5% !important;
  }
  
  .section { padding-top: 50px !important; padding-bottom: 50px !important; }

  /* 2. Fix All Grids (Forces 1 column) */
  .grid, .products, .goals-grid, .footer-grid, 
  .markets-grid, .stats-grid, .contact-layout, .form-row {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }

  /* 3. Hero & Headings */
  .hero h1, .export-hero .centered-heading {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
  
  .hero { height: auto !important; padding: 100px 5% !important; }

  /* 4. Navigation & Menu Toggle */
  .menu-toggle {
    display: flex !important; /* Show hamburger on all pages */
    order: 2;
  }

  .nav-links {
    position: fixed;
    top: 70px; /* Adjust based on nav height */
    right: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 40px !important;
    box-shadow: -10px 0 20px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    z-index: 999;
  }

  .nav-links.active { right: 0; }
  .nav-links a { margin: 15px 0 !important; font-size: 18px !important; width: 100%; }
  .nav-cta { margin-left: 0 !important; text-align: center; justify-content: center; }

  /* 5. Images & Tables */
  img { max-width: 100%; height: auto !important; }
  
  .table-wrapper {
    overflow-x: auto !important; /* Horizontal scroll for specs */
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
  }

  /* 6. Footer Adjustments */
  .footer { text-align: center; }
  .footer-grid > div { margin-bottom: 20px; }
  .social-links { justify-content: center; }
  .contact-link { justify-content: center; }

  /* 7. Stats Bar */
  .stat-item h4 { font-size: 2.5rem !important; }

  /* 8. Export Map (Hide or shrink) */
  .responsive-map { width: 150% !important; margin-left: -25%; } /* Allow scroll or zoom */
}

/* Base Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: #fff;
  position: relative; /* Crucial for absolute positioning of the menu */
  height: 70px; /* Set a fixed height */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

/* Hamburger Styles */
.hamburger {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: 0.3s;
}

/* --- MOBILE STYLES --- */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex; /* Show hamburger on mobile */
  }

  .nav-links {
    /* 1. Position it exactly below the nav bar */
    position: absolute;
    top: 70px; 
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    gap: 0; /* Remove gap for list items */
    
    /* 2. The "Hidden" State (for animation) */
    max-height: 0;        /* Use max-height for a slide effect */
    overflow: hidden;     /* Keeps content inside while closed */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  /* 3. The "Active" State (When clicked) */
  .nav-links.active {
    max-height: 500px;    /* Give it enough height to show all links */
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links a {
    display: block;
    padding: 20px;
    text-align: center;
    width: 100%;
  }

  /* Hamburger Animation to 'X' */
  .hamburger.is-active .bar:nth-child(2) { opacity: 0; }
  .hamburger.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* --- UNIFIED MOBILE DROPDOWN NAVIGATION --- */

@media screen and (max-width: 768px) {
  .nav {
    position: relative; /* Crucial for dropdown positioning */
    padding: 10px 5%;
    height: 70px;
  }

  .hamburger {
    display: flex !important; /* Show the lines */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-links {
    /* 1. Reset side-menu style to Dropdown style */
    position: absolute !important;
    top: 100% !important; /* Start at the bottom of the nav bar */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important; /* Only take space links need */
    background: white !important;
    flex-direction: column !important;
    padding: 0 !important;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    
    /* 2. Hidden State Animation */
    max-height: 0; 
    overflow: hidden;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    z-index: 1000;
  }

  .nav-links.active {
    max-height: 500px; /* Large enough to show all links */
    visibility: visible;
    padding: 20px 0 !important;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 15px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #f4f4f4;
    font-size: 16px;
  }

  .nav-cta {
    background: var(--green-accent) !important;
    width: 90% !important;
    margin: 15px auto !important;
    border-radius: 8px !important;
  }

  /* Hamburger to X Animation */
  .hamburger.is-active .bar:nth-child(2) { opacity: 0; }
  .hamburger.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Hide hamburger on desktop */
@media screen and (min-width: 769px) {
  .hamburger { display: none; }
}

/* --- FIX FOR CENTERED CONTACT BUTTON ON MOBILE --- */
@media screen and (max-width: 768px) {
  .nav-links .nav-cta {
    /* 1. Reset desktop margins that are pushing it off-center */
    margin: 20px auto !important; 
    
    /* 2. Ensure it doesn't stretch to 100% width unless you want it to */
    width: 80% !important; 
    max-width: 300px;
    
    /* 3. Center the text inside the button */
    display: flex !important;
    justify-content: center;
    align-items: center;
    
    /* 4. Remove any leftover floats or specific alignment */
    float: none !important;
    text-align: center;
  }

  /* Ensure the container is helping center the button */
  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centers all children horizontally */
    justify-content: center;
  }
}
/* --- FIX FOR HERO BUTTONS OVERLAPPING ON MOBILE --- */
@media screen and (max-width: 768px) {
  .hero-btns {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    align-items: center;    /* Center them */
    gap: 15px;             /* Professional spacing between them */
    margin-top: 25px;
  }

  .hero-btns .btn {
    width: 80%;           /* Make buttons a consistent width */
    max-width: 300px;
    margin-left: 0 !important; /* REMOVE the 15px margin from index.html */
    text-align: center;
  }
}
/* ============================================================
   LEGAL PAGES (TERMS & PRIVACY)
   ============================================================ */

/* Space for Sticky Nav */
.legal-page {
  padding-top: 40px; /* Space above hero */
}

.legal-hero {
  text-align: center;
  padding: 100px 10% 60px !important;
}

.legal-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--green-dark);
  margin-bottom: 10px;
}

/* The Document Container */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 60px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  border: 1px solid var(--bg-earth);
}

.legal-container h2 {
  font-family: "Poppins", sans-serif;
  color: var(--green-dark);
  font-size: 20px;
  margin: 40px 0 15px;
  text-align: left !important;
  border-left: 4px solid var(--green-accent);
  padding-left: 15px;
}

.legal-container p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Footer Bottom Bar Fix (Horizontal) */
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 15px;
}

.legal-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
}

.legal-btn {
  display: inline !important;
  margin: 0 !important;
  font-size: 12px;
  color: #6b7280 !important;
  text-decoration: none;
}

.legal-btn:hover {
  color: var(--green-accent) !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .legal-container {
    padding: 30px 20px;
    margin: 0 15px;
  }
  .footer-bar {
    flex-direction: column;
    text-align: center;
  }
}