/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    box-sizing: border-box; /* Ensures padding does not affect layout */
}
/* HEADER LAYOUT */
/* --- HEADER STYLES --- */
header {
  background-color: #ffffff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex; /* Side-by-side layout */
  justify-content: space-between; /* logo left, nav right */
  align-items: center; /* vertical centering */
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 10px; /* space from screen edges */
  display: flex; /* <-- repeated */  
  }
  .header-container nav {
  margin-right: 160px; /* Adjust this value as needed */
}
/* Dropdown styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  padding: 10px 0;
  border: 1px solid #ccc;
  list-style: none;
  min-width: 180px;
  z-index: 999;
}

.dropdown-menu li {
  padding: 8px 16px;
}

.dropdown-menu li a {
  color: black;
  text-decoration: none;
  display: block;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.logo {
  margin-left: 80px; /* moves logo slightly more left than before */
  pointer-events: auto;
}
.logo img {
  width: 180px;
  height: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: black;
  text-decoration: none;
  font-size: 16px;
  margin-right: 10px;
}

nav ul li a:hover {
  color: #d4a1ff;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh; /* Full-screen height */
    background-image: url('images/happy-indian-farmer-organic-bio-products-asthravi.jpg'); /* ✅ Corrected the slash */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    z-index: 1; /* Ensure the content is on top of the overlay */
    padding: 20px;
    max-width: 700px;
    width: 100%;
}

.hero h1 {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6); /* Adding a subtle shadow to the heading */
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 20px;
    line-height: 1.5;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4); /* Adding a subtle shadow to the paragraph */
}

.about {
    max-width: 1000px; /* Increased from 900px */
    margin: 0 auto;
    padding: 40px 30px; /* Slightly increased padding */
    line-height: 1.6;
    font-size: 18px !important;
    color: #444;
}
.about p {
    font-size: 16px !important;  /* Increased from 22px */
    font-weight: normal;
    text-align: justify !important;
    margin-top: 0px !important;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}
.about h2 {
    font-size: 28px !important; /* Ensured h2 is large */
    color: #222;
    margin-bottom: 0px !important; /* Reduced space below h2 */
    text-align: center !important; /* Center align h2 */
	line-height: 1.7rem;
	font-type:sans-serif;
}

.about h3 {
    color: #333;
    text-align: center !important;
    margin-top: 0px !important; /* Reduced space above h3 */
    margin-bottom: 10px !important; /* Reduced space below h3 */
}
.product-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px;
  width: 200px;
  flex-shrink: 0;
  text-align: center;
}



.banner-image {
    max-width: 100%;
    height: auto; /* 🔥 Let image decide its own height */
    object-fit: contain; /* 🔥 Show full image */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: block;
}


/* Activities Section */
.activities {
    padding: 40px 20px; /* Add some padding to avoid content overlap */
}


/* Specific styles for activity thumbnails */
.activity-thumbnail {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.activity-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/*.activity-thumbnail .info {
  position: absolute;
  bottom: 100%; 
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 260px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 12px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 10;
  text-align: center;
}*/

.activity-thumbnail:hover .info {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* UPDATED product-container and thumbnails with hover info */

.product-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.thumbnail {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 16px;
  overflow: visible; /* Allow info box to appear outside */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.info {
  position: absolute;
  bottom: 100%; /* position above thumbnail */
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 260px;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 12px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 10;
  text-align: center;
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.thumbnail:hover .info {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.slider {
  position: relative;
  width: 500px;
  height: 300px;
  overflow: hidden;
  background: transparent;
  border-radius: 10px;
  margin-bottom: 0px; 
}
.centered-slider-container {
  display: flex;
  flex-direction: column; /* stack slider and dots vertically */
  align-items: center;     /* center both horizontally */
  gap: 2px;                /* controls spacing between slider and dots */
  margin: 60px 0;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent; 
}
.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.dots {
  text-align: center;
  margin-top:-15px;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #d4a1ff; /* or your highlight color */
}
.footer {
  background-color: #e0e0e0;;
  padding: 40px 20px;
  color: #000;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 30px auto;
  text-align: left;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin: 10px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-column ul {
  list-style-type: none;
  padding: 0;
}

.footer-column li {
  margin: 6px 0;
}

.footer-column a {
  color: #000;
  text-decoration: underline;
}

.footer-column p {
  line-height: 1.6;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-logos img {
  height: 60px;
  object-fit: contain;
}

.footer-note {
  font-size: 14px;
  color: #444;
  text-align: center; /* centers the "all rights" statement */
}
.centered-slider-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0; /* optional spacing from other sections */
}
/* === Responsive Styles === */

/* Make everything adjust on smaller screens */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Container to center and limit width */
.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: 0 15px;
}
/* ========== GENERAL RESET & MEDIA SCALING ========== */

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1 {
  font-size: 2.5rem;
}
p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Layout helpers */
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
/* ========== SLIDER RESPONSIVENESS ========== */

.slider img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== MEDIA QUERIES ========== */

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  p {
    font-size: 0.95rem;
  }

  .flex {
    flex-direction: column;
  }

  .product-container {
    flex-direction: column;
    align-items: center;
  }

  .thumbnail {
    width: 90%;
  }

  .thumbnail h3 {
    font-size: 18px;
  }

  .thumbnail p {
    font-size: 14px;
  }
}

/* Phones (max-width: 480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.9rem;
  }

  .container {
    padding: 0 10px;
  }

  .thumbnail img {
    height: 180px;
  }

  .thumbnail .info {
    padding: 10px;
  }

  section h2 {
    font-size: 20px;
  }
}



