/* ADD YOUR CUSTOM CSS BELOW THIS LINE */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital@0;1&family=Open+Sans:wght@400;500;700&display=swap');

h1.masthead-spacegrant {
    font-family: 'Lora', serif;
    font-weight: 500;
    line-height: 2.15rem;
}
a {
    color: #12498f;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #008539;
}
.header .nav-link {
    color: #000000;
    font-weight: bold;
    text-transform: uppercase;
}
 .header .nav-link.active, .header .navbar-nav-item.active .nav-link {
	 color: #008539;
}
.navbar-nav-item:focus .nav-link, .navbar-nav-item:hover .nav-link {
	 color: #008539;
}
.navbar-expand-lg .navbar-nav .dropdown-menu {
		 border-top: 0.1875rem solid #12498f;
		 border-top-left-radius: 0;
		 border-top-right-radius: 0;
		 border-bottom-right-radius: 0.3125rem;
		 border-bottom-left-radius: 0.3125rem;
		 box-shadow: 0 12px 15px rgba(140, 152, 164, 0.1);
	}
	 [class*="navbar-expand"] .dropdown-item.active:not(:focus):not(:active), [class*="navbar-expand"] .dropdown-item:hover {
	 color: #12498f;
	 background-color: transparent;
}

.bg-img-hero {min-height: 525px;}


.link-underline {
    color: #12498f;
    border-bottom: 0.0625rem dashed #97a4af;
}


.program-facts-block .title {
  background-color: #00274D; /* Deep blue */
  color: #ffffff; /* Optional: make text white for contrast */
  padding: 1rem; /* Optional: add padding if needed */
}

/* FLIP CARDS */
.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
}

.flip-card-small {
  background-color: transparent;
  width: 250px;
  height: 250px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.flip-card:hover .flip-card-inner, .flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-small:hover .flip-card-inner, .flip-card-small:focus-within .flip-card-inner {
	 transform: rotateY(180deg);
}
 

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: #f3f3f3;
  padding: 10px;
  transform: rotateY(180deg);
}

.flip-card-front .card-title {display: block;
    margin-bottom: 0;
    text-align: center;
    clear: both;
    margin: 0px 0px 0px 0px;
    padding: 4px 12px 3px 12px;
    border-radius: 0px 0px 0px 0px;
    background: rgba(10,10,10,0.4);
    position: relative;
    z-index: 2 !important;
    font-family: "Open Sans";
    text-transform: capitalize;
    /* bottom: 0; */
    position: absolute;
    bottom: 0;
    left: 0;}

/* option 2*/

.card-section {
  height: 100vh;
  display: flex;
  padding: 0 4em;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.card-container {
  perspective: 1000px;
  height: 28vh;
  width: 100%;
  cursor: pointer;
}
.cs-card {
  transform-style: preserve-3d;
  height: 100%;
  width: 100%;
  transition: 0.5s ease;
}
.front,
.back {
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0.4em;
  position: absolute;
  top: 0;
  bottom: 0;
  backface-visibility: hidden;
}
.front {
  background: linear-gradient(to right, #a246ef, #6523fe);
}
.front img {
  width: 5em;
}
.content {
  transform: translateZ(60px);
}
.content h3 {
  font-size: 22px;
  margin-top: 1em;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.content p {
  font-size: 14px;
  line-height: 2em;
  letter-spacing: 0.02em;
  padding: 0 3em;
}
.back {
  background-color: #28253a;
  transform: rotateX(180deg);
}
.card-container:hover .cs-card {
  transform: rotateX(180deg);
}


.default-related-highlights .cta-banner {
  background-color: #800000; /* Maroon */
  color: #ffffff;
}

.default-related-highlights .cta-banner .btn {
  background-color: #ffffff;
  color: #800000;
}


@media screen and (min-width: 992px) {

  .card-container {
    flex-basis: 0 0 33.33%;
    max-width: 33.33%;
    padding: 0 1.5em;
  }
}

/* =========================================================
   RAWCS HERO IMAGE RESPONSIVENESS OVERRIDE (DISABLED)
   ---------------------------------------------------------

.bg-img-hero {
  min-height: clamp(250px, 40vw, 525px) !important;
  width: 100% !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: top center !important;
  background-color: #ffffff !important;
}

@media (max-width: 768px) {
  .bg-img-hero {
    min-height: clamp(200px, 50vw, 400px) !important;
    background-size: contain !important;
    background-position: top center !important;
  }
}

@media (max-width: 480px) {
  .bg-img-hero {
    min-height: clamp(180px, 55vw, 350px) !important;
  }
}
*/


 /* Tablet */
  @media (max-width: 768px){
    .bg-img-hero{
      min-height: clamp(140px, 30vw, 260px) !important; /* ↓ from 50vw/400px */
      background-size: contain !important;
      background-position: top center !important;
    }
  }

  /* Mobile */
  @media (max-width: 480px){
    .bg-img-hero{
      min-height: clamp(120px, 25vw, 220px) !important; /* ↓ from 55vw/350px */
    }
  }


