body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar CSS */

/* Top Banner */
.top-banner {
  background-color: #071a2b;
  color: #ffffff;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  transition: top 0.4s ease;
  z-index: 1031;
}

.top-banner .contact-info i,
.top-banner .social-icons a {
  color: #ffffff;
}

.top-banner .social-icons a {
  margin-left: 0.8rem;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.top-banner .social-icons a:hover {
  color: #00bcd4;
}

/* Slide top banner up on scroll */
.top-banner-hidden {
  top: -50px; /* Adjust if banner height changes */
}

/* Navbar */
.main-navbar {
  background-color: #0c2e4e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 40px; /* Height of the top banner */
  left: 0;
  transition: top 0.4s ease;
  z-index: 1030;
}

.main-navbar .navbar-brand img {
  height: 48px;
}

.main-navbar .nav-link {
  color: #ffffff !important;
  position: relative;
  padding: 0.75rem 1rem;
  transition: color 0.3s ease;
  font-weight: 500;
}

.main-navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #fd585b;
  transition: all 0.3s ease;
}

.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-item + .nav-item {
  margin-left: 12px;
}

/* Navbar moves up to top on scroll */
.sticky-navbar {
  top: 0;
}

/* Slider CSS */

/* Carousel height */
#mainCarousel {
  max-height: 500px;
  overflow: hidden;
  margin-top: 110px;
}

/* Make carousel images cover */
#mainCarousel .carousel-item img {
  object-fit: cover;
  height: 500px;
  width: 100%;
}

#mainCarousel .carousel-caption {
  position: absolute;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent; /* no background */
  padding: 1rem;
  border-radius: 0;
  text-align: center;
  width: 100%;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

#mainCarousel .carousel-caption h5 {
  font-weight: 700;
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

#mainCarousel .carousel-caption p {
  font-size: 1.25rem;
}

.carousel-caption .btn {
  font-size: 1.1rem;
  padding: 12px 30px;
  border-radius: 50px;
  background-color: #fd585b;
  border: none;
  transition: background-color 0.3s ease;
}

.carousel-caption .btn:hover {
  background-color: #e04c4f;
}

/* Counter CSS */
/* .counter-section {
  background-color: #f4f6f8;
  padding: 40px 0;
}
 
.counter-box {
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  padding: 25px 15px;
  color: #1e293b;  
  background-color: #e0e7ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 180px;
}

.counter-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.counter-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.counter {
  font-size: 2rem;
  font-weight: bold;
  margin: 0;
}

.counter-desc {
  font-size: 1rem;
  margin-top: 8px;
}
 
.counter::after {
  content: "+";
  margin-left: 4px;
  font-weight: bold;
  color: inherit;
} */

/* About Us */
#about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Why We Choose */

#why-choose-us .card {
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: #fff;
}

#why-choose-us .card:hover {
  background-color: #f0f8ff; /* Light blue background */
  color: #000; /* Optional: Darker text color on hover */
}

#why-choose-us .card:hover .text-muted {
  color: #333 !important; /* Override muted text on hover */
}

/* Footer  */
.main-footer {
  background-color: #0c2e4e;
}

#footer a.text-light {
  position: relative;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, margin-left 0.3s ease;
  margin-left: 0; /* initial margin */
}

#footer a.text-light:hover {
  color: #fd585b !important;
  margin-left: 5px; /* Add left margin on hover */
}
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 24px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  z-index: 1000111;
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
  text-decoration: none;
  color: white;
}

/* -------------------------------------------------------------- */

/* About Us Page  */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    url("/images/about-us.jpg") center/cover no-repeat;
  color: #fff;
  padding: 100px 0;
  margin-top: 110px;
}

.purpose-card {
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: #fff;
}

.purpose-card:hover {
  background-color: #f0f8ff; /* Light blue background */
  color: #000; /* Optional: Darker text color on hover */
}

.purpose-card:hover .text-muted {
  color: #333 !important; /* Override muted text on hover */
}

.technology-card {
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: #fff;
}

.technology-card:hover {
  background-color: #f0f8ff; /* Light blue background */
  color: #000; /* Optional: Darker text color on hover */
}

.technology-card:hover .text-muted {
  color: #333 !important; /* Override muted text on hover */
}
.value-card {
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: #fff;
}

.value-card:hover {
  background-color: #f0f8ff; /* Light blue background */
  color: #000; /* Optional: Darker text color on hover */
}

.value-card:hover .text-muted {
  color: #333 !important; /* Override muted text on hover */
}

.bi-bullseye,
.bi-eye {
  color: #007bff;
}

/* ------------------------------------------------------------------ */

/* Team Page  */
.team-hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    url("/images/team2.jpeg") center/cover no-repeat;
  color: #fff;
  padding: 100px 0;
  margin-top: 110px;
}

.team-card {
  background-color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  background-color: #f0f8ff;
}

.team-card:hover .text-muted {
  color: #333 !important; /* Override muted text on hover */
}

.team-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid #e9ecef;
  margin-bottom: 1.5rem;
}

.team-card h5 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.team-card .role {
  font-size: 1rem;
  font-weight: 500;
  color: #fd585b;
  margin-bottom: 1rem;
}

.team-card .description {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.team-card .social-links a {
  color: #6c757d;
  font-size: 1.25rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.team-card .social-links a:hover {
  color: #007bff;
}

/* ------------------------------------------------------------- */

/* Solution Page */

.solution-hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
    url("/images/solution3.jpg") center/cover no-repeat;
  color: #fff;
  padding: 100px 0;
  margin-top: 110px;
}

.layer-card {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.layer-card:hover {
  background-color: #f0f8ff; /* Light blue background */
  color: #000; /* Optional: Darker text color on hover */
}

.layer-card:hover .text-muted {
  color: #333 !important; /* Override muted text on hover */
}

.layer-card .icon-container {
  background: #2c3e50;
  color: #3498db;
  padding: 20px;
  text-align: center;
}

.layer-card .fa-icon {
  font-size: 3rem;
  color: #ffffff;
}

.layer-card .card-body {
  padding: 20px;
  text-align: center;
  color: #2c3e50;
}

.solution-card {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.solution-card .fa-icon {
  font-size: 2.5rem;
  color: #fd585b;
  margin-bottom: 15px;
}

.cta-section {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #ecf0f1;
  padding: 60px 0;
  text-align: center;
}
.cta-section .btn {
  font-size: 1.2rem;
  padding: 12px 30px;
  background: #fd585b;
  color: #fff;
  border: none;
  border-radius: 25px;
  transition: background 0.3s ease;
}
.cta-section .btn:hover {
  background: #e04c4f;
}

.residential-card {
  transition: background-color 0.3s ease, color 0.3s ease;
  background-color: #fff;
}

.residential-card:hover {
  background-color: #f0f8ff; /* Light blue background */
  color: #000; /* Optional: Darker text color on hover */
}

.residential-card:hover .text-muted {
  color: #333 !important; /* Override muted text on hover */
}

@media (max-width: 767.98px) {
  .main-navbar {
    top: 0 !important;
  }
  #mainCarousel {
    margin-top: 70px !important;
  }
  #mainCarousel .carousel-caption h5 {
    font-size: 2.5rem !important;
  }
  .hero-section {
    margin-top: 70px !important;
  }
  .carousel-caption .btn {
    font-size: 0.8rem !important;
    padding: 8px 20px !important;
  }
}
