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

:root {
  --background: #ffffff;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --primary: #ab0000;
  --primary-foreground: #ffffff;
  --secondary: #f59e0b;
  --accent: #f59e0b;
  --accent-foreground: #ffffff;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e6e6e6;
  --radius: 0.75rem;
}


.mt-20, body {
    margin-top: 0rem!important;
}
.dark {
  --background: #080b14;
  --foreground: #f2f2f2;
  --card: #141414;
  --card-foreground: #f2f2f2;
  --primary: #cc0000;
  --primary-foreground: #ffffff;
  --muted: #080b14;
  --muted-foreground: #a6a6a6;
  --border: #2e2e2e;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.7;
}

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

.text-gradient {
  background: linear-gradient(to left, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.dark .glass {
  background: rgba(13,13,13,0.85);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 50;
}
.navbar .inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; max-width: 1200px; margin: 0 auto;
}
.navbar .logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--primary); font-weight: 700; font-size: 1.25rem; }
.navbar .logo img { width: 40px; height: 40px; object-fit: contain; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--foreground); opacity: 0.8; font-weight: 500; transition: all 0.3s; position: relative; }
.nav-links a:hover { color: var(--primary); opacity: 1; }
.nav-links a::after { content: ''; position: absolute; width: 100%; height: 2px; bottom: -4px; right: 0; background: var(--primary); transform: scaleX(0); transition: transform 0.3s; transform-origin: bottom left; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: bottom right; }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-theme { padding: 0.625rem; border-radius: 0.75rem; border: 1px solid var(--border); background: transparent; color: var(--foreground); cursor: pointer; transition: background 0.3s; display: flex; align-items: center; }
.btn-theme:hover { background: var(--muted); }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--primary); color: var(--primary-foreground); padding: 0.625rem 1.5rem; border-radius: 0.75rem; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: opacity 0.3s; font-family: 'Cairo', sans-serif; font-size: 1rem; }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; border: 2px solid var(--primary); color: var(--primary); padding: 1rem 2rem; border-radius: 1rem; font-weight: 700; font-size: 1.125rem; text-decoration: none; transition: all 0.3s; background: transparent; font-family: 'Cairo', sans-serif; }
.btn-outline:hover { background: var(--primary); color: var(--primary-foreground); }
.hamburger { display: none; background: none; border: none; color: var(--foreground); cursor: pointer; padding: 0.5rem; }
.mobile-menu { display: none; padding: 1rem; border-top: 1px solid var(--border); }
.mobile-menu.active { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.mobile-menu a { text-decoration: none; color: var(--foreground); opacity: 0.8; font-weight: 500; display: block; padding: 0.5rem 0; }

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-primary, .nav-actions .btn-theme.desktop-only { display: none; }
  .hamburger { display: block; }
  .nav-actions .mobile-controls { display: flex; align-items: center; gap: 0.5rem; }
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 5rem;
  background: linear-gradient(to bottom left, var(--background), color-mix(in srgb, var(--muted) 50%, var(--background)), var(--background));
}
.hero .ambient { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.hero .ambient-1 { top: -10%; right: -5%; width: 600px; height: 600px; background: rgba(171,0,0,0.15); animation: ambient1 15s ease-in-out infinite; }
.hero .ambient-2 { bottom: -10%; left: -10%; width: 500px; height: 500px; background: rgba(245,158,11,0.15); animation: ambient2 18s ease-in-out infinite; }
.hero .ambient-3 { top: 40%; left: 30%; width: 400px; height: 400px; background: rgba(171,0,0,0.08); animation: ambient3 20s ease-in-out infinite; }
.hero .electric-line { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(to left, var(--primary), var(--accent), var(--primary)); background-size: 200% 200%; animation: electricFlow 3s ease infinite; }
.hero .floating-icon { position: absolute; opacity: 0.15; color: var(--primary); pointer-events: none; }
.hero .floating-icon svg { width: 2rem; height: 2rem; }
@media (min-width: 769px) { .hero .floating-icon svg { width: 3rem; height: 3rem; } }
.hero .floating-icon.fi-1 { top: 8rem; right: 10%; animation: float 6s ease-in-out infinite; }
.hero .floating-icon.fi-2 { top: 12rem; left: 8%; animation: floatReverse 5s ease-in-out 1s infinite; }
.hero .floating-icon.fi-3 { bottom: 10rem; right: 15%; animation: float 6s ease-in-out 2s infinite; }
.hero .floating-icon.fi-4 { bottom: 8rem; left: 12%; animation: floatReverse 5s ease-in-out 0.5s infinite; }
.hero .floating-icon.fi-5 { top: 60%; right: 5%; animation: floatReverse 5s ease-in-out 3s infinite; }
.hero .floating-icon.fi-6 { top: 30%; left: 20%; animation: float 6s ease-in-out 1.5s infinite; }
.hero .watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 500px; opacity: 0.04; pointer-events: none; user-select: none; animation: logoWatermark 12s ease-in-out infinite; }
@media (min-width: 769px) { .hero .watermark { width: 700px; } }
.hero .watermark.light-only { display: block; }
.hero .watermark.dark-only { display: none; }
.dark .hero .watermark.light-only { display: none; }
.dark .hero .watermark.dark-only { display: block; }
.hero .content { display: flex; flex-direction: row; align-items: center; gap: 2rem; position: relative; z-index: 10; }
.hero .text-side { flex: 1; text-align: right; }
.hero .text-side .badge-home { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(171,0,0,0.1); color: var(--primary); padding: 0.5rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero .text-side h1 { font-size: 2.5rem; font-weight: 900; line-height: 1.3; margin-bottom: 1.5rem; }
.hero .text-side .subtitle { font-size: 1.125rem; color: var(--muted-foreground); max-width: 560px; margin-bottom: 2rem; line-height: 1.8; }
.hero .text-side .welcome-note { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; letter-spacing: 0.02em; }
.hero .buttons { display: flex; gap: 1rem; margin-bottom: 2rem; }
.hero .btn-hero { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: var(--primary); color: var(--primary-foreground); padding: 1rem 2rem; border-radius: 1rem; font-weight: 700; font-size: 1.125rem; text-decoration: none; transition: all 0.3s; box-shadow: 0 10px 30px rgba(171,0,0,0.3); font-family: 'Cairo', sans-serif; border: none; cursor: pointer; }
.hero .btn-hero:hover { opacity: 0.9; transform: scale(1.05); }
.hero .stats { display: flex; gap: 2rem; }
.hero .stat-item { text-align: center; }
.hero .stat-value { font-size: 1.75rem; font-weight: 900; color: var(--primary); }
.hero .stat-label { font-size: 0.875rem; color: var(--muted-foreground); font-weight: 500; }
.hero .img-side { flex: 1; display: flex; justify-content: center; position: relative; }
.hero .img-side img { width: 420px; max-width: 100%; filter: drop-shadow(0 25px 50px rgba(0,0,0,0.2)); animation: gentleFloat 4s ease-in-out infinite; }
.hero .img-glow { position: absolute; inset: -1rem; background: linear-gradient(to bottom left, rgba(171,0,0,0.15), rgba(245,158,11,0.15), transparent); border-radius: 50%; filter: blur(48px); }


.hero .img-wrapper { position: relative; }
/* ===== HERO FLOATING BADGES ===== */
.hero .floating-badge {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 1rem; padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.dark .hero .floating-badge {
  background: rgba(13,13,13,0.85); border-color: rgba(255,255,255,0.08);
}
.hero .floating-badge .badge-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero .floating-badge .badge-icon.primary-bg { background: rgba(171,0,0,0.1); color: var(--primary); }
.hero .floating-badge .badge-icon.accent-bg { background: rgba(245,158,11,0.1); color: var(--accent); }
.hero .floating-badge .badge-text { font-weight: 700; font-size: 0.875rem; color: var(--foreground); text-align: right; }
.hero .floating-badge .badge-sub { font-weight: 500; font-size: 0.75rem; color: var(--muted-foreground); }
.hero .badge-physics { top: 33%; left: -1rem; animation: float 6s ease-in-out 1s infinite; }
.hero .badge-science { bottom: 25%; right: -1rem; animation: floatReverse 5s ease-in-out 0.5s infinite; }
@media (min-width: 769px) {
  .hero .badge-physics { left: -2.5rem; }
  .hero .badge-science { right: -2.5rem; }
}
@media (max-width: 1024px) {
  .hero .img-side img.instructor-img { width: 300px; }
}
.hero .wave { position: absolute; bottom: 0; left: 0; right: 0; }
.hero .wave svg { width: 100%; display: block; }
.hero .wave .fill-bg { fill: var(--background); }

@media (max-width: 1024px) {
  .hero .content { flex-direction: column-reverse; text-align: center; }
  .hero .text-side { text-align: center; }
  .hero .text-side .subtitle { margin-left: auto; margin-right: auto; }
  .hero .buttons { justify-content: center; }
  .hero .stats { justify-content: center; }
  .hero .img-side img { width: 300px; }
}
@media (max-width: 640px) {
  .hero .text-side h1 { font-size: 2rem; }
  .hero .buttons { flex-direction: column; align-items: stretch; }
  .hero .stats { gap: 1rem; }
}

/* ===== SECTIONS ===== */
section { padding: 5rem 0; position: relative; overflow: hidden; }
.section-badge { display: inline-block; padding: 0.375rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; margin-bottom: 1rem; }
.section-badge.primary { background: rgba(171,0,0,0.1); color: var(--primary); }
.section-badge.accent { background: rgba(245,158,11,0.1); color: var(--accent); }
.section-title { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; }
.section-desc { font-size: 1.125rem; color: var(--muted-foreground); max-width: 42rem; margin: 0 auto; }
.text-center { text-align: center; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 2rem;
  transition: all 0.3s; position: relative;
}
.feature-card:hover { border-color: rgba(171,0,0,0.3); box-shadow: 0 20px 40px rgba(171,0,0,0.05); transform: translateY(-4px); }
.feature-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 1rem;
  background: linear-gradient(to bottom left, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem;
  transition: transform 0.3s; color: white;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-card p { color: var(--muted-foreground); line-height: 1.7; }

@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

/* ===== GRADES ===== */
#grades { background: linear-gradient(to bottom, var(--background), var(--muted)); }
.grades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.grade-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem; overflow: hidden;
  transition: all 0.3s;
}
.grade-card:hover { border-color: rgba(171,0,0,0.3); box-shadow: 0 20px 40px rgba(0,0,0,0.1); transform: translateY(-8px); }
.grade-card .img-wrap { overflow: hidden; }
.grade-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 0.5s; }
.grade-card:hover img { transform: scale(1.05); }
.grade-card .bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; }
.grade-card h3 { font-size: 1.125rem; font-weight: 700; }
.grade-card .btn-sm { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--primary); color: var(--primary-foreground); padding: 0.625rem 1.25rem; border-radius: 0.75rem; font-weight: 700; font-size: 0.875rem; text-decoration: none; border: none; cursor: pointer; transition: opacity 0.3s; font-family: 'Cairo', sans-serif; }
.grade-card .btn-sm:hover { opacity: 0.9; }

