/* =========================================================
   CollegeVedas — single page site styles
   ========================================================= */

:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --primary-light: #818cf8;
  --accent: #ff7a00;
  --dark: #12142b;
  --text: #383a4c;
  --muted: #6b6e85;
  --bg-alt: #f6f7fc;
  --white: #ffffff;
  --whatsapp: #25d366;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(18, 20, 43, 0.08);
  --shadow-lg: 0 20px 50px rgba(18, 20, 43, 0.14);
  --header-h: 68px;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark);
  margin: 0 0 .5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; color: var(--muted); }

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; margin: 0; padding: 0; }

section[id] {
  scroll-margin-top: var(--header-h);
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-blue { color: var(--primary); }

.section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 10px;
}

.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-sub { font-size: 1.05rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 25px rgba(79, 70, 229, .35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(79, 70, 229, .45);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-3px);
}

.btn-outline-dark {
  background: transparent;
  border-color: #dcdce8;
  color: var(--dark);
}

.btn-outline-dark:hover {
  background: var(--bg-alt);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.btn-block { width: 100%; }

/* ===================== Navbar ===================== */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(18,20,43,.08);
  transition: box-shadow .3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(18,20,43,.14);
}

.navbar-custom { width: 100%; }

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
}

.nav-logo img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .25s ease, color .25s ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--bg-alt);
  color: var(--primary);
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 22px;
}

.nav-cta:hover { filter: brightness(1.08); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--dark);
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== Hero ===================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #051529, #092446 45%, #123a63);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                     linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .45;
  animation: floaty 10s ease-in-out infinite;
}

