@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

/* ===============================================
   Shubhanshu Verma - Professional & Futuristic
   style.css
=============================================== */

/* --- VARIABLES --- */
:root {
  --bg:        #05080d;
  --surface:   #080d14;
  --card:      #0c1420;
  --border:    rgba(255,255,255,0.07);
  --border-h:  rgba(0,210,255,0.25);
  --accent:    #00d2ff;
  --accent2:   #00e5a0;
  --text:      #e8f1fa;
  --muted:     #5a7a96;
  --subtle:    #1a2840;
  --glow-c:    rgba(0,210,255,0.18);
  --radius:    14px;
  --radius-sm: 8px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }
.serif { font-family: 'Cormorant Garamond', serif; }

/* ========================
   NAV
======================== */

nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.5rem;
  height: 68px;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
  overflow: visible;
  width: 100%;
  max-width: 100vw;
}

/* Animated corner accents */
nav::before, nav::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border-color: rgba(0,210,255,0.5);
  border-style: solid;
  transition: opacity 0.4s;
  opacity: 0;
}
nav::before { top: 8px; left: 8px; border-width: 1.5px 0 0 1.5px; }
nav::after  { top: 8px; right: 8px; border-width: 1.5px 1.5px 0 0; }
nav.scrolled::before, nav.scrolled::after { opacity: 1; }

/* Bottom accent line */
nav .nav-accent-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,210,255,0.5) 30%, rgba(0,229,160,0.4) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
}
nav.scrolled .nav-accent-line { opacity: 1; }

/* Scanline flicker */
.nav-scanline {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,210,255,0.012) 2px,
    rgba(0,210,255,0.012) 4px
  );
  opacity: 0;
  transition: opacity 0.4s;
}
nav.scrolled .nav-scanline { opacity: 1; }

nav.scrolled {
  background: rgba(4 7 12 / 12%);
  backdrop-filter: blur(28px) saturate(1.5);
  border-color: rgba(0,210,255,0.1);
}

/* --- Brand --- */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-hex {
  flex-shrink: 0;
  animation: hex-spin 8s linear infinite;
  filter: drop-shadow(0 0 6px rgba(0,210,255,0.5));
}
@keyframes hex-spin {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(0deg); }
  35%  { transform: rotate(60deg); }
  60%  { transform: rotate(60deg); }
  70%  { transform: rotate(120deg); }
  100% { transform: rotate(120deg); }
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.brand-name {
  font-family: 'Share Tech Mono', monospace;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.brand-accent {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(0,210,255,0.6);
}
.brand-tagline {
  font-size: 0.7rem;
  color: #ffffff;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Share Tech Mono', monospace;
  opacity: 0.7;
}

/* --- Nav links --- */
.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}
.nav-links li { position: relative; }
.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Share Tech Mono', monospace;
  transition: color 0.2s;
  overflow: hidden;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  transition: left 0.25s ease, right 0.25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { left: 10%; right: 10%; }

.nav-num {
  font-size: 0.55rem;
  color: rgba(0,210,255,0.4);
  letter-spacing: 0.06em;
  margin-right: 0.15rem;
  font-family: 'Share Tech Mono', monospace;
  transition: color 0.2s;
}
.nav-links a:hover .nav-num { color: var(--accent); }

/* --- CTA --- */
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  overflow: hidden;
  border-radius: 4px;
}
.nav-cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 500;
  font-family: 'Share Tech Mono', monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 0.55rem 1.3rem;
  border-radius: 4px;
  transition: background 0.25s, color 0.25s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.nav-cta-glow {
  position: absolute;
  inset: -2px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s;
  z-index: 1;
}
.nav-cta:hover .nav-cta-glow { opacity: 0.6; }
.nav-cta:hover .nav-cta-inner {
  background: #fff;
  color: #000;
}

.brand-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.7; }
}


/* ========================
   HERO
======================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 3.5rem 5rem;
  overflow: hidden;
}

/* Ambient background */
.hero-ambient { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.ao1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,210,255,0.07) 0%, transparent 70%);
  top: -200px; left: -150px;
}
.ao2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,160,0.05) 0%, transparent 70%);
  bottom: -100px; right: 5%;
}
.ao3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,80,160,0.08) 0%, transparent 70%);
  top: 40%; left: 40%;
}

