/*google fonts*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/*Boxicons*/
@import url('https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css');

html{
  /*1rem = 16px*/
  font-size: 62.5%;
  /*1 rem = 10px*/
  
}
:root{
  --body-font:'Poppins',sans-serif;
  --big-font:4 rem;
  --h1-font:3.6 rem;
  --h2-font:2.4 rem;
  --h3-font:1.8 rem;
  --h4-font:1.6 rem;
  --small-font:1.4 rem;
  --smaller-font:1.3 rem;
  /*font-weight*/
  --font-regular:400;
  --font-medium:500 ;
  --font-semi-bold:600;
  /*color variables*/
  --primary-color:rgb(19, 119, 19) ;
  --primary-color-hover: rgb(69, 178, 69);
  --text-color:rgba(47, 10, 10, 0.926) ;
  --border-color:rgb(60, 68, 60) ;
  --white-color:white;
  --section-bg: rgb(29, 124, 69);
  /*z-index*/
  --z-overlay:10 ;
  --z-fixed:100 ;
  /*transaction*/
  --tran-0-2:0.2s ;
  --tran-0-3:0.3s ;
  --tran-0-5:0.5s ;
}
/* font sizes for small screen less than 968px*/
@media screen and (max-width: 990px) {
  :root {
    --big-font:3.5rem;
    --h1-font:2.4rem;
    --h2-font:2rem;
    --h3-font:1.8rem;
    --h4-font:1.6rem;
    --normal-font:1.4rem;
    --small-font:1.2rem;
    --smaller-font:1.1rem;
  }
}
/*pre css*/
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}
body,button,input{
  font-family:var(--body-font);
  font-size:var(--normal-font);
  font-weight:var(--font-regular);
  color:var(--text-color);
}
body{
  overflow-x:hidden;
  background-color: var(--white-color);
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
}
img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section{
  padding: 7rem 2rem;
}

.container{
  max-width:1030px;
  width:100%;
  margin:0 auto;
  padding:0 3rem;
}
.flex{
  display: flex;
  align-items: center;
  column-gap:1.6rem;
} 

/*header*/ .header{ position: fixed; top:0; left:0; height: 7rem; width:100%; z-index:var(--z-fixed); box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); background: rgba(210, 216, 210, 0.964);} /*nav */ .nav{ position:relative; height: 100%; align-items:center; justify-content: space-between; font-size: 1.3rem; } .logo-icon{ height: 7rem; width: auto; position: relative; } 
.logo-text { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 600; letter-spacing: 1.5px; color: var(--primary-color); transition: 0.3s; padding-inline-start: 2rem; } 
.logo-text:hover { color: var(--primary-color); transform: scale(1.05); }
.menu-list{ display: flex; gap: 5rem; } .logo-text,.nav-link,.phone-icon,.phone-number{ color:black; } 
/*.phone-icon{ font-size: 2rem; padding-right: 0.1rem; }*/ .nav-link{ text-transform: capitalize; position: relative; } 
.nav-link::before{ content: ''; position: absolute; left: 50%; bottom: -8px; height: 6px; width: 6px; border-radius: 50%; background-color: var(--white-color); transform: translateX(-50%); opacity: 0; }
.active-navlink::before{ opacity: 1; } .navClose-btn,.navOpen-btn,.media-icons{ display: none; }

@media screen and (max-width: 768px) { 

  .nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:0.5rem;
  }

  .logo-content{
    display:flex;
    align-items:center;
    width:auto;
  }

  .logo-icon{
    height:7rem;
    width:auto;
  }

  .logo-text{
    font-size:2rem;
    line-height:1.2;
    white-space:nowrap;
    align-items:center;
  }

  .phone-number{
    display:none;   /*hide number on mobile */
  }

  .phone-icon{
    display: none;
  }

