/* =============================
   Modern Agriculture Website CSS
   ============================= */

/* Global Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Poppins", sans-serif;
  color: #333;
  background-color: #f8f9fa;
  line-height: 1.6;
    font-size: 0.9rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.6rem;
  color: #0c6250;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #0c6250;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(12, 98, 80, 0.7), rgba(12, 98, 80, 0.7)),
    url("images/hero-bg.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #f0ead6;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;

}

.btn-primary {
  background-color: #e8c684;
  color: #0c6250;
}

.btn-primary:hover {
  color: #1a1a1a;
}

.btn-secondary {
  color: #1a1a1a;
  background-color: #f0ead6;
}

.btn-secondary:hover {
  color: #0c6250;
}

/* Section Titles */
.section-title {
  text-align: center;
  margin: 4rem 0 1rem;
}

.section-title h2 {
  color: #0c6250;
  font-size: 2rem;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
}

.product-image i {
  font-size: 64px;
  color: #0c6250;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.2rem;
  color: #0c6250;
  margin-bottom: 0.5rem;
}

.product-info p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.product-price {
  font-weight: 700;
  color: #0c6250;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  background-color: #f0ead6;
  text-align: center;
  padding: 4rem 1rem;
}

.contact h2 {
  color: #0c6250;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.contact p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #444;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #0c6250;
  transition: color 0.3s ease;
}

.contact-item i {
  font-size: 1.2rem;
}

.contact-item:hover {
  color: #e8c684;
}

/* Footer */
footer {
  background-color: #0a3d34;
  color: #f8f9fa;
  padding: 4rem 1rem 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-size: 1.1rem;
  color: #e8c684;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #f0ead6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #ddd;
}

.footer-bottom .fa-heart {
  color: #e8c684;
}

/* Catalogue Page */
.catalogue-container {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  margin: 2rem auto;
}

.catalogue-header h2 {
  color: #0c6250;
    font-size: 1.3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.search-bar input {
  width: 70%;
  max-width: 400px;
  margin: auto;
  padding: 0.5rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 30px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-bar input:focus {
  border-color: #0c6250;
}

.chips {
  text-align: center;
  margin: 1.5rem 0 2rem;
}

.chip {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border: 1px solid #0c6250;
    font-size: 0.8rem;

  border-radius: 25px;
  margin: 0.2rem;
  color: #0c6250;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chip.active,
.chip:hover {
  background-color: #0c6250;
  color: #fff;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.catalogue-card {
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 6px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  line-height: .9rem;
}

.catalogue-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.catalogue-image img {
  height: 120px;
}

.catalogue-card h3 {
  color: #0c6250;
    font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.catalogue-card p {
  color: #555;
  margin-bottom: 0.3rem;
    font-size: 0.8rem;

}

.catalogue-card .pack {
  color: #999;
  font-size: 0.9rem;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero {
    padding: 4rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .contact-info {
    flex-direction: column;
    align-items: center;
  }
}
.li-bat {
  padding: 0.1rem;
  font-weight: 600;
  color: #414141;
}
.header-bat {
  font-size: 3rem;
}

.bat-number {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 6rem;
  font-weight: 700;
}
.bat-group {
  padding: 1rem 2rem;
  border-radius: 10px;
  margin: 1rem 0;
  position: relative;
}


.bat-group {
    padding: 1rem 2rem;
    border-radius: 10px;
    margin: 1rem 0;
    position: relative;
  }

  .li-bat {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin: 0.3rem 0;
  }
.ul-bat {
  padding: 0.5em 1em 0.5em 1.6em;
  position: relative;
}

.ul-bat .li-bat {
  list-style-type: none!important;
}

.ul-bat .li-bat:before {
  font-family: FontAwesome;
  content: "\f138";
  position: absolute;
  left : 0.2em;
}

  .bat-number {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 6rem;
    font-weight: 700;
    opacity: 0.8;
  }

  .header-bat {
    font-weight: 700;
    margin-top: 2rem;
  }

  hr {
    border: 1px solid #ccc;
    margin: 2rem 0;
  }

  .modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
}
.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 3px;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  text-align: justify;
  position: relative;
}
.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

.catalogue-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.catalogue-grid {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 15px;
}

.product-details {
  flex: 1;
  position: sticky;
  top: 100px;
  padding: 8px;
  font-size: 0.9rem;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  height: fit-content;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow-y: auto;
  max-height: 80vh;
}

.product-details img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.catalogue-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  text-align: center;
  transition: all 0.3s ease;
}

.catalogue-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
  .catalogue-layout {
    flex-direction: column;
  }

  .product-details {
    position: relative;
    top: 0;
    max-height: none;
  }
}

.product-details {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  background: #fafafa;
}

.product-details img {
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}


.logo {
  display: flex;
  align-items: center;
  height: 60px;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}


.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
  color: #fff;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.hero-buttons a {
  margin: 0 10px;
}

.back-button{
  margin-top: 2rem;
}

.image-zoom-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.product-image {
  cursor: pointer
}

.image-zoom-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  cursor: zoom-out;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 5rem 1.5rem;
  }

  .hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }

  .hero p {
    font-size: 0.95rem;
    line-height: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .slide {
    background-position: center;
    background-size: cover;
  }
}
