/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base body */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  scroll-behavior: smooth;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* CSS variables (design tokens) */
:root {
  --primary-color: #00356b;
  --yale-blue: #00356b;
  --yale-blue-light: #1a4c80;
  --yale-blue-dark: #002244;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gradient-primary: linear-gradient(135deg, #00356b 0%, #1a4c80 100%);
  --gradient-secondary: linear-gradient(135deg, #00356b 0%, #002244 100%);
  --gradient-accent: linear-gradient(135deg, #1a4c80 0%, #0d1f33 100%);
  --gradient-light: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --surface-soft: linear-gradient(
    145deg,
    #ffffff 0%,
    #ecf2f8 55%,
    #e2ebf4 100%
  );

  --bs-primary: #00356b;
  --bs-primary-rgb: 0, 53, 107;
}

/* Navbar */
.navbar {
  background: var(--gradient-primary) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Hero section & backgrounds */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 53, 107, 0.6)),
    url("imgs/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 140px;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.08),
      transparent 60%
    ),
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 53, 107, 0.75));
  mix-blend-mode: normal;
  z-index: 0;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.03) 0 2px,
    transparent 2px 4px
  );
  opacity: 0.3;
  animation: noiseShift 12s linear infinite;
  z-index: 1;
}

@keyframes noiseShift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(100px, 50px, 0);
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 53, 107, 0.2) 100%
  );
  opacity: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Hero content card & headings */
.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px) saturate(140%);
  border-radius: 28px;
  padding: 3.5rem 2.75rem 4.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.hero-content::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.15),
    transparent 70%
  );
  transform: translateX(-50%);
  opacity: 0.6;
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 30px;
  backdrop-filter: blur(6px);
  font-weight: 600;
}

.hero-content h1 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.1rem;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
  margin-top: -0.25rem;
}

.gradient-title {
  background: linear-gradient(
    90deg,
    #fff 0%,
    #d0e4ff 35%,
    #9fc2f1 70%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.title-accent {
  color: rgba(255, 255, 255, 0.35);
}

.hero-content .lead {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Buttons */
.hero-image img:hover {
  transform: scale(1.05);
}

.btn {
  font-weight: 600;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Feature cards */
.feature-card {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
  background: var(--surface-soft);
  border-radius: 20px;
  border: 1px solid #d9e3ec;
  box-shadow: 0 6px 18px -6px rgba(0, 38, 77, 0.15),
    0 0 0 1px rgba(0, 53, 107, 0.05);
}

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

/* Program cards */
.program-card {
  border: 1px solid #dbe4ec;
  border-radius: 22px;
  box-shadow: 0 10px 28px -14px rgba(0, 53, 107, 0.2),
    0 0 0 1px rgba(0, 53, 107, 0.05);
  transition: all 0.35s ease;
  overflow: hidden;
  position: relative;
  background: var(--surface-soft);
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.program-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 18px 40px -16px rgba(0, 53, 107, 0.35),
    0 0 0 1px rgba(0, 53, 107, 0.08);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-card .card-body {
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card .btn {
  margin-top: auto;
}

/* Student life items */
.student-life-item {
  text-align: center;
  padding: 1rem;
  background: var(--surface-soft);
  border-radius: 20px;
  border: 1px solid #d7e1ea;
  box-shadow: 0 8px 22px -12px rgba(0, 50, 90, 0.25),
    0 0 0 1px rgba(0, 53, 107, 0.05);
}

.student-life-item {
  justify-content: center;
}

.student-life-item img {
  transition: all 0.3s ease;
  filter: brightness(1.1);
}

.student-life-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Housing */
.housing-section {
  background: white;
  border: 1px solid #e9ecef;
}

/* Price display */
.price-display {
  color: var(--yale-blue);
  font-weight: 700;
  display: inline-block;
}

/* Alumni cards */
.alumni-card {
  padding: 2rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
}

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

.alumni-card img {
  object-fit: cover;
  transition: all 0.3s ease;
}

.alumni-card:hover .alumni-avatar {
  transform: scale(1.1);
}

.alumni-avatar {
  transition: all 0.3s ease;
}

/* Utility background color */
.bg-yale-blue {
  background-color: var(--yale-blue) !important;
}

/* Media/image sizing */
.hero-image img,
.student-life-item img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 53, 107, 0.3);
}

.student-life-item img {
  height: 250px;
  object-fit: cover;
}

/* Stats row */
.stats-row {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  color: var(--yale-blue);
}

/* Section scaffolding & accents */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-alt {
  background: #ffffff;
}

.section-accent {
  background: var(--gradient-accent);
  position: relative;
}

.section-accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 25% 20%,
    rgba(255, 255, 255, 0.15),
    transparent 60%
  );
  mix-blend-mode: overlay;
}

.section-head {
  max-width: 900px;
}

.max-w-2 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-decor {
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-title-decor::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 120px;
  height: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 53, 107, 0.4);
}

