/* Reset */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: "Bahnschrift", Arial, sans-serif; font-size:18px; line-height:1.6; background:#e6e2d3; color:#000; }

/* -------------------- Navbar -------------------- */
.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left | logo | right */
  align-items: center;
  padding: 15px 40px;
  background: #c4b7a6;
  position: relative;
  z-index: 20;
  overflow: visible;
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /* ✅ unified font */
  font-size: 17px;  /* ✅ consistent size for navbar */
}

/* Left / Right sections */
.nav-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

/* Nav links */

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-size: 17px;   /* ✅ matches navbar */
  font-weight: 500;  /* ✅ slightly bolder for readability */
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #7e4a35;
  transition: width 0.3s ease;
}
.nav-links a:hover {
  color: #7e4a35;
}
.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown a {
  cursor: pointer;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #c4b7a6;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 100;
}
.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}
.dropdown-menu a:hover {
  background: #c4b7a6;
  color: #7e4a35;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  color: #333;
  font-size: 18px;  /* ✅ icon size, not text */
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #7e4a35;
}

/* Center logo positioned inside U-shape */
.logo {
  grid-column: 2;          /* always center column */
  justify-self: center;
  align-self: center;
  position: relative;
  top: 25px;               /* push logo downward into the U */
  z-index: 40;             /* keep above curve */
}

.logo img {
  display: block;
  height: 90px;            /* adjust size */
  width: auto;
  max-width: 100%;
}

/* Make the U-shape a bit deeper/wider so logo fits inside */
.navbar::after {
  width: 280px;   /* wider U */
  height: 140px;  /* deeper U */
  bottom: -70px;  /* push curve lower */
}

/* Center logo positioned deeper into U-shape */
.logo {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  position: relative;
  top: 50px;   /* ⬅️ push logo further down */
  z-index: 40;
}

.logo img {
  display: block;
  height: 100px;  /* slightly larger so it feels balanced */
  width: auto;
  max-width: 100%;
}

/* Make the U-shape deeper */
.navbar::after {
  width: 300px;   /* wider U */
  height: 160px;  /* deeper U */
  bottom: -80px;  /* drop the U lower */
}


/* Logo always centered */
.logo {
  grid-column: 2;
  justify-self: center;
  align-self: center;
  position: relative;
  z-index: 30; /* above curve */
}
.logo img {
  display: block;
  height: 68px; /* adjust as needed */
  width: auto;
  max-width: 100%;
  margin: 0;
}

/* Curve cutout */
.navbar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -55px;
  width: 240px;
  height: 110px;
  background: #e6e2d3;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.06);
  z-index: 10;
}

