  @import url('https://fonts.googleapis.com/css2?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');
:root {
    --main-blue: #162447; 
	--bright-blue: #0849c9;
    --main-green: #3B561A; /* current official green - #4F7722 - does not meet WCAG2 Contrast requirements */
    --main-purple: #5a52a7;
	--main-grey: #A9A9AB;
	--main-bluemuted: #364772;
	--main-burgundy: #471628;
}
/* MAIN ELEMENTS */

body {
	font-family: "Poppins", sans-serif;
	width: 100%;
	font-size: 1rem;
}

.search_result {
	font-family: "Poppins", sans-serif;
	width: 100%;
	font-size: 1rem;
	background-color: var(--main-blue);
}

.h5 {
	font-size: 1.4rem;
}

@media (max-width: 991.98px) {
  .header-svg-bg {
    max-height: 260px;
  }
}

@media (max-width: 767.98px) {
  .header-svg-bg {
    max-height: 380px;
  }
}

#mainHeader {
  background-color: #eaf5ff;
}

.header-layout {
  min-height: clamp(320px, 35vw, 480px);
  position: relative;
}

.header-svg-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;  
  pointer-events: none;
  z-index: 0;
}

footer {
  	background-color: var(--main-green);
  	color: white;
  	padding: 2rem 1rem;
}

footer a {
  	color: white;
  	text-decoration: underline;
}

footer a:hover {
  	color: var(--main-green);
}

hr.hrgradient {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(22, 36, 71, 0), rgba(22, 36, 71, 100), rgba(22, 36, 71, 0));
}

.form-check {
  padding: 10px 15px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  margin-bottom: 10px;
}

.form-check-input {
  margin-top: 0.3em;
  margin-right: 10px;
}

/* MAIN COLORS */
.bg-blue {
	background-color: var(--main-blue);
}
.bg-bright {
	background-color: var(--bright-blue);
	border-radius: 10px;
	border: thin solid black;
}
.text-blue {
	color: var(--main-blue);
}

.bg-green {
	background-color: var(--main-green);
}

.text-green {
	color: var(--main-green);
}

.bg-purple {
	background-color: var(--main-bluemuted);
}

.btn-success {
	background-color: var(--main-green);
}

.btn-primary {
	background-color: var(--main-blue);
}
.text-primary {
	color: var(--main-blue);
}

.btn-outline-success {
    color: var(--main-green);
    border-color: var(--main-green);
}

.btn-outline-success:hover,
.btn-outline-success:focus,
.btn-outline-success:active {
    color: #fff;
    background-color: var(--main-green);
    border-color: var(--main-green);
}

.btn-outline-primary {
    color: var(--main-blue);
    border-color: var(--main-blue);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: #fff;
    background-color: var(--main-blue);
    border-color: var(--main-blue);
}

/* NAVIGATION BAR */
.navbar-toggler-icon {
  	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}


@media (max-width: 1399.98px) {
.bg-right-no-repeat  {
  background-image: none !important;
  background: linear-gradient(
    40deg,
    hsl(0deg 0% 100%) 0%,
    hsl(235deg 12% 90%) 21%,
    hsl(234deg 12% 81%) 30%,
    hsl(234deg 11% 71%) 39%,
    hsl(233deg 11% 62%) 46%,
    hsl(233deg 11% 53%) 54%,
    hsl(231deg 14% 44%) 61%,
    hsl(230deg 20% 35%) 69%,
    hsl(228deg 31% 27%) 79%,
    hsl(223deg 53% 18%) 100%
  ) !important;
	background-repeat: no-repeat;
	background-position: right center;
}
}

@media (max-width: 991.98px) {
  .bg-right-no-repeat {
    background: #ffffff !important;
    background-image: none !important;
    background-repeat: no-repeat;
    background-position: left center;
  }
}

@media (min-width: 1400px) {
  .d-midonly {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-nav {
    gap: 0.5rem; 
  }

  .navbar-nav .nav-link {
    font-size: 0.7rem; 
  }

  .dropdown-menu {
    font-size: 0.72rem; 
    padding: 0.5rem 0.75rem; 
  }

  .dropdown-submenu > .dropdown-menu {
    left: 100%; 
  }
}


.apply-btn {
  	height: 100%;
  	min-height: 100%;
  	display: flex;
  	align-items: center;
  	justify-content: center;
}

.alphabet-nav {
  	position: sticky;
  	top: 280px;
  	z-index: 1020;
  	background-color: #fff;
  	padding: 0.5rem 0;
}


.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
}

