     main {
    min-height: calc(100vh - 200px); /* Adjust height dynamically */
    padding-bottom: 50px; /* Add space above the footer */
}

    .carousel-item {
      position: relative;
      height: 400px;
    }

    .carousel-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* Content styling */
    .carousel-caption {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: black; /* Black text */
      text-align: center;
      z-index: 10;
    }

    .carousel-caption h1 {
      font-size: 2.5em;
      margin-bottom: 10px;
    }

    .carousel-caption p {
      font-size: 1.2em;
      margin-bottom: 20px;
    }

    .cta-buttons {
      display: flex;
      justify-content: center;
      gap: 10px; /* Add some space between the buttons */
    }

    .cta-btn {
      background-color: transparent; /* Transparent background */
      color: red; /* Red text */
      border: 2px solid red; /* Red border */
      padding: 10px 20px;
      font-size: 1em;
      cursor: pointer;
      margin: 0 10px;
      white-space: nowrap; /* Prevent button text from wrapping */
    }

    .cta-btn:hover {
      background-color: red; /* Red background on hover */
      color: white; /* White text on hover */
    }

    /* Mobile adjustments */
    @media (max-width: 768px) {
      .carousel-item {
        height: 300px; /* Reduce height for mobile devices */
      }

      .carousel-caption h1 {
        font-size: 1em; /* Smaller heading font on mobile */
      }

      .carousel-caption p {
        font-size: 0.5em; /* Smaller subheading font on mobile */
      }

      .cta-btn {
        font-size: 0.7em; /* Smaller button font on mobile */
        padding: 8px 16px; /* Smaller padding for buttons */
        max-width: 200px; /* Set a max width for the button */
        text-overflow: ellipsis; /* Ensure the text is trimmed if too long */
        border-radius: 20px;
      }

      /* Center and display only "Contact Now" button on mobile */
      .cta-buttons {
        justify-content: center;
      }

      .cta-btn:nth-child(2) {
        display: none; /* Hide the "Book Your Service" button */
      }
      
      /* About Us Section Styling */
    .about-us {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 50px;
      background-color: #f8f8f8; /* Light background color */
      position: relative;
      flex-wrap: wrap;
      flex-direction: column;
    }

    .about-us .heading {
      text-align: center;
      font-size: 3em;
      margin-bottom: 30px;
      color: #333;
    }

    .about-us .content-wrapper {
      display: flex;
      justify-content: space-between;
      align-items: stretch; /* Ensures both boxes stretch to the same height */
      width: 100%;
      gap: 20px;
    }

    .about-us .description,
    .about-us .image-container {
      width: 48%; /* Adjust width for both description and image */
      padding: 20px;
      border-radius: 10px; /* Rounded corners */
      background-color: #fff; /* White background for boxes */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional subtle shadow for depth */
      animation: slideInLeft 1s ease-out forwards;
      opacity: 0; /* Initially hidden */
    }

    .about-us .image-container {
      animation: slideInRight 1s ease-out forwards;
    }

    .about-us .description p {
      text-align: justify; /* Align the text equally from both sides */
    }

    .about-us .image-container img {
      width: 100%;
      height: 100%;
      object-fit: cover; /* Ensure the image covers the container fully */
      border-radius: 10px; /* Rounded corners for the image */
      background-color: #4682b4; /* Set a color for testing */
    }

    /* Animation for sliding left (description) */
    @keyframes slideInLeft {
      0% {
        transform: translateX(-100%);
        opacity: 0;
      }
      100% {
        transform: translateX(0);
        opacity: 1;
      }
    }

    /* Animation for sliding right (image) */
    @keyframes slideInRight {
      0% {
        transform: translateX(100%);
        opacity: 0;
      }
      100% {
        transform: translateX(0);
        opacity: 1;
      }
    }

    /* Mobile Responsiveness */
    @media (max-width: 768px) {
      .about-us .content-wrapper {
        flex-direction: column;
        align-items: center;
      }

      .about-us .description,
      .about-us .image-container {
        width: 100%; /* Full width on mobile */
        margin-bottom: 20px; /* Add some space between the two elements */
      }

      .about-us .heading {
        font-size: 2.5em; /* Smaller heading on mobile */
      }

      .about-us .description {
        font-size: 1em; /* Adjust description font size */
      }
    }
    
    /* Services Overview Section */
    .services-overview {
      text-align: center;
      padding: 50px 20px;
      background-color: #eaf7e8; /* Light eco-friendly green background */
    }

    .services-overview h2 {
      font-size: 3em;
      color: #333;
      margin-bottom: 30px;
      opacity: 0;
      transform: translateY(-20px);
      animation: fadeInUp 1s forwards;
    }

    /* Services Grid */
    .services-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    /* Service Card */
    .service-card {
      background: #fff;
      padding: 20px;
      width: 300px;
      border-radius: 10px;
      box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
      text-align: center;
      transition: 0.3s;
      opacity: 0;
      transform: translateY(30px);
    }

    /* Hover Effect */
    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
    }

    /* Service Icon */
    .service-icon {
      font-size: 3em;
      color: #e63946; /* Light Red Color */
      margin-bottom: 15px;
      opacity: 1;
    }

    /* Service Animation */
    .service-card:nth-child(1) { animation: fadeInUp 1s 0.2s forwards; }
    .service-card:nth-child(2) { animation: fadeInUp 1s 0.4s forwards; }
    .service-card:nth-child(3) { animation: fadeInUp 1s 0.6s forwards; }
    .service-card:nth-child(4) { animation: fadeInUp 1s 0.8s forwards; }
    .service-card:nth-child(5) { animation: fadeInUp 1s 1s forwards; }
    .service-card:nth-child(6) { animation: fadeInUp 1s 1.2s forwards; }

    /* Animation Keyframes */
    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(30px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      .services-grid {
        flex-direction: column;
        align-items: center;
      }

      .services-overview h2 {
        font-size: 2.5em;
      }
    }
    
    /* CTA Section Styling */
