:root {
  --white: #ffff;
  --darkblue: #022a45;
  --blue: #2b536f;
  --lightblue: #bad2e3;
  --hartlandblue: #005a96;
}

/* ========== Base Styles ========== */
body {
  font-family: "Poppins", sans-serif;
  font-weight: 200;
  margin: 0;
  margin-bottom: 100px;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ========== Gradient Text ========== */
.gradient-text {
  background: linear-gradient(45deg, #c90505, #005a96);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ========== Fade-in Animation ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Hero Section ========== */
.hero-container {
  position: relative;
  width: 100%;
  height: 35vh;
  margin-top: 10vh;
  overflow: hidden;
}

.hero-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(1.1);
}

.hero-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
}

.hero-tagline {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.15rem;
  color: var(--blue);
  margin-top: 1rem;
}

.hl-logo {
  max-width: 50rem;
}

/* ========== Info Cards ========== */
.info-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  max-width: 1500px;
  width: 100%;
}

.card {
  border-radius: 1rem;
  padding: 1.5rem;
  width: 230px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card-images {
  width: 22rem;
  height: 145px;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
}

.card-header {
  font-size: 1.3rem;
  color: var(--darkblue);
  margin-bottom: 0.5rem;
  font-weight: 100;
}

.highlight {
  font-weight: 700;
}

.services-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  margin-top: 1rem;
  background-color: var(--darkblue);
  color: var(--white);
  border: none;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.services-btn::after {
  content: "›";
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.services-btn:hover {
  background-color: var(--hartlandblue);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.services-btn:hover::after {
  transform: translateX(4px);
}

.services-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ========== Main Navigation ========== */
.main-nav {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.nav-ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin-top: 2rem;
}

.nav-list {
  position: relative;
}

.nav-links {
  text-decoration: none;
  color: #141414;
  font-size: 1.7rem;
  position: relative;
  padding-bottom: 0.3rem;
  transition: color 0.3s ease;
}

.nav-links::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #292929;
  transform: translateX(-50%);
  transform-origin: center;
  transition: width 0.7s ease;
}

.nav-links:hover::after {
  width: 100%;
}

/* ========== Social Icons ========== */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.icon-links {
  display: inline-block;
  transition: transform 0.3s ease;
}

.icon-links:hover {
  transform: scale(1.1);
}

.social-icons-img {
  width: 3rem;
  height: 3rem;
  transition: filter 0.3s ease;
  filter: brightness(0) saturate(100%) invert(17%) sepia(100%) saturate(745%) hue-rotate(181deg) brightness(92%) contrast(89%);
}

/* ========= Media Queries ========= */
@media (max-width: 500px) {
  .hero-tagline {
    font-size: 1.5rem;
  }
  .hero-tagline2 {
    font-size: 3rem;
  }
  .hl-logo {
    max-width: 40rem;
  }
}

@media (max-width: 425px) {
  .nav-links {
    font-size: 1.5rem;
  }
  .hero-tagline {
    font-size: 1.2rem;
  }
  .logo img {
    max-width: 32rem;
  }
}