@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,400;0,500;0,700;0,900;1,100;1,200;1,400;1,600&display=swap');

* {
  transition: background-color 300ms ease, color 300ms ease;
}
body {
    font-family: "Barlow", sans-serif;
    line-height: 1.7;
    color: #000000;
    background-color: #ffffff;
} 

h1,h2,h3,h4,h5,h6 {
    font-weight: 700 !important;
}
a{
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s ease;
}

img{
    width: 100%;  
}
section {
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}

/* Nav BAr  */
#top-navbar{
    background-color: deepskyblue;
    padding-top: 2em !important;
    padding-bottom: 2em !important;
}
#top-navbar i,
#top-navbar span {
    vertical-align: middle;
}
#top-navbar .web-mail,
#top-navbar .social-links {
    vertical-align: middle;
}
.social-links .facebook {
    width: 23px;
    height: 23px;
    background-color: rgba(0, 0, 0, 0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    color: #ffffff;
    font-size: 35px;
    border-radius: 100%;
}
.social-links a:hover {
    background-color: #ffffff;
    color: #00112071;
}
.navbar-brand {
    font-weight: 700; 
}
.text-brand {
  color: deepskyblue;
}
.bg-brand-gold {
  background: linear-gradient(#fffbe2,#fffce9);
  color: #000000;
}
.bg-brand-gold2 {
  background: linear-gradient(#fffdf4,#fffef9);
  color: #000000;
}
.bg-brand-blue {
  background: linear-gradient(#e4f8ff,#e3f7fd);
  color: #000000;
}
.bg-brand-blue2 {
  background: linear-gradient(#ffffff,#ffffff);
  color: #000000;
}
.btn{
    padding: 9px 24px;
    font-weight: 500;
}
.btn-brand{
    background-color: deepskyblue;
    color: #ffffff;
    border-color: deepskyblue;

}
.btn-brand:hover{
    background-color: deepskyblue;
    color: #ffffff;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #ffffff;
    background-color: deepskyblue;
}
/* Main Dropdown Background */
.navbar .dropdown ul {
    background: #0a2540 !important;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Dropdown Links */
.navbar .dropdown ul li a {
    color: #dbe7f3 !important;
    font-weight: 500;
    transition: all 0.25s ease;
    padding: 10px 18px;
}

/* Hover Effect - Changed to a premium Whitish-Blue */
.navbar .dropdown ul li a:hover {
    background: rgba(219, 231, 243, 0.15); /* Soft, translucent ice-blue tint */
    color: #ffffff !important;
    padding-left: 22px;
}

/* Nested Dropdown */
.navbar .dropdown ul .dropdown ul {
    background: #0d2d50 !important;
    border-radius: 12px;
}

/* Chevron Icons */
.navbar .dropdown > a i,
.navbar .dropdown ul .dropdown > a i {
    color: #dbe7f3;
}

/* Active Dropdown Item */
.navbar .dropdown ul li a.active {
    background: rgba(219, 231, 243, 0.22); /* Matching whitish-blue for active items */
    color: #ffffff !important;
}

/* info box */
.info-box {
    display: flex;   
}
.info-box img{
    width: 100px;
    height: 100px;
    margin-right: 50px;
}
/* impact box */
#btdc-impact {
    background: linear-gradient(#f3edc9,#f3edc8);
    box-shadow: 1px .1px .1rem rgba(251, 255, 0, 0.678);
}
#btdc-impact .display-4,
#btdc-impact p{
    color: #000000;
}
#btdc-impact .heading h2 {
    color: #000000;
    font-weight: 700;
}

#btdc-impact .display-4{
    font-weight: 700;
}

#btdc-sectors.heading{
    margin-bottom: 40px;
}
#btdc-sectors.heading h6 {
    font-weight: 400;
    color: #b89c00;
}
#btdc-sectors.heading p {
    max-width: 500px;
    margin: auto;
}
.sector-box {
    padding: 32px;
    background-color: #ffffff;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.678);
    text-align: center;
    border: 1px solid #00478571; 
    border-radius: 1em;   
}
.sector-box img {
    width: 100%;
    vertical-align: middle;
}
.sector-box h5 {
    margin-top: 24px;
    margin-bottom: 12px;
    
}

