/* ============================================
   REPTEC — Realic Professional & Technical College
   Design System & Styles
   ============================================ */

/* ===== VARIABLES ===== */
:root {
  --blue-deep: #0F2C52;
  --blue-mid: #1A4178;
  --blue-light: #2A6ABF;
  --blue-pale: #E8F0FE;
  --blue-glow: rgba(26, 65, 120, 0.15);
  --green: #1E8C45;
  --green-light: #2EBD5A;
  --green-pale: #E6F7ED;
  --green-glow: rgba(30, 140, 69, 0.15);
  --white: #ffffff;
  --off-white: #F4F7FB;
  --gray-50: #F8FAFC;
  --gray-100: #EDF0F5;
  --gray-200: #D5DAE3;
  --gray-400: #9BA5B5;
  --gray-500: #6B7A90;
  --gray-700: #3A4556;
  --gray-800: #232D3B;
  --shadow-xs: 0 1px 2px rgba(15, 44, 82, 0.04);
  --shadow-sm: 0 2px 6px rgba(15, 44, 82, 0.06);
  --shadow-md: 0 4px 20px rgba(15, 44, 82, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 44, 82, 0.1);
  --shadow-xl: 0 20px 60px rgba(15, 44, 82, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  background: var(--off-white);
  color: var(--gray-700);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', 'Segoe UI', sans-serif;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== UTILITY ===== */
.highlight { color: var(--green); }

.inline-link {
  color: var(--green);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}
.inline-link:hover { border-color: var(--green); }

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 540px;
  margin: 12px auto 0;
  line-height: 1.7;
}

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: calc(var(--delay, 0) * 0.1s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =============================
   HEADER
   ============================= */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(15, 44, 82, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.4s ease;
}

header.scrolled {
  background: rgba(15, 44, 82, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.18);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.3s ease;
}

header.scrolled .header-inner { padding: 8px 24px; }

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 46px; height: 46px;
  border-radius: 10px;
  object-fit: cover;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

header.scrolled .logo-img { width: 38px; height: 38px; }
.logo-link:hover .logo-img { transform: scale(1.06) rotate(-2deg); }

.logo-text { display: flex; flex-direction: column; }

.logo-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 1.5px;
}

.logo-sub {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3px;
  margin-top: 1px;
}

/* Nav */
nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

nav ul li a {
  display: block;
  padding: 8px 18px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 0.88rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
}

nav ul li a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

nav ul li a.active {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 2px 10px rgba(30,140,69,0.3);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* =============================
   HOME — HERO
   ============================= */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--blue-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 75% 35%, rgba(30, 140, 69, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 15% 75%, rgba(42, 106, 191, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 10%, rgba(46, 189, 90, 0.06) 0%, transparent 50%),
    linear-gradient(165deg, #0a1e3d 0%, var(--blue-deep) 30%, var(--blue-mid) 70%, #1c5090 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  animation: drift 25s linear infinite;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(30, 140, 69, 0.04);
  filter: blur(80px);
  animation: pulse-soft 8s ease-in-out infinite;
}

@keyframes drift {
  from { transform: translate(0, 0); }
  to { transform: translate(36px, 36px); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.hero-decoration {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 90px;
  background: var(--off-white);
  clip-path: polygon(0 65%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 130px 24px 110px;
  text-align: center;
  animation: fadeUp 0.9s ease both;
}

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

.hero-tag {
  display: inline-block;
  background: rgba(30, 140, 69, 0.15);
  border: 1px solid rgba(30, 140, 69, 0.25);
  color: var(--green-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 50px;
  letter-spacing: 0.6px;
  margin-bottom: 26px;
  animation: fadeUp 0.9s ease 0.15s both;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
  animation: fadeUp 0.9s ease 0.25s both;
}

.hero .highlight {
  color: var(--green-light);
  position: relative;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
  animation: fadeUp 0.9s ease 0.35s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s ease 0.45s both;
}


/* =============================
   BUTTONS
   ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 10px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(30, 140, 69, 0.25);
}

.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30, 140, 69, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--blue-deep);
  border-color: var(--gray-200);
}

.btn-outline-dark:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 42px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-full { width: 100%; }


/* =============================
   STATS BAR
   ============================= */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 36px 16px;
  position: relative;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.5s ease;
  transition-delay: calc(var(--delay) * 0.1s);
}

.stat.visible { opacity: 1; transform: translateY(0); }

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 28%; height: 44%;
  width: 1px;
  background: var(--gray-100);
}

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: 0.3px;
}


/* =============================
   SECTION SHARED
   ============================= */
.section-header {
  text-align: center;
  margin-bottom: 52px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.section-header.visible { opacity: 1; transform: translateY(0); }

.section-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--blue-deep);
  letter-spacing: -0.3px;
}


/* =============================
   HIGHLIGHTS (Home)
   ============================= */
.highlights {
  padding: 85px 24px 95px;
  max-width: 1120px;
  margin: 0 auto;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  border: 1px solid var(--gray-100);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(24px);
  transition-delay: calc(var(--delay, 0) * 0.12s);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before { opacity: 1; }
.card.visible { opacity: 1; transform: translateY(0); }

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--blue-pale);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.35s ease;
}

.card:hover .card-icon {
  background: var(--green);
  color: var(--white);
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(30, 140, 69, 0.25);
}

.card h3 {
  font-size: 1.12rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}


/* =============================
   CTA SECTION
   ============================= */
.cta {
  padding: 0 24px;
  margin-bottom: 80px;
}

.cta-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 68px 44px;
  background: linear-gradient(140deg, var(--blue-deep) 0%, var(--blue-mid) 60%, #1c5090 100%);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.cta-inner.visible { opacity: 1; transform: translateY(0); }

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}

.cta-inner::after {
  content: '';
  position: absolute;
  top: -50%; right: -15%;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(30, 140, 69, 0.1);
  filter: blur(70px);
}

.cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 14px;
  position: relative; z-index: 1;
}

.cta p {
  color: rgba(255,255,255,0.65);
  font-size: 1.02rem;
  max-width: 480px;
  margin: 0 auto 30px;
  position: relative; z-index: 1;
}

.cta .btn { position: relative; z-index: 1; }
.cta .hero-actions { position: relative; z-index: 1; }


/* =============================
   FOOTER
   ============================= */
footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.65);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46, 189, 90, 0.3), transparent);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 24px 44px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  width: 50px; height: 50px;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-addr {
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.4) !important;
  font-weight: 400 !important;
}

footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-links ul { display: flex; flex-direction: column; gap: 11px; }

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--green-light);
  padding-left: 4px;
}

.footer-contact p { font-size: 0.88rem; margin-bottom: 8px; }

.footer-contact a {
  color: var(--green-light);
  transition: opacity 0.2s ease;
}

.footer-contact a:hover { opacity: 0.75; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55) !important;
  transition: color 0.2s ease;
}

.social-link:hover { color: var(--white) !important; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  padding: 20px 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}


/* =============================
   PAGE HERO (Subpages)
   ============================= */
.page-hero {
  position: relative;
  padding: 140px 24px 100px;
  text-align: center;
  overflow: hidden;
  background: var(--blue-deep);
}

.page-hero--compact { padding: 130px 24px 80px; }

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(30, 140, 69, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 10% 70%, rgba(42, 106, 191, 0.15) 0%, transparent 50%),
    linear-gradient(165deg, #0a1e3d 0%, var(--blue-deep) 40%, var(--blue-mid) 100%);
}

.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  animation: fadeUp 0.8s ease both;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.page-hero .highlight { color: var(--green-light); }

.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

.page-hero .hero-tag {
  animation: fadeUp 0.8s ease 0.1s both;
}

.page-hero .hero-decoration {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 70px;
  background: var(--off-white);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}


