/* === ADD THIS COMPLETE CSS TO REPLACE YOUR EXISTING STYLES.CSS === */

/* START: Base & Reset Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  padding-top: 0;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}
/* END: Base & Reset Styles */

/* START: Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #4CAF50;
  color: white;
}

.btn-primary:hover {
  background-color: #3d8b40;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #333;
  border: 2px solid #4CAF50;
}

.btn-secondary:hover {
  background-color: #4CAF50;
  color: white;
  transform: translateY(-2px);
}

.btn-white {
  background-color: white;
  color: #333;
}

.btn-white:hover {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}
/* END: Button Styles */

/* START: Top Bar Styles */
.top-bar {
  background-color: #4CAF50;
  color: white;
  padding: 8px 0;
  font-size: 13px;
  display: none;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  margin: 0 15px;
}

.top-bar-item i {
  margin-right: 8px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: white;
  color: #4CAF50;
}
/* END: Top Bar Styles */

/* START: Header Styles */
.header {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1001;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-text {
  font-size: 28px;
  font-weight: 800;
  color: #4CAF50;
  white-space: nowrap;
}

/* Main Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0 20px;
}

.nav-link {
  padding: 10px 15px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #4CAF50;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
  padding: 5px;
}
/* END: Header Styles */

/* START: Sticky Header Styles */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  padding: 10px 0;
}

.sticky-header.active {
  transform: translateY(0);
}

.sticky-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-logo .logo-text {
  font-size: 24px;
}

.sticky-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 20px;
}

.sticky-nav-link {
  padding: 8px 15px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.sticky-nav-link:hover,
.sticky-nav-link.active {
  color: #4CAF50;
}

.sticky-call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #4CAF50;
  color: white;
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.sticky-call-btn:hover {
  background-color: #3d8b40;
  transform: translateY(-2px);
}
/* END: Sticky Header Styles */

/* ========== FIXED DROPDOWN MENU CSS ========== */
/* Submenu wrapper */
.has-submenu-wrapper {
  position: relative;
  display: inline-block;
}

/* Main submenu styling */
.product-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  min-width: 220px;
  padding: 10px 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  /* IMPORTANT: Ensure proper stacking */
  overflow: visible !important;
}

/* Show main submenu on hover */
.has-submenu-wrapper:hover > .product-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Nested submenus (Oil, Pulses, Spices inside Products) */
.product-submenu .has-submenu-wrapper.nested {
  position: relative;
  /* IMPORTANT: Ensure proper stacking */
  z-index: 1001;
}

/* Right side nested submenu */
.product-submenu .has-submenu-wrapper.nested .product-submenu.nested-submenu {
  position: absolute;
  top: -10px;
  left: 100%;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  min-width: 220px;
  padding: 10px 0;
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  /* IMPORTANT: Prevent overlap with parent */
  margin-left: 2px;
}

/* Show nested submenu on hover */
.product-submenu .has-submenu-wrapper.nested:hover .product-submenu.nested-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Clear positioning for nested items */
.product-submenu .has-submenu-wrapper.nested {
  clear: both;
  width: 100%;
}

/* Arrow for nested items */
.product-submenu .has-submenu-wrapper.nested > .nav-link.has-submenu::after,
.product-submenu .has-submenu-wrapper.nested > .sticky-nav-link.has-submenu::after {
  content: '▸';
  float: right;
  margin-left: 10px;
  font-size: 14px;
  color: #666;
}

/* Link styling inside submenus - FIXED ORDER */
.product-submenu a {
  display: block;
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-left: 3px solid transparent;
  /* IMPORTANT: Ensure proper spacing */
  margin: 0;
}

/* Direct link in Products menu (Vermicompost) */
.product-submenu > a:not(.has-submenu) {
  border-top: 1px solid #eee;
  margin-top: 10px;
  padding-top: 15px;
  clear: both;
}

/* Main arrow indicator */
.has-submenu::after {
  content: '▾';
  margin-left: 5px;
  font-size: 12px;
}

/* ========== SPECIFIC ITEM ORDER FIX ========== */
/* Ensure Oil comes first */
.product-submenu .has-submenu-wrapper.nested:first-child {
  order: 1;
}

