/* Make navbar black (explicit) */
#mainNav {
    background-color: rgb(27, 27, 27) !important;
  }
  
  /* Ensure navbar links are visible */
  #mainNav .nav-link,
  #mainNav .navbar-brand {
    color: #fff !important;
  }
  
  /* Header background image + overlay */
  .header-section {
    height: 56vh;
    min-height: 480px;
    background: url('../assets/cover.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    padding-bottom: 90px; /* leave space so boxes sit on border nicely */
  }
  
  .header-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
  }
  
  .header-section .container { position: relative; z-index: 1; }
  
  /* Boxes - pull them up to overlap the header */
  .boxes-section {
    margin-top: -80px; /* adjust overlap */
    margin-bottom: 3rem;
  }
  
  /* Individual box styling */
  .box {
    background: #fff;
    color: #333;
    height: 200px;
    border-radius: 0.5rem;
    padding: 1.75rem;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    position: relative;
    z-index: 2;
  }
  
  /* icon color */
  .box .fa-solid { color: #323232; }
  
  /* Responsive tweaks */
  @media (max-width: 991.98px) {
    .header-section { padding-bottom: 70px; }
    .boxes-section { margin-top: -50px; }
  }
  
  @media (max-width: 575.98px) {
    .header-section { padding-bottom: 50px; height: 44vh; }
    .boxes-section { margin-top: -40px; }
  }
  

/* Info Section */

.info-section {
  margin-top: 7%;
}

.info-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.info-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Right side image */
.info-image {
  width: 100%;
  height: auto;
  border-radius: 0; /* no rounded corners */
}


.services-section {
  background-color: #f7f7f7;
}

.section-fade-title {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.04);
  text-transform: uppercase;
  text-align: center;
  position: relative;
  margin-bottom: -30px;
}

.service-item h5,
.service-item p {
  text-align: left;
}

.image-container {
  position: relative;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  display: block;
  transition: opacity 0.3s ease;
}

.image-container:hover img {
  opacity: 0.7;
}

.image-container .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}

.image-container:hover .overlay {
  opacity: 1;
}

.modal .btn-close {
  filter: invert(1); /* Makes it white */
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0.9;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.847);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.modal .btn-close:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* slider section */

#slider-section {
  background: #fff;
}

.slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.slider-container {
  position: relative;
  flex: 2;
  min-width: 300px;
  height: 800px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slide { display: none; }
.slide img {
  width: 100%;
  display: block;
}

.slider-img {
  height: 100%;
  width: 100%;
  object-fit: cover; /* keeps proportions, fills area */
  object-position: center; /* center crop */
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  font-weight: bold;
  text-decoration: none; /* remove underline */
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
  user-select: none;
  padding: 5px;
}

.prev { left: 15px; }
.next { right: 15px; }

.slider-text {
  flex: 1;
  min-width: 250px;
  margin-left: 5%;
}

.slider-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.slider-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

/* footer */

.footer-section {
  background-color: #111;
  color: #ddd;
  padding: 60px 0 30px 0;
}

.footer-block {
  text-align: left;
  padding: 30px 20px; /* More height padding */
}

.footer-block h5 {
  font-weight: bold;
  margin-bottom: 50px;
  color: #fff;
}

.footer-block p {
  margin: 25px 0;
}

.footer-block a {
  color: #f5f5f5; /* Bootstrap blue */
  text-decoration: none;
  font-weight: 500;
}

.footer-block a:hover {
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 14px;
  color: #aaa;
}