.section-title-decor-light {
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-title-decor-light::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 140px;
  height: 4px;
  background: linear-gradient(90deg, #fff, #b9d6f1);
  transform: translateX(-50%);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Glass tiles */
.glass-tile {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.08);
}

.glass-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.18);
}

/* Icon styles */
.icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  color: #fff;
}

.gradient-icon {
  background: linear-gradient(135deg, #00356b, #1a4c80);
  box-shadow: 0 6px 18px -4px rgba(0, 53, 107, 0.5);
}

/* Hero scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 34px;
  height: 54px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 3;
}

.hero-scroll-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: scrollDot 2s infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  70% {
    transform: translateY(26px);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero-scroll-indicator:hover {
  border-color: #fff;
}

/* Contact info base */
.contact-info {
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

/* Application form base */
.application-form {
  position: relative;
}

.application-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

/* Contact panel card */
.contact-panel {
  background: #ffffff;
  border: 1px solid #e5ecf3;
  border-radius: 24px;
  padding: 2.25rem 2rem 2.5rem;
  box-shadow: 0 10px 30px -12px rgba(0, 53, 107, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 2rem;
}

.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    140deg,
    rgba(0, 53, 107, 0.06),
    rgba(0, 53, 107, 0) 55%
  );
  pointer-events: none;
}

/* Contact info rows */
.contact-block {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 1rem 1.1rem 0.25rem;
  border-bottom: 1px solid #eef2f6;
}

.contact-block:last-of-type {
  border-bottom: none;
}

.contact-block .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #00356b, #1a4c80);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px -6px rgba(0, 53, 107, 0.6);
}

.contact-block h6 {
  font-weight: 600;
  margin-bottom: 0.25rem;
  letter-spacing: 0.3px;
}

/* Contact call-to-action */
.contact-cta {
  margin-top: auto;
  background: linear-gradient(135deg, #f5f9ff, #eef3f9);
  border: 1px solid #dde6ef;
  padding: 1.4rem 1.25rem 1.6rem;
  border-radius: 18px;
  box-shadow: 0 4px 14px -6px rgba(0, 53, 107, 0.18);
}

.contact-cta .cta-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00356b;
  margin-bottom: 0.75rem;
}

/* Form layout panel */
.form-panel {
  position: relative;
  min-height: 100%;
  display: flex;
  width: 100%;
  margin-top: 1.5rem;
}

.form-panel > * {
  flex: 1;
}

/* Application placeholder */
.application-placeholder {
  background: #ffffff;
  border: 1px dashed #c2d4e4;
  border-radius: 24px;
  padding: 2.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 28px -10px rgba(0, 53, 107, 0.12);
  transition: all 0.4s ease;
}

.application-placeholder:hover {
  border-color: #00356b;
  box-shadow: 0 14px 40px -12px rgba(0, 53, 107, 0.28);
}

.placeholder-inner {
  max-width: 380px;
}

