/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Header Styles */
.main-header {
  position: fixed;
  width: 100%;
  top: 0;
  background: #F4F6E9;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container img {
  height: 90px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.nav-list a:hover {
  color: #28a745;
}

.active-nav-item {
  border: 2px solid #28a745;
  padding: 6px 15px;
  color: #28a745 !important;
  border-radius: 50px;
}

.primary-btn {
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  color: #28a745;
  background-color: #FFF;
  text-decoration: none;
  padding: 12px 25px;
}

.primary-btn:hover {
  color: #FFF;
  background-color: #28a745;
}

.get-started-btn {
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  color: #28a745;
  background-color: #FFF;
  text-decoration: none;
  padding: 12px 25px;
}

.get-started-btn:hover {
  color: #FFF;
  background-color: #035d18;
}

.get-estimate {
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  color: #FFF;
  background-color: #28a745;
  text-decoration: none;
  padding: 12px 25px;
}

.get-estimate:hover {
  color: #FFF;
  background-color: #035d18;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin: 0.8rem 0;
}

.mobile-nav a,
.mobile-nav button {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  display: block;
  width: 100%;
  text-align: left;
}

#slider {
  overflow: hidden;
  width: 100%;
}

#slider figure {
  display: flex;
  width: 1000%; /* 10 images x 100% */
  margin: 0;
  padding-top: 100px;
  animation: slider 40s steps(10) infinite;
}

#slider figure img {
  width: 10%;
  height: auto;
  display: block;
}

@keyframes slider {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}


/* FEATURES SECTION */
.features-section {
  padding: 6rem 1rem 3rem;
  background: #f9f9f9;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: end;
}

.feature-box {
  position: relative;
  background: white;
  padding: 3rem 1rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-img {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  padding: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.feature-box h3 {
  margin-top: 3rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
}

/* CTA BANNER SECTION */
.full-width-banner {
  min-height: 350px;
  width: 100%;
  padding-top: 40%;
  background: url('/public/images/banner.jpg') center/cover no-repeat;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  color: white;
}

.full-width-banner h2 {
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 900;
}

.full-width-banner p {
  font-size: 16px;
  margin-bottom: 25px;
  max-width: 600px;
  margin-inline: auto;
  font-weight: normal;
}

.discover-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #28a745;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.discover-btn:hover {
  background: #218838;
}

/* WHY CHOOSE US SECTION */
.container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 50px;
  min-height: 550px;
}

.content-section {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  color: green;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 600;
}

.section-title {
  font-size: 36px;
  color: #333;
  font-weight: 900;
  margin-bottom: 15px;
}

.section-description {
  font-size: 14px;
  color: #7a7a7a;
  line-height: 1.6;
  margin-bottom: 30px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature {
  display: flex;
  align-items: flex-start;
  border-radius: 8px;
  padding: 20px;
  flex-direction: column;
  gap: 15px;
}

.icon {
  font-size: 24px;
  background-color: #eafdf1;
  color: green;
  border-radius: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 55px;
  height: 55px;
}

.feature .text h3 {
  font-size: 18px;
  margin: 0 0 5px 0;
  font-weight: 900;
  text-align: left;
}

.feature .text p {
  font-size: 15px;
  color: #555;
  margin: 0;
  font-weight: normal;
  line-height: 20px;
  margin-top: 10px;
  text-align: left;
}

.image-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TESTIMONIALS SECTION */
.testimonial-section {
  position: relative;
  background-image: url('/public/images/testimonial-background.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  margin-top: 100px;
  text-align: center;
  z-index: 1;
}

.testimonial-background-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 150px 20px;
}

.testimonial-overlay {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-heading h4 {
  font-size: 13px;
  letter-spacing: 2px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 20px;
}

.testimonial-heading h2 {
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 900;
  color: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: white;
  border-radius: 12px;
  padding: 35px;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  font-size: 18px;
  line-height: 24px;
  font-style: italic;
  font-weight: normal;
  margin-bottom: 20px;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-profile img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-profile h4 {
  margin: 0;
  font-size: 16px;
  text-align: start;
  font-weight: 900;
}

.testimonial-profile span {
  font-size: 14px;
  text-align: start;
  font-weight: 500;
  color: #777;
}

/* Services Overview Section */
.services-overview {
  padding: 4rem 1rem;
  background: #f9f9f9;
}

.services-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-item {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-item p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.arrow-icon {
  color: #28a745;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.service-item:hover .arrow-icon {
  transform: translateX(10px);
}

/* Services Grid Section */
.services-grid-section {
  padding: 4rem 1rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: #666;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.card-header {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-header img {
  width: 40px;
  height: 40px;
}

.card-header h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-subtitle {
  color: #666;
  font-size: 0.9rem;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-description {
  padding: 1.5rem;
  color: #666;
  line-height: 1.6;
}

.link-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  color: #28a745;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.link-btn:hover {
  color: #1e7e34;
}

/* Stats Section */
.stats-section {
  padding: 4rem 1rem;
  background: #f9f9f9;
}

.impact-image-container {
  max-width: 1200px;
  margin: 0 auto 3rem;
  border-radius: 1rem;
  overflow: hidden;
}

.impact-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: #28a745;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: #666;
  font-size: 1.1rem;
}

/* Final CTA Section */
.final-cta {
  background: #28a745;
  padding: 4rem 1rem;
  text-align: center;
  color: white;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Footer Section */
.main-footer {
  background: #FAF6ED;
  color: white;
  padding: 4rem 1rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-brand img {
  height: 200px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #999;
  line-height: 1.6;
}

.footer-links h3,
.footer-contact h3 {
  color: #999;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.8rem;
  cursor: pointer;
}

.footer-links li:hover {
  color: #28a745;
}

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

.footer-links a:hover {
  color: white;
}

.contact-form input[type="email"] {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.contact-form button {
  background: #28a745;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #1e7e34;
}

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

/* Animations */
.animate {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-nav.show {
    display: block;
  }

  .about-content {
    flex-direction: row;
  }

  .content-wrapper {
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}