/* Grid overlay */
.hero-grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.13) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* --- SPLIT LAYOUT --- */
.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* --- LEFT --- */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  box-shadow: 0 0 8px var(--accent2);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
.heading-light {
  display: block;
  font-weight: 300;
  color: rgba(232,241,250,0.6);
}
.heading-bold {
  display: inline;
  font-weight: 700;
  color: var(--text);
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-line {
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 1rem;
  font-weight: 400;
}
.hero-tagline strong { color: var(--accent); font-weight: 600; }

.hero-desc {
  font-size: 0.9rem;
  color: #ffffff;
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 1.6rem;
  font-weight: 300;
}

/* Cert pills */
.hero-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.cert-pill {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(0,210,255,0.2);
  color: rgba(0,210,255,0.7);
  background: rgba(0,210,255,0.05);
  transition: border-color 0.2s, color 0.2s;
}
.cert-pill:hover { border-color: var(--accent); color: var(--accent); }

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
}
.btn-primary:hover {
  box-shadow: 0 0 36px rgba(0,210,255,0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  border: 1.5px solid rgb(255 255 255 / 40%);
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.btn-ghost:hover { border-color: var(--border-h); color: var(--accent); }

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.2rem 1.6rem;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  backdrop-filter: blur(10px);
}
.hstat { flex: 1; text-align: center; }
.hstat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.03em;
}
.hstat-num span { color: var(--accent); font-size: 1.4rem; }
.hstat-label {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.3rem;
  font-weight: 400;
}
.hstat-sep {
  width: 1px; height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* --- RIGHT: AVATAR SCENE --- */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.av-scene {
  position: relative;
  width: 380px; height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG arcs */
.av-arcs {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  animation: arc-spin 40s linear infinite;
}
@keyframes arc-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Glow */
.av-glow {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(0,210,255,0.15), transparent 65%);
  filter: blur(20px);
}

/* Photo circle */
.av-photo {
  position: relative;
  z-index: 2;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0d1f2e 0%, #060d14 100%);
  border: 1.5px solid rgba(0,210,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 60px rgba(0,210,255,0.12),
    0 0 120px rgba(0,210,255,0.05),
    inset 0 0 60px rgba(0,0,0,0.6);
  overflow: hidden;
}
.av-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.av-initials {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 4.5rem;
  letter-spacing: -0.03em;
  color: var(--accent);
  text-shadow: 0 0 50px rgba(0,210,255,0.6);
}

/* Verified badge */
.av-badge {
  position: absolute;
  z-index: 4;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  background: rgba(5,8,13,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,210,255,0.3);
  border-radius: 100px;
  color: var(--text);
  letter-spacing: 0.04em;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), 0 0 12px rgba(0,210,255,0.12);
}

/* Floating info cards */
.av-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  background: rgba(5,8,13,0.82);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.04);
  animation: card-float 4s ease-in-out infinite;
}
.avc-icon { font-size: 1.2rem; flex-shrink: 0; }
.avc-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.avc-sub {
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.avc1 { top: 8%;   left: -18%; animation-delay: 0s;    animation-duration: 4.5s; }
.avc2 { top: 8%;   right: -14%; animation-delay: 1.2s;  animation-duration: 4s; }
.avc3 { bottom: 22%; left: -20%; animation-delay: 0.6s;  animation-duration: 5s; }

@keyframes card-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-track {
  width: 1.5px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.scroll-thumb {
  width: 100%;
  height: 50%;
  background: var(--accent);
  border-radius: 2px;
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%   { transform: translateY(-100%); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(200%); opacity: 0; }
}

/* ========================
   SECTIONS - SHARED
======================== */
section {
  position: relative;
  z-index: 2;
  padding: 6rem 3.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--accent);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-desc {
  /* color: var(--muted); */
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* ========================
   ABOUT
======================== */
#about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.about-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,210,255,0.15), rgba(0,229,160,0.1));
  border: 1px solid var(--border-h);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}
.about-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
}
.about-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}
.about-role {
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  font-weight: 400;
}
.cert-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.badge {
  font-size: 0.62rem;
  font-weight: 500;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(0,210,255,0.2);
  border-radius: 100px;
  color: rgba(0,210,255,0.7);
  background: rgba(0,210,255,0.05);
  letter-spacing: 0.05em;
}
.badge.green {
  border-color: rgba(0,229,160,0.2);
  color: rgba(0,229,160,0.8);
  background: rgba(0,229,160,0.05);
}

.badge.red {
  border-color: rgba(255,59,59,0.2);
  color: rgba(255,59,59,0.85);
  background: rgba(255,59,59,0.08);
}

.about-text p {
  /* color: var(--muted); */
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.93rem;
  font-weight: 300;
}
.about-text p strong { color: var(--text); font-weight: 500; }
.skills-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.skill-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  /* color: var(--muted); */
  font-weight: 300;
}
.skill-item::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ========================
   SERVICES