.nav .menu-content { position: fixed; top: 0; right:-100%; max-width: 150px; width: 100%; height: 100%; z-index: var(--z-overlay); padding:15rem 0 5rem 0; box-shadow: 0 0 10px rgba(0,0,0,0.2); background-color: var(--white-color); display: flex; flex-direction: column; align-items: center; justify-content: space-between; transition: 0.3s; } .nav .menu-content.open{ right: 0; } .navClose-btn,.navOpen-btn,.media-icons{ display: block; } .menu-list{ flex-direction: column; gap: 3rem; font-size: var(--h4-font); } .nav-link{ color: var(--text-color); } .nav-link::before{ background-color: var(--text-color); } .navClose-btn{ position:absolute; top: 2rem; right: 2rem; font-size: 2.5rem; cursor: pointer; } .navOpen-btn{ font-size: 2.5rem; cursor: pointer; color: black; } .media-icons { display: flex; column-gap: 2rem; } .media-icons a{ color: var(--text-color-light); font-size: 3rem; } }

/*home section*/  
.home{
  height:100vh;
  width:100%;
}
.swiper-slide{
  position: relative;
  height: 100vh;
  width: 100%;
}
.swiper-slide::before{
  content: '';
  position: absolute;
  top:0;
  left:0;
  height: 100%;
  width:100%;
 background-color: rgba(0,0,0,0.4);
 z-index: var(--z-overlay);
}
.home-img{
  height: 100%;
  width: 100%;
  transition: transform 4s ease;
}
/*swiper navigation buttons*/
.swiper-navBtn{
  color: var(--white-color);
  height: 2rem;
  width: 2rem;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2);
  transition: var(--tran-0-2);
}
.swiper-navBtn:hover{
  background-color: rgba(255,255,255,0.4);
}
.swiper-navBtn::after,.swiper-navBtn::before{
  font-size: 1rem;
}
.swiper-button-next{
  right: 10rem;
}
.swiper-button-prev{
  left:10rem;
}
.swiper-pagination-bullet{
  background-color: var(--white-color);
  opacity: 0.5;
  height: 0.5rem;
  width: 0.5rem;
  margin-bottom: 2rem;
}
.swiper-pagination-bullet-active{
  opacity: 1;
  border: 1px solid var(--white-color);
  background-color: transparent;
}

/*home details*/
.home-details{
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  color: var(--white-color);
  z-index: var(--z-fixed);
  display: grid;
  row-gap: 4rem;
  justify-items:center ;
  width: 100%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease;
  transition-delay: 0.2s;
}
/* Active slide animation */
.swiper-slide-active .home-details {
  opacity: 1;
}
.homeSubtitle{
  padding-top: 2rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-decoration-color: yellowgreen;
  font-style: italic;
 text-shadow: 0 0 4px rgba(173, 249, 66, 0.5);
 font-family: cursive;
  transition: 0.5s;
  transition-delay: 0.4s;
} 
.homeTitle{
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 500;
  text-shadow: 2px 2px 4px rgba(189, 240, 71, 0.5);
  letter-spacing: 1px;
  transition: 0.5s;
  transition-delay: 0.2s;
}
.home-button{
  border: 1px solid var(--white-color);
  outline: none;
  font-size: clamp(1.2rem, 1.5vw, 1.6rem);
  padding: clamp(0.8rem, 1vw, 1.2rem) clamp(1.5rem, 2vw, 2.5rem);
  border-radius: 8px;
  color: var(--white-color);
  cursor: pointer;
  transition: 0.5s;
  transition-delay: 0.6s;
  box-shadow: 4px 4px 4px rgba(12, 12, 12, 0.5);
  background-color: transparent;
}
.home-button:hover{
  background-color: var(--primary-color-hover);
}

.swiper-slide-active .home-img {
  transform: scale(1.1);
}

/* ABOUT SECTION */
.about-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 5rem;
  padding: 0 2rem;
  
}

/* IMAGE */
.about-imageContent {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* FLOATING TEXT BOX */
.aboutImg-textBox {
  position: absolute;
  bottom: 2rem;
  right: 2rem; /* FIXED */
  max-width: 280px;
  width: 100%;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  font-size: 1.2rem;
  line-height: 1.5;
  color: #222;
}

/* HEART ICON */
.heart-icon {
  position: absolute;
  top: -15px;
  left: -15px;
  height: 35px;
  width: 35px;
  background: var(--section-bg);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* TEXT CONTENT */
.about-text {
  max-width: 500px;
}

/* SUBTITLE */
.content-subtitle {
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  text-align: left;
}

/* TITLE */
.content-title {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: left;
}

/* DESCRIPTION */
.content-description {
  font-size: 1.4rem;   /* FIXED */
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
  text-align: justify;
}
/* BUTTON */
.button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 5px;
  transition: 0.3s;
}

.button:hover {
  background: var(--primary-color-hover);
}

/* HOVER EFFECTS */
.content-subtitle:hover,
.content-title:hover,
.content-description:hover {
  color: var(--primary-color);
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
  }

  .content-title,
  .content-subtitle {
    text-align: center;
  }

  .aboutImg-textBox {
    right: 1rem;
    bottom: 1rem;
  }
}

