:root {
  --blue1: #13294b;
  --blue2: #174a96;
  --blue3: #397de3;
}
/* Animation Settings for Index Header */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideRight {
  from {
    transform: translateX(-5px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slideLeft {
  from {
    transform: translateX(5px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    transform: translateY(40px);
  }
  to {
    transform: translateY(0);
  }
}

.splash-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 80vh;
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  overflow: hidden;
  top: -6rem;
  margin-bottom: -4rem;
}

.splash-media {
  flex: 1 1 60%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 50vw;
  z-index: 0;
}

.splash-hero-media {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  background: #222;
  display: block;
}

/* Large faint logo overlay on right */
.splash-hero-logo-large {
  position: absolute;
  right: 13vw;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  max-width: 40vw;
  height: auto;
  opacity: 1;
  z-index: 3;
  pointer-events: none;
  filter: brightness(120%) grayscale(1) drop-shadow(0 4px 24px #13294bcc);
  user-select: none;
  animation: fadeIn 2s;
  animation-timing-function: ease-in-out;
  transition: 1s;
}

/* Text overlay with partial overlap */
.splash-content-overlay {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  max-width: 680px;
  min-width: 320px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 7vw 80px 13vw;
  background: linear-gradient(90deg, #13294bee 50%, #174a9600 100%);
}

.splash-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: .05em;
  margin-bottom: 14px;
  opacity: 1;
  animation: fadeIn 1s, slideUp 1s;
  animation-timing-function: ease-in-out;
}
.splash-logo {
  height: 38px;
  width: auto;
  filter: brightness(200%) grayscale(1) drop-shadow(0 0 6px #2226);
  animation: fadeIn 4s;
  animation-timing-function: ease-in-out;
}

.splash-content-overlay h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.14;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
  color: #fff;
  animation: fadeIn 1s, slideUp 1s;
  animation-timing-function: ease-in-out;
  visibility: visible !important;
}
.splash-content-overlay p {
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 30px;
  color: #fff;
  animation: fadeIn 1s, slideUp 1s;
  animation-timing-function: ease-in-out;
}
.splash-actions {
  display: flex;
  gap: 18px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.splash-btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 32px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .5s;
  box-shadow: 0 2px 12px rgba(32,88,166,0.10);
  letter-spacing: 0.03em;
  animation: fadeIn 1s;
}
.splash-btn-primary {
  background: #174a96;
  color: #fff;
  border: none;
}
.splash-btn-primary:hover {
  background: #397de3;
  color: #fff;
}
.splash-btn-secondary {
  background: rgba(255,255,255,0.07);
  color: #efff;
  border: 1.6px solid #397de3;
}
.splash-btn-secondary:hover {
  background: #397de3;
  color: #fff;
}
@media (max-width: 1400px) {
  .splash-hero-logo-large {
    opacity: .2;
  }
}
/* Responsive */
@media (max-width: 1100px) {
  .splash-content-overlay {
    width: 90vw;
    max-width: 100vw;
    padding: 50px 5vw 50px 4vw;
  }
  .splash-hero-media {
    min-height: 280px;
  }
  .splash-hero-logo-large {
    display: none;
    width: 140px;
    right: 2vw;
    top: 37%;
  }
}
@media (max-width: 700px) {
  .splash-brand {
    display: none;
  }
  .splash-hero {
    flex-direction: column;
    min-height: unset;
  }
  .splash-media {
    min-width: 100vw;
    width: 100vw;
    justify-content: center;
  }
  .splash-content-overlay {
    position: static;
    width: 100vw;
    max-width: 100vw;
    background: var(--blue1);
    padding: 30px 4vw;
  }
  .splash-hero-media {
    min-height: 180px;
  }
  .splash-content-overlay h1 {
    font-size: 2.0rem;
  }
  .splash-hero-logo-large {
    display: none;
  }
}

/*-- animated title --*/

.animated-title {
  font-size: 2.3rem;
  font-weight: 900;
  color: #2058a6;
  letter-spacing: -0.01em;
}

.changing-word {
  display: inline-block;
  transition: none;
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform;
}

.changing-word.fadeout {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.36s, transform 0.44s cubic-bezier(.7,1.6,.58,1);
}

.changing-word.fadein {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.36s, transform 0.52s cubic-bezier(.7,1.6,.58,1);
}