@media (max-width: 1024px) { .grades-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grades-grid { grid-template-columns: 1fr; max-width: 28rem; margin-left: auto; margin-right: auto; } }

/* ===== ABOUT ===== */
.about-content { display: flex; align-items: center; gap: 3rem; margin-top: 3rem; }
.about-text { flex: 1; text-align: right; }
.about-text p { font-size: 1.125rem; color: var(--muted-foreground); line-height: 2; margin-bottom: 1.5rem; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.highlight-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem; padding: 1rem; text-align: center;
  transition: all 0.3s;
}
.highlight-card:hover { border-color: rgba(171,0,0,0.3); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
.highlight-icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: rgba(171,0,0,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; color: var(--primary); }
.highlight-card .label { font-weight: 700; font-size: 0.875rem; }
.highlight-card .desc { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem; }
.about-image { flex-shrink: 0; position: relative; }
.about-image img { width: 280px; border-radius: 50%; position: relative; z-index: 1; }
.about-image .glow { position: absolute; inset: -1rem; background: linear-gradient(to bottom left, rgba(171,0,0,0.15), rgba(245,158,11,0.15)); border-radius: 50%; filter: blur(32px); }

@media (max-width: 1024px) {
  .about-content { flex-direction: column; }
  .about-text { text-align: center; }
  .about-image img { width: 220px; }
}
@media (max-width: 640px) { .highlights-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===== FAQ ===== */
#faq { background: linear-gradient(to bottom, var(--background), var(--muted)); }
.faq-list { max-width: 48rem; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  border: 1px dashed var(--border); border-radius: 1rem; overflow: hidden;
  background: linear-gradient(to left, rgba(171,0,0,0.08), rgba(171,0,0,0.03), transparent);
  transition: all 0.3s;
}
.faq-item.active { border-color: rgba(171,0,0,0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.faq-trigger {
  width: 100%; background: none; border: none; cursor: pointer; padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem; font-family: 'Cairo', sans-serif;
  color: var(--foreground); font-size: 1rem; font-weight: 700; text-align: right;
}
.faq-trigger .num {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(171,0,0,0.1); border: 2px solid rgba(171,0,0,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); font-weight: 900; font-size: 0.75rem;
}
.faq-trigger .question { flex: 1; text-align: right; }
.faq-trigger .icon-toggle {
  width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--muted-foreground); opacity: 0.3;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s;
}
.faq-item.active .icon-toggle { border-color: var(--primary); background: var(--primary); opacity: 1; }
.faq-trigger .icon-toggle svg { transition: transform 0.3s; }
.faq-item.active .icon-toggle svg { transform: rotate(45deg); color: var(--primary-foreground); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--muted-foreground); line-height: 1.8; }
.faq-contact { text-align: center; margin-top: 3rem; color: var(--muted-foreground); }
.faq-contact a { color: var(--primary); font-weight: 700; text-decoration: none; }
.faq-contact a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
footer { background: var(--foreground); color: var(--background); padding: 4rem 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; }
.footer-brand img { width: 40px; height: 40px; }
footer .desc { opacity: 0.6; font-size: 0.875rem; line-height: 1.7; }
footer h4 { font-weight: 700; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 0.75rem; }
footer ul a { text-decoration: none; color: inherit; opacity: 0.6; transition: opacity 0.3s; font-size: 0.875rem; }
footer ul a:hover { opacity: 1; }
.contact-item { display: flex; align-items: center; gap: 0.5rem; opacity: 0.6; font-size: 0.875rem; margin-bottom: 0.75rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center; text-decoration: none; color: inherit;
  transition: all 0.3s;
}
.social-link:hover { background: var(--primary); color: var(--primary-foreground); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; font-size: 0.875rem; opacity: 0.4; }

@media (max-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== ANIMATIONS ===== */
@keyframes ambient1 { 0%,100%{transform:translate(0,0) scale(1)} 25%{transform:translate(60px,40px) scale(1.1)} 50%{transform:translate(-30px,80px) scale(0.95)} 75%{transform:translate(-60px,-20px) scale(1.05)} }
@keyframes ambient2 { 0%,100%{transform:translate(0,0) scale(1)} 25%{transform:translate(-50px,-60px) scale(1.08)} 50%{transform:translate(40px,-30px) scale(0.92)} 75%{transform:translate(70px,50px) scale(1.12)} }
@keyframes ambient3 { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(80px,-40px) scale(1.1)} 66%{transform:translate(-60px,60px) scale(0.9)} }
@keyframes electricFlow { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes gentleFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-15px)} }
@keyframes float { 0%,100%{transform:translateY(0) rotate(0deg);opacity:0.6} 50%{transform:translateY(-20px) rotate(10deg);opacity:1} }
@keyframes floatReverse { 0%,100%{transform:translateY(0) rotate(0deg);opacity:0.5} 50%{transform:translateY(20px) rotate(-10deg);opacity:0.9} }
@keyframes logoWatermark { 0%,100%{transform:translate(-50%,-50%) scale(1) rotate(0deg);opacity:0.04} 25%{transform:translate(-50%,-50%) scale(1.05) rotate(2deg);opacity:0.06} 50%{transform:translate(-50%,-50%) scale(1) rotate(0deg);opacity:0.03} 75%{transform:translate(-50%,-50%) scale(1.03) rotate(-2deg);opacity:0.06} }

