/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
html, body {
  overflow-x: hidden;
  width: 100%;
}


body {
  font-family: "Roboto Condensed", sans-serif;
}

h2, h5 {
  text-transform: uppercase;
}

.carousel-caption {
    background: rgba(25, 135, 84, 0.87); /* semi-transparent background */
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: bolder;
  }

.text-shadow {
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.carousel-item {
  max-height: 95vh;
  overflow: hidden;
  position: relative;
}

.carousel-item img,
.carousel-item video {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-inner {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.team-card {
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 128, 0, 0.15); /* elegant greenish glow */
  background-color: rgba(0, 128, 0, 0.1);
}

.team-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  border-radius: 50%;
}

.img-thumbnail {
  width: 200px;
}

.card-title {
  text-transform: uppercase;
}

.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 128, 0, 0.2); /* elegant green glow */
  border: 1px solid rgba(0, 128, 0, 0.3);
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5); /* darker background */
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  background-size: 60% 60%;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 1 !important; /* ensure visibility */
}

@media (max-width: 768px) {
  .project-carousel-image {
    max-height: 95vh;
    width: 100%;
  }
}

.main-carousel-image {
    max-height: 95vh;
    object-fit: cover;
    width: 100%;
  }

@media (max-width: 768px) {
  .main-carousel-image {
    height: 95vh;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .carousel-video {
    height: 95vh;
  }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 10%;
  text-align: center;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.back-to-top.show {
  display: inline-block;
  opacity: 1;
}

.text-shadow {
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.jarallax {
  position: relative;
  overflow: hidden;
}

.jarallax-img {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .jarallax {
    height: 300px !important;
  }
}

.bg-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.navbar-dynamic {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  background-color: rgba(25, 135, 84, 0.1);
  font-weight: bold;
}

.navbar-dynamic.scrolled {
  background-color: rgba(25, 135, 84, 0.95);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  
}

.navbar.scrolled .nav-link:hover {
  color: rgb(192, 192, 192) !important; /* white on green background */
}

.navbar:not(.scrolled) .nav-link:hover {
  color: rgba(25, 135, 84) !important; /* green on transparent background */
}

.client-logo {
  max-height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.client-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

footer a:hover {
  color: #d4f5dd !important;
  text-decoration: underline;
}

.client-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 180px; /* or adjust based on your layout */
}

.client-logo {
  max-height: 100px; /* unify logo height */
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.logo-container {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
