@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #2b8cff;
  --primary-dark: #1a6dcc;
  --primary-light: #5ba3ff;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-alt: #eef4ff;
  --white: #ffffff;
  --glass: rgba(255,255,255,0.3);
  --glass-solid: rgba(255,255,255,0.5);
  --glass-border: rgba(255,255,255,0.35);
  --glass-border-strong: rgba(255,255,255,0.6);
  --text: #1f2937;
  --text-secondary: #64748b;
  --muted: #94a3b8;
  --border: rgba(43,140,255,0.12);
  --shadow-glass: 0 8px 32px rgba(43,140,255,0.07), 0 2px 8px rgba(43,140,255,0.03);
  --shadow-glass-lg: 0 16px 48px rgba(43,140,255,0.08), 0 4px 12px rgba(43,140,255,0.05);
  --shadow-glass-xl: 0 24px 64px rgba(43,140,255,0.1), 0 8px 20px rgba(43,140,255,0.06);
  --shadow-glass-glow: 0 8px 32px rgba(43,140,255,0.15), 0 0 60px rgba(43,140,255,0.08);
  --shadow-sm: 0 2px 8px rgba(43,140,255,0.05);
  --shadow-md: 0 4px 16px rgba(43,140,255,0.07);
  --shadow-lg: 0 8px 32px rgba(43,140,255,0.1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-2xl: 40px;
  --font: 'Inter', -apple-system, system-ui, sans-serif;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-glass: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: all 0.35s var(--ease-glass);
  --transition-fast: all 0.2s var(--ease-out);
}

/* ===== Loading Screen ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 240px;
}
.loader-logo {
  width: 100px;
  height: auto;
  position: relative;
  z-index: 3;
  animation: logoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes logoReveal {
  0% { opacity: 0; transform: scale(0.3); }
  100% { opacity: 1; transform: scale(1); }
}
.loader-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,140,255,0.25) 0%, transparent 70%);
  animation: glowPulse 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.4); opacity: 1; }
}
.loader-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(43,140,255,0.08);
  border-top-color: #2b8cff;
  animation: ringSpin 1s linear infinite;
  z-index: 2;
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}
.loader-particles {
  position: absolute;
  width: 240px;
  height: 240px;
  z-index: 2;
}
.loader-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #2b8cff;
  border-radius: 50%;
  animation: particleFloat 2.5s ease-in-out infinite;
  opacity: 0;
}
.loader-particles span:nth-child(1) { top: 10%; left: 50%; animation-delay: 0s; }
.loader-particles span:nth-child(2) { top: 50%; right: 10%; animation-delay: 0.25s; }
.loader-particles span:nth-child(3) { bottom: 10%; left: 50%; animation-delay: 0.5s; }
.loader-particles span:nth-child(4) { top: 50%; left: 10%; animation-delay: 0.75s; }
.loader-particles span:nth-child(5) { top: 20%; right: 15%; animation-delay: 1s; }
.loader-particles span:nth-child(6) { bottom: 20%; right: 15%; animation-delay: 1.25s; }
.loader-particles span:nth-child(7) { top: 15%; left: 20%; animation-delay: 1.5s; }
.loader-particles span:nth-child(8) { bottom: 15%; left: 20%; animation-delay: 1.75s; }
.loader-particles span:nth-child(9) { bottom: 20%; right: 50%; animation-delay: 2s; }
.loader-particles span:nth-child(10) { top: 20%; right: 50%; animation-delay: 2.25s; }
@keyframes particleFloat {
  0% { opacity: 0; transform: scale(0) translate(0, 0); }
  50% { opacity: 1; transform: scale(1.5) translate(var(--dx, 10px), var(--dy, -10px)); }
  100% { opacity: 0; transform: scale(0) translate(var(--dx2, -10px), var(--dy2, 10px)); }
}
.loader-particles span:nth-child(1) { --dx: 15px; --dy: -15px; --dx2: -10px; --dy2: 10px; }
.loader-particles span:nth-child(2) { --dx: -15px; --dy: -10px; --dx2: 10px; --dy2: 15px; }
.loader-particles span:nth-child(3) { --dx: -10px; --dy: 15px; --dx2: 15px; --dy2: -10px; }
.loader-particles span:nth-child(4) { --dx: 15px; --dy: 10px; --dx2: -15px; --dy2: -10px; }
.loader-particles span:nth-child(5) { --dx: -12px; --dy: -18px; --dx2: 12px; --dy2: 12px; }
.loader-particles span:nth-child(6) { --dx: 12px; --dy: 18px; --dx2: -12px; --dy2: -12px; }
.loader-particles span:nth-child(7) { --dx: -18px; --dy: 12px; --dx2: 18px; --dy2: -12px; }
.loader-particles span:nth-child(8) { --dx: 18px; --dy: -12px; --dx2: -18px; --dy2: 12px; }
.loader-particles span:nth-child(9) { --dx: 10px; --dy: 20px; --dx2: -10px; --dy2: -20px; }
.loader-particles span:nth-child(10) { --dx: -10px; --dy: -20px; --dx2: 10px; --dy2: 20px; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-soft);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

body.students-page {
  background:
    linear-gradient(180deg, rgba(246,248,252,0.82), rgba(246,248,252,0.96)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center top / cover no-repeat;
}

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

/* ===== Glass Utility ===== */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.section { padding: 8rem 0; position: relative; overflow: hidden; }

