/* ========================================================= Oil option Dropdown ========================================================= */
.dropdown-menu {
  display: none;
  position: absolute;
}

.dropdown-menu.show {
  display: block;
}

nav ul li.dropdown {
  position: relative;
}

nav ul li.dropdown .dropdown-menu {
  display: none;
  /* hidden by default */
  position: absolute;
  top: 100%;
  /* just below the parent li */
  left: -130%;
  background: #fff;
  /* white */
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  /* make sure it’s above other elements */
}

/* Show dropdown on hover */
nav ul li.dropdown:hover .dropdown-menu {
  display: block;
}

/* style links inside dropdown */
nav ul li.dropdown .dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  color: #333;
  text-decoration: none;
}

nav ul li.dropdown .dropdown-menu li a:hover {
  background: #f5a623;
  color: #fff;
}

/* Desktop: show on hover */
@media(min-width: 768px) {
  nav ul li.dropdown:hover .dropdown-menu-wide {
    display: block;
  }

  nav ul li.dropdown .dropdown-menu {
    top: 0%;
    /* just below the parent li */
  }
}

/* Mobile: hide by default */
@media(max-width: 767px) {
  .dropdown-menu-wide {
    display: none;
    position: static;
    /* stack below the link */
    width: 100%;
    background: #fff;
    padding: 10px 20px;
  }

  .dropdown-menu-wide ul {
    flex-direction: column;
    /* vertical links */
  }

  nav ul li.dropdown .dropdown-menu {
    top: 0%;
    /* just below the parent li */
  }
}

/* ========================================================= Hero Section ========================================================= */
.hero-section {
  padding: 0px 20px 150px;
  text-align: center;
}

.hero-section h1 {
  font-size: 2.4rem;
  font-weight: 600;
  color: #2b2b2b;
  max-width: 800px;
  margin: 0 auto 15px;
  line-height: 1.3;
}

.hero-subtext {
  font-size: 1.1rem;
  color: #555;
  max-width: 750px;
  margin: 0 auto 12px;
  line-height: 1.6;
}

.hero-trust {
  font-size: 1rem;
  color: #333;
  margin: 10px auto 25px;
}

.hero-trust strong {
  color: #c0392b;
}

.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  background: #c0392b;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background: #a93226;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }
}

/* ========================================================= PRODUCTS & PACKAGING SECTION ========================================================= */
/* ---------- Product Grid Layout ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  justify-items: center;
  align-items: stretch;
  margin-top: 20px;
}

/* ---------- Shared Card Base ---------- */
.product-card,
.packing-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 300px;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Product card hover */
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* ---------- Product Image ---------- */
.product-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

/* Smooth hover zoom */
.product-card img:hover {
  transform: scale(1.05);
}

/* ---------- Product Text ---------- */
.product-card h3 {
  font-size: 1rem;
  color: #222;
  font-weight: 600;
  margin: 6px 0;
}

.product-link {
  text-decoration: none;
  color: #111;
}

.product-link:hover {
  color: #007185;
}

.product-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
  margin: 0;
}

/* ---------- Pricing ---------- */
.apl-price {
  margin: 8px 0 14px;
}

.price-big {
  font-size: 1.4rem;
  font-weight: 700;
  color: #b12704;
}

.per-unit {
  font-size: 0.85rem;
  color: #555;
}

.mrp {
  text-decoration: line-through;
  font-size: 0.85rem;
  color: #777;
}

.discount {
  font-size: 0.85rem;
  color: #b12704;
  margin-left: 6px;
}

.note {
  font-size: 1.2rem;
  color: #555;
  font-style: italic;
  letter-spacing: 0.3px;
  text-align: center;
  margin-top: 40px;
  grid-column: 1 / -1;
  /* spans all columns if inside a CSS grid */
}