/* NAV TABS */
.nav-tabs .nav-link {
  background-color: var(--bs-info-bg-subtle);
  margin-right: 5px;
  border-radius: 0.375rem 0.375rem 0 0;
}
.nav-tabs .nav-link.active {
  background-color: var(--bs-success-bg-subtle); 
  border-bottom-color: transparent; 
}

/* VIDEO PANEL */
.center-panel {
  	width: 60%;
  	max-width: 500px;
  	padding: 1.5rem;
  	background-color: rgba(0, 0, 0, 0.5);
  	border-radius: 0.5rem;
}

.fade-transition {
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.fade-show {
  	opacity: 1;
}
@keyframes fadeSlideUp {
  0% {
	opacity: 0;
	transform: translateY(30px);
  }
  100% {
	opacity: 1;
	transform: translateY(0);
  }
}

.hero-text {
  	animation: fadeSlideUp 1.2s ease-out forwards;
  	opacity: 0;
}

.hero-subtext {
	animation: fadeSlideUp 1.5s ease-out forwards;
	opacity: 0;
	animation-delay: 0.8s;
}

/* LINKS */
#links a {
  	color:#202f4c;
}
#links a:hover {
  	color:#64843b;
}

/* FITTY */
.fit-text {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	text-align: center;
}
.image-column {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}
.vertical-title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 75vh;
	background-color: #007bff;
	color: white;
	border-radius: 10px;
}
.director-info {
	margin-top: 50px;
	text-align: center;
	/*border: thin solid #A8A8A8;
	padding: 8px;
	width: 70%;*/
}
.director-info img {
	border-bottom-right-radius: 20%;
	border-top-left-radius: 20%;
	width: 85%;
	text-align: left;
	margin-bottom: 15px;
}
.contact-form {
	background-color: #C5CBF1;
	padding: 15px;
}


.mobile-logo {
  display: none;
}


@media (max-width: 992px) {
  .mobile-logo {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
    z-index: 10;
  }


  .header-svg-bg {
    display: none !important;
  }
}
@media (max-width: 767.98px) and (orientation: landscape) {
  .header-layout {
    min-height: 260px; /* Or whatever makes room — tweak as needed */
  }

  .mobile-logo {
    margin-bottom: 1rem; /* Push nav bar down just a little */
  }
}

/* SIDEBAR NAV */

.list-group a.list-group-item {
  transition: background 0.4s ease, color 0.4s ease;
  border-left: 4px solid transparent;
}

.list-group a.list-group-item:hover {
  background: linear-gradient(to left, #ffffff 0%, #dff5ff 50%, #c2e7ff 100%);
  color: #005b74;
  border-left: 4px solid var(--main-green);
}

.list-group a.list-group-item + a.list-group-item {
  margin-top: 2px;
}

.list-group a.list-group-item::after {
  content: "➜";
  float: right;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.3s, transform 0.3s;
}

.list-group a.list-group-item:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* GENERAL STYLING */
hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(22,36,71, 25), rgb(22,36,71, 100), rgba(22,36,71, 25));
}

/* social media icons */
.footer-social .btn-social{
  /* WCAG 2.2 target size: comfy hit area */
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem; /* or 50% if you want circles */
}

.footer-social .btn-social:focus-visible{
  outline: 2px solid #fff;     /* adjust for your footer bg */
  outline-offset: 3px;
}

.footer-social .btn-social:hover{
  opacity: .85;
}

/* Only style submenus under .dropdown-submenu */
.dropdown-submenu > .dropdown-menu {
  background-color: #f0f4ff; /* light bluish background */
  border-radius: 6px;
}

/* Container for skip links */
.skip-links {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
}

.skip-links a {
  position: absolute;
  left: -999px;
  background: #004080;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

.skip-links a:focus {
  left: 0;
}

/*Marketing Links*/

 .wtbg {
  background-color: #507a24;
  transition: background-color .15s ease, color .15s ease;
}

.wta {
  color: #ffffff;      
  text-decoration: none;
  display: block;        /* make entire area clickable */
}

.wtbg:hover,
.wtbg:focus-within {
  background-color: #cff4fc;
}

.wtbg:hover .wta,
.wtbg:focus-within .wta,
.wta:hover,
.wta:focus {
  color: #507a24;
}

@media (prefers-reduced-motion: reduce){
  .footer-social .btn-social{ transition: none; }
}