.section .container, .stats .container, .cta-section .container { position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-header h2 {
  color: var(--text);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.2rem 2rem;
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.4s var(--ease-glass);
}
.nav-scrolled {
  padding: 0.8rem 2rem;
  background: rgba(255,255,255,0.25);
  box-shadow: var(--shadow-glass);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo .logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(43,140,255,0.3);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 0.25rem; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  padding: 7rem 2rem 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  gap: 2rem;
}

/* Background Effects */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  animation: blobFloat 20s ease-in-out infinite;
}
.hero-blob:nth-child(1) {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -200px; right: -100px;
  animation-delay: 0s;
}
.hero-blob:nth-child(2) {
  width: 400px; height: 400px;
  background: var(--primary-dark);
  bottom: -150px; left: 10%;
  animation-delay: -7s;
  opacity: 0.12;
}

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

/* Hero Split Layout */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

/* Hero Left */
.hero-left { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.3rem;
  background: var(--glass);
  border: 1px solid var(--glass-border-strong);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2rem;
  backdrop-filter: blur(16px);
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-glass);
}
.hero-left h1 {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.hero-left h1 .gradient-text {
  color: var(--primary);
}
.hero-left p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.hero-stat h4 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary);
  margin-bottom: 0.1rem;
}
.hero-stat p { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.hero-trust-avatars {
  display: flex;
}
.hero-trust-avatars span {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  margin-right: -8px;
  box-shadow: var(--shadow-sm);
}
.hero-trust p { font-size: 0.82rem; color: var(--muted); }

/* ===== Hero Right Side ===== */
.hero-right {
  position: relative;
  height: 600px;
  z-index: 2;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.hero-right::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,140,255,0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  filter: blur(60px);
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  z-index: 0;
  box-shadow:
    var(--shadow-glass-xl),
    0 0 0 1px rgba(255,255,255,0.08) inset;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(43,140,255,0.2) 0%, transparent 45%, rgba(43,140,255,0.06) 100%);
  border-radius: var(--radius-xl);
  z-index: 1;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
  border: none;
  font-family: var(--font);
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(43,140,255,0.25);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(43,140,255,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(43,140,255,0.25);
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===== Student Cards Grid ===== */
.students-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.student-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.5s var(--ease-glass);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glass);
}
.student-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  opacity: 0;
  transition: var(--transition);
}
.student-card:hover::before { opacity: 1; }
.student-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-glass-glow);
  background: var(--glass-solid);
}
.student-card-img {
  width: 88px; height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid rgba(43,140,255,0.1);
  transition: var(--transition);
}
.student-card:hover .student-card-img { border-color: rgba(43,140,255,0.2); transform: scale(1.05); }
.student-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.2rem; }
.student-card .track-badge {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: rgba(43,140,255,0.1);
  border-radius: 50px;
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.student-card .cohort-label { color: var(--muted); font-size: 0.8rem; margin-bottom: 0.8rem; }
.student-card .bio-text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.student-card .skills-preview { display: flex; gap: 0.35rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.2rem; }
.student-card .skills-preview span {
  padding: 0.2rem 0.65rem;
  background: rgba(43,140,255,0.04);
  border-radius: 4px;
  font-size: 0.68rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  font-weight: 500;
  transition: var(--transition);
}

/* View Portfolio CTA (inside student card link) */
.student-card .view-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  margin-top: 1rem;
  box-shadow: 0 4px 20px rgba(43,140,255,0.25);
  transition: all 0.3s var(--ease-spring);
}