.placeholder-badge {
  display: inline-block;
  background: linear-gradient(135deg, #00356b, #1a4c80);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  padding: 0.4rem 0.85rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 12px -4px rgba(0, 53, 107, 0.6);
}

/* Application form styles */
.application-form {
  border-radius: 24px;
  padding: 2.5rem 2.25rem 2.75rem;
  box-shadow: 0 12px 34px -14px rgba(0, 53, 107, 0.28);
  border: 1px solid #dbe4ec;
  background: linear-gradient(135deg, #ffffff, #f5f9fc);
}

.application-form h5 {
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* Typography & spacing tweaks */
.price-display span.h2 {
  font-size: 2.6rem;
}

.program-card .card-body h5 {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.program-card .card-body ul {
  margin-top: 1.25rem;
}

/* Alumni avatar emphasis */
.alumni-avatar {
  background: linear-gradient(135deg, #00356b, #1a4c80) !important;
  box-shadow: 0 8px 22px -6px rgba(0, 53, 107, 0.6);
}

/* Stats row heading gradient */
.stats-row h3 {
  background: linear-gradient(90deg, #00356b, #1a4c80);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Financial cards */
.financial-card .card-body {
  padding: 2.25rem 2rem 2.3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.financial-card {
  background: var(--surface-soft) !important;
  border: 1px solid #d5e0e9;
  box-shadow: 0 8px 24px -10px rgba(0, 53, 107, 0.18),
    0 0 0 1px rgba(0, 53, 107, 0.05);
  border-radius: 22px;
}

.financial-card .card-title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 1.1rem;
}

.financial-card .price-display span.h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
  margin-right: 0.35rem;
}

.financial-focus .card-body {
  text-align: center;
  align-items: center;
}

.financial-focus .price-display {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.25rem;
}

.financial-focus ul {
  padding-left: 0;
  margin-left: 0;
}

.financial-focus ul li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.financial-card .price-display + ul {
  margin-top: 1.4rem;
}

.financial-card ul li {
  padding: 0.35rem 0;
  font-size: 0.95rem;
}

.financial-card .financial-options .option-item h6 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.financial-card .financial-options .option-item p.small {
  font-size: 0.75rem;
  line-height: 1.35;
}

.financial-card .financial-options ul.small li {
  padding: 2px 0;
}

/* Footer */
footer {
  position: relative;
  background: #0d1f33;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}

footer p {
  margin-bottom: 0.5rem;
}

/* Mini Gallery */
.visual-block {
  position: relative;
  padding: 2.5rem 2rem 2.75rem;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 10px 28px -12px rgba(0, 53, 107, 0.45);
  isolation: isolate;
}

.visual-block h4 {
  color: #fff;
  font-weight: 600;
}

.visual-block p {
  color: rgba(255, 255, 255, 0.9);
}

.visual-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 25% 15%,
    rgba(255, 255, 255, 0.25),
    transparent 60%
  );
  mix-blend-mode: overlay;
  pointer-events: none;
}

.gradient-a {
  background: linear-gradient(135deg, #00356b 0%, #1a4c80 60%, #0d1f33 100%);
}

.gradient-b {
  background: linear-gradient(135deg, #1a4c80 0%, #00356b 50%, #05192b 100%);
}

.visual-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -18px rgba(0, 53, 107, 0.6);
  transition: all 0.55s cubic-bezier(0.16, 0.8, 0.3, 1);
}

.visual-block:not(:hover) {
  transition: all 0.5s cubic-bezier(0.16, 0.8, 0.3, 1);
}

/* Mini gallery image variants */
.image-architecture {
  background: linear-gradient(rgba(0, 53, 107, 0.55), rgba(0, 34, 68, 0.65)),
    url("imgs/yale-architecture.avif") center/cover no-repeat;
}

.image-organizations {
  background: linear-gradient(rgba(0, 53, 107, 0.55), rgba(0, 34, 68, 0.65)),
    url("imgs/Student-Organizations.webp") center/cover no-repeat;
}

/* Mini shot tiles */
.mini-shot {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #0d1f33, #00356b);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.45);
}

.mini-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 0.8, 0.3, 1), filter 0.6s;
  filter: brightness(0.9) contrast(1.05) saturate(1.1);
}

.mini-shot:hover img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.1) saturate(1.2);
}

/* Light section override */
section.bg-light,
.section.bg-light {
  background: #ffffff !important;
}

/* Social links (frosted) */
.social-links a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
}

.social-links a:hover {
  background: linear-gradient(135deg, #00356b, #1a4c80);
  box-shadow: 0 8px 20px -8px rgba(0, 53, 107, 0.7);
}

/* Custom scrollbars (WebKit) */
::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #1a4c80, #00356b);
  border-radius: 8px;
  border: 2px solid #ffffff;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #002244, #00356b);
}

/* Contact info (themed card) */
.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  color: #2c3e50;
}

/* Typography utilities */
.section-text {
  color: #2c3e50;
  line-height: 1.7;
}

.section-heading {
  color: var(--yale-blue);
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  color: #495057;
  line-height: 1.6;
}

.lead {
  color: #495057;
  font-weight: 400;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Contact list items */
.contact-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.contact-item:last-child {
  border-bottom: none;
}

/* Application form card (alt) */
.application-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.application-form.show {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* Form controls */
.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 53, 107, 0.25);
  transform: translateY(-2px);
}

/* Brand utility colors */
.bg-primary {
  background-color: #00356b !important;
}

.text-primary {
  color: #00356b !important;
}

/* Primary button variants */
.btn-primary {
  background-color: #00356b;
  border-color: #00356b;
}

.btn-primary:hover {
  background-color: #002244;
  border-color: #002244;
}

.btn-primary:focus {
  background-color: #00356b;
  border-color: #00356b;
  box-shadow: 0 0 0 0.2rem rgba(0, 53, 107, 0.25);
}

.btn-primary:active {
  background-color: #002244;
  border-color: #002244;
}

/* Social links (layout + hover lift) */
.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Reveal-on-scroll animation utility */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Pulse animation helper */
.pulse {
  animation: pulse 2s infinite;
}

/* Scroll-to-top button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-size: 1.25rem;
  z-index: 1000;
}

/* Keyframes: pulse */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}