/* ---------- Buttons / Card Actions ---------- */
.card-actions {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.view-details-btn {
  background: #e6f4f1;
  /* soft teal tint */
  color: #0f766e;
  /* deep teal text */

  border: 1px solid #cce9e3;
  border-radius: 8px;

  padding: 11px 16px;
  width: 80%;

  font-size: 14px;
  font-weight: 600;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* Gentle hover */
.view-details-btn:hover {
  background: #d9efea;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15);
}

/* Soft press */
.view-details-btn:active {
  transform: translateY(1px);
}

/* Focus for accessibility */
.view-details-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(107, 114, 128, 0.3);
}


/* Whatsapp popup for quantity*/
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.popup.hidden {
  display: none;
}

.popup-content {
  width: 90%;
  max-width: 360px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  position: relative;
}

.popup-content select,
.popup-content input {
  width: 100%;
  padding: 8px;
  margin-top: 6px;
  border-radius: 5px;
  border: 1px solid #aaa;
}

.closePopup {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 22px;
  cursor: pointer;
}

.popup-btn-group {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.popup-btn-group button {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.confirmBtn {
  background: #25D366;
  /* WhatsApp green */
  color: white;
  font-weight: 600;
}

.cancelBtn {
  background: #dddddd;
  color: #333;
  font-weight: 600;
}

/* ---------- Ribbon (Wrapped Corner) ---------- */
.product-card {
  position: relative;
  overflow: hidden;
}

/* Ribbon container */
.ribbon {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 150px;
  height: 150px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

/* Ribbon body */
.ribbon span {
  position: absolute;
  top: 32px;
  left: -70px;
  display: block;
  width: 260px;
  padding: 10px 0;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  transform: rotate(-45deg);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Ribbon folded edges */
.ribbon span::before,
.ribbon span::after {
  content: "";
  position: absolute;
  top: 100%;
  border-top: 3px solid #b03a2e;
  border-bottom: 3px solid transparent;
}

.ribbon span::before {
  left: 0;
  border-left: 3px solid #b03a2e;
  border-right: 3px solid transparent;
}

.ribbon span::after {
  right: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid #b03a2e;
}

/* Veg Mark */
.veg-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
}

.veg-mark {
  width: 16px;
  height: 16px;
  border: 2px solid #2e7d32;
  display: flex;
  align-items: center;
  justify-content: center;
}

.veg-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #2e7d32;
  border-radius: 50%;
}

.veg-text {
  font-size: 0.85rem;
  color: #2e7d32;
  font-weight: 500;
}

/* ---------- Packaging Image Slider ---------- */
.image-slider {
  position: relative;
  width: 100%;
  height: 230px;
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.image-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.4s ease;
}

/* Active image */
.image-slider img.active {
  opacity: 1;
  transform: scale(1.02);
  z-index: 1;
}

/* Toggle button */
.toggle-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  cursor: pointer;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

/* Toggle hover */
.toggle-btn:hover {
  background: #fff;
  transform: scale(1.1);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .product-card {
    height: auto;
  }

  .product-card img {
    height: 200px;
  }
}

/* ========================================================= Oil Comparison Section ========================================================= */

#comparison .section-title {
  margin-bottom: 20px;
}

#comparison .compare-intro {
  font-size: 1.15rem;
  text-align: center;
  margin: 0 auto 45px auto;
  color: #555;
  line-height: 1.6;
}

.compare-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 35px auto;
  border-collapse: separate;
  border-spacing: 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #ffd8b3;
  /* soft pastel peach border */
  box-shadow: 0 0 20px rgba(255, 200, 150, 0.3);
  /* gentle glow */
  transition: all 0.3s ease;
}

.compare-table th,
.compare-table td {
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.compare-table th {
  background: linear-gradient(135deg, #ffd9b3, #ffc299);
  /* subtle gradient */
  color: #333;
  font-weight: 700;
  font-size: 1.15rem;
  border-bottom: 2px solid #ffb366;
}

.compare-table td {
  color: #4a4a4a;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:nth-child(even) {
  background-color: #fff7f0;
}

.compare-table td strong {
  color: #d35400;
  font-weight: 600;
}

.compare-table tr:hover {
  background-color: #ffe8d6;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

#comparison .compare-summary {
  font-size: 1rem;
  color: #555;
  max-width: 650px;
  margin: 40px auto 0 auto;
  line-height: 1.7;
}

@media (max-width: 768px) {

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
    font-size: 0.95rem;
  }

  #comparison .section-title {
    font-size: 1.6rem;
  }
}