.student-card .view-cta i {
  font-size: 0.7rem;
}

.student-card:hover .view-cta {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(43,140,255,0.3);
}

.student-card .view-cta:focus {
  outline: none;
}
.student-card:hover .skills-preview span {
  background: rgba(43,140,255,0.1);
  border-color: rgba(43,140,255,0.1);
  color: var(--primary);
}

/* ===== Spotlight Cards ===== */
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.spotlight-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  transition: all 0.5s var(--ease-glass);
  display: flex;
  flex-direction: column;
}
.spotlight-card:hover {
  transform: translateY(-8px);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-glass-glow);
  background: var(--glass-solid);
}
.spotlight-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.spotlight-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.spotlight-card:hover .spotlight-card-img {
  transform: scale(1.06);
}
.spotlight-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.04) 100%);
  pointer-events: none;
}
.spotlight-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.spotlight-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.spotlight-card-body .spotlight-track {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  background: rgba(43,140,255,0.1);
  border-radius: 50px;
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}
.spotlight-card-body p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spotlight-card .spotlight-view-btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.7rem 1.25rem;
  font-size: 0.8rem;
  box-shadow: 0 8px 24px rgba(43,140,255,0.2);
}
.spotlight-card:hover .spotlight-view-btn {
  background: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(43,140,255,0.28);
}
.spotlight-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
.spotlight-actions .btn {
  box-shadow: 0 10px 28px rgba(43,140,255,0.2);
}

/* ===== Video Showcase ===== */
.video-showcase {
  background:
    radial-gradient(circle at top left, rgba(43,140,255,0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(91,163,255,0.18), transparent 35%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}
.video-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(43,140,255,0.12);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.video-card {
  background: transparent;
  border: 1px solid rgba(43,140,255,0.12);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(18,78,161,0.08);
  transition: transform 0.45s var(--ease-glass), box-shadow 0.45s var(--ease-glass), border-color 0.45s var(--ease-glass);
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-8px);
  border-color: rgba(43,140,255,0.24);
  box-shadow: 0 28px 65px rgba(18,78,161,0.14);
}
.video-frame-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}
.video-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-card.video-audible {
  border-color: rgba(43,140,255,0.32);
  box-shadow: 0 30px 70px rgba(18,78,161,0.18);
}
.video-card:focus-visible {
  outline: 3px solid rgba(43,140,255,0.45);
  outline-offset: 3px;
}
.video-card:fullscreen {
  background: #000000;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-card:fullscreen .video-frame-wrap {
  width: 100vw;
  height: 100vh;
  aspect-ratio: auto;
  background: #000000;
}
.video-card:fullscreen .video-frame {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===== Page Header ===== */
.page-header {
  padding: 9rem 0 5rem;
  background: var(--bg-soft);
  position: relative;
  text-align: center;
  overflow: hidden;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 0.75rem;
}
.page-header p { color: var(--text-secondary); font-size: 1.1rem; max-width: 480px; margin: 0 auto; }

.students-page .page-header {
  background: transparent;
  color: #ffffff;
}
.students-page .page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7,17,40,0.72), rgba(18,78,161,0.5)),
    radial-gradient(circle at top right, rgba(91,163,255,0.28), transparent 40%);
}
.students-page .page-header h1 {
  color: #ffffff;
}
.students-page .page-header p {
  color: rgba(255,255,255,0.88);
}