/* Event  */
.event{
    position: relative;

}
.event .overlay {
    background:linear-gradient(to bottom, rgba(2, 69, 121, 0),rgba(0, 76, 151, 0.8));
    position: absolute;
    width: 100%;
    height: 250px;
    bottom: 0;
    left: 0;

}
.event .content {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 32px;
}
.event h6 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;

}
.event h1,
.event h6 {
    color: #ffffff;
}

.event h6::before {
    content: "";
    height: 5px;
    width: 20px;
    background-color: rgba(184, 156, 0, 0.822);
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

/* Team */
.team-member{
    text-align: center;
}
.team-member .img-wrapper{
    position: relative;
    overflow: hidden;

}
.team-member .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: -10%;
    left: 0;
    background-color: rgba(51, 51, 228, 0.774);
    transition: all 0.4s ease-in-out;
    opacity: 0;
}
.team-member .social-links {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease-in-out;
    opacity: 0;
}
.team-member:hover .overlay {
    opacity: 1;
    top: 0;
}
.team-member:hover .social-links {
    opacity: 1;
    top: 50%;
}
.team-member h5 {
    margin-top: 24px;
}

#reviews {
    background: linear-gradient(rgba(184, 156, 0, 0.822),rgba(175, 149, 0, 0.849));
}
.review {
    max-width: 900px;
    margin: auto;
    text-align: center;
}
.review img {
    width: 105px !important;
    border-radius: 1000px;
    margin: auto;
}
.review h4 {
    margin-top: 15px;
}
.review h4,
.review p {
    color: #ffffff;
}
.review small {
    color: #b89c00;
}
.review p {
    margin-top: 28px;
}

/* footer */
footer {
    padding-top: 80px;
    padding-bottom: 0px;
    color: #ffffff;
    text-align: center;
    background: linear-gradient( #1e6280, #1e5a74);  
}
footer .navbar-brand {
    color: #ffffff;
    margin-bottom: 15px;
    display: inline-block;
}
.footer-top {
    margin-bottom: 40px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.322);
    padding-top: 20px;
    padding-bottom: 20px;
    background: linear-gradient( #090f30, #080e31);  
}

footer .social-links a {
    margin-left: 5px;
    margin-right: 5px;
}
footer .footer-links {
    margin-bottom: 30px;
  } 
footer.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  } 
footer .footer-links ul i {
    padding-right: 2px;
    color: rgba(13, 66, 255, 0.8);
    font-size: 12px;
    line-height: 0;
  } 
footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
  }
footer .footer-links ul li:first-child {
    padding-top: 0;
  } 
footer .footer-links ul a {
    color: rgba(255, 255, 255, 0.6);
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
  } 
footer .footer-links ul a:hover {
    color: #b89c00;
  }
footer .footer-contact p {
    line-height: 26px;
  }
  

/* carousel top */
.carousel {
    margin-bottom: .5rem;
}

.carousel-caption {
bottom: 1rem;
z-index: 1;
}
.carousel-caption p {
  margin-bottom: 0.25rem;
  font-size: 0.1em;
  line-height: 1.4;
}
.carousel-caption {
  bottom: 1.1em;
  z-index: 1;
  }
.carousel-item,
.news-box {
  height: 250px;
  }
