:root {
  --chaipatti-base: #77dd77;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}
/* custom css : Start */
/* .custom-cursor__cursor {
  width: 25px;
  height: 25px;
  border-radius: 100%;
  border: 1px solid var(--chaipatti-base);
  -webkit-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
  position: fixed;
  pointer-events: none;
  left: 0px;
  top: 0px;
  -webkit-transform: translate(calc(-1 * (-50% + 5px)), -50%);
  transform: translate(calc(-1 * (-50% + 5px)), -50%);
  z-index: 999991;
} */
.phone-btn {
  position: fixed;
  bottom: 40px;
  left: 30px;
  z-index: 100;
  border-radius: 50%;
  padding: 20px;
  background-color: #007ee5;
  color: white;
  border: 2px solid #007ee5;
  height: 80px;
  width: 80px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transform: rotateY(180deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  font-size: 1.8rem;
}
.phone-btn:hover {
  transform: translateY(-3px) rotateY(180deg) scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.whatsapp-btn {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 100;
  border-radius: 50%;
  padding: 20px;
  background-color: #25d366;
  color: white;
  border: 2px solid #25d366;
  height: 80px;
  width: 80px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  font-size: 2rem;
}
.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
/* .custom-cursor__cursor-two {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: var(--chaipatti-base);
  opacity: 0.3;
  position: fixed;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  -webkit-transition: width 0.3s, height 0.3s, opacity 0.3s;
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  z-index: 999991;
} */
.custom-cursor__hover {
  background-color: var(--chaipatti-base);
  opacity: 0.4;
}
.custom-cursor__innerhover {
  width: 25px;
  height: 25px;
  opacity: 0.4;
}

/* custom css : End */
/* Header */
.header {
  color: var(--chaipatti-base);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}
.header-scrolled {
  background-color: rgba(
    255,
    255,
    255,
    1
  ); /* add a subtle white background */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2); /* increase shadow intensity */
  backdrop-filter: blur(20px); /* increase blur effect */
}
.nav-container {
  max-width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5rem;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

.logo img {
  width: 120px;
  height: 60px;
  border-radius: 12px;
}

.logo i {
  color: var(--chaipatti-base);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--chaipatti-base);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 700;
}

.nav-menu a:hover {
  color: #228b22;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)),url("images/teafield.jpg");
  backdrop-filter: blur(10px);
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}
.body {
  z-index: 1000;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #00ff33, #4eff83);
  color: #2c5530;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* About Section */
.about {
  padding: 5rem 0;
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #2c5530;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2c5530;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-weight: 500;
}

/* Products Section */
.products {
  padding: 5rem 0;
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

/* .product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
} */

.product-image {
  height: 200px;
  /* background: linear-gradient(65deg, #fafafa, #d8ffdd); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}
.product-pic {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 2s ease;
  transform-origin: center;
}

.product-image:hover {
  .product-pic{
   transform: scale(1.2);
  transition-delay: 0.2s; 
  }
}
.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.3rem;
  font-weight: bold;
  border-bottom: 1px solid black;
  width: fit-content;
  text-transform: capitalize;
}
.product-subtitle{
  font-size: 1em;
  text-transform: capitalize;
  display: flex;
  justify-content: space-between;
}
.product-subtitle div span{
  color:initial
}
.product-quantity{
  font-size: 1em;
  font-weight: bold;
  text-transform: capitalize;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid;
  width: fit-content;
}
.product-title-price{
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.offer-price{
  font-weight: bold;
 color: rgb(29, 193, 29);;
}
.product-mrp{
  font-weight: initial;
  text-decoration: line-through;
  color: red;
}
.product-price{
  text-decoration: line-through;
}
.price-container{
  display: flex;
  flex-direction: column;
}
.product-description {
  color: #666;
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  transition: left 0.3s ease;
}

.service-card:hover::before {
  left: 0;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  color: #2c5530;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2c5530;
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery {
  padding: 5rem 0;
  background: #f8f9fa;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-image {
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-image:hover img {
  transform: scale(1.1);
}

/* Reviews Section */
.reviews {
  padding: 5rem 0;
  background: #2c5530;
  color: white;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.address {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.review-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.google-review-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.reviewer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviewer-info {
  flex: 1;
}

.reviewer-name {
  font-weight: bold;
  margin: 0;
  font-size: 1rem;
}

.review-date {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.review-stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 2px;
}

.star-icon {
  width: 16px;
  height: 16px;
  fill: #ffd700;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.review-author {
  font-weight: bold;
  opacity: 0.8;
}

.google-logo {
  opacity: 0.7;
}

.google-icon {
  width: 20px;
  height: 20px;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--chaipatti-base);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Improvements */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    position: relative;
  }

  .hamburger {
    display: flex;
  }

  @media (max-width: 768px) {
    .nav-menu {
      position: fixed;
      top: 80px;
      background-color: rgba(
        102,
        100,
        100,
        0.8
      ); /* Semi-transparent background */
      backdrop-filter: blur(20px); /* Extreme blur effect */
      right: -100%; /* Positioned off-screen initially */
      display: flex;
      flex-direction: column;
      border-radius: 15px; /* Slightly larger border-radius for a softer look */
      width: 60%; /* Increase width for better accessibility */
      max-width: 300px; /* Limit the maximum width */
      height: calc(100vh - 80px);
      padding: 1rem; /* Adjust padding for consistency */
      transition: right 0.3s ease, background 0.3s ease; /* Add transition for background change */
      box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow for emphasis */
      z-index: 1000;
    }

    .nav-menu.active {
      right: 0; /* Slides into view */
    }

    .nav-menu li {
      margin: 0;
      text-align: center;
      display: flex;
      justify-content: space-evenly;
      align-items: center;
    }

    .nav-menu a {
      font-size: 1.2rem;
      display: block;
      transition: all 0.3s ease;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
  }

  .nav-menu a:hover {
    background: rgba(119, 221, 119, 0.1);
    transform: translateX(10px);
  }

  /* Prevent scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Hero text adjustments for mobile */
  .hero h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

/* Additional Mobile Optimizations */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .phone-btn,
  .whatsapp-btn {
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: 75px;
    height: 75px;
    padding: 15px;
    font-size: 1.7rem;
  }

  .whatsapp-btn {
    right: 20px;
    left: auto;
    font-size: 2rem;
  }
}
.social-container{
  width: fit-content;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0%;
  top: 40%;
  right: 0;
  gap: 30px;
  background:transparent;
}
.facebook-btn {
  color: #3b5998;
  background-color: white;
  padding: 15px 17px;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-radius: 0px 10px 10px 0px;
}
.instagram-btn {
  color: #e4405f; /* Instagram brand color */
  background-color: white;
  padding: 15px;
  font-size: 20px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
  border-radius: 0px 10px 10px 0px;
  transition: all 0.2s ease;
}
.social-icons a:hover{
  transform: translateY(-3px) scale(1.2);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  width: 60px;
}
/* Improved scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Loading animation for better UX */
.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Better focus states for accessibility */
.nav-menu a:focus,
.cta-button:focus,
.hamburger:focus {
  outline: 2px solid var(--chaipatti-base);
  outline-offset: 2px;
}

/* Improved product cards for mobile */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-card {
    margin: 0 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    margin: 0 1rem;
  }
}

/* Location Section */
.location {
  padding: 5rem 0;
  background: white;
}
.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 10px;
}

.location-info {
  padding: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  font-size: 1.1rem;
  flex-direction: column;
  font-weight: 700;
  color: #2c5530;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #2c5530, #4a7c59);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.map-container {
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 0 1rem;
}

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

.footer-section h3 {
  color: #ffd700;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-section a:hover {
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #333;
  color: #999;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .location-content {
    grid-template-columns: 1fr;
  }

  .products-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll animations */
.fade-in {
  opacity: 1;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.falling-leaves {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.leaf {
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, #228b22, #32cd32);
  border-radius: 0 100% 0 100%;
  animation: fall linear infinite;
}

.leaf:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
  animation-delay: 0s;
}
.leaf:nth-child(2) {
  left: 20%;
  animation-duration: 10s;
  animation-delay: 1s;
}
.leaf:nth-child(3) {
  left: 30%;
  animation-duration: 12s;
  animation-delay: 2s;
}
.leaf:nth-child(4) {
  left: 40%;
  animation-duration: 9s;
  animation-delay: 3s;
}
.leaf:nth-child(5) {
  left: 50%;
  animation-duration: 11s;
  animation-delay: 4s;
}
.leaf:nth-child(6) {
  left: 60%;
  animation-duration: 8s;
  animation-delay: 5s;
}
.leaf:nth-child(7) {
  left: 70%;
  animation-duration: 10s;
  animation-delay: 6s;
}
.leaf:nth-child(8) {
  left: 80%;
  animation-duration: 9s;
  animation-delay: 7s;
}
.leaf:nth-child(9) {
  left: 90%;
  animation-duration: 11s;
  animation-delay: 8s;
}

@keyframes fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}