/* SVG Icons inline style */
.icon { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.75rem; height: 1.75rem; }


.hero .floating-badge {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 1rem; padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.dark .hero .floating-badge {
  background: rgba(13,13,13,0.85); border-color: rgba(255,255,255,0.08);
}
.hero .floating-badge .badge-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero .floating-badge .badge-icon.primary-bg { background: rgba(171,0,0,0.1); color: var(--primary); }
.hero .floating-badge .badge-icon.accent-bg { background: rgba(245,158,11,0.1); color: var(--accent); }
.hero .floating-badge .badge-text { font-weight: 700; font-size: 0.875rem; color: var(--foreground); text-align: right; }
.hero .floating-badge .badge-sub { font-weight: 500; font-size: 0.75rem; color: var(--muted-foreground); }
.hero .badge-physics { top: 33%; left: -1rem; animation: float 6s ease-in-out 1s infinite; }
.hero .badge-science { bottom: 25%; right: -1rem; animation: floatReverse 5s ease-in-out 0.5s infinite; }
@media (min-width: 769px) {
  .hero .badge-physics { left: -2.5rem; }
  .hero .badge-science { right: -2.5rem; }
}
@media (max-width: 1024px) {
  .hero .img-side img.instructor-img { width: 300px; }
}
.hero .wave { position: absolute; bottom: 0; left: 0; right: 0; }
.hero .wave svg { width: 100%; display: block; }
.hero .wave .fill-bg { fill: var(--background); }

@media (max-width: 1024px) {
  .hero .content { flex-direction: column-reverse; text-align: center; }
  .hero .text-side { text-align: center; }
  .hero .text-side .subtitle { margin-left: auto; margin-right: auto; }
  .hero .buttons { justify-content: center; }
  .hero .stats { justify-content: center; }
  .hero .img-side img.instructor-img { width: 300px; }
}
@media (max-width: 640px) {
  .hero .text-side h1 { font-size: 2rem; }
  .hero .buttons { flex-direction: column; align-items: stretch; }
  .hero .stats { gap: 1rem; }
}