@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #8fd400;
  font-size: 16px;
  font-weight: bold;
}
.index-header{
  padding: 0 25px 0 25px;
    background-color: rgba(0, 0, 0, 0.5);
}



.navbar-brand img {
  max-height: 80px; 
  height: auto;
  width: auto;
}
    .footer-logo {
    max-height: 60px; 
    height: auto;
    width: auto;
  }


.nav-link, .nav-link.active,
.nav-link[aria-current="page"] {
  color: #a9cb4b !important;
}

.nav-link:hover {
  color:#9cff01 !important;
}
.nav-link.active:hover,
.nav-link[aria-current="page"]:hover {
  color: darkgreen !important;
}

.message {
  border: 2px solid #9cff01;
  color: #000000;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%239cff01' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link:hover {
  color: #9cff01;
}

.header {
  background-image: url("../images/carousel2.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;

}

.dropdown-menu {
  background-color: rgba(0, 0, 0, 0.6);
  border: none;
  min-width: 260px;
}

.dropdown-menu .dropdown-item {
  color: #fff;
  border-bottom: 2px solid #ffffff;
}

.dropdown-menu .dropdown-item:hover {
  color: #9cff01;
  background: transparent;
}

.header a, .other-header a {

  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.carousel-caption h1 {
  font-size: 50px !important;           
  font-weight: 800;            
  line-height: 1.2;            
  color: #ffffff;             
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
  animation: fadeInDown 1s ease-in-out;
}


.carousel-item {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.carousel-services {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  width: 100%;
  padding: 0 2rem;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s ease-out;

}
.carousel-services.active {
  transform: translateY(0);
  opacity: 1;
}

.carousel-caption {
  padding-top: 50px;
  position: static;
  text-align: center;
  margin: auto;
}


.carousel-caption p {
  max-width: 700px;
  margin: 0 auto;
}

.about {
  background-color: rgba(244, 240, 240, 0.5);
  background-image: url("../images/about.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
  /* min-height: 530px; */
  overflow: hidden;
}
.media-container {
  background-color: rgba(244, 240, 240, 0.5);
  background-image: url("../images/about.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
  min-height: 530px;
  overflow: hidden;
}
.clients-bg {
  background-color: #9eff0115;
}

.abt-img-1,
.abt-img-2 {
  position: absolute;
  width: 200px;
  border-radius: 20px;
  border: 5px solid #ffffff;
}

.abt-img-1 {
  top: 50%;
  left: 50%;
  transform: translate(-80%, -80%);
  z-index: 2;
}

.abt-img-2 {
  top: 50%;
  left: 50%;
  transform: translate(-10%, -10%);
  z-index: 1;
}

.about2 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.services {
  background: 
  linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
  url("../images/carouselbg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 260px;
  z-index: 1;
  padding: 0rem 0.5rem;
  color: #ebebeb;
}
.services2 {
 background-image: 
  linear-gradient(to right, rgba(0, 0, 0, 2) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.2) 100%),
  url("../images/carouselbg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 35vh;
  z-index: 1;

  padding: 0rem 0.5rem;
  color: #ebebeb;
}

.teams-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.teams-row {
  max-width: 770px;
  width: 100%;
}

.teams-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.teams-member img {
  height: 197px;
  width: 170px;
  border-radius: 20px;
  object-fit: cover;
}

.teams-member span {
  font-size: 12px;
  color: #81848a;
}

.row.g-1 > [class^="col-"] {
  padding-right: 0.25rem;
  padding-left: 0.25rem;
}

.service-container{
  height: 380px;
  margin-bottom: 20px;
  background-color: #9eff0115
}
.services-row {
  background-size: cover;
  background-position: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  background-color: #ffffff;
  backdrop-filter: brightness(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-60%);
  width: 100%;
}



.border-gray {
  border-right: 1px solid #ccc;
}

.portrait-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  padding: 1rem;
}

.portrait-gallery img {
  width: 100%;
  max-width: 240px;
  border-radius: 8px;
}

.client-image-placeholder {
  min-height: 250px;     
  max-height: 370px;     
  background: #f5f5f5;   
}


footer {
  position: relative;
   background: 
  linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
  url("../images/footer.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.footer-container .nav-link {
  color: #ccc !important;
}

.footer-container .nav-link:hover {
  color: #fff !important; 
}


@media (min-width: 768px) and (max-width: 1024px) {
  .navbar-brand img,
  .footer-logo {
    max-height: 50px;
  }

  .carousel-item {
    min-height: 30vh;
  }
   .carousel-services {
  margin-top: 50px;
}
  .carousel-caption {
    padding-top: 50px;
    margin-bottom: 2rem;
  }

  .carousel-caption h1 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

 .carousel-services .col-md-3 {
    flex: 0 0 auto; 
    width: auto;
  }
 .toggle-dropdown {
  margin-left: 10px;
}
  .about,
  .media-container {
    min-height: 350px;
    height: auto;
    padding: 1.5rem 1rem;
    background-position: center;
  }

  .img-stack {
    height: auto;
    padding: 2rem 0;
  }

  .abt-img-1,
  .abt-img-2 {
    position: static; 
    display: block;
    margin: 1rem auto;
    transform: none;
    width: 160px;
    border-radius: 12px;
  }

  .services,
  .services2 {
    min-height: 200px;
    padding: 1rem;
  }

  .services-row {
    transform: translateY(-40%);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  }

  .border-gray {
    border: none;
  }

  .portrait-gallery img {
    max-width: 160px;
  }

  footer {
    padding: 2rem 1rem;
  }
}

@media (max-width: 767px) {

  .navbar-brand img,
  .footer-logo {
    max-height: 50px;
  }

  .carousel-item {
    min-height: 500px;
  }
   .carousel-services {
  margin-top: 30px;
}

  .carousel-caption {
    padding-top: 40px;
    margin-bottom: 2rem;
  }

  .carousel-caption h1 {
    font-size: 24px !important;
    line-height: 1.3;
  }

  .carousel-caption p {
    font-size: 0.9rem;
    padding: 0 1rem;
  }
  
  .about,
  .media-container {
    min-height: auto;
    height: auto;
    padding: 0 0;
    background-position: center;
  }

  .abt-img-1,
  .abt-img-2 {
    position: static; 
    display: block;
    margin: 0.5rem auto;
    transform: none;
    width: 140px;
    border-radius: 10px;
  }

  .services {
    min-height: 430px;
    padding: 1rem;
  }
  .services2 {
    min-height: 20vh;
    padding: 1rem;
  }
.service-container{
  min-height: 1050px;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

  .services-row {
    transform: translateY(-30%);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  }


  .border-gray {
    border: none;
  }

  .portrait-gallery {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .portrait-gallery img {
    width: 100%;
    max-width: 200px;
  }

  footer {
    padding: 1.5rem 1rem;
   
  }
}

