:root {
  --navy: #0f1e63;
  --blue: #0852f8;
  --gold: #c9922e;
  --gold-soft: #e6b855;
  --ink: #14224f;
  --muted: #5a668c;
}

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

body {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: #e8eff9;
}

/* Full-bleed campus photo */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url('assets/school-main-img.png') center center / cover no-repeat;
  transform: scale(1.05);
  animation: slowZoom 28s ease-in-out infinite alternate;
}

/* Light wash — keeps the campus visible for depth, softens toward edges */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      ellipse at 50% 42%,
      rgba(232, 240, 252, 0.35) 0%,
      rgba(226, 236, 251, 0.6) 58%,
      rgba(214, 227, 248, 0.85) 100%
    );
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.14); }
}

/* Premium frosted panel */
.card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  padding: 30px 56px 30px;
  text-align: center;
  border-radius: 30px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72),
    rgba(255, 255, 255, 0.55)
  );
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    0 40px 90px rgba(15, 30, 99, 0.22),
    0 8px 24px rgba(15, 30, 99, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Thin gold hairline along the panel's top edge */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-soft),
    var(--gold),
    var(--gold-soft),
    transparent
  );
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo-wrap {
  width: 128px;
  height: 128px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(201, 146, 46, 0.35);
  box-shadow:
    0 18px 40px rgba(15, 30, 99, 0.2),
    0 0 0 6px rgba(255, 255, 255, 0.6);
}

.logo {
  height: 94px;
  width: auto;
  object-fit: contain;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #1e40e8 55%, #0b2fb8);
  box-shadow:
    0 10px 24px rgba(8, 82, 248, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  margin-bottom: 26px;
}

.badge svg {
  opacity: 0.95;
}

.title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 5.2vw, 3.5rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 18px;
}

.title-rule {
  display: block;
  width: 68px;
  height: 3px;
  margin: 0 auto 22px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
}

.subtitle {
  font-size: clamp(1rem, 2.2vw, 1.14rem);
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 40px;
}

.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}
.unit {
  position: relative;
  min-width: 98px;
  padding: 20px 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f4f7fd);
  border: 1px solid rgba(15, 30, 99, 0.08);
  box-shadow:
    0 16px 34px rgba(15, 30, 99, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}
.unit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  opacity: 0.85;
}
.value {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.label {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 32px;
  margin-bottom: 26px;
}
.contact {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.contact svg {
  color: var(--blue);
}
.contact:hover {
  color: var(--blue);
}

.footer {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  opacity: 0.85;
}

@media (max-width: 520px) {
  .card {
    padding: 48px 24px 40px;
  }
  .unit {
    min-width: 70px;
    padding: 16px 8px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg { animation: none; transform: scale(1.05); }
  .card { animation: none; }
}