/* =============================
   ABOUT PAGE
   ============================= */
.about-intro {
  padding: 80px 0 60px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-intro-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-intro-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.about-intro-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
}

.about-img-badge {
  position: absolute;
  bottom: 16px; right: 16px;
  background: rgba(15, 44, 82, 0.9);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-year {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--green-light);
  letter-spacing: 1px;
}

.badge-text {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
}

.about-intro-text .section-tag { margin-bottom: 12px; }

.about-intro-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--blue-deep);
  margin-bottom: 20px;
}

.about-intro-text p {
  color: var(--gray-500);
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Mission Vision Values */
.mvv-section {
  padding: 40px 0 80px;
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mvv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px 36px;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(24px);
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

.mvv-card.visible { opacity: 1; transform: translateY(0); }

.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.mvv-card--featured {
  background: var(--blue-deep);
  border-color: transparent;
}

.mvv-card--featured h3 { color: var(--white); }
.mvv-card--featured p { color: rgba(255,255,255,0.65); }
.mvv-card--featured .mvv-icon { color: var(--green-light); }

.mvv-card--featured:hover {
  box-shadow: var(--shadow-xl);
}

.mvv-icon {
  color: var(--blue-light);
  margin-bottom: 20px;
}

.mvv-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--blue-deep);
}

.mvv-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.mvv-accent {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mvv-card:hover .mvv-accent { opacity: 1; }
.mvv-card--featured .mvv-accent { background: linear-gradient(90deg, var(--green-light), var(--blue-light)); }

/* Values strip */
.values-strip {
  padding: 0 0 80px;
}

.values-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.value-item:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--green);
  opacity: 0.5;
}

.value-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-deep);
}


/* =============================
   PROGRAMS PAGE
   ============================= */
.programs-intro {
  padding: 70px 0 10px;
}

.programs-section {
  padding: 40px 0 80px;
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  border: 1px solid var(--gray-100);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(24px);
  transition-delay: calc(var(--delay, 0) * 0.12s);
  display: flex;
  flex-direction: column;
}

.program-card.visible { opacity: 1; transform: translateY(0); }

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.program-card--featured {
  background: var(--blue-deep);
  border-color: transparent;
}

.program-card--featured .program-number,
.program-card--featured h3 { color: var(--white); }
.program-card--featured p { color: rgba(255,255,255,0.65); }
.program-card--featured .program-badge { background: rgba(46, 189, 90, 0.15); color: var(--green-light); }
.program-card--featured .program-icon-wrap { color: var(--green-light); }
.program-card--featured .program-topics li { color: rgba(255,255,255,0.6); }
.program-card--featured .program-topics li::before { background: var(--green-light); }

.program-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.program-number {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--gray-200);
  line-height: 1;
}

.program-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--blue-pale);
  color: var(--blue-light);
  letter-spacing: 0.3px;
}

.program-icon-wrap {
  color: var(--blue-light);
  margin-bottom: 18px;
}

.program-card h3 {
  font-size: 1.2rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.program-card > p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 20px;
}

.program-topics {
  margin-bottom: 24px;
  flex-grow: 1;
}

.program-topics li {
  font-size: 0.84rem;
  color: var(--gray-500);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.program-topics li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-50%);
}

.program-card .btn { align-self: flex-start; }

/* Study modes */
.study-modes {
  padding: 40px 0 80px;
  background: var(--white);
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mode-item {
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateY(20px);
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

.mode-item.visible { opacity: 1; transform: translateY(0); }

.mode-item:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mode-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  margin: 0 auto 16px;
  position: relative;
}

.mode-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green-pale);
}

.mode-item h4 {
  font-size: 1rem;
  color: var(--blue-deep);
  margin-bottom: 8px;
}

.mode-item p {
  font-size: 0.84rem;
  color: var(--gray-500);
  line-height: 1.6;
}


/* =============================
   ADMISSIONS PAGE
   ============================= */
.apply-section {
  padding: 80px 0 70px;
}

