/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  a {
    text-decoration: none;
    color: #3a7d44;
    transition: color 0.3s;
  }
  
  a:hover {
    color: #2c5e35;
  }
  
  ul {
    list-style: none;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #3a7d44;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3a7d44;
  }
  
  /* Header Styles */
  header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }
  
  .logo h1 {
    color: #3a7d44;
    font-size: 2.5rem;
    font-weight: 700;
  }
  
  nav ul {
    display: flex;
  }
  
  nav ul li {
    margin-left: 25px;
  }
  
  nav ul li a {
    color: #555;
    font-weight: 500;
    padding: 5px;
    position: relative;
  }
  
  nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3a7d44;
    transition: width 0.3s;
  }
  
  nav ul li a:hover::after,
  nav ul li a.active::after {
    width: 100%;
  }
  
  nav ul li a.active {
    color: #3a7d44;
  }
  
  /* Carousel Styles */
  .carousel-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin-bottom: 50px;
  }
  
  .carousel {
    height: 100%;
    position: relative;
  }
  
  .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
  }
  
  .carousel-item.active {
    opacity: 1;
  }
  
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
  }
  
  .carousel-caption {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    color: white;
  }
  
  .carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  }
  
  .carousel-caption p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  }
  
  .carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.7);
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
  }
  
  .carousel-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
  }
  
  .carousel-button.prev {
    left: 20px;
  }
  
  .carousel-button.next {
    right: 20px;
  }
  
  .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }
  
  .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .indicator.active {
    background-color: white;
  }
  
  /* Services Section */
  .services {
    padding: 10px 0;
    background-color: white;
  }
  
  .service-items {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .service-item {
    flex: 1;
    min-width: 200px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .service-icon {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .service-icon img {
    width: 80px;
    height: 80px;
  }
  
  .service-item h3 {
    text-align: center;
    color: #3a7d44;
    margin-bottom: 15px;
    font-size: 1.4rem;
  }
  
  .service-item ul {
    padding-left: 20px;
  }
  
  .service-item ul li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    list-style-type: none;
  }
  
  .service-item ul li::before {
    content: '•';
    color: #3a7d44;
    position: absolute;
    left: 0;
  }
  
  /* Contact Section */
  .contact {
    padding: 70px 0;
    background-color: #f0f7f1;
  }
  
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .contact-info {
    flex: 1;
    min-width: 300px;
  }
  
  .contact-info h3 {
    color: #3a7d44;
    margin-bottom: 20px;
    font-size: 1.5rem;
  }
  
  .info-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
    font-weight: 900;
  }
  
  .info-item i {
    color: #3a7d44;
    margin-right: 15px;
    margin-top: 5px;
  }
  
  .contact-form {
    flex: 2;
    min-width: 300px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: #3a7d44;
  }
  
  .btn {
    background-color: #3a7d44;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s;
  }
  
  .btn:hover {
    background-color: #2c5e35;
  }
  
  /* Footer */
  footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
  }
  
  /* Responsive Styles */
  @media (max-width: 768px) {
    header .container {
      flex-direction: column;
    }
    
    nav ul {
      margin-top: 15px;
    }
    
    nav ul li {
      margin: 0 10px;
    }
    
    .carousel-container {
      height: 350px;
    }
    
    .carousel-caption h2 {
      font-size: 1.8rem;
    }
    
    .carousel-caption p {
      font-size: 1rem;
    }
    
    /* .service-items {
      flex-direction: column;
    } */
    
    .service-item {
      margin-bottom: 0px;
    }

    .service-item {
      flex: 1;
      min-width: 80px;
      background-color: #f8f9fa;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      padding: 4px;
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .service-item h3 {
      text-align: center;
      color: #3a7d44;
      margin-bottom: 15px;
      font-size: 0.8rem;
    }

  }

  /* Before & After Section */
.before-after-section {
  padding: 70px 0;
  background-color: white;
}

.before-after-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.comparison-item {
  width: 100%;
  max-width: 800px;
  margin-bottom: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-wrapper {
  position: relative;
  width: 100%;
  height: 450px;
}

.comparison-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
}

.slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  z-index: 3;
  cursor: ew-resize;
}

.slider-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a7d44;
  cursor: ew-resize;
}

.image-label {
  position: absolute;
  top: 20px;
  color: white;
  background-color: rgba(58, 125, 68, 0.8);
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: bold;
  z-index: 4;
}

.before-label {
  right: 20px;
}

.after-label {
  left: 20px;
}

.comparison-text {
  padding: 20px;
  background: #f9f9f9;
}

.comparison-text h3 {
  color: #3a7d44;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .comparison-wrapper {
    height: 300px;
  }
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 150px;
  width: auto;
}

/* Responsive adjustment for logo */
@media (max-width: 768px) {
  .logo {
    flex-direction: column;
    gap: 10px;
  }
  
  .logo img {
    height: 100px;
  }
  
  .logo h1 {
    font-size: 1.5rem;
  }
}
.italic {
  font-style: italic;
  /* font-weight: 700; */
}

.transformation-item {
  margin-bottom: 40px;
}

.transformation-images {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.image-wrapper {
  position: relative;
  flex: 1;
  height: 250px; /* Fixed height */
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Maintains aspect ratio while filling container */
  display: block;
}

.image-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}

.before .image-label {
  background-color: rgba(220, 53, 69, 0.8);
}

.after .image-label {
  background-color: rgba(40, 167, 69, 0.8);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .transformation-images {
    flex-direction: column;
  }
  
  .image-wrapper {
    margin-bottom: 15px;
  }
}