======================== */
.services-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3rem;
  gap: 0;
  max-width: 1100px;
  margin-left: auto; margin-right: auto;
}
.services-header > div {
  width: 100%;
}
.services-header .section-desc {
  margin-top: 0.5rem;
  margin-bottom: 0;
  max-width: 100%;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
.service-card {
  background: var(--card);
  padding: 2.2rem;
  transition: background 0.3s;
  position: relative;
}
.service-card:hover { background: #0f1d2e; }
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}
.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.service-desc {
  /* color: var(--muted); */
  font-size: 0.84rem;
  line-height: 1.7;
  font-weight: 300;
}
.service-tag {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ========================
   COURSES
======================== */
#courses {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
#courses h2, #courses .section-label, #courses .section-desc {
  max-width: 1100px;
  margin-left: auto; margin-right: auto;
  display: block;
}
#courses .section-label { display: flex; }
.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.course-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.course-card:hover {
  border-color: var(--border-h);
  box-shadow: 0 0 40px var(--glow-c);
}
.course-level {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  font-size: 0.58rem;
  font-weight: 600;
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.level-beginner     { background: rgba(0,229,160,0.1); color: var(--accent2); border: 1px solid rgba(0,229,160,0.2); }
.level-intermediate { background: rgba(0,210,255,0.1); color: var(--accent);  border: 1px solid rgba(0,210,255,0.2); }
.level-advanced     { background: rgba(255,80,100,0.1); color: #ff6080;       border: 1px solid rgba(255,80,100,0.2); }
.course-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 0.1rem; }
.course-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.course-desc {  font-size: 0.83rem; line-height: 1.65; margin-bottom: 1rem; font-weight: 300; }
.course-meta { display: flex; gap: 1rem; flex-wrap: wrap; }
.meta-item { font-size: 0.68rem; font-weight: 300; }

/* ========================
   TESTIMONIALS
======================== */
#testimonials h2, #testimonials .section-label, #testimonials .section-desc { max-width:1100px; margin-left:auto; margin-right:auto; display:block; }
#testimonials .section-label { display: flex; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: var(--border-h); }
.stars { color: #f5c842; font-size: 0.75rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testimonial-text {
  /* color: var(--muted); */
  font-size: 0.87rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-weight: 300;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,210,255,0.2), rgba(0,229,160,0.2));
  border: 1px solid var(--border-h);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.author-name { font-size: 0.82rem; font-weight: 600; }
.author-role { font-size: 0.68rem; margin-top: 0.1rem; font-weight: 300; }

/* ========================
   CONTACT
======================== */
#contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-methods { display: flex; flex-direction: column; gap: 0.8rem; margin-top: 2rem; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.3s;
}
.contact-item:hover { border-color: var(--border-h); }
.contact-item-icon {
  font-size: 1.1rem; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  border: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
}
.contact-item-label { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 400; }
.contact-item-value { font-size: 0.87rem; font-weight: 400; margin-top: 0.1rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 400; }
.form-input, .form-textarea {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--border-h);
  box-shadow: 0 0 0 3px rgba(0,210,255,0.07);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ========================
   FOOTER
======================== */
footer {
  position: relative; z-index: 2;
  padding: 2.5rem 3.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand .brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.95rem; }
