/*
 Theme Name:   Twenty Twenty-Four Child
 Template:     twentytwentyfour
 Version:      1.0
*/

/* Import parent theme styles */
@import url("../twentytwentyfour-child/style.css");

/* --- Custom Styles --- */
/* Prevent content from hiding behind the sticky menu */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

.logo {
  font-size: 25px !important;
}

.hero-wrapper-inner {
  width: 100%;
  overflow: hidden;
  padding: 80px 0;

}

.bg-custom-light {
  background-color: #ececec !important;
}

.bg-custom {
  background-color: #216235 !important;
}

.features-column {
  padding: 20px !important;
  border-radius: 30px;
}

.footer-sec ul {
  margin: 0;
  padding: 0;
}

.footer-sec ul li {
  list-style: none;
  margin: 0 0 15px 0;
}

.footer-sec ul li#menu-item-945 {
  padding: 0 17px 0 0;
}

.footer-sec ul li a {
  list-style: none;
  text-decoration: none;
  color: #fff;
}

/* Optional: Style the navbar background on scroll (if needed) */
.overlay-header.fixed-top {
  background-color: #000;
  opacity: 0.85;

}


.hero-wrapper {
  position: relative;
  width: 100%;
}

/* .hero-image {
  width: 100%;
  height: 100vh;
  /* Full screen height */
object-fit: cover;
display: block;
}

*/ .overlay-header {
  z-index: 10;
}

.navbar .nav-link {
  color: white;
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: #f8f9fa;
}

/* Site logo image size */
.site-logo img {
  height: 40px;
  width: auto;
}

/* Menu list styles */
.menu li {
  list-style: none;
}

/* Menu link styles */
#menu-primary-menu li a {
  text-decoration: none;
  color: rgb(165 219 243) !important;
  font-size: 17px;
  line-height: 1.5em;
  letter-spacing: 0px;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0.5rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

/* Menu link hover state */
#menu-primary-menu li a:hover,
#menu-primary-menu li a:focus {
  color: rgb(165 219 243);
  outline: none;
  text-decoration: underline;
}

#menu-primary-menu li.current-menu-item>a,
#menu-primary-menu li.current_page_item>a {
  color: rgb(165 219 243);
  text-decoration: underline;
  /* optional to emphasize */
}

/* Accessibility: focus state */
#menu-primary-menu li a:focus-visible {
  outline: 2px solid rgb(165 219 243);
  outline-offset: 2px;
}


.custom-header .hero-wrapper {
  margin-top: 0;
  max-height: 500px;
  /* Optional: limit height */
  overflow: hidden;
}


.hero-wrapper {
  position: relative;

  /* overflow: hidden; */
  /* min-height: 100vh; */
  /* Ensure hero fills viewport height */
}

.hero-image {
  width: 100%;

  filter: blur(0.5px) brightness(0.7);

  /*
  filter: blur(1px) brightness(0.7);
   Optional: reduce brightness for better contrast */
  /* filter: blur(4px) brightness(0.7); */
}

/* Hero text overlay */
.hero-text {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  width: 80%;
  /* Increase from default or auto */
  max-width: 1200px;
  /* Optional: constrain the maximum width */
}

.hero-text h1 {
  font-size: 40px;
  padding-top: 10%;
}

.hero-text p.lead {
  font-size: 1.5rem;
  font-weight: 400;
}


.btn-default {
  border: 1px solid #fff;
  border-radius: 50px;
  padding: 15px;
  text-align: center;
}

hr {
  opacity: 1 !important;
}

.bg-custom {
  background-color: #216235 !important;
  color: #fff;
}


.copyright {
  font-size: 12px;
  color: #fff !important;
}


.designedby {
  font-size: 9px;
  color: #fff !important;
}


.designedby a {
  font-size: 9px;
  color: #fff;
  text-decoration: none;
}

.div_contact a {
  text-decoration: none;
}

.div_contact .fa {
  color: #7bc142;
}




.hero-bg img.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(0.5px) brightness(0.7);
}

.hero-bg .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3); /* dark overlay (adjust opacity as needed) */
  pointer-events: none;
}



@media (max-width:576px) {
  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p.lead {
    font-size: 16px;
  }

  .hero-text a {
    margin-bottom: 20px;
  }

  .hero-image {
    min-height: 900px;
  }

  .hero-text {
    top: 50%;
  }

}