@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/*
  dark blue: 333B89
  dark: 3E414A
  light blue: 96B4D2*/

/* -------- global stuff -------- */
html {
  scroll-padding-top: 120px;
}

body {
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  background-color: #fff !important;
  color: #000;
  scroll-behavior: smooth;
}

p {
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
}

.pointer {
  cursor: pointer;
}

.no-gutters {
  margin-right: -15px;
  margin-left: -15px;
}

img {
  max-width: 100%;
}

iframe {
  width: 100%;
}

a {
  color: #000;
  transition: all 0.5s ease;
}

a:hover {
  color: #222;
  text-decoration: none;
}

.bg-dark {
  background-color: #3e414a !important;
}

.bg-blue {
  background-color: #333b89 !important;
}

.bg-light-blue {
  background-color: #96b4d2 !important;
}

.text-light-blue {
  color: #96b4d2 !important;
}

.text-red {
  color: #ff0000 !important;
}

.text-pink {
  color: #ff00ff !important;
}

.text-blue {
  color: #333b89 !important;
}

.opacity-50 {
  opacity: 0.5 !important;
}

.rounded {
  border-radius: 20px !important;
}

.btn-primary {
  background-color: #333b89 !important;
  border-color: #fff !important;
  border: 2px solid #fff !important;
  color: #fff !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 50rem !important; /* rounded-pill */
  font-size: 1.25rem; /* btn-lg */
  padding-left: 3rem !important; /* ps-5 */
  padding-right: 3rem !important; /* pe-5 */
  padding-top: 0.5rem; /* btn-lg default */
  padding-bottom: 0.5rem; /* btn-lg default */
}

.btn-primary:hover,
.btn-primary:focus {
  transform: scale(1.07);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  transform: scale(1.02);
}

.btn-light {
  background-color: #fff !important;
  border-color: #96b4d2 !important;
  border: 2px solid #96b4d2 !important;
  color: #333b89 !important;
  transition: background-color 0.5s ease, box-shadow 0.3s ease, color 0.5s ease;
  border-radius: 50rem !important; /* rounded-pill */
  font-size: 1.25rem; /* btn-lg */
  padding-left: 3rem !important; /* ps-5 */
  padding-right: 3rem !important; /* pe-5 */
  padding-top: 0.5rem; /* btn-lg default */
  padding-bottom: 0.5rem; /* btn-lg default */
}
.btn-light:hover,
.btn-light:focus {
  background-color: #333b89 !important;
  border-color: #96b4d2 !important;
  border: 2px solid #96b4d2 !important;
  color: #fff !important;
}
.btn-sm {
  font-size: 1rem !important; /* smaller font size */
  padding-left: 1.5rem !important; /* smaller padding */
  padding-right: 1.5rem !important; /* smaller padding */
  padding-top: 0.25rem; /* smaller vertical padding */
  padding-bottom: 0.25rem; /* smaller vertical padding */
}

.modal-content {
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden; /* ensures internal content respects rounding */
}

/** * Custom Navbar Styles
 * This section contains styles for the custom navbar component.
 * It includes base styles and styles that apply when the navbar is scrolled.
 */
/* Base Styling */
.custom-navbar {
  transition: background-color 0.3s ease, padding 0.3s ease;
  background-color: transparent;
  color: white;
  padding-top: 1rem;
  font-size: 1.3rem;
  font-weight: 300;
}

/* Media query for Bootstrap xl to lg (1200px to 992px) */
@media (max-width: 1599.98px) and (min-width: 1199.98px) {
  .custom-navbar {
    padding-top: 1rem;
    font-size: 1rem;
  }
}

.custom-navbar .nav-link,
.custom-navbar .navbar-brand,
.custom-navbar .btn {
  color: white !important;
}

.navbar-expand-xl .navbar-nav .nav-link {
  padding: 0.5rem 1.3rem;
  transition: color 0.3s ease;
}

.navbar-expand-xl .navbar-nav .nav-link:hover {
  color: #333b89 !important;
  padding: 0.5rem 1.3rem;
  transition: color 0.3s ease;
}

.logo-col {
  align-items: stretch;
}

#mainHeader .navbar-brand img {
  max-height: 140px;
}