.footer-tagline { font-size: 0.72rem; margin-top: 0.2rem; font-weight: 300; }
.footer-copy { font-size: 0.7rem; color: #ffffff; font-weight: 300; }
.footer-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-links a { font-size: 0.72rem; color: #ffffff; text-decoration: none; transition: color 0.2s; font-weight: 400; }
.footer-links a:hover { color: var(--text); }

/* ========================
   ANIMATIONS
======================== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ========================
   HAMBURGER MENU
======================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 4px;
  z-index: 300;
}
.nav-hamburger span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(4,7,12,0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(0,210,255,0.15);
  padding: 1.5rem 1.5rem 2rem;
  z-index: 199;
  flex-direction: column;
  gap: 0.2rem;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Share Tech Mono', monospace;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--accent); }
.nav-mobile-menu .nav-num { font-size: 0.55rem; color: rgba(0,210,255,0.4); }
.nav-mobile-cta {
  margin-top: 1rem;
  text-align: center;
}
.nav-mobile-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Share Tech Mono', monospace;
  text-decoration: none;
  border-radius: 4px;
  border-bottom: none !important;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 1024px) {
  nav { padding: 0 2rem; }
  section { padding: 5rem 2rem; }
  #hero { padding: 8rem 2rem 5rem; }
  .hero-split { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-right { order: -1; }
  .hero-left { align-items: center; text-align: center; }
  .hero-desc, .hero-tagline, .section-desc { max-width: 100%; }
  .hero-certs, .hero-actions { justify-content: center; }
  .hero-stats { max-width: 100%; }
  .av-scene { width: 280px; height: 280px; }
  .av-photo { width: 200px; height: 200px; }
  .av-initials { font-size: 3.5rem; }
  .av-arcs { inset: -10px; }
  .avc1, .avc2, .avc3 { display: none; }
  .about-grid { gap: 3rem; }
  .contact-grid { gap: 3rem; }
}

/* ========================
   RESPONSIVE - MOBILE (≤768px)
======================== */
@media (max-width: 768px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  /* Nav */
  nav {
    padding: 0 1rem;
    height: 64px;
    overflow: hidden;
  }
  .nav-brand {
    gap: 0.5rem;
    min-width: 0;
    flex-shrink: 1;
    max-width: calc(100% - 60px);
  }
  .brand-hex { width: 22px; height: 22px; flex-shrink: 0; }
  .brand-text-group { min-width: 0; overflow: hidden; }
  .brand-name {
    font-size: 0.9rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .brand-tagline { display: none; }
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  .nav-hamburger { display: flex; flex-shrink: 0; margin-left: auto; }
  .nav-mobile-menu { top: 64px; padding: 1rem; }

  /* Hero */
  #hero {
    padding: 5.5rem 1rem 3rem;
    min-height: auto;
    overflow-x: hidden;
  }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
  }
  .hero-right {
    order: -1;
    transform: none !important;   /* disable JS parallax on mobile */
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .hero-left {
    align-items: center;
    text-align: center;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hero-heading {
    white-space: normal;
    font-size: clamp(1.9rem, 7.5vw, 3rem);
    width: 100%;
    overflow-wrap: break-word;
  }
  /* Make heading spans stack on mobile so long name doesn't overflow */
  .heading-light,
  .heading-bold { display: block; }
  .hero-tagline,
  .hero-desc,
  .section-desc {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hero-title-line {
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: 0.82rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

  /* Hero stats — 2×2 grid */
  .hero-stats {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
  }
  .hstat {
    min-width: calc(50% - 0.375rem);
    flex: 1 1 calc(50% - 0.375rem);
  }
  .hstat-sep { display: none; }

  /* Avatar — centered, no overflow */
  .av-scene {
    width: 240px;
    height: 240px;
    flex-shrink: 0;
  }
  .av-photo { width: 170px; height: 170px; }
  .av-initials { font-size: 3rem; }
  .av-arcs {
    inset: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
  }
  .avc1, .avc2, .avc3 { display: none; }

  /* Sections */
  section { padding: 3.5rem 1rem; }
  .about-grid,
  .contact-grid,
  .services-grid,
  .courses-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Services header */
  .services-header { margin-bottom: 2rem; }
  .services-header .section-desc {
    white-space: normal;
    font-size: 0.88rem;
  }

  /* Course cards */
  .course-card { flex-direction: column; gap: 1rem; }
  .course-level {
    position: static;
    align-self: flex-start;
    margin-bottom: 0.25rem;
  }

  /* Form */
  .form-row, .skills-list { grid-template-columns: 1fr; }
  .form-input, .form-textarea, select.form-input { width: 100%; }

  /* Contact value wrapping */
  .contact-item-value {
    word-break: break-all;
    font-size: 0.82rem;
  }

  /* Footer */
  footer {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
    gap: 0.75rem;
  }
  .footer-copy { font-size: 0.68rem; line-height: 1.7; }
}

/* ========================
   RESPONSIVE - SMALL MOBILE (≤480px)
======================== */
@media (max-width: 480px) {
  nav { padding: 0 0.85rem; }
  .brand-name { font-size: 0.88rem; }

  .hero-heading { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .hero-title-line { font-size: 0.85rem; }
  .hero-tagline { font-size: 0.95rem; }

  .hero-desc,
  .section-desc,
  .about-text p,
  .service-desc,
  .course-desc,
  .testimonial-text {
    font-size: 0.85rem;
    line-height: 1.65;
  }

  /* Stats full-width on very small screens */
  .hero-stats { gap: 0.5rem; }
  .hstat { min-width: 100%; flex-basis: 100%; }
  .hstat-num { font-size: 1.35rem; }
  .hstat-label { font-size: 0.58rem; }

  /* Cards */
  .about-card,
  .service-card,
  .testimonial-card,
  .contact-item,
  .course-card { padding: 1.25rem; }

  /* Form — prevent iOS zoom on inputs */
  .form-input,
  .form-textarea,
  select.form-input { font-size: 16px; }

  .contact-form { gap: 0.85rem; }

  .contact-grid h2 { font-size: 1.8rem; }

  footer { padding: 1.5rem 1rem; }
  .footer-copy { font-size: 0.65rem; }

  h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
}
