* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
   
}

html, body {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 18px;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: #2d2d2d;
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ffcc00;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  position: absolute;
  left: 20px;
  cursor: pointer;
}

/* Home */
.home {
  background-image: url('https://media.istockphoto.com/id/1331816750/photo/farmer-pouring-raw-milk-into-container.jpg?s=612x612&w=0&k=20&c=JTIsMgPz5cur5pi1O6lB0A17whzYrRQLoMBMwRN-hcI=');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.home .overlay {
  background: rgba(237, 230, 230, 0.7);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}
.dealership-quote {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0b0a0a;
  margin-top: 10px;
  font-style: italic;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}


/* About Us */
.about-section {
  padding: 60px 20px;
  background: #f9f9f9;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}
.about-image {
  flex: 0 1 500px;  /* 350px se 500px badhaya */
}

.about-image img {
  width: 100%;
  max-width: 500px;  /* Image max-width badhaya */
  border-radius: 10px;
}

.about-text {
  flex: 1;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;  /* Paragraph ke beech thoda gap */
}




/* Products */

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Main Product Section */
.product-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #f8f8f8;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.product-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px;
  max-width: 1400px;       /* Restricts the full width */
  margin: 0 auto;          /* Centers the grid horizontally */
}

.product-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  height: 420px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 🆕 Add margin-bottom for spacing between image and text */
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;  /* space below the image */
}




/* Add more spacing between elements */
.product-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #2e8b57;
}

.product-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px; /* spacing before button */
  text-align: center;
}

.product-card:hover {
  transform: scale(1.02);
}

.buy-btn {
  margin-top: auto;
  background-color: #2e8b57;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
}
.buy-btn:hover {
  background-color: #256a45;
}

/* Responsive fallback: 1 or 2 columns on small screens */
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
.product-card {
  height: auto;
}

/* Product Detail Page */
.product-page {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 40px;
  align-items: center;
}
.product-page img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
}
.product-page div {
  flex: 1;
}
.product-page h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.product-page input[type="number"] {
  width: 60px;
  padding: 5px;
}
.product-page button {
  margin-top: 15px;
  background-color: orange;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
}

/* Responsive */
@media (max-width: 768px) {
  .product-page {
    flex-direction: column;
    text-align: center;
  }
}









/* Why Choose Us */
.why-choose-us {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  font-family: Georgia, 'Times New Roman', Times, serif;
  background-color: rgb(237, 164, 69);
}
.why-choose-us h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #2e8b57;
}
.why-choose-us ul {
  padding-left: 20px;
  font-size: 1.2rem;
  color: #333;
}
.why-choose-us li {
  margin-bottom: 12px;
}
.dealership-quote {
  font-size: 1rem;
  font-weight: 500;
  color: #444;
  margin: 5px 0 15px 0;
  font-style: italic;
  text-align: center;
}


     /* footer */
     .footer {
      background-color: #191b1a;
      color: white;
      padding: 40px 20px;
      margin-top: 60px;
      font-family: Arial, sans-serif;
    }
    
    .footer-container {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: auto;
      gap: 30px;
    }
    
    .footer-about,
    .footer-links {
      flex: 1 1 250px;
      min-width: 200px;
    }
    
    .footer h3, .footer h4 {
      margin-bottom: 15px;
    }
    
    .footer p {
      line-height: 1.6;
    }
    
    .footer-links ul {
      list-style: none;
      padding: 0;
    }
    
    .footer-links li {
      margin-bottom: 10px;
    }
    
    .footer-links a {
      color: white;
      text-decoration: underline;
      transition: color 0.3s;
    }
    
    .footer-links a:hover {
      color: #ffd700;
    }
    
    .footer-bottom {
      text-align: center;
      margin-top: 30px;
      border-top: 1px solid rgba(255, 255, 255, 0.3);
      padding-top: 20px;
      font-size: 20px;
    }
    .dealership-quote-footer {
      font-size: 0.98rem;
      color: #1b6176;
      margin-top: 8px;
      font-style: italic;
    }
    
    