/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Global Styles */
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #b9fbc0;
    background:  #ddd4a1;
  }

  html {
    scroll-behavior: smooth;
  }

  section{
    scroll-margin-top: 80px;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }

  #projects,#contact, #services,#certifications {
    background-color: #ddd4a1; /* or your preferred background */
  }
  #certifications {
    padding: 40px 0;
    text-align: center;
    background-color: #ddd4a1; /* or your preferred background */
  }
  
  #certifications .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* allows wrapping on smaller screens */
    gap: 30px; /* space between logos */
  }
  
  #certifications img {
    max-height: 180px;  /* adjust as needed */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  #certifications img:hover {
    transform: scale(1.05); /* subtle hover effect */
  }
  
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }
  
  /* Header and Logo */
  .navbar {
    background: transparent;
    position: relative;
  width: 100%;
  z-index: 10;
  border-bottom: none;
  }
  
  .logo-container {
    display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
    
  }
  
  .logo-img {
    height: 280px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)); /* 👈 Add this */
    filter: brightness(100%) contrast(100%);
}
  
  /* Navigation bar */
  .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: transparent;
    padding: 1rem 0;
    gap: 1rem;
  }
  
  .nav-links a {
    background-color: #2c7a3f;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
    
  }
  
  .nav-links a:hover {
    background-color: #215c2e;
    transform: translateY(-2px);
  }
  
  /* Hero Section */
  
  
  .hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
  }

  .hero img {
    width: 100%;
    max-width: 500px;
    height: auto;
  }
  
  .hero h2,
  .hero p,
  .hero .btn {
    position: relative;
    z-index: 1;
  }
  
  .hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f913b;
    filter: brightness(124%);
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    background: transparent;
    color: #fff;
  }
  
  .btn {
    background: #2c7a3f;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .btn:hover {
    background: #215c2e;
  }
  
  /* Sections */
  .section {
    padding: 4rem 0;
  }
  
  .section.gray {
    background: #f9f9f9;
  }
  .container2{
    margin: 5%;
  }
  .section h3,.container2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1f3d2c;
    filter:brightness(180%);
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #d4de0c; /* Green underline */
    width: fit-content;
  }
  .section h3:hover {
    border-color: #1f913b;
    border-bottom: 2px solid rgba(44, 122, 63, 0.5);
  }
  
  /* Cards Section */
  .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-evenly;
  }
  
  .card {
    position: relative;
  width: 400px;
  height: 250px;
  border-radius: 12px;
  color: white;
  padding: 20px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
  }

  .card .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Dark tint */
    z-index: 0;
  }
  
  .card > h4,
  .card > p {
    position: relative;
    z-index: 1;
  }
  .card p {
    font-size: 1.05rem;
    line-height: 1.5;
    color: white;
    filter: brightness(100%);
    text-align: center;
    font-size: 19px;
  }
  
  .card h4 {
    margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #2c7a3f;
  filter: brightness(180%);
  text-align: center;
  }

  .card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  
  /* Projects Gallery (Always Apply) */
  .poster-gallery {
    position: relative;
    max-width: 900px;
    height: 500px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .poster-gallery img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .poster-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
  }
  
  .poster-btn:hover {
    background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
  color: #d4de0c;
  border-color: #d4de0c;
  }
  
  .poster-btn.left {
    left: 20px;
  }
  
  .poster-btn.right {
    right: 20px;
  }
  
  /* Contact Form */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: auto;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  .contact-form button {
    background: #2c7a3f;
    color: #fff;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .contact-form button:hover {
    background: #215c2e;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 1.5rem 0;
    background: #f3f3f3;
    font-size: 0.9rem;
    color: #666;
  }
  .hero-wrap {
    background: url('image1.jpg') center center/cover no-repeat;
    position: relative;
  }
  
  .hero-wrap::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0);
  }
  
  .hero,
  .about-hero-overlay {
    display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
  padding: 2rem;
  z-index: 2;
  border-radius: 12px;
  padding: 2rem;
  max-width: 800px;
  margin: auto;
  filter: brightness(124%);
  }
  
  .about-hero-overlay h3{
    font-size: 2.5rem;
    color:  #1f3d2c;
    filter: brightness(180%);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .about-hero-overlay p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    color:  #1f3d2c;
    filter: brightness(180%);
    font-weight: bold;
  }
  .hero-background {
    background: url('image1.jpg') center center/cover no-repeat;
    position: relative;
    width: 100%;
    padding-top: 2rem;
  }
  
  .hero-background::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.40);  /* ← adjust this for more or less dimming */
    z-index: 0;
  }
  
  .contact-bar {
    position: sticky;
    top: 0;
    background: #2c7a3f;
    color: white;
    padding: 0.6rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    font-size: 0.95rem;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  
  .contact-item a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .contact-item a:hover {
    color: #d0ffd0;
  }
  
  .contact-item i {
    font-size: 1rem;
  }
  #projects {
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .poster-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .poster-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(30px);
    transform: scale(1.1);
    z-index: 0;
  }
  
  .poster-wrapper img {
    max-height: 90%;
    z-index: 1;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  /* Arrows */
  .poster-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    transition: background 0.3s ease;
  }
  
  .poster-btn.left {
    left: 20px;
  }
  
  .poster-btn.right {
    right: 20px;
  }
  
  .poster-btn:hover {
    background: rgba(255, 255, 255, 0.9);
  }
  .hamburger {
    position: absolute;
  left: 20px;
  top: 20px;
  background: none;
  border: none;
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  display: none;
  z-index: 1100;
  filter: brightness(200%) contrast(150%);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  }

  .hamburger.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .bar {
    height: 3px;
    width: 100%;
    background-color: white;
    transition: all 0.3s ease;
  }
  .nav-links.show {
    transform: translateX(0) !important;
 }

 #reviews {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.review-container {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.review-container h3 {
  font-size: 2rem;
  color: #1f3d2c;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #d4de0c;
  display: inline-block;
  padding-bottom: 0.5rem;
  filter: brightness(180%);
}