.carousel-item::before {
  content: "";
  background-color: rgba(0, 43, 83, 0.11);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.carousel-item,
.news-box {
height: 380px;
}

.featurette-heading{
    font-size: 2em !important;
}
.lead{
    font-size: 1.2em !important;
}
.btdc-map{
    width: 100% !important;
}


/*  */
@media (max-width: 40em) {
  
  #topbar {
    font-size: .8rem !important;
  }
  #topbar .contact-info {
    display: inline-block !important;
    margin-left: 0em !important;
    justify-content: flex-start;
  }
  #topbar .contact-info i {
    left: 0rem !important;
  }
  #topbar .contact-info .bxs-phone {
    left: 0px !important;
    margin-left: -0.07em !important;
  }
  .social-links .facebook {
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(0, 0, 0, 0);
    font-size: 1.5rem;
    border-radius: 100%;
  }
  #web-mail{
    padding-top: .2rem;
    padding-bottom: .2rem;
    padding-left: .2rem;
    padding-right: .2rem;
    white-space: nowrap;
    margin-left: 0rem;
  }
  .carousel-caption {
    bottom: 0.1em;
    z-index: 1;
  } 
  .carousel-caption h1 {
    margin-bottom: 0.01rem;
    font-size: 1rem;
    line-height: 0.9rem;
  }
  .carousel-caption h6 {
    margin-bottom: 0.01rem;
    font-size: .7rem;
    line-height: 0.9rem;
  }
  .carousel-item {
    height: 180px;
  }
    .news-box {
      /* max-height: 60vw; */
      height: calc(60vw * (12/16));
      }
  .carousel-item .btn-brand {
    padding-top: .2rem;
    padding-bottom: .2rem;
    padding-left: .3rem;
    padding-right: .3rem;
  }
  .carousel-indicators {
    margin-bottom: 0rem;
  }
  #foreword-img{
    margin-top: 1rem;
    transform: translateX(-50%);
    margin-left: 50%;
    
  }
  #foreword-img .figure-caption {
    /* height: 100%; */
    font-size: .8rem;
    text-align: center;    
  }
  #foreword-word{
    margin-top: -1.5rem;
    text-align: justify;
  }
  .featurette-heading {
      font-size: 5rem;
  }

}
  
  .my-custom-class{
    min-height: 130px;
    overflow: hidden;
 }
 .info-box .bx{
    color: #b89c00;
 }