.cta-section {
    padding: 50px 20px;
    background-color: #f1f1f1;
    text-align: left;
    animation: fadeInUp 1s ease-in-out; /* Animation for the whole section */
}

.cta-content h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeIn 1s forwards 0.2s;
}

.cta-content p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1.2s forwards 0.5s;
}

/* Form Styling */
.cta-form {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
    opacity: 0;
    animation: fadeIn 1s forwards 0.8s;
}

/* Form Input & Textarea Styling */
.cta-form .form-group {
    margin-bottom: 20px;
}

.cta-form label {
    font-weight: bold;
    color: #333;
}

.cta-form input, .cta-form textarea {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px;
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
}

.cta-btn {
    background-color: #FF6347;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 30px;
    transition: background-color 0.3s ease-in-out;
    margin-top: 20px;
}

.cta-btn:hover {
    background-color: #FF4500;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cta-btn {
        font-size: 1rem; /* Smaller button on mobile */
        padding: 10px 20px;
    }

    .cta-content h2 {
        font-size: 1.8em; /* Smaller heading on mobile */
    }

    .cta-form {
        width: 100%;
        padding: 15px;
    }
}

/* Pest Library Section Styling */
.pest-library {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.section-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.3s;
}

.section-description {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.6s;
}

/* Pest Item Styling */
.pest-items .pest-item {
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1s forwards 0.9s;
}

.pest-item h4 {
  font-size: 1.8rem;
  color: #333;
  margin-top: 15px;
  font-weight: bold;
}

.pest-description p {
  font-size: 1rem;
  color: #777;
  margin-bottom: 20px;
}

