
/* style.css */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* Optional: removes delay effect */
  }
}

/* style.css */

/* Make navbar transparent and sticky */
.navbar {
  transition: background-color 0.3s;
}

.navbar.bg-transparent {
  background-color: rgba(0, 0, 0, 0.4) !important;
}

.navbar.scrolled {
  background-color: #033254 !important;
}

/* Navbar stays above carousel */
.navbar {
  z-index: 1050; /* Bootstrap default */
}

.nav-link{
    color: white;
}

/* Make sure slider fills the top area fully */
header#hero .carousel-item img {
  height: 100vh;
  object-fit: cover;
}

.carousel-item {
  position: relative;
}

.carousel-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay */
  z-index: 1;
}

.carousel-item img {
  position: relative;
  z-index: 0;
}

.carousel-item img {
  filter: brightness(60%); /* Lower percentage = darker */
}


/* Hover dropdowns (on large screens only) */
@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Full-height carousel images */
header#hero .carousel-item img {
  height: 100vh;
  object-fit: cover;
}

/* Optional: enhance text visibility */
.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
  padding: 20px;
  border-radius: 10px;
}

/* Optional: animate caption appearance */
.carousel-caption h1,
.carousel-caption p,
.carousel-caption a {
  animation: fadeInDown 1s ease both;
}

/* Simple fade-in animation */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#about{
    background-color: #d9e3f2;
}
#about h2 {
  font-weight: 700;
}

#about h3 {
  font-weight: 600;
  
  margin-bottom: 15px;
}

#about p {
  font-size: 1.1rem;
  line-height: 1.6;
}

#about img {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
#leadership .card-img-top {
  height: 300px;
  object-fit: cover;
}

#leadership .card {
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

#leadership .card:hover {
  transform: translateY(-5px);
}
#board {
  border-top: 1px solid #eee;
  padding-top: 40px;
}

#subsidiaries .accordion-button {
  font-weight: 600;
  background-color: #f8f9fa;
  color: #035ea0;
}

#subsidiaries .accordion-button:not(.collapsed) {
  background-color: #e9ecef;
}

#subsidiaries .accordion-body {
  font-size: 1rem;
  line-height: 1.5;
}

#subsidiaries .accordion-body p {
  margin-bottom: 0.75rem;
}

#subsidiaries .btn {
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}

#subsidiaries .btn:hover {
  color: white;
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.subsidiary-body{
    display: flex;
}
.subsidiary-body img{
    height: 500px;
    /* width: 100%; */
    margin-left: 2rem;
}

#subsidiaries{
    margin-bottom: 10rem;
}
.justified-text {
  text-align: justify;
  line-height: 1.8;
  font-size: 1.05rem;
}

#media .card-img-top {
  height: 220px;
  object-fit: cover;
}

/* nav link toggle colour */
/* Keep active tab white for contrast if needed */
.nav-tabs .nav-link.active {
  color: white;
  background-color: #033254; /* or any dark blue */
  border-color: #033254 #033254 white;
}

/* Inactive tabs get a visible color */
.nav-tabs .nav-link {
  color: #033254; /* dark blue */
  background-color: #e9ecef; /* light grey */
  border: 1px solid transparent;
  margin-bottom: -1px;
}

/* On hover, make it obvious it's clickable */
.nav-tabs .nav-link:hover {
  background-color: #d6d6d6;
  color: #021d34;
}



#media .nav-tabs .nav-link {
  font-weight: 600;
  text-transform: uppercase;
}

#media .list-group-item h6 {
  font-weight: 600;
}

#media .list-group-item:hover {
  background-color: #f8f9fa;
}

#media .card-body {
  padding: 1rem 1.25rem;
}

#media .card h5 {
  font-weight: 600;
}

#media .ratio iframe,
#media .ratio video {
  border-radius: 0.375rem 0.375rem 0 0;
}
#media .modal-title {
  font-weight: 600;
}

#media .modal-body {
  font-size: 1rem;
  line-height: 1.7;
}

#contact {
  background-color: white;
}



#contact .form-control {
  border-radius: 0.375rem;
  border: 1px solid #f5fafe;
}

#contact .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

#contact .btn {
  border-radius: 0.375rem;
  font-weight: 500;
  background-color: #033254;
}

#contact .bi {
  transition: transform 0.2s ease;
}

#contact .bi:hover {
  transform: scale(1.15);
}
footer a {
  transition: color 0.2s ease;
}

footer a:hover {
  color: #0d6efd;
}
footer.bg-texture {
  /* background: url('images/slider/img-slide-3.jpg') no-repeat center center; */
  background-color: #033254;
  background-size: cover;
  color: white;
  filter: brightness(60%);
}


/* .fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: none;
} */

.section-header{
    background-color: #033254;
    color: white;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

section > .container {
  margin-top: 50px;
}

.section-header{
  margin-top: 50px;
}

.logo-brand{
    display: flex;
}

.bg-custom{
    background-color: rgb(223, 220, 220);
}