/* Almond Section */
.almond-section { display:grid; grid-template-columns:1fr 1fr; min-height:70vh; }
.almond-text { padding:4rem; display:flex; flex-direction:column; justify-content:center; }
.almond-text h1 { font-size:32px; color:#7e4a35; margin-bottom:1rem; }
.almond-text h2 { font-size:22px; color:#7e4a35; margin-top:1.5rem; margin-bottom:.75rem; }
.almond-text p, .almond-text ul { font-size:18px; color:#000; line-height:1.6; }
.back-link { display:inline-block; margin-bottom:12px; color:#333; text-decoration:none; }
.almond-section{
  background:#e6e2d3;   /* unified background */
}

.almond-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.almond-image video,
.almond-image lottie-player {
  width: 100%;        /* video fills container */
  max-height: 480px;  /* limit height so it doesn’t stretch too tall */
  border-radius: 12px;
  object-fit: cover;  /* keeps aspect ratio and crops neatly */
}

/* Almond Health Section */
.health-section {
  padding: 4rem 2rem;
  text-align: center;
  background: #e6e2d3; /* keeps section clean, cards stand out */
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #7e4a35;
}

.health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

/* Animation Keyframes */
@keyframes fadeScaleUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Cards */
.health-card {
  padding: 1.5rem;
  border-radius: 12px;
  background: #c4b7a6;   /* ✅ brand background color */
  border: 1px solid #c4b7a6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fade-in.show {
  animation: fadeScaleUp 0.9s ease forwards;
}

/* Icon + Title */
.health-card .icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #7e4a35;
}

.health-card h3 {
  color: #7e4a35;
  margin-bottom: 0.5rem;
}

/* Hover Effect */
.health-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

/* Stagger Animation Delays */
.health-card:nth-child(1) { animation-delay: 0.1s; }
.health-card:nth-child(2) { animation-delay: 0.2s; }
.health-card:nth-child(3) { animation-delay: 0.3s; }
.health-card:nth-child(4) { animation-delay: 0.4s; }
.health-card:nth-child(5) { animation-delay: 0.5s; }
.health-card:nth-child(6) { animation-delay: 0.6s; }
.health-card:nth-child(7) { animation-delay: 0.7s; }
.health-card:nth-child(8) { animation-delay: 0.8s; }


/* Project Section */
.project-section {
  padding: 3rem 2rem;
}

.project-section {
  padding: 3rem 2rem;
  background: #e6e2d3;
}

.project-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: auto;
  align-items: center;
}
.project-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
.project-text h2, .project-text h3 {
  color: #7e4a35;
  margin-bottom: 1rem;
}
.project-text ul {
  margin-top: 0.8rem;
}


/* Almond Range */
.almond-range { padding:60px 20px; background:#e6e2d3; text-align:center; }
.almond-range .text-box { max-width:700px; margin:auto; }
.almond-range h1 { font-size:22px; color:#7e4a35; text-transform:uppercase; margin-bottom:8px; }
.almond-range .btn { background:#7e4a35; color:#fff; padding:12px 28px; border-radius:6px; text-decoration:none; display:inline-block; margin-top:12px; }

.toor-dal-specs {
  list-style: none;
  padding: 0;
  margin: 0 auto;       /* centers the whole list */
  display: inline-block; /* keeps list compact for centering */
  text-align: left;     /* ensures text stays aligned neatly */
}

.toor-dal-specs li {
  display: flex;
  align-items: flex-start;
  gap: 10px; /* space between dot and text */
  margin: 8px 0;
  font-size: 16px;
  color: #333;
}

.toor-dal-specs .dot {
  width: 20px;          /* fixed width for alignment */
  text-align: center;
  flex-shrink: 0;
}

/* Force center alignment for the Shop Now button */
.almond-range .text-box {
  display: flex;
  flex-direction: column;   /* stack items vertically */
  align-items: center;      /* center horizontally */
  justify-content: center;  /* center vertically if needed */
  text-align: center;
}

/* Shop Now button style */
.almond-range .btn {
  padding: 10px 25px;
  background-color: #7e4a35;  /* brown */
  color: #fff;                /* white text */
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: 0.3s ease;
  margin-top: 15px;
}

/* Hover effect */
.almond-range .btn:hover {
  background-color: #5c3224;
  transform: scale(1.05);
}




/* Footer */
.footer {
  background: #c4b7a6; /* changed from hsl(47, 29%, 78%) */
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 64px;
  margin-bottom: 1rem;
}

.footer-logo p {
  color: hsl(25, 47%, 25%);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-column h4 {
  color: hsl(25, 47%, 15%);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column a {
  color: hsl(25, 47%, 25%);
  text-decoration: none;
  transition: color 0.3s ease;
   font-size: 1rem;   /* ✅ increased (16px) */
  font-weight: 500;  /* ✅ slightly bolder for readability */
}

.footer-column a:hover {
  color: hsl(25, 47%, 35%);
}

.footer-column i {
  color: hsl(25, 47%, 35%);
  width: 16px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: hsl(25, 47%, 88%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b7a6(25, 47%, 15%);
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid hsl(25, 47%, 70%);
  padding-top: 1.5rem;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: hsl(25, 47%, 25%);
  font-size: 0.875rem;
}


/* -------------------- WhatsApp Floating Button -------------------- */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 20px;
  left: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float i {
  line-height: 55px;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}



/* Optional: ensure Tidio/chatbot stays on the right if needed */
#tidio-chat, .tidio-chat, [id^="tidio-chat-"] {
  right: 20px !important;
  left: auto !important;
  z-index: 999;
}


/* -------------------- Mobile Navbar -------------------- */

/* Hamburger (☰) */
.menu-toggle {
  display: none;
  position: relative;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle::before,
.menu-toggle::after,
.menu-toggle div {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #000;
  transition: all 0.3s ease;
}
.menu-toggle div {
  top: 50%;
  transform: translateY(-50%);
}
.menu-toggle::before { top: 0; }
.menu-toggle::after { bottom: 0; }

/* When menu is open, make it "X" */
.menu-toggle.open::before {
  transform: rotate(45deg);
  top: 50%;
}
.menu-toggle.open::after {
  transform: rotate(-45deg);
  bottom: 50%;
}
.menu-toggle.open div { opacity: 0; }

/* Mobile Menu (slide in from left) */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  max-width: 280px;
  height: 100vh;
  background: #c4b7a6;
  padding: 2rem 1.5rem;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.mobile-menu.active {
  display: block;
  transform: translateX(0);
}
.mobile-menu .nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-menu .nav-links a {
  font-size: 18px;
  padding: 0.5rem 0;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

/* Overlay (background dim when menu opens) */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.menu-overlay.active { display: block; }

/* -------------------- Responsive Adjustments (align with index) -------------------- */
@media (max-width: 768px) {
  /* Show hamburger */
  .menu-toggle { display: block; }
  .desktop-only { display: none; }

  /* Navbar grid */
  .navbar { 
    grid-template-columns: 50px 1fr 50px; 
    padding: 1rem; 
    position: relative; 
  }
  .menu-toggle { grid-column: 1; justify-self: start; }

  /* ✅ Corrected logo centering */
  .logo { 
    grid-column: 2; 
    justify-self: center; 
    align-self: center; 
    position: relative; 
    top: 5px; 
    bottom: 50px;
    transform: none; 
    z-index: 20; 
  }
  .logo img { height: 10px; }

  /* Optional: right side icons (if needed) */
  .nav-right { grid-column: 3; justify-self: end; display: flex; gap: 15px; }

  /* Shallow U-curve */
  .navbar::after { 
    width: 180px; 
    height: 90px; 
    bottom: -45px; 
    left: 50%; 
    transform: translateX(-50%); 
  }

  /* Sections stack nicely */
  .almond-section { grid-template-columns: 1fr; min-height: auto; }
  .almond-text { padding: 2rem 1.25rem; }
  .about-right { padding: 1.25rem; }
  .about-right video { max-height: 300px; }

  .project-container { grid-template-columns: 1fr; gap: 1.25rem; }
  .health-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }

  .footer-content { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer-logo { grid-column: 1 / -1; text-align: center; }
  .footer-bottom-content { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ==============================
   Mobile Fix for Navbar Logo
   ============================== */
@media (max-width: 991px) {
  /* Keep logo centered inside U-shape */
  .navbar-brand {
    position: absolute;
    left: 50%;
    top: 20px;                  /* fix logo from top */
    transform: translateX(-50%);
    z-index: 20;
  }

  .navbar-brand img {
    height: 55px;               /* smaller for mobile */
    top: 0;
  }

  /* Adjust U-shape for mobile */
  .navbar-custom::after {
    top: 15px;                  /* place U-shape below logo */
    width: 180px;
    height: 90px;
    bottom: auto;               /* override desktop bottom positioning */
  }

  /* Push menu down so it opens below logo + U-shape */
  .navbar-collapse {
    margin-top: 120px;          /* ensures menu doesn’t overlap logo */
    text-align: center;
  }
}