/* Base Reset */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

/* Navbar */

.navbar-nav .nav-link {
    position: relative;
    transition: all 0.3s ease-in-out;
  }

  .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease-in-out;
  }

  .navbar-nav .nav-link:hover::after {
    width: 100%;
  }

  .navbar-nav .nav-link:hover {
    transform: translateY(-2px);
    color: #e8f5e9 !important;
  }

  .navbar-brand span {
    transition: color 0.3s ease-in-out;
  }

  .navbar-brand:hover span {
    color: #f8f9fa;
  }

  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }


/*  Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Text Overlay */
.hero-overlay-text {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: white;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Optional: adds contrast */
  border-radius: 8px;
}

/*
.hero-overlay-text {
  position: absolute;
  top: 50%;
  left: 5%; 
  transform: translateY(-50%); 
  color: white;
  max-width: 600px;
}
*/
.hero-overlay-text h1 {
  font-size: 48px;
  color: #2ECC71;
  margin-bottom: 20px;
}

.hero-overlay-text p {
  font-size: 18px;
  color: #eee;
  margin-bottom: 20px;
}

.btn-success {
  background-color: #11bb58;
  border: none;
  color: white;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-success:hover {
  background-color: #17c45f;
}

/* Responsive Fix for Hero */
@media (max-width: 768px) {
  .hero-section {
    height: auto;
    flex-direction: column;
    text-align: center;
  }

  .hero-overlay-text {
    max-width: 100%;
    padding: 30px 15px;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .hero-overlay-text h1 {
    font-size: 32px;
  }
}

/* Features Section */
.features {
  background-color: #fff;
  color: #333;
}

.features h2 {
  color: #0ab350;
}

.features i {
  color: #0ab350;
}


/* Technologies Section */
.img-tech {
  width: 60px;
  height: 60px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease;
}

.img-tech:hover {
  transform: scale(1.1);
}


.tech-icon {
  padding: 10px;
}



/* Testimonials Section */
.testimonials {
  background-color: #f8faf9;
  color: #333;
}

.testimonial-card {
  background: white;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.testimonial-card p {
  font-style: italic;
}


.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* Call To Action Section */
.cta-section {
  background-color: #0ab350;
}

.cta-section h2 {
  font-size: 36px;
}

.cta-section p {
  font-size: 20px;
}

.cta-section .btn {
  padding: 12px 36px;
  font-weight: 700;
  border-radius: 8px;
}



/* About Us */

.choose-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  background-color: #ffffff;
}

.choose-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border-color: #0ab350;
}

.director-photo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  border: 6px solid #ce0d0d;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.bg-shape-green {
  position: absolute;
  top: 0;
  left: 0;
  width: 270px;
  height: 270px;
  background: radial-gradient(ellipse at center, #06b94b, #10da64);
  border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%;
  z-index: 1;
  transform: rotate(-10deg);
}

.mt-100 {
  margin-top: 100px;
}


/* services */

 .hover-effect {
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
  }

  .hover-effect:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #0ab350;
  }

  .hover-effect i {
    transition: color 0.3s ease;
  }

  .hover-effect:hover i {
    color: #0ab350;
  }
  
  .img-tech {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tech-icon:hover .img-tech {
  transform: scale(1.15);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


  .work-step {
    transition: all 0.4s ease-in-out;
  }

  .work-step:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 128, 0, 0.2);
    background-color: #e9fcee;
  }

/* ===============================
   Contact Page Custom Styles
=============================== */

.contact-info i {
  color: #0d8e44;
  margin-right: 10px;
  transition: transform 0.3s ease;
}
.contact-info i:hover {
  transform: scale(1.2);
}
.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.contact-info p a {
  text-decoration: none;
  color: inherit;
}


/* Contact Form */
.contact-form input,
.contact-form textarea {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0d8e44;
  box-shadow: none;
}
.contact-form button {
  background-color: #0d8e44;
  color: white;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}
.contact-form button:hover {
  background-color: #0ab350;
  transform: scale(1.05);
}



/* Footer */
footer {
  font-size: 14px;
}