.steps-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.step {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  transition-delay: calc(var(--delay, 0) * 0.15s);
}

.step.visible { opacity: 1; transform: translateY(0); }

.step:last-child { padding-bottom: 0; }

.step-connector {
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: var(--gray-100);
}

.step:last-child .step-connector { display: none; }

.step-marker {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(30, 140, 69, 0.25);
  position: relative;
  z-index: 1;
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-content h3 {
  font-size: 1.1rem;
  color: var(--blue-deep);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Requirements */
.req-section {
  padding: 0 0 80px;
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.req-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--gray-100);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(24px);
  transition-delay: calc(var(--delay, 0) * 0.12s);
}

.req-card.visible { opacity: 1; transform: translateY(0); }

.req-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.req-card--highlight {
  background: var(--blue-deep);
  border-color: transparent;
}

.req-card--highlight h3 { color: var(--white); }
.req-card--highlight p,
.req-card--highlight .req-contact-info p { color: rgba(255,255,255,0.65); }
.req-card--highlight .req-icon { color: var(--green-light); }
.req-card--highlight .inline-link { color: var(--green-light); }

.req-icon {
  color: var(--blue-light);
  margin-bottom: 18px;
}

.req-card h3 {
  font-size: 1.1rem;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.req-card > p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 16px;
}

.req-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.req-list li {
  font-size: 0.86rem;
  color: var(--gray-500);
  padding-left: 18px;
  position: relative;
}

.req-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.req-contact-info { margin-top: 16px; }
.req-contact-info p { font-size: 0.88rem; margin-bottom: 6px; }


/* =============================
   CONTACT PAGE
   ============================= */
.contact-section {
  padding: 70px 0 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateX(-20px);
  transition-delay: calc(var(--delay, 0) * 0.08s);
}

.contact-card.visible { opacity: 1; transform: translateX(0); }

.contact-card:hover {
  border-color: var(--green);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--green-pale);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
  background: var(--green);
  color: var(--white);
}

.contact-card h4 {
  font-size: 0.92rem;
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* Contact form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.3rem;
  color: var(--blue-deep);
  margin-bottom: 6px;
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: all 0.25s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z' fill='%236B7A90'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--green-pale);
  border-radius: 8px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 500;
}

/* Map section */
.map-section {
  padding: 0 24px 80px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.map-section.visible { opacity: 1; transform: translateY(0); }

.map-placeholder {
  max-width: 1120px;
  margin: 0 auto;
  height: 240px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, var(--blue-pale) 0%, var(--green-pale) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--gray-200) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.4;
}

.map-overlay {
  text-align: center;
  position: relative;
  z-index: 1;
  color: var(--blue-deep);
}

.map-overlay svg {
  margin-bottom: 10px;
  color: var(--green);
}

.map-overlay p {
  font-size: 0.92rem;
  color: var(--gray-500);
  margin-bottom: 14px;
}


/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 900px) {
  .highlights-grid,
  .mvv-grid,
  .program-cards,
  .req-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-intro-image { max-width: 480px; margin: 0 auto; }

  .modes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-logo { margin: 0 auto 14px; }

  .values-row { gap: 12px; }
  .value-item { padding: 14px 20px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  nav {
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: rgba(15, 44, 82, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }

  nav.open {
    max-height: 320px;
    padding: 12px 0 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px;
  }

  nav ul li a { padding: 12px 16px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:not(:last-child)::after { display: none; }

  .hero-content { padding: 110px 20px 90px; }
  .hero { min-height: 85vh; }

  .page-hero { padding: 120px 20px 80px; }
  .page-hero--compact { padding: 110px 20px 70px; }

  .logo-sub { display: none; }

  .modes-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form-card { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-inner { padding: 48px 24px; }
  .page-hero h1 { font-size: 1.8rem; }

  .values-row { flex-direction: column; align-items: center; }
  .value-item { width: 100%; max-width: 280px; }
}