/* Ensure Pulses comes second */
.product-submenu .has-submenu-wrapper.nested:nth-child(2) {
  order: 2;
}

/* Ensure Spices comes third */
.product-submenu .has-submenu-wrapper.nested:nth-child(3) {
  order: 3;
}

/* Ensure Vermicompost comes last */
.product-submenu > a:not(.has-submenu) {
  order: 4;
}

/* Add borders between items for visual separation */
.product-submenu .has-submenu-wrapper.nested:not(:last-child) > .nav-link.has-submenu,
.product-submenu .has-submenu-wrapper.nested:not(:last-child) > .sticky-nav-link.has-submenu {
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 5px;
  padding-bottom: 12px;
}
/* ========== END DROPDOWN MENU CSS ========== */

/* START: Hero Section Styles */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 500px;
}

.slides-container {
  display: flex;
  transition: transform 0.8s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px 0;
}

.hero-text {
  max-width: 100%;
  text-align: center;
  margin-bottom: 30px;
  padding: 0 15px;
}

.hero-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.2;
  margin: 15px 0;
  color: #333;
}

.hero-image {
  max-width: 100%;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  max-width: 80%;
  max-height: 250px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.badge-100 {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
  z-index: 2;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #4CAF50;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: #4CAF50;
  color: white;
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #4CAF50;
  transform: scale(1.2);
}
/* END: Hero Section Styles */

/* START: Feature Cards Styles */
.feature-cards {
  padding: 40px 0;
}

.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-card {
  border-radius: 15px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: auto;
}

.card-yellow {
  background-color: #FFD166;
}

.card-green {
  background-color: #4CAF50;
  color: white;
}

.card-dark {
  background-color: #333;
  color: white;
}

.card-content {
  flex: 1;
  margin-bottom: 20px;
}

.card-label {
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.card-img {
  max-width: 180px;
  border-radius: 50%;
  object-fit: cover;
}
/* END: Feature Cards Styles */

/* START: About Section Styles */
.about-section {
  padding: 60px 0;
}

.about-grid {
  display: flex;
  flex-direction: column;
}

.about-image {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.about-content {
  width: 100%;
}

.section-subtitle {
  color: #4CAF50;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 28px;
  margin: 15px 0;
  color: #333;
  line-height: 1.3;
}

.section-text {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.features-list {
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background-color: #4CAF50;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #333;
}

.feature-text p {
  color: #666;
  font-size: 14px;
}
/* END: About Section Styles */

/* START: Deal Section Styles */
.deal-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.deal-grid {
  display: flex;
  flex-direction: column;
}

.deal-content {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.deal-image {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
}

.deal-image img {
  border-radius: 15px;
  object-fit: cover;
  max-width: 100%;
}

.badge-organic {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  background-color: #FFD166;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  line-height: 1.2;
  z-index: 2;
}
/* END: Deal Section Styles */

/* START: Footer Styles */
.footer {
  background-color: #222;
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col {
  width: 100%;
}

.footer-logo .logo-text {
  color: white;
  font-size: 28px;
  font-weight: 800;
  display: block;
  margin-bottom: 15px;
}

.footer-text {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-title {
  color: white;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  font-size: 14px;
}

.footer-links a:hover {
  color: #4CAF50;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
  color: #aaa;
}

.footer-contact i {
  color: #4CAF50;
  margin-right: 10px;
  margin-top: 3px;
  min-width: 16px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  padding: 10px 15px;
  border: 1px solid #444;
  background: #333;
  color: white;
  border-radius: 5px;
}

.usp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.usp-tag {
  background: #4CAF50;
  color: white;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 13px;
}
/* END: Footer Styles */

/* ========== MOBILE STYLES ========== */
@media (max-width: 767px) {
  /* Hide desktop menus on mobile */
  .nav,
  .sticky-nav {
    display: none !important;
  }
  
  /* Show mobile menu toggle button */
  .mobile-menu-toggle {
    display: block !important;
  }
  
  /* Mobile Header */
  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  
  .mobile-logo {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 1px;
  }
  
  .mobile-call-btn {
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  /* Mobile Navigation Menu */
  .mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-nav a {
    display: block;
    padding: 12px 0;
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
  }
  
  .mobile-nav a:hover {
    color: #4CAF50;
    padding-left: 10px;
  }
  
  /* Mobile Submenu */
  .mobile-submenu {
    padding-left: 20px;
    border-left: 2px solid #eee;
    margin: 10px 0;
    display: none;
  }
  
  .mobile-submenu.active {
    display: block;
  }
  
  .mobile-submenu.nested {
    padding-left: 30px;
    border-left: 2px solid #f0f0f0;
    margin: 5px 0;
  }
  
  .mobile-submenu.nested a {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
  }
  
  /* Body padding for mobile header */
  body {
    padding-top: 70px;
  }
  
  /* Hide desktop elements on mobile */
  .header, .sticky-header, .top-bar {
    display: none;
  }
  
  /* Show mobile header */
  .mobile-header {
    display: flex;
  }
  
  /* Mobile submenu arrows */
  .has-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .has-submenu i {
    font-size: 12px;
    transition: transform 0.3s ease;
  }
  
  .has-submenu.active i.fa-chevron-right {
    transform: rotate(90deg);
  }
}

/* ========== DESKTOP STYLES ========== */
@media (min-width: 768px) {
  /* Hide mobile elements on desktop */
  .mobile-header, .mobile-nav {
    display: none !important;
  }
  
  /* Show desktop elements */
  .header, .sticky-header, .top-bar {
    display: block;
  }
  
  /* Remove body padding */
  body {
    padding-top: 0;
  }
  
  /* Top bar */
  .top-bar {
    display: block;
  }
  
  /* Desktop navigation */
  .nav,
  .sticky-nav {
    display: flex;
  }
  
  /* Hide mobile menu button on desktop */
  .mobile-menu-toggle {
    display: none;
  }
  
  /* Hero section desktop layout */
  .hero-slider {
    min-height: 550px;
  }
  
  .hero-content {
    flex-direction: row;
    padding: 60px 0;
  }
  
  .hero-text {
    max-width: 50%;
    text-align: left;
    margin-bottom: 0;
    padding-right: 40px;
  }
  
  .hero-image {
    max-width: 50%;
    height: 400px;
  }
  
  .hero-img {
    max-width: 100%;
    max-height: 350px;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  /* Feature cards desktop layout */
  .cards-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .feature-card {
    flex: 1;
    min-width: calc(50% - 20px);
    flex-direction: row;
    text-align: left;
    align-items: center;
    padding: 30px;
  }
  
  .card-content {
    margin-bottom: 0;
    margin-right: 20px;
  }
  
  .card-img {
    max-width: 200px;
  }
  
  /* About section desktop layout */
  .about-grid {
    flex-direction: row;
  }
  
  .about-image {
    width: 45%;
    margin-bottom: 0;
  }
  
  .about-content {
    width: 55%;
    padding-left: 40px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  /* Deal section desktop layout */
  .deal-grid {
    flex-direction: row;
    align-items: center;
  }
  
  .deal-content {
    width: 50%;
    text-align: left;
    margin-bottom: 0;
    padding-right: 40px;
  }
  
  .deal-image {
    width: 50%;
  }
  
  /* Footer desktop layout */
  .footer-content {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .footer-col {
    width: 50%;
    text-align: left;
  }
  
  .newsletter-form {
    flex-direction: row;
  }
  
  .newsletter-input {
    flex: 1;
  }
}

/* Large Desktop Styles (992px and up) */
@media (min-width: 992px) {
  .hero-slider {
    min-height: 600px;
  }
  
  .hero-image {
    height: 500px;
  }
  
  .hero-img {
    max-height: 450px;
  }
  
  .cards-grid {
    flex-wrap: nowrap;
  }
  
  .feature-card {
    min-width: auto;
  }
  
  .hero-title {
    font-size: 48px;
  }
  
  .footer-col {
    width: 25%;
  }
}

/* Extra Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .logo-text {
    font-size: 22px;
  }
  
  .sticky-logo .logo-text {
    font-size: 20px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}