/* ===== Search & Filter ===== */
.search-filter {
  padding: 1.5rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 73px;
  z-index: 100;
}
.students-page .search-filter {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.45);
}
.search-filter-inner { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.search-box { flex: 1; min-width: 250px; position: relative; }
.search-box input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
}
.search-box input::placeholder { color: var(--muted); }
.search-box input:focus { border-color: var(--glass-border-strong); background: rgba(255,255,255,0.25); box-shadow: var(--shadow-glass); }
.search-box .search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.85rem; pointer-events: none; }
.filter-tabs { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.filter-tab {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
  white-space: nowrap;
}
.filter-tab:hover { border-color: var(--primary); color: var(--primary); background: rgba(43,140,255,0.06); }
.filter-tab.active { background: var(--primary); color: #ffffff; border-color: transparent; box-shadow: 0 4px 15px rgba(43,140,255,0.25); }

/* ===== Profile Hero ===== */
.profile-hero {
  padding: 8rem 0 0;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.profile-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?w=1920&q=80') center/cover;
  opacity: 0.035;
  z-index: 0;
}
.profile-hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(120px);
  opacity: 0.08;
  top: -200px; right: -100px;
  animation: blobFloat 20s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
.profile-hero-inner { position: relative; z-index: 1; display: flex; gap: 3rem; align-items: center; padding-bottom: 3rem; flex-wrap: wrap; }
.profile-hero-img {
  width: 140px; height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
  transition: var(--transition);
}
.profile-hero-img:hover { transform: scale(1.04); box-shadow: var(--shadow-lg); }
.profile-hero-info h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 0.3rem;
}
.profile-hero-info .role { font-size: 1.05rem; color: var(--primary); font-weight: 600; margin-bottom: 0.5rem; }
.profile-hero-info .meta { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.75rem; }
.profile-hero-info .meta span {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.availability-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  background: rgba(43,140,255,0.08);
  border: 1px solid rgba(43,140,255,0.2);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--primary-dark);
  font-weight: 600;
}
.availability-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2b8cff; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.profile-hero-actions { display: flex; gap: 0.75rem; margin-top: 1.2rem; flex-wrap: wrap; }
.profile-hero-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 0.9rem;
  box-shadow: var(--shadow-glass);
}
.social-link:hover { background: var(--primary); border-color: transparent; color: #fff; transform: translateY(-4px); box-shadow: 0 4px 20px rgba(43,140,255,0.25); }

/* ===== Profile Body ===== */
.profile-body { padding: 0 0 4rem; }
.profile-nav {
  display: flex; gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  margin-bottom: 3rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: sticky;
  top: 73px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  z-index: 99;
}
.profile-nav a {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.profile-nav a:hover, .profile-nav a.active { color: var(--primary); background: var(--glass); backdrop-filter: blur(12px); }

/* ===== About Section ===== */
.about-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
.about-card, .goals-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}
.about-card:hover, .goals-card:hover { box-shadow: var(--shadow-glass-glow); border-color: var(--glass-border-strong); }
.about-card h3, .goals-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.about-card h3 i, .goals-card h3 i { color: var(--primary); }
.about-card p, .goals-card p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.8; }

