/* ===== HEADER STYLING ===== */
.navbar {
  font-weight: 500;
}

.navbar-brand {
  font-size: 1.6rem;
}
.navbar-brand img{
  width: 150px;
}
.navbar-nav .nav-link {
  color: #292929 !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #44C662 !important;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar .btn-main {
  background-color: #44C662;
  color: #fff;
  border: none;
  transition: background-color 0.3s;
}

.navbar .btn-main:hover {
  background-color: #3bb257;
}

/* ===== CAROUSEL STYLING ===== */
.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 10px;
  z-index: 2;
  position: absolute;
}

.carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
}

.carousel-caption p {
  font-size: 1.2rem;
  color: #f0f0f0;
}

.carousel .btn-main {
  background-color: #44C662;
  color: white;
  border: none;
  transition: 0.3s ease;
}

.carousel .btn-main:hover {
  background-color: #3bb257;
}

.carousel .btn-outline-light:hover {
  background-color: #ffffff;
  color: #ce2e2e;
}

.carousel-overlay-wrapper {
  position: relative;
}

.carousel-overlay-wrapper img {
  width: 100%;
  height: 75vh;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

@media (max-width: 768px) {
  .carousel-caption {
    bottom: 20px;
    padding: 20px 10px;
  }

  .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .carousel-caption .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .carousel-overlay-wrapper img {
    height: 60vh;
  }
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 15%;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-size: 80% 80%;
  }
}




/* ===== MODAL STYLING ===== */
.modal-content {
  border-radius: 10px;
  padding: 20px;
}

.modal-title {
  font-weight: bold;
  color: #44C662;
}

.about-us-section{
  background-image: url('../images/img1.jpg'); /* Make sure img1.jpg exists in /images/ */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.about-hero {
  background-image: url('../images/img1.jpg'); /* Make sure img1.jpg exists in /images/ */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.about-hero::before {
  content: '';
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  z-index: 0;
}

.about-hero .container {
  position: relative;
  z-index: 1;
}

.about-hero h1,
.about-hero p {
  color: white;
}


/* ===== SERVICES SECTION ===== */
#services {
  background-color: #f1f1f1;
}

#services h2 {
  color: #44C662;
  font-weight: bold;
}

/* Service Card Styling */
#services{
  background-color: #0e0e0e!important;
}
.service-card {
  background-color: #c2c2c2;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #ddd;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  color: #3bb257;
}

.service-card .icon {
  font-size: 30px;
  color: #ce2e2e;
}

/* ===== BUTTON STYLES ===== */
.btn-main {
  background-color: #44C662;
  color: white;
  border: none;
  transition: 0.3s;
}

.btn-main:hover {
  background-color: #3bb257;
}

.btn-outline-main {
  color: #44C662 !important;
  border: 2px solid #44C662 !important;
  background-color: transparent;
  transition: background-color 0.3s, color 0.3s;
}

.btn-outline-main:hover {
  background-color: #44C662 !important;
  color: white !important;
}

/* ===== OTHER SECTIONS ===== */
.service-block .icon {
  font-size: 40px;
  color: #ce2e2e;
}

.why-box {
  background-color: #ffffff;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.why-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.07);
}

.why-icon {
  font-size: 40px;
  color: #ce2e2e;
}

.why-us h2 {
  color: #44C662;
  font-weight: bold;
}


/* portfolio */
.portfolio-card img {
  border-radius: 5px;
}

.portfolio-card h6 {
  font-weight: bold;
  color: #44C662;
}

.portfolio-card a:hover img {
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

@keyframes fadeIn {
  0% { opacity: 0; transform: scale(0.55); }
  100% { opacity: 1; transform: scale(1); }
}

.card-hover {
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .card-hover:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .card-hover img {
      transition: transform 0.3s ease-in-out;
    }

    .card-hover:hover img {
      transform: scale(1.05);
    }
        .btn-hover-effect {
      transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .btn-hover-effect:hover {
      background-color: #349e4d !important;
      transform: scale(1.05);
    }


.testimonials {
  background-color: #2b2b2b;
}
.testimonials h2{
  color: #fff;
}
.testimonial-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 20px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.testimonial-img {
  width: 80px;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-radius: 50%;
  border: 3px solid #44C662;
  margin: 0 auto;
}
.blockquote-footer {
  font-size: 0.9rem;
  color: #848484;
}

.cta-banner {
  background-image: url('../images/img1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6); /* dark overlay for readability */
  z-index: -1;
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
}



.service-hero {
  background-image: url('../images/img1.jpg'); /* use your actual image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.service-hero::before {
  content: '';
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  z-index: 0;
}

.service-hero .container {
  position: relative;
  z-index: 1;
}

.service-hero h1,
.service-hero p {
  color: white;
}
.service-box img {
  max-height: 200px;
  object-fit: cover;
}
.btn-main {
  background-color: #44C662 !important;
  color: #ffffff !important;
  border: none;
  padding: 10px 24px;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(68, 198, 98, 0.3);
  display: inline-block;
  text-decoration: none;
}

.btn-main:hover {
  background-color: #3bb257 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(68, 198, 98, 0.4);
}

.btn-main:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(68, 198, 98, 0.3);
}

/* Preloader styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background-color: rgba(8, 70, 0, 0.8); /* semi-transparent dark */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.preloader-logo h1 {
  background-color: #ffffff;
  padding: 10px;
  color: #3bb257;
  font-size: 25px;
  font-weight: bolder;
  font-family: sans-serif;
  animation: fadeIn 1.2s ease-in-out;
}



footer {
  padding: 40px 0;
}