/* MOBILE 
@media (max-width: 600px) {
  .about-content {
    grid-template-columns: 1fr; 
    row-gap: 3rem;
  }
  .about-imageContent {
    height: auto;
  }

  .aboutImg-textBox {
   position: relative;   
    right: 0;             
    bottom: 0;
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
    padding: 1.5rem;
    font-size: 1.3rem;
    color: #222;
  }

  .heart-icon {
    left: 50%;
    top: -1.5rem;
    transform: translateX(-50%);
  }

  .content-title {
    font-size: 2rem;
  }

  .content-description {
    font-size: 1.3rem;
  }
}*/

@media (max-width: 768px) {

  .about-content {
    grid-template-columns: 1fr;
    row-gap: 4rem;
  }

  .about-imageContent {
    position: relative;
    height: auto;
  }

  /* FLOATING GLASS BOX */
  .aboutImg-textBox {
    position: absolute;
    left: 50%;
    bottom: 2rem; /* overlap effect */
    transform: translateX(-50%) translateY(20px);

    width: 90%;
    max-width: 320px;
    height: auto;

    padding: 1.5rem;

    background: rgba(255, 255, 255, 0.2); /* glass */
    backdrop-filter: blur(8px);
    border-radius: 17px;
    border: 1px solid rgba(255,255,255,0.3);

    box-shadow: 0 8px 20px rgba(0,0,0,0.15);

    font-size: 1.3rem;
    text-align: center;

    opacity: 0;
    animation: floatFade 1s ease forwards;
  }

  /* HEART ICON CENTER */
  .heart-icon {
    left: 50%;
    top: -1.5rem;
    transform: translateX(-50%);
  }
}
@keyframes floatFade {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.aboutImg-textBox {
  animation: floatFade 1s ease forwards, floatMove 3s ease-in-out infinite;
}

@keyframes floatMove {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}
/* PRODUCTS SECTION */
.products {
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
  color: #222;
}

/* FILTER BUTTONS */
.filter-buttons {
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.8rem 1.8rem;
  border: 1px solid #ddd;
  margin: 0.5rem;
  cursor: pointer;
  background: #fff;
  border-radius: 30px;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #2e7d32;
  color: #fff;
  border-color: #2e7d32;
}

/* GRID */
.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(198px, 1fr));
  gap: 2.5rem;
  padding: 0 1rem;
}

/* CARD */
.product-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: left;
}

/* HOVER EFFECT */
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* IMAGE */
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

/* TEXT CONTENT */
.product-card h3 {
  font-size: 1.7rem;
  margin: 1.2rem 1.2rem 0.5rem;
  color: #222;
}

.product-card p {
  font-size: 1.3rem;
  color: #666;
  margin: 0 1.2rem 1.5rem;
  line-height: 1.5;
}

/* SMOOTH FADE ANIMATION */
.product-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }

  .product-card img {
    height: 180px;
  }
}

/* REVIEW SECTION */
.review {
  background: #f9f9f9;
  text-align: center;
}

.review-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* CARD */
.review-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
  position: relative;
}

/* HOVER EFFECT */
.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* QUOTE STYLE */
.review-text {
  font-size: 1.4rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-style: italic;
}

/* CLIENT NAME */
.review-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* OPTIONAL QUOTE ICON */
.review-card::before {
  content: "“";
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 4rem;
  color: rgba(0,0,0,0.1);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .review-text {
    font-size: 1.3rem;
  }
}

/* STATS REVIEW SECTION */
.stats {
  background: linear-gradient(
    rgba(19, 119, 19, 0.85),
    rgba(19, 119, 19, 0.85)
  );
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}

/* GRID */
.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* BOX */
.stat-box {
  padding: 2rem;
  transition: 0.3s;
}

.stat-box:hover {
  transform: translateY(-5px);
}