/* ===== Skills ===== */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.skill-item {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}
.skill-item:hover { border-color: var(--glass-border-strong); box-shadow: var(--shadow-glass-glow); transform: translateY(-3px); background: var(--glass-solid); }
.skill-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.skill-header span { font-size: 0.88rem; font-weight: 600; }
.skill-header .skill-percent { color: var(--primary); font-weight: 700; font-size: 0.82rem; }
.progress-bar { width: 100%; height: 6px; background: rgba(43,140,255,0.1); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 1.2s var(--ease-out); width: 0; }

/* ===== Projects ===== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 1.5rem; }
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  transition: all 0.5s var(--ease-glass);
}
.project-card:hover { transform: translateY(-8px); border-color: var(--glass-border-strong); box-shadow: var(--shadow-glass-glow); background: var(--glass-solid); }
.project-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.project-card-img-wrap { position: relative; overflow: hidden; }
.project-card-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.project-card-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.project-card-body p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; margin-bottom: 1rem; }
.project-tech { display: flex; gap: 0.35rem; flex-wrap: wrap; margin-bottom: 1rem; }
.project-tech span { padding: 0.2rem 0.65rem; background: rgba(43,140,255,0.1); border-radius: 4px; font-size: 0.7rem; color: var(--primary); border: 1px solid rgba(43,140,255,0.08); font-weight: 500; }
.project-links { display: flex; flex-direction: column; gap: 0.6rem; margin-top: auto; }
.project-links .btn-primary { 
  width: 100%; 
  justify-content: center; 
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.project-links .project-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #0a66ff;
  color: #ffffff;
  border: 2px solid #0a66ff;
  opacity: 1;
  visibility: visible;
  box-shadow: 0 10px 24px rgba(10,102,255,0.28);
}
.project-links .project-view-btn:hover {
  background: #004ecc;
  border-color: #004ecc;
  color: #ffffff;
}
.project-links .github-link { 
  background: transparent; 
  color: var(--primary); 
  border: 1px solid var(--primary); 
  padding: 0.45rem 0.9rem; 
  border-radius: var(--radius-sm); 
  font-size: 0.78rem; 
  font-weight: 600; 
  transition: var(--transition); 
  display: inline-flex; 
  align-items: center; 
  gap: 0.35rem; 
  justify-content: center;
}
.project-links .github-link:hover { background: var(--primary); color: #ffffff; }

/* ===== Certificates ===== */
.certs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.cert-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}
.cert-card:hover { transform: translateY(-6px); border-color: var(--glass-border-strong); box-shadow: var(--shadow-glass-glow); background: var(--glass-solid); }
.cert-card-img { width: 100%; height: 150px; object-fit: cover; border-bottom: 1px solid var(--border); }
.cert-card-body { padding: 1.1rem 1.3rem; }
.cert-card-body h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 0.25rem; }
.cert-card-body .cert-date { color: var(--muted); font-size: 0.8rem; }

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--primary); }
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -2.5rem; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 3px solid var(--primary); box-shadow: 0 0 0 4px rgba(43,140,255,0.1); }
.timeline-item .tl-year { font-size: 0.78rem; color: var(--primary); font-weight: 700; margin-bottom: 0.2rem; letter-spacing: 0.3px; text-transform: uppercase; }
.timeline-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.timeline-item p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

/* ===== Contact ===== */
.contact-card {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: var(--shadow-glass);
}
.contact-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-card p { color: var(--muted); margin-bottom: 1.5rem; font-size: 0.92rem; }
.contact-links { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.contact-link-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.8rem 1.1rem;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  color: var(--text-secondary);
}
.contact-link-item:hover {
  border-color: var(--glass-border-strong);
  color: var(--text);
  background: var(--glass-solid);
  transform: translateX(6px);
  box-shadow: var(--shadow-glass);
}
.contact-link-item .contact-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--glass); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 0.9rem; flex-shrink: 0; border: 1px solid var(--glass-border); transition: var(--transition); }
.contact-link-item:hover .contact-icon { background: var(--primary); color: #fff; border-color: transparent; box-shadow: 0 4px 20px rgba(43,140,255,0.25); }
.contact-link-item .contact-label { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.contact-link-item .contact-value { font-size: 0.82rem; color: var(--muted); margin-left: auto; }

/* ===== Footer ===== */
.footer {
  padding: 4rem 2rem;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  position: relative;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.footer p { font-size: 0.85rem; color: var(--muted); }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--muted); font-size: 0.85rem; transition: var(--transition); font-weight: 500; }
.footer-links a:hover { color: var(--primary); }

/* ===== Alternating bg ===== */
.bg-alt {
  background: var(--bg-alt);
  position: relative;
}

/* ===== Featured / Spotlight ===== */
#featured {
  background: var(--bg);
}