.cta-row {
  transition: all 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.custom-navbar.scrolled {
  background-color: #96b4df !important;
  /* light blue */
}

.custom-navbar.scrolled .cta-row {
  opacity: 1;
  pointer-events: auto;
}

.navbar-expand-xl .navbar-nav .dropdown-menu {
  border-radius: 20px;
}

.dropdown-item:hover {
  background-color: #96b4df !important;
  color: #fff !important;
  border-radius: 20px;
}

.navbar-toggler {
  z-index: 1000;
  border: 2px solid #fff !important;
}

/** Hero Section Styles
 * This section contains styles for the hero section of the page.
 * It includes styles for the hero background, text, and buttons.
 */
/* ---------- POSTER + CROSS-FADE ---------- */
.video-hero {
  position: relative;
  /* 1️⃣  Minimum height */
  min-height: 90vh;

  /* 2️⃣  Keep your current centering */
  display: flex;
  align-items: center;
  justify-content: center;

  /* 3️⃣  Breathing room if the copy is taller than 80 vh */
  padding: 4rem 1rem;
}

/* Poster image – pulled from the data-poster attr by JS */
.video-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--poster) center/cover no-repeat;
  transition: opacity 0.8s ease;
  z-index: -1;
  /* sits under your text */
}

/* When video starts */
.video-hero.video-started::before {
  opacity: 0;
}

/* Video itself fades in at the same time */
.video-hero iframe {
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  z-index: -2;
}

.video-hero.video-started iframe {
  opacity: 1;
}

/* optional dark overlay */
.video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: -1;
}

/* hero section */
#hero {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 800px;
  min-height: 90vh;
  padding-top: 250px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

#testhero {
  position: relative;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 500px;
  min-height: 60vh;
  display: flex;
  align-items: end;
  justify-content: center;
}

/* lists */
/* Base list style */
.list-icon {
  list-style: none;
  padding-left: 0;
}

.list-icon li {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.list-icon li i {
  font-size: 2.5rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Condition 1: If parent has bg-blue, use lighter blue icon color */
.bg-blue .list-icon li i {
  color: #96b4d2;
}

/* Condition 2: Default or light background — use dark blue */
body .list-icon li i,
.bg-light .list-icon li i,
.bg-white .list-icon li i,
section:not([class*="bg-"]) .list-icon li i {
  color: #333b89;
}

/* steps */
.step-card {
  background: transparent;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  text-align: center;
  padding: 2rem 0; /* vertical spacing between steps */
}

.step-content {
  border-radius: 2rem;
  margin: 1rem;
  padding: 3rem 1rem;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

/* Gradient backgrounds */
.bg-orange {
  background: linear-gradient(to right, #fff, orange);
}
.bg-yellowgreen {
  background: linear-gradient(to right, yellow, green);
}
.bg-purpleblue {
  background: linear-gradient(to right, purple, #0000ff);
}
.bg-brownred {
  background: linear-gradient(to right, #8b4513, red, #000);
}
.bg-blackbelt {
  background: linear-gradient(to right, #111111, #000000);
}

/* CTA Button */
.step-btn {
  margin-top: 2rem;
}

/* === STAFF CARDS === */
.staff-card {
  border: 3px solid #96b4d2;
  border-radius: 1rem;
  background-color: #fff;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.staff-card:hover {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.1);
}

.staff-card-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -50px;
  min-width: 200px;
}
.staff-card-img {
  transition: transform 0.3s ease;
}

.staff-card:hover .staff-card-img {
  transform: scale(1.1);
}

.staff-card-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
  object-position: top center; /* <--- this is key */
}

@media (max-width: 575px) {
  .staff-card-img {
    width: 150px;
    height: 150px;
    object-position: top center; /* ensure it’s also applied on mobile */
  }
}

.aspect-ratio-16x9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
}

.aspect-ratio-16x9 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.aspect-ratio-16x9:hover img {
  transform: scale(1.05);
}

/** carousel styles */
/* Make the left and right controls full height for easy clicking */
.carousel-control-prev,
.carousel-control-next {
  width: 10%; /* Width of the clickable left/right bands */
  height: 100%; /* Full height */
  top: 0;
  bottom: 0;
  opacity: 1; /* Ensure they're always visible */
  color: transparent; /* Hide default arrow color */
}

/* Center the icon within the full-height control area */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center icon */
  transition: all 0.3s ease;
  border-radius: 50%; /* Make the background circular */
}

/* Shadow effect for icons to improve visibility */
.carousel-control-prev,
.carousel-control-next {
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
  transition: filter 0.3s ease;
}

/* Hover effect to darken background */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 576px) {
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 30px;
    height: 30px;
    padding: 5px;
  }
}

#footer p {
  font-size: 1.5rem;
  line-height: 2.2rem;
}

#footer a,
#breadcrumbs a {
  color: #96b4d2;
  transition: all 0.5s ease;
}

#footer a:hover i {
  color: #fff !important;
}
