.tree {
  position: relative;
  padding-left: 50px;
}

.tree-node {
  position: relative;
  margin-bottom: 30px;
}

.tree-node .branch {
  position: relative;
  padding-left: 20px;
  display: flex;
  align-items: center; /* Align the image and text horizontally */
}

.tree-node .branch img.event-img {
  width: 50px; /* Adjust the size of the image */
  height: 50px;
  margin-right: 10px; /* Space between the image and the event title */
  border-radius: 5px; /* Optional: adds rounded corners to the image */
}

.tree-node .line {
  position: absolute;
  left: 10px;
  top: 0;
  width: 2px;
  height: 30px;
  background-color: #333;
}

.event-link {
  font-size: 18px;
  color: #0038b8;
  font-weight: 600;
  text-decoration: none;
}

.event-link:hover {
  text-decoration: underline;
}

.collapse ul {
  padding-left: 20px;
}

.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/construction-site.jpg") center/cover no-repeat;
  position: relative;
}

.hero-section h1,
.hero-section p {
  color: #fff;
}

.hero-section .btn-primary {
  background-color: #0056b3;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.hero-section .btn-primary:hover {
  background-color: #003d80;
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    padding: 100px 20px;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

#videoBanner video {
  height: 60vh;
  object-fit: cover;
  filter: brightness(0.7);
}

#videoBanner .carousel-caption {
  bottom: 20%;
}

@media (max-width: 768px) {
  #videoBanner .carousel-caption {
    bottom: 10%;
  }

  #videoBanner h1 {
    font-size: 1.75rem;
  }

  #videoBanner p {
    font-size: 1rem;
  }
}
/***/
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #007bff;
}
.timeline-item {
  margin-bottom: 40px;
  position: relative;
}
.timeline-icon {
  position: absolute;
  left: -15px;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.timeline-content {
  margin-left: 40px;
  background: #fff;
  padding: 15px 20px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
  background-color: #0038b8;
  color: #fff;
  border-color: #0038b8;
}

/**/
.countdown-bg {
  position: relative;
  height: 50vh;
  overflow: hidden;
}

.countdown-bg .carousel-inner,
.countdown-bg .carousel-item,
.countdown-bg .carousel-item img {
  height: 100%;
  object-fit: cover;
  filter: brightness(90%); /* Adds a darker effect to the images */
}

/* Overlay style */
.countdown-bg .carousel-item {
  position: relative;
}

.countdown-bg .carousel-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust the opacity for darker effect */
  z-index: 1;
}

/* Ensure content remains visible on top of the overlay */
.countdown-bg .container {
  z-index: 2;
}

/**/
.testimonials-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.testimonials-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0038b8;
}

.testimonials-section .lead {
  font-size: 1.2rem;
  color: #444;
}

.testimonials-section .carousel-item {
  text-align: center;
}

.testimonials-section .testimonial-item {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.testimonials-section .testimonial-image {
  margin-bottom: 20px;
}

.testimonials-section .testimonial-content {
  max-width: 500px;
}

.testimonials-section .testimonial-text {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonials-section .testimonial-name {
  font-size: 1.3rem;
  font-weight: bold;
  color: #0038b8;
}

.testimonials-section .testimonial-title {
  font-size: 1rem;
  color: #777;
}

.testimonials-section .carousel-control-prev-icon,
.testimonials-section .carousel-control-next-icon {
  background-color: #0038b8;
}
.testimonials-section {
  /* background-image: url("/img/service-6.jpg"); */
  background-size: cover;
  background-position: center;
  /* filter: brightness(70%); Adds a darker effect to the images */
}

/**/



/*banner for news page*/
/* Background image and height scaling */
.custom-hero {
  background-image: url('../img/construction-site.webp');
  /* Update with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 75vh;
}

/* Tablet screens */
@media (max-width: 991.98px) {
  .custom-hero {
    min-height: 60vh;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .custom-hero h1 {
    font-size: 2rem;
  }

  .custom-hero .lead {
    font-size: 1rem;
  }
}

/* Small Mobile screens */
@media (max-width: 575.98px) {
  .custom-hero {
    min-height: 50vh;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .custom-hero h1 {
    font-size: 1.5rem;
  }

  .custom-hero .lead {
    font-size: 0.95rem;
  }

  .btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}



#countdown-timer {
  min-height: 70vh;
}

@media (max-width: 768px) {
  #countdown-timer {
    min-height: 60vh;
  }

  #countdown-timer .display-4 {
    font-size: 2rem;
  }
}


/*past events section*/
.card:hover {
  transform: translateY(-5px);
  transition: transform 0.2s ease-in-out;
}

@media (max-width: 576px) {
  .event-card {
    font-size: 0.9rem;
  }

  .event-card img {
    max-height: 200px;
    object-fit: cover;
  }

  .event-card .card-body {
    padding: 1rem;
  }

  .event-card .card-title {
    font-size: 1.1rem;
  }

  .event-card .list-group-item {
    font-size: 0.85rem;
  }
}



/*client*/
.client-logos-section img {
  max-height: 60px;
  object-fit: contain;
}