.pest-image img {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

/* Hover Effect for Image */
.pest-image img:hover {
  transform: scale(1.05);
}

/* Video Styling */
.pest-video iframe {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  margin-top: 15px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .pest-item {
    margin-bottom: 20px;
  }

  .pest-image img {
    width: 100%;
  }

  .pest-video iframe {
    height: 200px;
  }
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


    /* Why Choose Us Section */
    .why-choose {
      text-align: center;
      padding: 50px 20px;
      background-color: #e8f5e9; /* Soft green background */
      box-sizing: border-box;
      background-color: #f4f7f6; /* Light greenish-gray background */

    }

    .why-choose h2 {
      font-size: 3em;
      color: #333;
      margin-bottom: 30px;
      opacity: 0;
      transform: translateY(-20px);
      animation: fadeInUp 1s forwards;
    }

    /* Cards Container */
    .features-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }

    /* Single Feature Box */
    .feature-card {
      background: #fff;
      padding: 20px;
      width: 300px;
      border-radius: 10px;
      box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
      text-align: center;
      transition: 0.3s;
      opacity: 0;
      transform: translateY(30px);
    }

    /* Hover Effect */
    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
    }

    /* Icon Styling */
    .feature-icon {
      font-size: 3em;
      color: #28a745;
      margin-bottom: 15px;
      opacity: 1; /* Ensures icons are visible */
    }

    /* Card Animation */
    .feature-card:nth-child(1) { animation: fadeInUp 1s 0.2s forwards; }
    .feature-card:nth-child(2) { animation: fadeInUp 1s 0.4s forwards; }
    .feature-card:nth-child(3) { animation: fadeInUp 1s 0.6s forwards; }
    .feature-card:nth-child(4) { animation: fadeInUp 1s 0.8s forwards; }
    .feature-card:nth-child(5) { animation: fadeInUp 1s 1s forwards; }
    .feature-card:nth-child(6) { animation: fadeInUp 1s 1.2s forwards; }

    /* Animation Keyframes */
    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(30px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
      .features-grid {
        flex-direction: column;
        align-items: center;
      }

      .why-choose h2 {
        font-size: 2.5em;
      }
    }
    
    .reviews-container {
            max-width: 800px;
            margin: auto;
            background: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            overflow-y: auto;
            max-height: 400px;
        }
        .review {
            border-bottom: 1px solid #ddd;
            padding: 15px 0;
            position: relative;
        }
        .review:last-child {
            border-bottom: none;
        }
        .stars {
            color: #f39c12;
        }
        .review-title {
            font-weight: bold;
            font-size: 18px;
        }
        .review-text {
            margin: 5px 0;
        }
        .review-footer {
            font-size: 12px;
            color: #777;
        }
        .delete-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: red;
            color: white;
            border: none;
            padding: 5px;
            cursor: pointer;
            border-radius: 5px;
            display: none;
        }
        .write-review-btn {
            display: block;
            width: 100%;
            text-align: center;
            background: #28a745;
            color: white;
            padding: 10px;
            border: none;
            border-radius: 5px;
            margin-top: 15px;
            cursor: pointer;
        }
        .write-review-btn:hover {
            background: #218838;
        }
        .review-form {
            display: none;
            margin-top: 15px;
            padding: 10px;
            background: #eee;
            border-radius: 5px;
        }
        .review-form input, .review-form textarea {
            width: 100%;
            padding: 8px;
            margin: 5px 0;
            border: 1px solid #ccc;
            border-radius: 5px;
        }
        .review-form button {
            background: #28a745;
            color: white;
            padding: 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .review-form button:hover {
            background: #218838;
        }
        
  /* Video Testimonials Section */
.video-testimonials {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 1s forwards 0.3s;
}

.section-description {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1s forwards 0.6s;
}

.video-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
  opacity: 0;
  animation: fadeIn 1s forwards 0.9s;
}

.video-item {
  position: relative;
  width: 300px;
  height: 200px;
  margin: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.video-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  padding: 5px 15px;
  border-radius: 20px;
}

/* Hover Effects */
.video-item:hover {
  transform: translateY(-10px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.video-item:hover .testimonial-name {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Mobile and Desktop Responsiveness */
@media (max-width: 768px) {
  .video-wrapper {
    flex-direction: column;  /* Stacks videos in a single column on mobile */
  }

  .video-item {
    width: 80%;  /* Makes videos occupy more width on mobile */
    margin: 10px auto;  /* Centering the video */
  }
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}