.review-card p {
  font-size: 1.2rem;
  font-style: italic;
  color: #333;
  margin-bottom: 1rem;
}

.review-card {
  font-size: 1.4rem;
  color: #ffc107;
}
.stars{
  font-size: 3rem;
}

.review-card span {
  font-size: 1rem;
  color: #555;
}

.payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.payment-methods img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.payment-methods img:hover {
  transform: scale(1.1);
}
.service-areas {
  background-color: #2c7a3f; 
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  padding: 8px 0;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
}

.service-areas span {
  margin: 0 12px;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  cursor: default;
}
.service-areas span:hover {
  transform: scale(1.2);
  filter: brightness(1.2) drop-shadow(0 3px 6px rgba(0,0,0,0.2));
  z-index: 10;
  position: relative; /* needed so z-index works */
}


  /* Media Queries */
  @media (max-width: 768px) {
    .logo-img {
      height: 200px;
      margin: 0 auto;
    }
  
    .logo-container {
      justify-content: center;
    }

    .hero h1 {
      font-size: 3rem;
    }
  
    .hero h2 {
      font-size: 2rem;
    }
  
    .hero p {
      font-size: 1rem;
    }

  
    .btn {
      font-size: 1rem;
    }
  
    .cards {
      flex-direction: column;
      align-items: center;
      
    }
  
    .poster-gallery {
      height: 300px;
    }
  
    .poster-btn {
      font-size: 2rem;
      padding: 0.3rem 0.7rem;
    }
  
    .contact-form {
      width: 90%;
    }
    .poster {
      background: none !important;
    }
  
    .poster-bg {
      display: none;
    }
  
    .poster-image {
      width: 100%;
      height: auto;
      border-radius: 0;
      box-shadow: none;
    }
  
    .poster-wrapper {
      max-width: 100%;
      padding: 0;
    }
  
    .arrow {
      display: none;
    }
  
    .poster-caption {
      bottom: 10px;
      font-size: 16px;
      padding: 6px 12px;
    }
    .hamburger {
      display:block;
    }
  
    .nav-links {
      flex-direction: column;
      position: fixed;
      top: 0;
      left: 0;
      background-color: #1f3d2c;
      width: 250px;
      height: 100vh;
      padding: 60px 20px;
      z-index: 1000;
      transition: transform 0.3s ease;
      transform: translateX(-100%); /* 👈 ADD THIS LINE */
    }
  
    .nav-links a {
      padding: 10px 0;
      text-align: center;
      color: white;
      text-decoration: none;
      font-size: 18px;
    }
  
    .nav-links.show {
       transform: translateX(0);
    }
    
  }
  