/* ===== CTA ===== */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-section .btn-primary { box-shadow: 0 8px 30px rgba(43,140,255,0.25); }
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  color: var(--text);
}
.cta-section h2 span { color: var(--primary); font-weight: 700; }
.cta-section p { color: var(--text-secondary); max-width: 500px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ===== Stats ===== */
.stats {
  padding: 6rem 0;
  background: var(--bg-alt);
  position: relative;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; z-index: 1; }
.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
  transition: all 0.5s var(--ease-glass);
  position: relative;
}
.stat-item:hover { box-shadow: var(--shadow-glass-glow); transform: translateY(-6px); border-color: var(--glass-border-strong); }
.stat-item h3 { font-size: 2rem; font-weight: 700; letter-spacing: -0.5px; color: var(--primary); margin-bottom: 0.35rem; }
.stat-item p { color: var(--muted); font-size: 0.88rem; font-weight: 500; }

/* ===== Animations ===== */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-up { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.stagger-children > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.stagger-children.visible > *:nth-child(1) { transition-delay: 0.04s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.16s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.24s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.28s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.32s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.36s; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 0.4s; }
.stagger-children.visible > * { opacity: 1; transform: translateY(0); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* Error state */
.error-state { text-align: center; padding: 6rem 2rem; }
.error-state h2 { font-size: 2rem; margin-bottom: 1rem; }
.error-state p { color: var(--muted); margin-bottom: 2rem; }

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

/* Ultra-wide screens */
@media (min-width: 1600px) {
  .hero-inner { max-width: 1320px; gap: 6rem; }
  .hero-left h1 { font-size: clamp(4rem, 6vw, 7rem); }
  .hero-right { height: 680px; }
  .container { max-width: 1320px; }
}

/* Laptop */
@media (max-width: 1200px) {
  .hero-inner { gap: 3rem; }
}

/* Tablet landscape */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-right { height: 480px; margin: 0 auto; max-width: 560px; width: 100%; }
  .hero-left { text-align: center; }
  .hero-left p { margin-left: auto; margin-right: auto; max-width: 520px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero { padding: 7rem 2rem 5rem; min-height: auto; }
  .hero-left h1 { font-size: clamp(2.8rem, 7vw, 4.5rem); text-align: center; }
  .section-header h2, .cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
  .profile-hero-info h1 { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; font-size: 1.3rem; }
  .hero { padding: 5.5rem 1.2rem 4rem; }
  .hero-left h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); letter-spacing: -1.5px; margin-bottom: 1rem; }
  .hero-left p { font-size: 1rem; margin-bottom: 2rem; }
  .hero-badge { font-size: 0.72rem; padding: 0.35rem 1rem; margin-bottom: 1.5rem; }
  .hero-right { height: 400px; max-width: 480px; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.5rem; }
  .hero-stat h4 { font-size: 1.3rem; }
  .hero-stat p { font-size: 0.75rem; }
  .hero-trust { margin-top: 1.5rem; }
  .hero-trust p { font-size: 0.75rem; }
  .section, .cta-section { padding: 4rem 0; }
  .section-header { margin-bottom: 3rem; }
  .section-header h2, .cta-section h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section-header p { font-size: 0.95rem; }
  .page-header { padding: 7rem 0 3rem; }
  .page-header h1 { font-size: clamp(1.8rem, 6vw, 2.2rem); }
  .about-grid { grid-template-columns: 1fr; gap: 1rem; }
  .spotlight-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
  .video-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
  .spotlight-card-img-wrap { height: 190px; }
  .profile-hero { padding: 6rem 0 0; }
  .profile-hero-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .profile-hero-info .meta { justify-content: center; gap: 0.4rem; }
  .profile-hero-info .meta span { font-size: 0.75rem; padding: 0.2rem 0.7rem; }
  .profile-hero-actions { justify-content: center; }
  .profile-hero-social { justify-content: center; }
  .profile-hero-img { width: 120px; height: 120px; }
  .projects-grid { grid-template-columns: 1fr; gap: 1rem; }
  .students-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
  .student-card { padding: 1.5rem 1rem; }
  .student-card-img { width: 72px; height: 72px; }
  .search-filter { padding: 1rem 0; top: 56px; }
  .search-filter-inner { flex-direction: column; gap: 0.75rem; }
  .search-box { width: 100%; min-width: 0; }
  .search-box input { padding: 0.65rem 0.8rem 0.65rem 2.4rem; font-size: 0.85rem; }
  .filter-tabs { gap: 0.3rem; }
  .filter-tab { padding: 0.4rem 0.9rem; font-size: 0.72rem; }
  .stats { padding: 4rem 0; }
  .stats-grid { gap: 0.85rem; }
  .stat-item { padding: 1.5rem 0.8rem; }
  .stat-item h3 { font-size: 1.8rem; }
  .stat-item p { font-size: 0.78rem; }
  .skills-grid, .certs-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.85rem; }
  .skill-item { padding: 0.9rem 1.1rem; }
  .about-card, .goals-card { padding: 1.5rem; }
  .contact-card { padding: 1.5rem; }
  .profile-nav, .search-filter { top: 56px; }
  .profile-nav { gap: 0.15rem; padding: 0.5rem 0; margin-bottom: 2rem; top: 56px; }
  .profile-nav a { padding: 0.4rem 0.8rem; font-size: 0.78rem; }
  .footer { padding: 2.5rem 1.2rem; }
  .footer-inner { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-links { gap: 1.25rem; }
  .container { padding: 0 1.2rem; }
}