.bg-brand2{
    background: linear-gradient(#f3edc9,#f3edc8);
 }
 .bg-brand2:hover{
    background: linear-gradient(#d4cda2,#d4cda2);
 }
 /*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
    background: deepskyblue;
    padding: 0.3em 0;
    font-size: 1em;
  }
  #topbar .contact-info i {
    font-style: normal;
    color: #ffffff;
  }
  #topbar .contact-info i a, #topbar .contact-info i span {
    padding-left: 5px;
    color: #fff;
  }
  #topbar .contact-info i a {
    line-height: 0;
    transition: 0.3s;
  }
  #topbar .contact-info i a:hover {
    color: #ffffff;
  }
  /* #topbar .social-links a {
    color: #ffffff;
    line-height: 0;
    transition: 0.3s;
    margin-left: 10px;
  } */
    #topbar .social-links .facebook {
    color: #ffffff;
    line-height: 0;
    transition: 0.3s;
    margin-left: 10px;
  }
  #topbar .social-links a:hover {
    color: deepskyblue;
    
  }
  
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    height: 70px;
    transition: all 0.5s;
    z-index: 997;
    transition: all 0.5s;
    background: #fff;
    box-shadow: 0px 0px .5rem 0px rgba(0, 0, 0, 0.1);
  }
  #header .logo h1 {
    font-size: 26px;
    padding: 0 0 0 8px;
    margin: 11px 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: "Poppins", sans-serif;
    border-left: 8px solid #c2e400;
  }
  #header .logo h1 a, #header .logo h1 a:hover {
    color: #545454;
    text-decoration: none;
  }
  #header .logo img {
    padding: 0;
    margin: 0;
    max-height: auto;
    min-width: auto;
  }
  
  .scrolled-offset {
    margin-top: 70px;
  }
  
  /*--------------------------------------------------------------
  # Navigation Menu
  --------------------------------------------------------------*/
  /**
  * Desktop Navigation 
  */
  .navbar {
    padding: 0;
  }
  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .navbar li {
    position: relative;
  }
  .navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #545454;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navbar a i, .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }
  .navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
    color: #00a3da;
  }
  .navbar .getstarted, .navbar .getstarted:focus {
    background: deepskyblue;
    padding: 8px 20px;
    margin-left: 30px;
    border-radius: 4px;
    color: #fff;
  }
  .navbar .getstarted:hover, .navbar .getstarted:focus:hover {
    color: #fff;
    background: #00a3da;
  }
  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 24px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #ffffff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
    border: 1px solid rgba(0, 136, 204, 0.2);
    border-radius: 8px;
  }
  .navbar .dropdown ul li {
    min-width: 200px;
  }
  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 14px;
    text-transform: none;
    color: #2c3e50 !important;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  .navbar .dropdown ul a i {
    font-size: 12px;
  }
  .navbar .dropdown ul a:hover, 
  .navbar .dropdown ul .active:hover, 
  .navbar .dropdown ul li:hover > a {
    color: #ffffff !important;
    background-color: var(--gov-accent, #0088cc);
    font-weight: 600;
  }
  .navbar .dropdown ul li:hover {
    background-color: rgba(0, 136, 204, 0.1);
  }
  .navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }
  .navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
  @media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
      left: -90%;
    }
    .navbar .dropdown .dropdown:hover > ul {
      left: -100%;
    }
  }
  .dropdown-menu li {
    position: relative;
    }
  .dropdown-menu .dropdown-submenu {
      display: none;
      position: absolute;
      left: 100% !important;
      top: -7px !important;
  }
  .dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
  }
  .dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
  }
  .dropdown-item.active, .dropdown-item:hover,
  .dropdown-item.active, .dropdown-item:active  {
      color: #ffffff;
      background-color: transparent;
      padding-top: .4em;
      padding-bottom: .4em;                                      
  }
      .nav-item.dropdown:hover > .dropdown-menu {
          display: block;
      }
  /**
  * Mobile Navigation 
  */
  .mobile-nav-toggle {
    color: #545454;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
  }
  .mobile-nav-toggle.bx-x {
    color: #fff;
  }
  
  @media (max-width: 991px) {
    .mobile-nav-toggle {
      display: block;
    }
  
    .navbar ul {
      display: none;
    }
  }
  .navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(59, 59, 59, 0.9);
    transition: 0.3s;
    z-index: 999;
  }
  .navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
  }
  .navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
  }
  .navbar-mobile a, .navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #545454;
  }
  .navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
    color: deepskyblue;
  }
  .navbar-mobile .getstarted, .navbar-mobile .getstarted:focus {
    margin: 15px;
  }
  .navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #ffffff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    border: 1px solid rgba(0, 136, 204, 0.2);
    border-radius: 8px;
  }
  .navbar-mobile .dropdown ul li {
    min-width: 200px;
  }
  .navbar-mobile .dropdown ul a {
    padding: 10px 20px;
    color: #2c3e50 !important;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  .navbar-mobile .dropdown ul a i {
    font-size: 12px;
  }
  .navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
    color: #ffffff !important;
    background-color: var(--gov-accent, #0088cc);
    font-weight: 600;
  }
  .navbar-mobile .dropdown ul li:hover {
    background-color: rgba(0, 136, 204, 0.1);
  }
  .navbar-mobile .dropdown > .dropdown-active {
    display: block;
  }

  .search-hover {
    border: 1px solid #ccc;
    outline: none;
    background-size: 22px;
    background-position: 13px;
    border-radius: 10px;
    width: 5em;
    height: 20px;
    padding: 15px;
    transition: all 0.5s;
  }
  .search-hover:hover {
    width: 300px;
    padding-left: 50px;
    background-color: deepskyblue;
    color: #ffffff !important;
  }

.card-cover::before {
  content: '';
  z-index: 1;
  width: 200%;
  height: 100%;
  top: 0%;
  opacity: .6;
  background: linear-gradient(to bottom,rgb(0, 136, 182),rgb(1, 92, 122) 55%,rgb(0, 0, 0));
  transition-duration: .3s;
  position: absolute;
}
.card-cover .flex-column{
  z-index: 10;
}
.alert-brand {
  color: #1A1A5A;
  background-color: #fff;
  
  /* border-color: bisque; */
  border-radius: .9rem !important;
}

/* Form validation styles */
.is-invalid {
  border-color: #dc3545 !important;
}

.is-invalid:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.validation-error {
  display: block;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  color: #dc3545;
}

.form-group:has(.is-invalid) .form-label,
.mb-3:has(.is-invalid) .form-label,
.mb-4:has(.is-invalid) .form-label {
  color: #dc3545;
}
