/* ---------------- GLOBAL ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #fff;
}

:root {
  --green: #2e7d32;
  --yellow: #fdd835;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

h2 {
  font-size: 2rem;
  color: #388E3C;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #FFC107;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ---------------- NAVBAR ---------------- */
header {
  background: var(--green);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 999;

}


nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
}

nav ul li a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: 0.3s;
}

.login-btn {
  background: var(--yellow);
  color: var(--green);
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.login-btn:hover {
  background: #ffeb3b;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: var(--white);
  margin: 4px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 20px;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 125, 50, 0.55);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  padding: 20px;
  color: var(--white);
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: yellow;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn {
  background: var(--yellow);
  color: var(--green);
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
  display: inline-block;
}

.btn:hover {
  background: #ffeb3b;
}

/* ---------------- LOGIN POPUP ----------------*/
.login-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.login-box {
  background: var(--white);
  padding: 30px 25px;
  border-radius: 12px;
  width: 320px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.login-box h2 {
  margin-bottom: 15px;
  color: var(--green);
}

.login-box input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-box button {
  width: 100%;
  padding: 10px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

.login-box button:hover {
  background: #1b5e20;
}

.close-btn {
  float: right;
  cursor: pointer;
  font-size: 18px;
  color: #333;
}

.password-wrapper {
  position: relative;
}

.password-wrapper i {
  position: absolute;
  top: 35%;
  right: 10px;
  cursor: pointer;
  font-size: 14px;
}


/* ---------------- ABOUT US ---------------- */
.about {
  background: #f9f9f9;
  padding: 80px 20px;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #388E3C;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-btn {
  background: #FFC107;
  color: #388E3C;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.about-btn:hover {
  background: #fff;
  color: #388E3C;
  border: 2px solid #388E3C;
}

.hidden-left,
.hidden-right {
  opacity: 0;
  transition: all 1s ease-out;
}

.hidden-left {
  transform: translateX(-100px);
}

.hidden-right {
  transform: translateX(100px);
}

.show {
  opacity: 1;
  transform: translateX(0);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  color: #388E3C;
  margin-bottom: 15px;
}

.modal-content p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #FFC107;
  border: none;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  transition: 0.3s ease;
}

.modal-close-btn:hover {
  background: #388E3C;
}

/* ---------------- SERVICES ---------------- */
.services {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #388E3C;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.service-card h3 {
  color: #388E3C;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* ---------------- OFFERS ---------------- */
.offers {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.offers-container {
  max-width: 1200px;
  margin: 0 auto;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.offer-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- CONTACT ---------------- */
#contact {
  padding: 80px 20px;
  text-align: center;
  background: #fff;
}

/* ---------------- WHY CHOOSE US ---------------- */
.why-choose-us {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background: #fff;
}

.why-choose-us .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
}

.choose-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.choose-text {
  flex: 1;
}

.choose-text h2 {
  font-size: 2.5rem;
  color: #388E3C;
  margin-bottom: 20px;
}

.choose-text p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

.choose-text ul {
  list-style: none;
  padding: 0;
}

.choose-text ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #222;
}

/* Slide-in Animation Base */
.hidden-left,
.hidden-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s ease-out;
}

.hidden-left {
  transform: translateX(-100px);
}

.show {
  opacity: 1;
  transform: translateX(0);
}

.slider-section {
  width: 95%;
  max-width: 1200px;
  text-align: center;

  margin: auto;

}

.slider-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  flex: 0 0 33.333%;
  /* desktop 3 per view */
  box-sizing: border-box;
  padding: 1rem;
}

.testimonial-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid #eee;
}

.quote {
  font-size: 0.95rem;
  font-style: italic;
  margin: 0.8rem 0;
  color: #444;
  line-height: 1.5;
}

.stars {
  color: #f5c518;
  font-size: 1rem;
  margin: 0.5rem 0;
}

.author {
  font-weight: bold;
  font-size: 1rem;
  margin-top: 0.5rem;
  color: #222;
}

.designation {
  font-size: 0.85rem;
  color: #777;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 10;
}

.arrow.left {
  left: 15px;
}

.arrow.right {
  right: 15px;
}

/* Counter */
.counter {
  margin-top: 1rem;
  font-size: 1rem;
  color: #333;
  font-weight: bold;
}

/* logo */
.clients {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.clients .section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #388E3C;
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-track {
  display: flex;
  gap: 40px;
  animation: scroll 20s linear infinite;
}

.logo-track img {
  width: 180px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.logo-track img:hover {
  filter: grayscale(0%);
}

/* Animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* FAQ Section */
.faq {
  padding: 60px 20px;
  background: #f9f9f9;
}

.faq .section-title {
  font-size: 2rem;
  text-align: center;
  color: #388E3C;
  margin-bottom: 30px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
}

.faq-answer p {
  margin: 15px 0;
  color: #555;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 15px 20px;
}

.faq-item .faq-arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
  transform: rotate(45deg);
  color: #388E3C;
}


/* Gallery */


.gallery {
  padding: 20px;
  text-align: center;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 10px;
}

.image-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.image-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.image-item:hover img {
  transform: scale(1.1);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  text-align: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  margin-top: 3%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ccc;
}

.gallery-image {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* End */

/* Footer Section */
.footer {
  background: #388E3C;
  color: #fff;
  padding: 60px 20px 20px;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #FFC107;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #FFC107;
}

.footer-col p,
.footer-col ul li {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #eee;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li a {
  text-decoration: none;
  color: #eee;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #FFC107;
}

/* Social Links */
.social-links a {
  display: inline-block;
  margin-right: 12px;
  font-size: 1.2rem;
  color: #fff;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #FFC107;
  transform: scale(1.2);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #ddd;
}

/* Move to Top Button */
#moveTopBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #FFC107;
  /* Yellow */
  color: #388E3C;
  /* Green */
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#moveTopBtn:hover {
  background-color: #388E3C;
  /* Green */
  color: #fff;
  transform: scale(1.1);
}


/* ---------------- MEDIA ---------------- */
@media(max-width:768px) {
  nav {
    position: absolute;
    top: 75px;
    left: 0;
    background: var(--green);
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 15px 0;
  }

  nav.show {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hamburger {
    display: flex;
  }

  .logo img {
    width: auto;
    height: 40px;
  }

  .login-btn {
    margin-top: 15px;
  }

  .hero {
    padding: 40px 15px;
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hidden-left,
  .hidden-right {
    transform: translateX(0);
  }

  .why-choose-us .container {
    flex-direction: column;
    text-align: center;
  }

  .choose-text h2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .testimonial {
    flex: 0 0 100%;
  }

  .footer-container {

    text-align: left;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
  }

  .social-links a {
    margin: 0 8px;
  }

}