      :root {
  --blue: #00000000;
  --green: #00000000;
  --red: #00000000;
  --orange: #00000000;
  --purple: #00000000;
}

body {
  margin: 0;
}

body {
  height: 90vh;
  background: rgb(221, 220, 220);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  align-items: flex-start;
  color: #000;
  margin: 0%;
  padding: 0%;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial;
}


/* NAVBAR */

.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(180deg, #3b5e1c, #1f3a0d);
  position: fixed;
  top: 0px;
  z-index: 900;
}

/* LOGO */

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

.logo img {
  height: 45px;
  width: auto;
}

.logo span {
  font-size: 20px;
  margin-left: 15px;
  color: white;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* NAV LINKS */

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  margin-left: auto;
  align-items: center;
  justify-content: flex-end;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: wheat;
}

/* hamburger */

.menu-toggle {
  display: none;
  font-size: 20px;
  cursor: pointer;
  color: white;
}

.dropdown-menu {
  display: none;
  flex-direction: column;
  background: #00000000;
  color: white;
  padding-left: 10px;
}

.dropdown-menu ul {
  padding-left: 20px;
}

.dropdown-menu li {
  padding: 8px 0;

}

.dropdown.active .dropdown-menu {
  display: flex;
}


.arrow {
  float: right;
}

/* search bar */

.search {
  display: flex;
  align-items: center;
  margin-left: 30px;
}

.search input {
  width: 200px;
  font-family: arial;
  font-size: 18px;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  box-shadow: 0px 0px 5px rgb(0, 0, 0.2);
}

.search i {
  position: relative;
  top: 8px;
  right: 40px;
  transform: translateY(-50%);
  color: #000;
}

/*slider*/

.swiper {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 50px;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 55%;
  height: 350px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  overflow: hidden;
  position: relative;
}

.card-content img {
  height: 550px;
  width: 800px;
  z-index: 2;
}

/* SAME EFFECT */
.swiper-slide:not(.swiper-slide-active) {
  transform: scale(0.8);
  opacity: 0.6;
}

/* 🔥 RESPONSIVE PART */
@media (max-width: 1024px) {
  .swiper-slide {
    width: 400px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .swiper-slide {
    width: 400px;
    height: 250px;
  }

  .card-content img {
    width: 400px;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .swiper {
    width: 100%;
  }

  .swiper-slide {
    width: 250px;
    height: 200px;
  }
}

.varieties {
  display: flex;
  justify-content: center;
}

/* LEFT COLUMN */
.left {
  width: 30%;
  padding: 30px;
  background: rgba(0, 0, 0, 0);
  color: white;
}

.left a {
  display: block;
  margin: 10px 0;
  text-decoration: none;
  color: white;
  font-family: Arial;
}

/* RIGHT COLUMN */
.right {
  width: 65%;
  padding: 20px;
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: weight;
  font-style: normal;
}

.right a {
  display: block;
  margin: 10px 0;
  text-decoration: none;
  font-family: Arial;
}

/* top section */
.top {
  display: flex;
  gap: 20px;
  align-items: center;
}

.image img {
  width: 100%;
  border-radius: 10px;
}

/* cards */
.rice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

/* Tablet */
@media (max-width: 992px) {
  .rice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .rice-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: rgb(221, 220, 220);
  box-shadow: 0px 5px 10px #000000b4;
  border-radius: 20px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
  width: 250px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.card h4 {
  margin: 10px 0;
  color: black;
  font-family: Arial;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.card:hover {
  transform: scale(1.08);
}

.card img:hover {
  transform: scale(1.08);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 10px;
  border: 4px solid grey;
  transition: 0.4s;
}


.cards-link {
  height: 350px;
  width: 80%;
  background-color: #1f3a0d;
  box-shadow: 0px 5px 10px #000000b4;
  border-radius: 20px;
  align-content: baseline;
  padding-left: 30px;
  padding-top: 20px;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* footer */

.footer {
  background: linear-gradient(135deg, #333333, #3f3f3f);
  color: #fff;
  padding: 60px 8%;
  margin-top: 0px;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: start;
}

.footer-section h3 {
  font-size: 22px;
  margin-bottom: 25px;
  position: relative;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 45px;
  height: 3px;
  background: #2f8f2f;
  border-radius: 10px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-section {
  width: 100%;
}

.footer-section p {
  color: #d0d0d0;
  line-height: 1.8;
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 14px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #d0d0d0;
  transition: 0.3s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: #48b648;
  transform: translateX(6px);
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-icons a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 18px;
  text-decoration: none;
  transition: 0.3s ease;
}

.social-icons a:hover {
  background: #2f8f2f;
  transform: translateY(-5px);
}

.footer-section p i {
  color: #48b648;
  margin-right: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
  color: #bdbdbd;
  font-size: 14px;
}

@media (max-width:768px) {

  /* footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section {
    width: 100%;
  }

  /* side icons */
  .contact-icons {
    right: 10px;
    height: auto;
    width: 45px;
  }

  /* map */
  .map iframe {
    height: 250px;
  }

}


/* 🔥 RESPONSIVE */

/* Tablet */
@media (max-width: 992px) {
  .varieties {
    flex-direction: column;
    padding-left: 50px;
  }

  .cards-link{
    width: 250px;
  }

  .top {
    flex-direction: column;
  }

  .rice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .text{
    text-align:start;
    width: 250px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .rice-grid {
    grid-template-columns: 1fr;
  }
}
  

/* ========================= */
/* MOBILE RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

  .navbar {
    padding: 8px 15px;
    width: 100%;
    min-height: 60px;
  }

  /* logo */
  .logo {
    height: 50px;
    width: 100px;
    font-size: 12px;
  }

  /* right side container fix */
  .search {
    display: none;
  }

  /* hide search input */
  .search input {
    display: none;
  }

  /* search icon */
  .search i {
    position: static;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-right: 20px;
    margin-top: 11px;
    ;
  }

  /* toggle button */
.menu-toggle {
    display: inline-block;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-right: 20px;
  }

  body.menu-open {
    padding-top: 70px;
  }

  /* mobile menu */
.nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    width: 70%;
    background: #1f3a0d;
    border-radius: 10px;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    display: none;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }

  .nav-links.active {
    display: flex;
    padding: 30px;
  }

}

/* Base */
.dropdown {
    position: relative;
}

/* Hidden by default */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1f3a0d;
    border-radius: 10px;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
}

/* Show when active */
.dropdown.active .dropdown-menu {
    display: block;
}

/* Items */

.dropdown-menu li {
    padding: 10px 20px;
    list-style: none;
}

.dropdown-menu li a {
    color: white;
    text-decoration: none;
    display: block;
}

.dropdown-menu li:hover {
    background: #1f3a0d;
}