/* =============================================
   CSS STYLES - NEHEMA AGROVET
   Colors: Green (#2D6A4F), Earth/Brown (#8B5A2B, #F4EADB), White (#FFFFFF)
   Mobile-first, modern grid/flex
============================================= */

/* ---------- RESET & BASE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  background-color: #fff;
  color: #2c3e2f;
  line-height: 1.5;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: #2d3e2b;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
}

.section-title {
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
  color: #2D6A4F;
}

.section-title:after {
  content: '';
  display: block;
  width: 70px;
  height: 3px;
  background: #8B5A2B;
  margin: 0.5rem auto 0;
  border-radius: 5px;
}

/* ---------- BUTTONS & CTAs ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.2s;
  cursor: pointer;
  border: none;
}

.btn-call {
  background: #2D6A4F;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btn-call:hover {
  background: #1f4d38;
  transform: translateY(-2px);
}

.btn-wa {
  background: #25D366;
  color: white;
}

.btn-wa:hover {
  background: #1da851;
  transform: translateY(-2px);
}

.btn-small {
  display: inline-block;
  background: #8B5A2B;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.8rem;
}

.btn-small:hover {
  background: #6b431f;
}

.btn-call-outline, .btn-wa-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 0.7rem 1.5rem;
}

.btn-call-outline:hover, .btn-wa-outline:hover {
  background: white;
  color: #2D6A4F;
}

/* ---------- HEADER / NAVIGATION ---------- */
.site-header {
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Updated Logo Styles - Image + Text Combined */
.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 0; /* Remove default font size to avoid conflicts */
}

.logo-image {
  height: 50px;
  width: auto;
  max-height: 50px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.logo a:hover .logo-image {
  transform: scale(1.02);
}

/* Text logo styles */
.logo-green {
  color: #2D6A4F;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-brown {
  color: #8B5A2B;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Navbar styles */
.navbar ul {
  display: flex;
  gap: 2rem;
}

.navbar ul li a {
  font-weight: 600;
  color: #2d3e2b;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.navbar ul li a:hover, .navbar ul li a.active {
  border-bottom-color: #8B5A2B;
  color: #8B5A2B;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #2D6A4F;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .logo-image {
    height: 40px;
    max-height: 40px;
  }
  
  .logo-green, .logo-brown {
    font-size: 1.2rem;
  }
  
  .logo a {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .logo-image {
    height: 35px;
    max-height: 35px;
  }
  
  .logo-green, .logo-brown {
    font-size: 1rem;
  }
  
  .logo a {
    gap: 6px;
  }
}

/* ---------- HERO SECTION ---------- */
.hero {
  background: linear-gradient(rgba(45, 106, 79, 0.85), rgba(45, 106, 79, 0.9)), url('/images/IMG-115467.jpeg') center/cover no-repeat;
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  color: white;
  font-size: 2.8rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.2rem;
  margin: 1rem auto;
  max-width: 650px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

/* ---------- SECTIONS (common) ---------- */
.section {
  padding: 4rem 0;
}

.bg-light {
  background-color: #FEF9F0; /* warm earth light */
}

/* Cards grid */
.grid-cols-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.grid-cols-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Service card */
.service-card {
  background: white;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.03);
  transition: 0.25s ease;
  border: 1px solid #f0e3d4;
}

.service-card i {
  font-size: 2.8rem;
  color: #2D6A4F;
  margin-bottom: 1rem;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -12px rgba(0,0,0,0.1);
}

/* Product card */
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.2s;
  text-align: center;
  padding-bottom: 1.5rem;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #e2f0e2;
}

.product-card h3 {
  margin: 1rem 1rem 0.5rem;
}

.product-card p {
  padding: 0 1rem;
  color: #5a5a4e;
}

/* Why choose us */
.why-card {
  text-align: center;
  padding: 1rem;
}

.why-card i {
  font-size: 2.5rem;
  color: #8B5A2B;
  margin-bottom: 0.8rem;
}

.why-card h4 {
  color: #2D6A4F;
}

/* CTA Banner */
.cta-banner {
  background: #2D6A4F;
  color: white;
  text-align: center;
  padding: 3rem 1rem;
  margin: 1rem 0 0;
}

.cta-banner h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: #2c3e2b;
  color: #e9f0e6;
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-col h4 {
  color: #f4d9b0;
  margin-bottom: 1.2rem;
}

.footer-col p, .footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: #ddd;
}

.footer-col a:hover {
  color: white;
  text-decoration: underline;
}

.social-links a {
  display: inline-flex;
  background: #4a6741;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 0.8rem;
  transition: 0.2s;
}

.social-links a:hover {
  background: #8B5A2B;
  transform: scale(1.05);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #5b7c4e;
  font-size: 0.85rem;
}

/* Floating WhatsApp */
.float-wa {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: 0.2s;
  z-index: 999;
}

.float-wa:hover {
  transform: scale(1.08);
  background-color: #1da851;
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}

.float-wa:hover .wa-tooltip {
  opacity: 1;
}

/* CONTACT PAGE specific */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-info {
  background: #FEF9F0;
  padding: 2rem;
  border-radius: 28px;
}

.contact-info i {
  width: 40px;
  color: #2D6A4F;
  font-size: 1.4rem;
  margin-right: 0.5rem;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 28px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  border: 1px solid #eee2d4;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid #d9cbbc;
  border-radius: 40px;
  font-size: 1rem;
  font-family: inherit;
  transition: 0.2s;
}

.form-group textarea {
  border-radius: 24px;
  resize: vertical;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #2D6A4F;
  box-shadow: 0 0 0 2px rgba(45,106,79,0.2);
}

.btn-submit {
  background: #2D6A4F;
  color: white;
  border: none;
  width: 100%;
  padding: 0.9rem;
  border-radius: 40px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}

.btn-submit:hover {
  background: #1f4d38;
}

.map-container {
  margin-top: 2rem;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Services inner page cards */
.service-detail-card {
  background: white;
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* About page styling */
.about-story {
  background: #FEF9F0;
  border-radius: 28px;
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Utilities */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 1rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  .mobile-toggle {
    display: block;
  }
  .navbar {
    display: none;
    width: 100%;
    margin-top: 1rem;
  }
  .navbar.show {
    display: block;
  }
  .navbar ul {
    flex-direction: column;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  }
  .hero h1 {
    font-size: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .grid-cols-4, .grid-cols-3 {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 80%;
    justify-content: center;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}