/* Large phones */
@media (max-width: 600px) {
  .hero-right { height: 360px; max-width: 400px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .stat-item { padding: 1.2rem 0.75rem; }
  .stat-item h3 { font-size: 1.6rem; }
}

/* Small phones */
@media (max-width: 480px) {
  .hero { padding: 5rem 1rem 3.5rem; }
  .hero-left h1 { font-size: clamp(1.8rem, 10vw, 2.4rem); letter-spacing: -1px; margin-bottom: 0.75rem; }
  .hero-left p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.5rem; }
  .hero-badge { font-size: 0.65rem; padding: 0.3rem 0.8rem; margin-bottom: 1.2rem; }
  .hero-badge i { font-size: 0.6rem !important; }
  .hero-buttons { flex-direction: column; align-items: stretch; gap: 0.6rem; width: 100%; max-width: 300px; margin: 0 auto; }
  .hero-buttons .btn { justify-content: center; padding: 0.75rem 1.5rem; font-size: 0.85rem; }
  .hero-right { height: 320px; max-width: 340px; }
  .hero-stats { gap: 1.5rem; margin-top: 1.5rem; padding-top: 1.2rem; justify-content: center; }
  .hero-stat h4 { font-size: 1.1rem; }
  .hero-stat p { font-size: 0.7rem; }
  .hero-trust { flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
  .hero-trust-avatars span { width: 28px; height: 28px; font-size: 0.6rem; }
  .hero-trust p { font-size: 0.7rem; }
  .section, .cta-section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-header h2, .cta-section h2 { font-size: clamp(1.3rem, 6vw, 1.6rem); letter-spacing: -0.5px; }
  .section-header p { font-size: 0.85rem; }
  .page-header { padding: 5.5rem 0 2.5rem; }
  .page-header h1 { font-size: clamp(1.5rem, 7vw, 1.8rem); }
  .page-header p { font-size: 0.85rem; }
  .spotlight-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .video-grid { grid-template-columns: 1fr; gap: 0.95rem; }
  .spotlight-card-img-wrap { height: 180px; }
  .spotlight-card-body { padding: 1.2rem; }
  .spotlight-card-body h3 { font-size: 1rem; }
  .spotlight-card-body p { font-size: 0.82rem; }
  .spotlight-card .spotlight-view-btn { align-self: stretch; justify-content: center; }
  .profile-hero-img { width: 100px; height: 100px; }
  .profile-hero-info h1 { font-size: clamp(1.3rem, 6vw, 1.6rem); }
  .profile-hero-info .role { font-size: 0.9rem; }
  .profile-hero-info .meta span { font-size: 0.7rem; padding: 0.15rem 0.6rem; }
  .student-card { padding: 1.2rem 0.85rem; border-radius: var(--radius-lg); }
  .student-card-img { width: 64px; height: 64px; }
  .student-card h3 { font-size: 1rem; }
  .student-card .track-badge { font-size: 0.65rem; }
  .student-card .bio-text { font-size: 0.78rem; }
  .nav { padding: 0.7rem 1rem; }
  .nav-logo .logo-img { height: 30px; }
  .stats { padding: 3rem 0; }
  .stats-grid { gap: 0.6rem; }
  .stat-item { padding: 1rem 0.5rem; border-radius: var(--radius-lg); }
  .stat-item h3 { font-size: 1.3rem; letter-spacing: -0.5px; }
  .stat-item p { font-size: 0.7rem; }
  .skills-grid, .certs-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .projects-grid { gap: 0.85rem; }
  .project-card-body { padding: 1rem; }
  .project-card-body h3 { font-size: 0.95rem; }
  .project-card-body p { font-size: 0.78rem; }
  .project-tech span { font-size: 0.62rem; padding: 0.15rem 0.5rem; }
  .project-links { flex-direction: column; gap: 0.4rem; }
  .project-links a { justify-content: center; }
  .about-card, .goals-card { padding: 1.25rem; border-radius: var(--radius-lg); }
  .about-card h3, .goals-card h3 { font-size: 1rem; }
  .about-card p, .goals-card p { font-size: 0.85rem; }
  .contact-card { padding: 1.5rem 1rem; border-radius: var(--radius-xl); }
  .contact-card h3 { font-size: 1.2rem; }
  .contact-card p { font-size: 0.82rem; }
  .contact-link-item { padding: 0.6rem 0.8rem; font-size: 0.78rem; }
  .contact-link-item .contact-icon { width: 30px; height: 30px; font-size: 0.75rem; }
  .timeline { padding-left: 2rem; }
  .timeline-item::before { width: 14px; height: 14px; left: -2rem; }
  .timeline-item .tl-year { font-size: 0.68rem; }
  .timeline-item h4 { font-size: 0.85rem; }
  .timeline-item p { font-size: 0.78rem; }
  .cert-card-body { padding: 0.8rem 1rem; }
  .cert-card-body h4 { font-size: 0.82rem; }
  .profile-nav a { padding: 0.35rem 0.7rem; font-size: 0.72rem; }
  .footer { padding: 2rem 1rem; }
  .footer p, .footer-links a { font-size: 0.75rem; }
  .container { padding: 0 1rem; }
}

/* Very small devices */
@media (max-width: 360px) {
  .hero-right { height: 280px; max-width: 300px; }
  .stats-grid { gap: 0.4rem; }
  .stat-item { padding: 0.8rem 0.4rem; }
  .stat-item h3 { font-size: 1.1rem; }
  .student-card { padding: 1rem 0.65rem; }
  .student-card-img { width: 56px; height: 56px; }
}
