/* ===========================================================
   Dream Gate Scholarship - Global Styles
   Professional theme: deep blue + gold accents
   =========================================================== */

:root {
  --primary-900: #0f1f4d;
  --primary-800: #1e3a8a;
  --primary-700: #1d4ed8;
  --primary-600: #2563eb;
  --primary-500: #3b82f6;
  --primary-100: #dbeafe;
  --primary-50:  #eff6ff;

  --gold-600: #d97706;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-100: #fef3c7;

  --green-500: #10b981;
  --red-500:   #ef4444;

  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50:  #f8fafc;
  --white:    #ffffff;

  --shadow-sm: 0 1px 2px rgba(15, 31, 77, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 31, 77, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 31, 77, 0.12);
  --shadow-xl: 0 24px 64px rgba(15, 31, 77, 0.18);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container-max: 1200px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset / Base ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn.btn-dark,
a.btn-dark {
  background: var(--primary-800);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn.btn-dark:hover,
a.btn-dark:hover {
  background: var(--primary-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn.btn-primary,
a.btn-primary { color: var(--white); }
.btn.btn-primary:hover,
a.btn-primary:hover { color: var(--white); }

.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 28px rgba(15, 31, 77, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--primary-900);
  letter-spacing: -0.02em;
}
.brand-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 15px;
  color: var(--gray-700);
  border-radius: 999px;
  transition: all var(--transition);
}
.main-nav a:hover { color: var(--primary-700); background: var(--primary-50); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gray-100);
  align-items: center;
  justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  position: relative;
  transition: all var(--transition);
}
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after  { position: absolute; top:  7px; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(520px, 82vh, 760px);
  padding: 72px 0 0;
  color: var(--gray-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.88) 28%,
    rgba(255, 255, 255, 0.45) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.hero-decor {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 48%;
  width: auto;
  max-width: min(52vw, 620px);
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 3;
  height: 100%;
}

.hero-content {
  max-width: 620px;
  padding-bottom: 72px;
}

.hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 58, 138, 0.08);
  color: var(--primary-700);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-content h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--gray-700);
  margin-bottom: 20px;
  min-height: 1.4em;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--gold-500);
  font-weight: 400;
  margin-left: 2px;
  animation: blink-cursor 0.9s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-content p.lead {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-hero-glass {
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: var(--primary-900);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 8px 24px rgba(15, 31, 77, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}
.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(15, 31, 77, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  border-top: none;
  text-align: center;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 23px);
  color: var(--primary-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero-stat .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.35;
  margin-top: 2px;
}

/* ----- Scholars showcase (relocated hero visual) ----- */
.scholars-section {
  padding: 72px 0;
  background: var(--gray-50);
}

.scholars-section .hero-stats {
  max-width: 880px;
  margin: 0 auto 40px;
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.scholars-section .hero-visual {
  max-width: 880px;
  margin: 0 auto;
}

/* ----- Hero visual: two students side by side ----- */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  perspective: 1000px;
}

.student-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 3 / 4;
  background: var(--gray-100);
  transform-style: preserve-3d;
  transition: transform 400ms ease;
}
.student-card:hover { transform: translateY(-6px) rotateY(-2deg); }
.student-card.right:hover { transform: translateY(-6px) rotateY(2deg); }
.student-card.left  { transform: translateY(20px) rotate(-2deg); }
.student-card.right { transform: translateY(0)    rotate(2deg); }

.student-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.student-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 31, 77, 0.85) 100%);
}
.student-card .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-800);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.student-card .badge .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--green-500); }
.student-card .info {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  color: var(--white);
}
.student-card .info h4 { color: var(--white); font-size: 18px; margin-bottom: 4px; }
.student-card .info p  { font-size: 13px; opacity: 0.9; }

.certificate-float {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
  width: 180px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  padding: 16px;
  text-align: center;
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}
.certificate-float .seal {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-family: var(--font-display);
}
.certificate-float .title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-800);
  font-size: 14px;
}
.certificate-float .sub {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}
.certificate-float .ribbon {
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  margin: 10px 0 6px;
  border-radius: 999px;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-6deg); }
  50%      { transform: translate(-50%, -55%) rotate(-4deg); }
}

/* ===========================================================
   SCHOLARSHIP DATES
   =========================================================== */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  color: var(--gold-600);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p { color: var(--gray-600); font-size: 17px; }

.dates-section {
  background: linear-gradient(180deg, var(--gray-50), var(--white));
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.date-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
  overflow: hidden;
}
.date-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--gold-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms ease;
}
.date-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.date-card:hover::before { transform: scaleX(1); }

.date-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  color: var(--primary-700);
}
.date-icon svg { width: 28px; height: 28px; }

.date-card .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.date-card .date-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 4px;
}
.date-card .date-meta { color: var(--gray-500); font-size: 14px; }

