/* Your existing CSS remains the same */
/* ... (all existing CSS code) ... */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}
:root {
  --primary: #e74c3c;
  --secondary: #f39c12;
  --dark: #2c3e50;
  --light: #ecf0f1;
  --success: #27ae60;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 6px;
}

/* Header */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 500px;
  /* margin-right: 10px; */
  margin-top: 5px;
}

.logo h1 {
  color: var(--primary);
  font-size: 1.5rem;
}

.logo span {
  color: var(--dark);
  font-weight: 300;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section with Slider */
.hero {
  position: relative;
  height: 950px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 3s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
}

.slide-text {
  flex: 1;
  padding: 0 35px;
  text-align: right;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  max-width: 50%;
  margin-left: auto;
}

.slide-text h2 {
  font-size: 2.5rem;
  margin-top: 500px;
}

.slide-text p {
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  margin-left: 15px;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary);
}

.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider-dot.active {
  background-color: white;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 10;
}

.slider-nav button {
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s;
}

.slider-nav button:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Your existing CSS for other sections remains the same */
/* About Section */
/* About Section - UPDATED LAYOUT */
.about {
  padding: 80px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

/* About Content - New Layout */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 20px;
}

.about-text-main {
  flex: 1;
  min-width: 300px;
}

.about-text-main h3 {
  font-size: 1.8rem;
  color: #d32f2f;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text-main p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.about-image-main {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.about-image-main img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About Details Section */
.about-details {
  margin-top: 20px;
}

.about-details h4 {
  font-size: 1.4rem;
  color: #d32f2f;
  margin: 30px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.about-details p {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 15px;
}

/* Read More Functionality */
.about-details {
  max-height: 400px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease;
}

.about-details::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(transparent, white);
  transition: opacity 0.3s ease;
}

.about-details.expanded {
  max-height: 5000px;
}

.about-details.expanded::after {
  opacity: 0;
}

.read-more-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.read-more-btn:hover {
  background: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for About section */
@media (max-width: 768px) {
  .about-header {
    flex-direction: column;
    gap: 30px;
  }

  .about-text-main,
  .about-image-main {
    min-width: 100%;
  }

  .about-text-main h3 {
    font-size: 1.6rem;
  }

  .about-text-main p {
    font-size: 1rem;
  }

  .about-details h4 {
    font-size: 1.3rem;
  }

  .about-image-main img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .about-text-main h3 {
    font-size: 1.5rem;
  }

  .read-more-btn {
    width: 100%;
  }
}

/* Promoters Section */
.promoters {
  padding: 80px 0;
  background-color: #f5f5f5;
}

.promoters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.promoter-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.promoter-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.promoter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.promoter-card:hover .promoter-image img {
  transform: scale(1.05);
}

.promoter-info {
  padding: 20px;
}

.promoter-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.promoter-info p {
  color: #666;
  margin-bottom: 15px;
}

.promoter-role {
  display: inline-block;
  background-color: var(--light);
  color: var(--dark);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

/* Products Section */
.products {
  padding: 80px 0;
  background: url(BG.svg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
  height: 350px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 20px;
  /* display: flex; */
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.product-info p {
  color: #666;
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-category {
  display: inline-block;
  background-color: var(--light);
  color: var(--dark);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1rem;
  margin-bottom: 15px;
}

/* Product Sub-section Pages */
.product-sub-page {
  display: none;
  padding: 40px 0;
  background-color: white;
}

.product-sub-page.active {
  display: block;
}

.product-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  margin-bottom: 40px;
}

.product-banner h2 {
  font-size: 3rem;
  text-align: center;
}

.sub-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.sub-product-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sub-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.sub-product-image {
  height: 300px;
  overflow: hidden;
}

.sub-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.sub-product-card:hover .sub-product-image img {
  transform: scale(1.1);
}

.sub-product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.sub-product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.sub-product-info p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.9rem;
  flex-grow: 1;
}

.back-to-products {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.back-to-products:hover {
  color: #c0392b;
}

/* Sub-category Cards */
.sub-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.sub-category-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sub-category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.sub-category-image {
  height: 330px;
  overflow: hidden;
}

.sub-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.sub-category-card:hover .sub-category-image img {
  transform: scale(1.1);
}

.sub-category-info {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sub-category-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}

/* Why Choose Us */
.features {
  padding: 68px 0;
  background: url("Images/About/farmer-outline-curv.png") center bottom/cover
    no-repeat;
  background-size: cover;
  background-position: bottom;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background-color: white;
  transition: transform 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: url("Images/About/MAP.png") center center repeat;
  background-size: cover;
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  font-weight: bold;
  max-width: 750px;
  margin: 0 auto 30px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-col p {
  margin-bottom: 15px;
  color: #bbb;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bbb;
  font-size: 0.9rem;
}

/* Contact Form Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-modal {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .contact-modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 1.5rem;
  color: var(--dark);
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #777;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Success Popup */
.success-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: var(--success);
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  z-index: 1001;
  transform: translateX(150%);
  transition: transform 0.3s ease;
}

.success-popup.show {
  transform: translateX(0);
}

.success-popup i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Page Navigation */
.page {
  display: none;
}

.page.active {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    padding: 15px;
  }

  nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: left 0.3s;
    z-index: 99;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  nav ul li {
    margin: 15px 0;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    height: 500px;
  }

  .slide-text {
    max-width: 100%;
    text-align: center;
    padding: 0 20px;
  }

  .slide-text h2 {
    font-size: 2rem;
  }

  .slide-text p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text {
    padding-right: 0;
    margin-bottom: 30px;
  }

  .contact-modal {
    width: 90%;
    padding: 20px;
  }

  .product-banner h2 {
    font-size: 2rem;
  }

  .features {
    /* background: url('Images/About/About-Us.jpg') center bottom/cover no-repeat; */
    background-size: cover;
  }
}

/* Additional CSS for the new banner */
.features-banner {
  margin-top: 60px;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.8rem;
  color: #555;
  line-height: 1.2;
  font-style: italic;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

/* Download Brochure Button */
.download-brochure-btn {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background-color: var(--primary);
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  z-index: 999;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.download-brochure-btn:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.download-brochure-btn i {
  font-size: 1.1rem;
}

/* Brochure Modal Specific Styles */
.brochure-modal {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .brochure-modal {
  transform: translateY(0);
}

.modal-body {
  margin-top: 20px;
}

.modal-description {
  color: #666;
  margin-bottom: 25px;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.5;
}

.error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  min-height: 18px;
  display: none;
}

.error-message.show {
  display: block;
}

.form-actions {
  margin-top: 25px;
  text-align: center;
}

.download-btn {
  background-color: var(--success);
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.download-btn:hover {
  background-color: #219653;
}

.download-btn i {
  margin-right: 8px;
}

/* Validation styles */
.form-group input:invalid,
.form-group select:invalid {
  border-color: #ffcccc;
}

.form-group input:valid,
.form-group select:valid {
  border-color: #d4edda;
}

/* Success message for download */
.success-message {
  text-align: center;
  padding: 20px;
  display: none;
}

.success-message.show {
  display: block;
}

.success-message i {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: 15px;
}

.success-message h4 {
  color: var(--success);
  margin-bottom: 10px;
}

/* Responsive adjustments for brochure button */
@media (max-width: 768px) {
  .download-brochure-btn {
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    font-size: 0.85rem;
    padding: 10px 16px;
  }

  .download-brochure-btn:hover {
    transform: translateX(-50%) translateY(-3px);
  }

  .brochure-modal {
    width: 95%;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .download-brochure-btn {
    width: 90%;
    justify-content: center;
  }

  .download-brochure-btn span {
    display: none;
  }

  .download-brochure-btn i {
    font-size: 1.2rem;
    margin-right: 0;
  }
}