.blob-1 { width: 380px; height: 380px; background: #1d6fd8; top: -80px; left: -80px; }
.blob-2 { width: 320px; height: 320px; background: #22d3ee; bottom: -100px; right: -60px; animation-delay: 2s; }
.blob-3 { width: 260px; height: 260px; background: #ff7a00; top: 40%; right: 15%; animation-delay: 4s; }

@keyframes floaty {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
}

.particle {
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(255,255,255,.7);
  border-radius: 50%;
  animation: rise 8s linear infinite;
}

.p1 { left: 10%; animation-delay: 0s; }
.p2 { left: 30%; animation-delay: 1.5s; }
.p3 { left: 55%; animation-delay: 3s; }
.p4 { left: 75%; animation-delay: 4.5s; }
.p5 { left: 90%; animation-delay: 6s; }

@keyframes rise {
  0% { bottom: -10px; opacity: 0; transform: translateX(0); }
  10% { opacity: 1; }
  100% { bottom: 110%; opacity: 0; transform: translateX(30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
  color: #fff;
}

.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,.15);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 22px;
  color: #fff;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-title .text-gradient {
  background: linear-gradient(90deg, #ffe08a, #ff7a00);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.6rem; font-family: var(--font-heading); color: #fff; }
.stat span { font-size: .85rem; color: rgba(255,255,255,.75); }

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 20px;
  z-index: 2;
}

.scroll-indicator span {
  position: absolute;
  top: 6px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  background: #fff;
  border-radius: 50%;
  animation: scrollDot 1.8s ease infinite;
}

@keyframes scrollDot {
  0% { top: 6px; opacity: 1; }
  70% { opacity: 1; }
  100% { top: 24px; opacity: 0; }
}

/* ===================== Why Choose Us ===================== */

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

.why-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e9e9f2;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: #ccc;
  box-shadow: var(--shadow-lg);
}

.why-card::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.why-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.why-grid .why-card:nth-child(1) .why-badge { background: #4f46e5; }
.why-grid .why-card:nth-child(1)::after { background: rgba(79, 70, 229, .12); }
.why-grid .why-card:nth-child(2) .why-badge { background: #ec4899; }
.why-grid .why-card:nth-child(2)::after { background: rgba(236, 72, 153, .12); }
.why-grid .why-card:nth-child(3) .why-badge { background: #f97316; }
.why-grid .why-card:nth-child(3)::after { background: rgba(249, 115, 22, .12); }
.why-grid .why-card:nth-child(4) .why-badge { background: #10b981; }
.why-grid .why-card:nth-child(4)::after { background: rgba(16, 185, 129, .12); }
.why-grid .why-card:nth-child(5) .why-badge { background: #22c55e; }
.why-grid .why-card:nth-child(5)::after { background: rgba(34, 197, 94, .12); }
.why-grid .why-card:nth-child(6) .why-badge { background: #8b5cf6; }
.why-grid .why-card:nth-child(6)::after { background: rgba(139, 92, 246, .12); }
.why-grid .why-card:nth-child(7) .why-badge { background: #0ea5e9; }
.why-grid .why-card:nth-child(7)::after { background: rgba(14, 165, 233, .12); }
.why-grid .why-card:nth-child(8) .why-badge { background: #a855f7; }
.why-grid .why-card:nth-child(8)::after { background: rgba(168, 85, 247, .12); }

.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { font-size: .92rem; margin: 0; }

/* ===================== Universities ===================== */

.uni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 24px;
}

.uni-card {
  position: relative;
  background: #fff;
  border: 1px solid #ececf5;
  border-radius: 20px;
  padding: 36px 22px 26px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.uni-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--uni-color, var(--primary));
}

.uni-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--uni-color, var(--primary));
}

.uni-avatar {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--uni-color, var(--primary)), var(--uni-color-light, var(--primary-light)));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  box-shadow: 0 10px 22px -6px var(--uni-color, var(--primary));
  transition: transform .35s ease;
}

.uni-card:hover .uni-avatar { transform: scale(1.08) rotate(-3deg); }

.uni-card h3 {
  font-size: 1.02rem;
  margin-bottom: 12px;
  min-height: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uni-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--uni-bg, rgba(79, 70, 229, .12));
  color: var(--uni-color, var(--primary));
  font-weight: 700;
  font-size: .78rem;
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.uni-grid .uni-card:nth-child(8n+1) { --uni-color: #4f46e5; --uni-color-light: #818cf8; --uni-bg: rgba(79, 70, 229, .12); }
.uni-grid .uni-card:nth-child(8n+2) { --uni-color: #ec4899; --uni-color-light: #f9a8d4; --uni-bg: rgba(236, 72, 153, .12); }
.uni-grid .uni-card:nth-child(8n+3) { --uni-color: #f97316; --uni-color-light: #fdba74; --uni-bg: rgba(249, 115, 22, .12); }
.uni-grid .uni-card:nth-child(8n+4) { --uni-color: #10b981; --uni-color-light: #6ee7b7; --uni-bg: rgba(16, 185, 129, .12); }
.uni-grid .uni-card:nth-child(8n+5) { --uni-color: #22c55e; --uni-color-light: #86efac; --uni-bg: rgba(34, 197, 94, .12); }
.uni-grid .uni-card:nth-child(8n+6) { --uni-color: #8b5cf6; --uni-color-light: #c4b5fd; --uni-bg: rgba(139, 92, 246, .12); }
.uni-grid .uni-card:nth-child(8n+7) { --uni-color: #0ea5e9; --uni-color-light: #7dd3fc; --uni-bg: rgba(14, 165, 233, .12); }
.uni-grid .uni-card:nth-child(8n+8) { --uni-color: #a855f7; --uni-color-light: #d8b4fe; --uni-bg: rgba(168, 85, 247, .12); }

/* ===================== About ===================== */

.about-section { background: var(--bg-alt); border-radius: 40px; }

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

.about-graphic {
  position: relative;
  background: linear-gradient(135deg, var(--primary), #a855f7);
  border-radius: 28px;
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.about-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}

.shape-1 { width: 200px; height: 200px; top: -60px; right: -60px; }
.shape-2 { width: 140px; height: 140px; bottom: -40px; left: -40px; }

.about-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  z-index: 1;
}

.about-icon-tile {
  width: 84px; height: 84px;
  background: rgba(255,255,255,.15);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform .3s ease;
}

.about-icon-tile:hover { transform: scale(1.08) rotate(-4deg); }

.about-icon-tile svg { width: 34px; height: 34px; fill: #fff; }

.about-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  z-index: 2;
}

.about-badge strong { font-family: var(--font-heading); font-size: 1.4rem; color: var(--primary); }
.about-badge span { font-size: .8rem; color: var(--muted); }

.about-points { margin: 20px 0 28px; }
.about-points li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 500;
}
.check {
  background: var(--primary);
  color: #fff;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===================== What We Do ===================== */

.do-section { background: var(--bg-alt); border-radius: 40px; }

.do-panel {
  background: #fff;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  padding: 56px;
}

.do-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.do-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.do-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}

.do-icon svg { width: 24px; height: 24px; }

.do-icon-blue { background: #dbeafe; }
.do-icon-blue svg { fill: #2563eb; }

.do-icon-purple { background: #ede9fe; }
.do-icon-purple svg { fill: #7c3aed; }

.do-item h3 { font-size: 1.25rem; margin-bottom: 10px; }

.do-desc { margin-bottom: 18px; }

.do-list {
  border-left: 3px solid var(--primary);
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.do-list li {
  list-style: none;
  color: var(--text);
  font-weight: 500;
}

.do-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.do-tag {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
  font-size: .88rem;
  padding: 10px 18px;
  border-radius: 12px;
}

.quote-card {
  background: linear-gradient(135deg, #3457e0, #4338ca);
  border-radius: 24px;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.quote-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}

.quote-icon svg { width: 26px; height: 26px; fill: #fff; }

.quote-text {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0;
  color: #000;
}

.do-cta {
  text-align: center;
  margin-top: 44px;
}

/* ===================== Courses ===================== */

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
}

.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #ececf5;
  border-radius: var(--radius);
  padding: 38px 20px 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: #ccc;
}

.course-duration {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fef9c3;
  color: #92610e;
  font-weight: 700;
  font-size: .78rem;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.course-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(79, 70, 229, .1);
  display: flex; align-items: center; justify-content: center;
  margin: 20px 0 16px;
}

.course-icon svg { width: 26px; height: 26px; fill: var(--primary); }

.course-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0;
}

/* ===================== Enquiry ===================== */

.enquiry-section { padding-bottom: 120px; }

.enquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  background: var(--dark);
  border-radius: 32px;
  padding: 56px;
  color: #fff;
}

.enquiry-info h2 { color: #fff; }
.enquiry-info p { color: rgba(255,255,255,.7); }
.enquiry-info .eyebrow { color: var(--accent); }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.contact-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 20px; height: 20px; fill: var(--accent); }

.contact-item strong { display: block; font-size: .95rem; }
.contact-item span { font-size: .88rem; color: rgba(255,255,255,.65); }

.enquiry-form {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  color: var(--text);
}

.enquiry-form h3 { margin-bottom: 20px; }

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

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

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #dcdce8;
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--bg-alt);
  transition: border-color .25s ease, box-shadow .25s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,.15);
  background: #fff;
}

.form-error {
  display: none;
  margin: 16px 0 0;
  padding: 12px 16px;
  background: #fef2f2;
  color: #b42318;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 500;
}

.form-error.show { display: block; }

.btn:disabled { opacity: .7; cursor: not-allowed; }

/* ===================== Footer ===================== */

.site-footer {
  position: relative;
  background: var(--dark);
  padding: 80px 24px 32px;
  overflow: hidden;
  text-align: center;
}

.footer-particles span {
  position: absolute;
  width: 4px; height: 4px;
  background: var(--primary-light);
  border-radius: 50%;
  opacity: .6;
  animation: rise 9s linear infinite;
}

.footer-particles span:nth-child(1) { left: 8%; animation-delay: 0s; }
.footer-particles span:nth-child(2) { left: 22%; animation-delay: 1.2s; background: var(--accent); }
.footer-particles span:nth-child(3) { left: 40%; animation-delay: 2.4s; }
.footer-particles span:nth-child(4) { left: 60%; animation-delay: 3.6s; background: var(--accent); }
.footer-particles span:nth-child(5) { left: 78%; animation-delay: 4.8s; }
.footer-particles span:nth-child(6) { left: 92%; animation-delay: 6s; background: var(--accent); }

.footer-big-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.8rem, 11vw, 8.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 40px;
  background: linear-gradient(90deg, var(--primary-light), #fff, var(--accent), var(--primary-light));
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

.footer-content { position: relative; z-index: 1; }

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-links a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: color .25s ease;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  color: rgba(255,255,255,.45);
  font-size: .85rem;
  margin: 0;
}

/* ===================== Thank You Page ===================== */

.ty-section { padding: 24px; }

.ty-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 28px;
  padding: 56px 48px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  animation: tyCardIn .6s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes tyCardIn {
  0% { opacity: 0; transform: translateY(24px) scale(.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.ty-check {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
}

.ty-check-circle {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: tyCircle .6s ease-out .1s forwards;
}

.ty-check-mark {
  stroke: var(--primary);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
  animation: tyMark .4s ease-out .55s forwards;
}

@keyframes tyCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes tyMark {
  to { stroke-dashoffset: 0; }
}

.ty-eyebrow {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 10px;
}

.ty-card h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.ty-sub {
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.ty-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .ty-card { padding: 40px 28px; border-radius: 22px; }
  .ty-actions { flex-direction: column; }
  .ty-actions .btn { width: 100%; }
}

@media (max-height: 560px) {
  .ty-section { align-items: flex-start; padding: 20px; }
  .ty-card { padding: 28px 32px; }
  .ty-check { width: 56px; height: 56px; margin-bottom: 14px; }
  .ty-eyebrow { margin-bottom: 6px; }
  .ty-card h1 { font-size: 1.7rem; margin-bottom: 10px; }
  .ty-sub { font-size: .92rem; margin-bottom: 20px; }
  .ty-actions { gap: 12px; }
}

@media (max-height: 560px) and (max-width: 480px) {
  .ty-card { padding: 24px 22px; }
}

/* ===================== Fixed Action Buttons ===================== */

.fixed-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.fab {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: .9rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.fab:hover { transform: translateY(-4px) scale(1.03); }

.fab svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

.fab-enquiry {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #fff;
}

.fab-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  padding: 0;
  width: 54px;
  justify-content: center;
}

.fab-whatsapp .fab-label { display: none; }

.fab-call {
  background: #2563eb;
  color: #fff;
  padding: 0;
  width: 54px;
  justify-content: center;
}

.fab-call .fab-label { display: none; }

/* ===================== Reveal on scroll ===================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in-view { opacity: 1; transform: translateY(0); }

.why-grid .why-card:nth-child(1) { transition-delay: 0s; }
.why-grid .why-card:nth-child(2) { transition-delay: .08s; }
.why-grid .why-card:nth-child(3) { transition-delay: .16s; }
.why-grid .why-card:nth-child(4) { transition-delay: .24s; }
.why-grid .why-card:nth-child(5) { transition-delay: .32s; }
.why-grid .why-card:nth-child(6) { transition-delay: .4s; }
.why-grid .why-card:nth-child(7) { transition-delay: .48s; }
.why-grid .why-card:nth-child(8) { transition-delay: .56s; }

.course-grid .course-card:nth-child(6n+1) { transition-delay: 0s; }
.course-grid .course-card:nth-child(6n+2) { transition-delay: .07s; }
.course-grid .course-card:nth-child(6n+3) { transition-delay: .14s; }
.course-grid .course-card:nth-child(6n+4) { transition-delay: .21s; }
.course-grid .course-card:nth-child(6n+5) { transition-delay: .28s; }
.course-grid .course-card:nth-child(6n+6) { transition-delay: .35s; }

.uni-grid .uni-card:nth-child(6n+1) { transition-delay: 0s; }
.uni-grid .uni-card:nth-child(6n+2) { transition-delay: .07s; }
.uni-grid .uni-card:nth-child(6n+3) { transition-delay: .14s; }
.uni-grid .uni-card:nth-child(6n+4) { transition-delay: .21s; }
.uni-grid .uni-card:nth-child(6n+5) { transition-delay: .28s; }
.uni-grid .uni-card:nth-child(6n+6) { transition-delay: .35s; }

/* ===================== Responsive ===================== */

@media (max-width: 992px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .do-grid { grid-template-columns: 1fr; }
  .do-panel { padding: 40px; }
  .enquiry-wrap { grid-template-columns: 1fr; padding: 40px; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 68px;
    right: 0;
    height: calc(100vh - 68px);
    width: min(78vw, 320px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 28px 20px;
    gap: 6px;
    box-shadow: -10px 0 30px rgba(18,20,43,.12);
    transform: translateX(100%);
    transition: transform .35s ease;
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-menu .nav-link {
    color: var(--text);
    width: 100%;
    padding: 14px 16px;
  }

  .nav-menu .nav-cta { text-align: center; margin-top: 10px; }

  .nav-toggle { display: flex; }

  .hero-stats { gap: 28px; }

  .section { padding: 72px 20px; }

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

  .enquiry-wrap { padding: 28px; border-radius: 24px; }
  .enquiry-form { padding: 24px; }

  .about-section { border-radius: 24px; }

  .do-section { border-radius: 24px; }
  .do-panel { padding: 28px; border-radius: 24px; }
  .do-content { gap: 32px; }
  .quote-card { padding: 32px 24px; }
  .quote-text { font-size: 1.05rem; }

  .fixed-actions { right: 16px; bottom: 16px; gap: 10px; }

  .fab-enquiry .fab-label { display: none; }
  .fab-enquiry { width: 54px; padding: 0; justify-content: center; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .uni-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .uni-card { padding: 28px 14px 20px; }
  .uni-avatar { width: 56px; height: 56px; font-size: .82rem; }
  .course-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .course-card { padding: 32px 12px 24px; }
  .course-icon { width: 46px; height: 46px; margin: 16px 0 12px; }
  .course-icon svg { width: 22px; height: 22px; }
  .course-card h3 { font-size: 1rem; margin-bottom: 0; }
  .hero-stats { gap: 20px; }
  .stat strong { font-size: 1.3rem; }
  .footer-links { gap: 16px; }
}