/* ========================================================= FROM SEED TO BOTTLE SECTION ========================================================= */

/* ---------- Section Wrapper ---------- */
.journey-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.journey-section p {
  text-align: center;
}

/* ---------- Vertical Timeline Layout ---------- */
.journey-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}

/* Central connecting line (hidden for now) */
.journey-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #ffce56, #f6a623);
  z-index: 0;
  display: none;
}

/* ---------- Each Step ---------- */
.journey-step {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;

  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* Connector line between steps */
.journey-step::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  width: 3px;
  height: 70px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, #ffecb3, #fbc02d);
  opacity: 0.6;
  z-index: 0;
}

/* Hide top connector on first step */
.journey-step:first-child::before {
  display: none;
}

/* Visible state for scroll animation */
.journey-step.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.journey-step.visible:nth-child(1) {
  transition-delay: 0.1s;
}

.journey-step.visible:nth-child(2) {
  transition-delay: 0.2s;
}

.journey-step.visible:nth-child(3) {
  transition-delay: 0.3s;
}

.journey-step.visible:nth-child(4) {
  transition-delay: 0.4s;
}

/* ---------- Journey Icon (Circle) ---------- */
.journey-icon {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fff8e1;
  border: 3px solid #ffd54f;

  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.journey-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: opacity 1s ease-in-out, transform 0.4s ease, box-shadow 0.4s ease;
}

/* ---------- Image Slider Inside Icon ---------- */
.journey-icon.slider {
  position: relative;
  overflow: hidden;
}

.journey-icon.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 1s ease-in-out, transform 0.4s ease, box-shadow 0.4s ease;
}

/* Active image visible */
.journey-icon.slider img.active {
  opacity: 1;
}

/* Hover zoom for step images */
.journey-step:hover .journey-icon img {
  transform: scale(1.1);
}

/* ---------- Hover Zoom Effect (Popup Style) ---------- */
.journey-icon.slider:hover {
  z-index: 10;
  /* ensure it’s above nearby steps */
}

.journey-icon.slider:hover img.active {
  transform: scale(1.5);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.journey-icon.slider img {
  cursor: pointer;
}

/* ---------- Text Content ---------- */
.journey-content h3 {
  text-align: center;
  color: #d66a00;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 10px;
}

.journey-content p {
  max-width: 550px;
  margin: 0 auto;
  color: #333;
  line-height: 1.7;
  font-family: 'Lora', serif;
}

/* ---------- Responsive (Mobile) ---------- */
@media (max-width: 768px) {
  .journey-timeline::before {
    left: 8%;
  }

  .journey-step {
    align-items: center;
    text-align: center;
  }

  .journey-content p {
    max-width: 100%;
  }

  .journey-icon {
    width: 150px;
    height: 150px;
  }
}

/* ========================================================= WHY CHOOSE US SECTION ========================================================= */

.why-wrapper {
  position: relative !important;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  height: 520px;
  min-height: 420px;
  display: block;
}

/* ---------- Bottle ---------- */
.why-bottle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  z-index: 30;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

/* ---------- Points (badges) ---------- */
.why-point {
  position: absolute;
  width: 220px;
  background: #fff;
  border: 2px solid rgba(212, 175, 55, 0.95);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.08);
  color: #222;
  z-index: 20;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
  font-family: "Lora", serif;
  text-align: left;
}

.why-point h3 {
  font-family: "Poppins", sans-serif;
  color: #b8860b;
  margin: 0 0 6px 0;
  font-size: 0.98rem;
}

.why-point p {
  margin: 0;
  font-size: 0.86rem;
  color: #444;
  line-height: 1.4;
}

.why-point:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(20, 20, 20, 0.12);
  background: #fff9ee;
}

