/* Reset & Base */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: #ffffff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header – slim/compact height with big logo */
.header {
  background: #FFFFFF; /* light blue-gray – logo visible */
  color: #1e293b;
  padding: 6px 0;               /* reduced padding – header now smaller/slim */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05); /* very light shadow for slim look */
  line-height: 1;               /* squeeze vertical space */
  min-height: auto;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;          /* center logo vertically */
  min-height: auto;
}
.logo img { 
  height: 105px; /* keep your preferred big size */
  width: auto;
}
.nav a {
  color: #1e293b;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  transition: color 0.3s;
}
.nav a:hover { color: #0066cc; }

/* Hero – kept your small height + improved readability */
.hero {
  position: relative;
  min-height: 50vh; /* your requested small height */
  background: 
    linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.65)),
    url('../images/hero/hero.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0,0,0,0.7);
  line-height: 1.1;
  max-width: 90%;
}

.hero p {
  font-size: 1.3rem;
  max-width: 900px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.btn-primary {
  padding: 16px 48px;
  background: #0066cc;
  color: white;
  border-radius: 50px;
  font-size: 1.25rem;
  font-weight: bold;
  box-shadow: 0 6px 20px rgba(244, 162, 97, 0.35);
  transition: all 0.35s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: #0055aa;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(244, 162, 97, 0.45);
}

/* Categories & Products */
.categories { padding: 70px 0; text-align: center; }
h2 { font-size: 2.4rem; margin-bottom: 50px; color: #1e3a5f; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.category-card { 
  background: white; 
  border-radius: 12px; 
  padding: 30px; 
  box-shadow: 0 8px 25px rgba(0,0,0,0.06); 
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; margin-top: 30px; }
.product-item, .product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
.product-item:hover, .product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.product-item img, .product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.product-item span, .product-card h3 {
  display: block;
  padding: 12px;
  font-weight: 600;
  color: #1e3a5f;
}

/* Why Us */
.why-us { padding: 70px 0; background: #f9fafb; text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.feature-card {
  background: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0,0,0,0.06);
}
.feature-card i { font-size: 3rem; color: #0066cc;; margin-bottom: 20px; }

/* Footer – updated to match header light color */
footer { 
  background: #0f172a; /* light blue-gray like header */
  color: #e2e8f0; 
  text-align: center; 
  padding: 30px 0; 
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.12); }

/* Chatbot */
.chatbot-toggle {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #2c5282;
  color: white;
  border-radius: 50%;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 999;
}
.chatbot {
  position: fixed;
  bottom: 165px;
  right: 25px;
  width: 320px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: none;
  overflow: hidden;
  z-index: 999;
}
.chatbot-header {
  background: #2c5282;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-body { padding: 20px; }
.chatbot-body button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  background: #f7fafc;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.chatbot-body button:hover { background: #edf2f7; }
#chat-response { margin-top: 20px; font-weight: 500; color: #2f855a; }

/* Responsive */
@media (max-width: 768px) {
  .category-grid { grid-template-columns: 1fr; }
  .hero { min-height: 50vh; } /* taller on mobile for readability */
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1.2rem; }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }
  .chatbot-toggle {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 80px;
    right: 20px;
  }
  .chatbot {
    width: 90%;
    right: 5%;
    bottom: 140px;
  }
}

/* About & Contact specific styles */
.about-section, .contact-section {
  padding: 100px 20px;
  text-align: center;
}

.about-content p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.15rem;
}

.info-box {
  background: #f7fafc;
  padding: 25px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 500px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.highlight {
  font-size: 2.2rem;
  color: #f4a261;
  font-weight: bold;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
  max-width: 900px;
  margin: 40px auto;
}

.two-columns ul {
  list-style: none;
  padding-left: 0;
}

.two-columns li {
  margin: 12px 0;
  font-size: 1.1rem;
}

.two-columns li:before {
  content: "✓ ";
  color: #38a169;
  font-weight: bold;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.contact-card {
  background: white;
  padding: 35px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}

.contact-card:hover {
  transform: translateY(-6px);
}

.contact-card i {
  font-size: 2.8rem;
  color: #f4a261;
  margin-bottom: 20px;
}

.contact-card h3 {
  margin-bottom: 15px;
  color: #1e3a5f;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
}

.btn-whatsapp:hover {
  background: #20b358;
  transform: translateY(-3px);
}
/* ───────────────────────────────────────────────
   Hamburger Menu – Mobile Only (added)
─────────────────────────────────────────────── */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #1e293b;
  border-radius: 2px;
  transition: all 0.35s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile menu behavior */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #e2e8f0;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    z-index: 1000;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    margin: 18px 0;
    font-size: 1.25rem;
    display: block;
  }
}

.nav.active::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: -1;
}

/* Improve mobile menu spacing – add left padding to links */
@media (max-width: 768px) {
  .nav.active {
    padding-left: 20px;      /* space from left edge of screen */
    padding-right: 20px;     /* optional: balance right side too */
  }

  .nav a {
    text-align: left;        /* keep left-aligned, but with padding */
    padding: 12px 0;         /* more vertical touch area for fingers */
    padding-left: 16px;      /* extra indent for first letter */
  }
}