/* NUMBER */
.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
}

/* TEXT */
.stat-text {
  font-size: 1.4rem;
  margin-top: 0.5rem;
  letter-spacing: 1px;
}

/* ===== TABLET ===== */
@media (max-width: 992px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 3rem;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-text {
    font-size: 1.3rem;
  }
}

/*footer*/
/* WHATSAPP BUTTON */
.whatsapp-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: #25D366;
  color: #fff;
  border-radius: 5px;
  font-size: 1.2rem;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  background: #1ebe5d;
}

/* MAP */
.footer-map {
  margin-top: 3rem;
  border-radius: 15px;
  overflow: hidden;
}

.footer-map iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

/* SCROLL TO TOP */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;
}

#scrollTopBtn:hover {
  background: var(--primary-color-hover);
  transform: translateY(-5px);
}

/* FADE-IN ANIMATION */
.footer {
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* FOOTER */
.footer {
  background:black;
  color: var(--white-color);
  padding: 4rem 2rem 2rem;
}

/* GRID */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

/* BOX */
.footer-box h4 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.footer-box p,
.footer-box a {
  font-size: 1.3rem;
  color: #ccc;
  line-height: 1.8;
}

/* LINKS */
.footer-box ul li {
  margin-bottom: 0.8rem;
}

.footer-box a:hover {
  color: #fff;
}

/* ICONS */
.footer-box i {
  margin-right: 0.5rem;
  color: yellowgreen;
}
.whatsapp-btn {
  background: var(--primary-color);
}

.whatsapp-btn:hover {
  background: var(--primary-color-hover);
}
/* SOCIAL */
.footer-socials {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-socials a {
  font-size: 2rem;
  color: var(--white-color);
  transition: 0.3s;
}

.footer-socials a:hover {
  color: var(--primary-color);
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  color: var(--white-color);
}

.footer-bottom p {
  font-size: 1.2rem;
  color: white;
}

/* MOBILE */
@media (max-width: 600px) {
  .footer {
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }
}

/*subscribe page*/
/* POPUP BACKGROUND */
.newsletter-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

/* SHOW POPUP */
.newsletter-popup.show {
  opacity: 1;
  visibility: visible;
}

/* BOX */
.newsletter-box {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  position: relative;

  transform: scale(0.7);
  transition: 0.4s ease;
}

/* ANIMATION */
.newsletter-popup.show .newsletter-box {
  transform: scale(1);
}

/* CLOSE BUTTON */
.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2.5rem;
  cursor: pointer;
}

/* TEXT */
.newsletter-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter-box p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #555;
}

/* FORM */
.newsletter-box iframe {
  width: 100%;
  border-radius: 10px;
  border: none;
}
/* SUBSCRIBE PAGE */
.subscribe-page {
  min-height: 100vh;
  background: linear-gradient(
    rgba(19,119,19,0.9),
    rgba(19,119,19,0.9)
  ),
  url('home slides/home_2.jpeg') center/cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.subscribe-container {
  background: #fff;
  padding: 3rem;
  border-radius: 15px;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.subscribe-container h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.subscribe-container p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: #555;
}

.form-box iframe {
  border-radius: 10px;
}

/* BACK BUTTON */
.back-btn {
  display: inline-block;
  margin-top: 2rem;
  font-size: 1.3rem;
  color: var(--primary-color);
}

.back-btn:hover {
  text-decoration: underline;
}

/*// SHOW AFTER 20 SECONDS
//subscribe form
// POPUP ELEMENTS
const popup = document.getElementById("newsletterPopup");
const closeBtn = document.getElementById("closePopup");
window.addEventListener("load", () => {
  setTimeout(() => {
    popup.classList.add("show");
  }, 20000);
});

// CLOSE BUTTON
closeBtn.addEventListener("click", () => {
  popup.classList.remove("show");
});

// CLOSE ON OUTSIDE CLICK
popup.addEventListener("click", (e) => {
  if (e.target === popup) {
    popup.classList.remove("show");
  }
});
// SHOW ONLY ONCE
window.addEventListener("load", () => {
  if (!localStorage.getItem("popupShown")) {
    setTimeout(() => {
      popup.classList.add("show");
    }, 20000);

    localStorage.setItem("popupShown", "true");
  }
});
*/