/* ---------- Static "lines" toward bottle using pseudo-elements ---------- */
.why-point::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, #f6a623, #ffd76b);
  opacity: .9;
}

/* ---------- Positioning (desktop) ---------- */
.point1 {
  top: 5%;
  left: 6%;
}

.point1::after {
  right: -70px;
  top: 50%;
  transform: rotate(20deg);
}

.point2 {
  top: 5%;
  right: 6%;
}

.point2::after {
  left: -70px;
  top: 50%;
  transform: rotate(-20deg);
}

.point3 {
  top: 38%;
  left: -2%;
}

.point3::after {
  right: -75px;
  top: 55%;
  transform: rotate(8deg);
}

.point4 {
  top: 38%;
  right: -2%;
}

.point4::after {
  left: -75px;
  top: 55%;
  transform: rotate(-8deg);
}

.point5 {
  bottom: 6%;
  left: 8%;
}

.point5::after {
  right: -70px;
  top: 40%;
  transform: rotate(-25deg);
}

.point6 {
  bottom: 6%;
  right: 8%;
}

.point6::after {
  left: -70px;
  top: 40%;
  transform: rotate(25deg);
}

/* ---------- Responsive layout for Mobile ---------- */
@media (max-width: 900px) {

  /* STOP all absolute positions from desktop */
  .why-point,
  .why-track .why-point {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .why-wrapper {
    height: auto !important;
    min-height: auto !important;
    padding-bottom: 30px;
    /* space for swipe text */
    overflow: visible !important;
    max-width: 400px;
    position: relative;
  }

  /* move swipe text closer */
  .why-wrapper::after {
    bottom: 0px !important;
  }

  .why-bottle {
    display: none;
  }

  /* "Swipe" hint */
  .why-wrapper::after {
    content: "⇠ Swipe ⇢";
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #b8860b;
    opacity: 0.7;
    animation: fadeHint 2s ease-in-out infinite;
  }

  @keyframes fadeHint {

    0%,
    100% {
      opacity: 0.7;
    }

    50% {
      opacity: 0.3;
    }
  }

  /* proper slider behavior */
  .why-track {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    width: auto !important;
    height: auto !important;
  }

  /* slider */
  .why-slider {
    display: flex;
    overflow-x: scroll;
    gap: 24px;
    flex-wrap: nowrap;
    padding: 0 12px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-top: 35px !important;
    overflow-y: visible !important;
  }

  .why-slider::-webkit-scrollbar {
    display: none;
  }

  /* each card */
  .why-point {
    width: 75% !important;
    /* narrower, vertical look */
    min-width: 75% !important;
    /* keeps the vertical shape */
    height: 300px !important;
    /* taller → portrait shape */
    border-radius: 18px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: none !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .why-slider.paused {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
  }

  /* Hover effect → card pops out */
  .why-point:hover,
  .why-point:active {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0px 6px 14x rgba(0, 0, 0, 0.14);
  }

  .why-point.is-lifted {
    transform: scale(1.035) translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
    z-index: 10;
  }

  .why-point::after {
    display: none !important;
  }

  .why-point h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .why-point p {
    font-size: 1rem;
    line-height: 1.4;
  }
}

/* Smaller screens */
@media (max-width: 600px) {
  .why-wrapper {
    max-width: 360px;
  }

  .why-point {
    padding: 16px;
  }
}

@media (max-width: 450px) {
  .why-wrapper {
    max-width: 320px;
  }

  .why-point {
    padding: 14px;
  }
}


/* ========================================================= GOOGLE MAP ========================================================= */
/* Map container styling */
.map-container {
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Make iframe responsive */
.map-container iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* Links container */
.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

/* Map links */
.map-link,
.btn-map {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

/* View on Maps link style */
.map-link {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.map-link:hover {
  background-color: #e0e0e0;
}

/* Get Directions button style */
.btn-map {
  background-color: #ff9900;
  /* vibrant CTA color */
  color: white;
  border: none;
}

.btn-map:hover {
  background-color: #e68a00;
  cursor: pointer;
}