/* Modern Footer - Medium Height, Chobani-inspired */
.site-footer {
  background: #0f172a;
  color: #e2e8f0;
}


.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 35px;
  margin-bottom: 30px;
  align-items: start;
}

.footer-address h4 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  color: #d1fae5;
}

.footer-address p {
  margin: 5px 0;
  opacity: 0.95;
}

.footer-middle {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  background: rgba(255,255,255,0.12);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.35s ease;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}

.footer-btn:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.why-btn { background: rgba(255,255,255,0.18); }

.footer-map {
  height: 180px; /* medium size - zoomable & perfect */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  background: #0f2f1f;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Mobile - Stack top-down */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-middle {
    align-items: center;
  }

  .footer-map {
    height: 200px;
  }
}

/* Mobile Footer Improvements - Better Color, Spacing & Behavior */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 15px 60px; /* more bottom padding for floating buttons */
    background: #0f172a; /* keep dark navy */
  }

  .footer-grid {
    gap: 30px; /* more breathing room between sections */
  }

  .footer-address {
    font-size: 1rem;
    line-height: 1.6;
  }

  .footer-address h4 {
    font-size: 1.3rem;
    color: #d1fae5; /* lighter teal for heading */
    margin-bottom: 16px;
  }

  .footer-address p {
    margin: 6px 0;
    color: #cbd5e1; /* softer white-gray for text */
  }

  .footer-middle {
    gap: 18px;
  }

  .footer-btn {
    width: 100%; /* full width buttons on mobile */
    padding: 14px 20px;
    font-size: 1.05rem;
    background: #0066cc; /* solid blue like your new theme */
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .footer-btn:hover {
    background: #0055aa;
  }

  .footer-map {
    height: 160px; /* slightly smaller on mobile to save space */
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  }

  .footer-bottom {
    padding-top: 30px;
    font-size: 0.9rem;
    color: #94a3b8; /* softer gray for copyright */
  }

  /* Fix floating buttons overlap */
  .whatsapp-float, .chatbot-toggle {
    bottom: 70px; /* raise WhatsApp higher */
    right: 16px;
  }

  .chatbot-toggle {
    bottom: 130px; /* raise toggle above WhatsApp */
    right: 16px;
  }

  .chatbot {
    bottom: 190px;
    width: 92%;
    right: 4%;
    max-height: 65vh; /* prevent too tall */
  }
}


/* ───────────────────────────────────────────────
   Section Background Upgrades – Professional Fit
   (Animal Feed, Human Consumption, Why Us sections)
─────────────────────────────────────────────── */

/* Product Categories sections – Animal Feed & Human Consumption */
.categories {
  background: #f8fafc;          /* ← Recommended: light blue-gray – clean, ties to blue theme */
  /* Alternative options – uncomment one if you prefer:
  background: #f9fbf5;        /* light sage/nature hint */
  background: #fdfcf8;        /* warm off-white/cream */
  background: #f5f8f3;        /* very soft green tint */
  */
}

/* If Human Consumption has a different class (e.g. .categories-human or second .categories), 
   duplicate the above and change class name – or inspect HTML to confirm.
   If both use .categories, this covers them. */

/* Why Us / Why Choose Import Easily? section */
.why-us {
  background: #f8fafc;          /* ← Same recommended color for consistency */
  /* Or use a slightly different one for variety:
  background: #f0f4f8;        /* cooler blue-gray variant */
  */
}

/* Optional: Add subtle top/bottom borders or padding for separation if needed */
.categories,
.why-us {
  border-top: 1px solid #e2e8f0;    /* light separator */
  border-bottom: 1px solid #e2e8f0;
}

/* If the sections have extra wrappers (like .container inside), you can target deeper if needed */
.categories .container,
.why-us .container {
  background: transparent;      /* ensure no white override inside */
}


/* ================================================
   FINAL FIX – Homepage Product Categories Background
   Animal Feed + Human Consumption sections
   Matches dark footer and blue theme
================================================ */

.categories {
  background: #f8fafc !important;     /* Light blue-gray – recommended */
  padding: 80px 0 !important;         /* More premium spacing */
}

/* If you want the two cards to have subtle separation */
.category-grid {
  gap: 40px !important;
}

.category-card {
  background: rgba(255, 255, 255, 0.95) !important; /* very light white with transparency */
  border-radius: 16px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
  padding: 30px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.category-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12) !important;
}

/* Why Us – match the same light tone */
.why-us {
  background: #f8fafc !important;
}

/* Prevent body/container white override */
body, .container {
  background: transparent !important;
}

/* Alternative colors – choose one and replace #f8fafc above */
/* #f9fbf5  → very light sage (nature/agro feel) */
/* #fdfcf8  → soft cream (warm, earthy) */
/* #f0f4f8  → cooler blue-gray (more contrast) */


.linkedin-footer {
  margin-left: 10px;
  color: #cbd5e1;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.linkedin-footer:hover {
  color: #0077b5; /* LinkedIn blue */
  transform: translateY(-2px);
}