/* ===========================================================
   ABOUT US (4 icon cards)
   =========================================================== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  overflow: hidden;
}

.about-card .icon-wrap {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.28);
  transition: transform var(--transition);
}
.about-card .icon-wrap svg { width: 36px; height: 36px; }
.about-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.about-card:hover .icon-wrap { transform: scale(1.06) rotate(-3deg); }

.about-card.gold .icon-wrap { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); box-shadow: 0 12px 28px rgba(217, 119, 6, 0.28); }
.about-card.green .icon-wrap { background: linear-gradient(135deg, #10b981, #047857); box-shadow: 0 12px 28px rgba(16, 185, 129, 0.28); }
.about-card.purple .icon-wrap { background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 12px 28px rgba(139, 92, 246, 0.28); }

.about-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--primary-900);
}
.about-card p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.65;
}

.about-card .learn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary-700);
  font-weight: 600;
  font-size: 14px;
}
.about-card .learn svg { transition: transform var(--transition); width: 16px; height: 16px; }
.about-card:hover .learn svg { transform: translateX(4px); }

/* ===========================================================
   PRICING TABLE
   =========================================================== */
.pricing-section {
  background:
    radial-gradient(ellipse at top, rgba(37, 99, 235, 0.06), transparent 60%),
    var(--gray-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.price-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px 32px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border-color: var(--primary-700);
  box-shadow: 0 20px 50px rgba(30, 58, 138, 0.18);
}
.price-card.featured::after {
  content: "Most Popular";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.price-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary-50);
  color: var(--primary-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.price-icon svg { width: 28px; height: 28px; }

.price-card h3 {
  font-size: 18px;
  color: var(--primary-900);
  margin-bottom: 4px;
}
.price-card .level-meta {
  color: var(--gray-500);
  font-size: 13px;
  margin-bottom: 22px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 22px;
}
.price-amount .currency {
  font-size: 16px;
  color: var(--gray-500);
  font-weight: 600;
}
.price-amount .number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-amount .period { color: var(--gray-500); font-size: 14px; }

.price-features { margin-bottom: 24px; flex: 1; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-700);
  border-bottom: 1px dashed var(--gray-200);
}
.price-features li:last-child { border-bottom: none; }
.price-features li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--green-500);
  margin-top: 2px;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer {
  background: linear-gradient(180deg, var(--primary-900), #08153a);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand p { margin-top: 14px; max-width: 320px; font-size: 14px; line-height: 1.7; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-tag  { color: var(--gold-400); }

.site-footer h5 {
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.site-footer ul li { padding: 6px 0; font-size: 14px; }
.site-footer a:hover { color: var(--gold-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: all var(--transition);
}
.socials a:hover { background: var(--gold-500); color: var(--white); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-decor {
    height: 42%;
    max-width: 58vw;
  }
  .dates-grid, .about-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .header-inner { position: relative; padding: 12px 16px; gap: 12px; }
  .hero {
    min-height: auto;
    padding: 48px 0 0;
  }
  .hero-content {
    padding-bottom: 48px;
    text-align: center;
  }
  .hero-content h1 { font-size: clamp(28px, 7vw, 38px); }
  .hero-subtitle { font-size: clamp(18px, 5vw, 24px); }
  .hero-content p.lead {
    font-size: 16px;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .scholars-section .hero-stats {
    padding: 20px 16px;
    margin-bottom: 28px;
  }
  .hero-stat .num { font-size: 20px; font-weight: 600; }
  .hero-stat .label { font-size: 13px; font-weight: 600; }
  .hero-decor {
    height: 38%;
    max-width: 72vw;
    opacity: 0.92;
  }
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.92) 55%,
      rgba(255, 255, 255, 0.55) 100%
    );
  }
  .hero-visual { max-width: 100%; gap: 12px; }
  .student-card.left,
  .student-card.right { transform: none; }
  .student-card.left:hover,
  .student-card.right:hover { transform: translateY(-4px); }
  .certificate-float {
    width: 130px;
    padding: 10px;
  }
  .certificate-float .seal { width: 36px; height: 36px; font-size: 13px; }
  .certificate-float .title { font-size: 12px; }
  .certificate-float .sub { font-size: 10px; }
  .menu-toggle { display: grid; }
  .main-nav {
    position: absolute;
    top: 100%; left: 16px; right: 16px;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 200ms ease;
    align-items: stretch;
  }
  .main-nav.open { transform: scaleY(1); }
  .main-nav a { padding: 12px 14px; }

  .dates-grid, .about-grid, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .brand-name { font-size: 22px; }
  .brand-logo { width: 44px; height: 44px; }
}

@media (max-width: 480px) {
  .hero { padding: 32px 0 0; }
  .hero-content { padding-bottom: 40px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .hero-stat:last-child { grid-column: 1 / -1; }
  .hero-decor { height: 34%; }
  .hero-visual { gap: 10px; }
  .student-card .info h4 { font-size: 15px; }
  .student-card .info p { font-size: 11px; }
  .student-card .badge { font-size: 10px; padding: 4px 8px; top: 10px; left: 10px; }
  .certificate-float { width: 110px; padding: 8px; }
}
