/* =========================================================
   GANESH T. GAIKWAD — PREMIUM PERSONAL BRAND WEBSITE
   Complete style.css
   Compatible with:
   index.html
   about.html
   journey.html
   contact.html
   ========================================================= */

/* =========================
   1. ROOT VARIABLES
   ========================= */

:root {
  --bg: #f6f8fc;
  --bg-soft: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f8faff;

  --dark: #07111f;
  --dark-2: #0b1728;
  --dark-3: #101f34;

  --text: #101827;
  --text-soft: #566277;
  --text-muted: #78859a;

  --primary: #635bff;
  --primary-dark: #4d46dc;
  --secondary: #2563eb;
  --cyan: #06b6d4;

  --whatsapp: #25d366;
  --whatsapp-dark: #128c4a;

  --border: rgba(15, 23, 42, 0.09);
  --border-light: rgba(255, 255, 255, 0.12);

  --shadow-sm: 0 8px 25px rgba(15, 23, 42, 0.07);
  --shadow: 0 18px 55px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.16);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;

  --container: 1180px;

  --transition: 0.3s ease;
}


/* =========================
   2. RESET
   ========================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at 10% 10%, rgba(99, 91, 255, 0.06), transparent 28%),
    radial-gradient(circle at 90% 30%, rgba(37, 99, 235, 0.05), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "Poppins", "Noto Sans Devanagari", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

::selection {
  background: var(--primary);
  color: #ffffff;
}


/* =========================
   3. TYPOGRAPHY
   ========================= */

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -2.5px;
  margin-bottom: 18px;
  font-weight: 800;
}

h2 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  font-weight: 800;
}

h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
}

p {
  color: var(--text-soft);
  font-size: 16px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.kicker::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}


/* =========================
   4. CONTAINER
   ========================= */

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}


/* =========================
   5. LOADER
   ========================= */

.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: #07111f;
  pointer-events: none;
  animation: loaderHide 0.8s ease 1.1s forwards;
}

.loader-ring {
  width: 54px;
  height: 54px;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: #ffffff;
  border-right-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderHide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}


/* =========================
   6. NAVBAR
   ========================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 5000;
  width: 100%;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.nav-inner {
  width: min(1240px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}

.logo span {
  color: var(--primary);
}

.logo-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 10px;
  color: #46536a;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(99, 91, 255, 0.08);
}

.nav-cta {
  flex-shrink: 0;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 12px;
  background: #f0f2f8;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 10px;
  background: var(--dark);
  transition: var(--transition);
}


/* =========================
   7. BUTTONS
   ========================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 12px 30px rgba(99, 91, 255, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(99, 91, 255, 0.34);
}

.btn-ghost {
  color: var(--dark);
  background: #ffffff;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: rgba(99, 91, 255, 0.3);
  color: var(--primary);
}

.btn-whatsapp {
  color: #06210f;
  background: var(--whatsapp);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp:hover {
  background: #20bd5b;
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.30);
}


/* =========================
   8. HERO
   ========================= */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  padding: 90px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 35%, rgba(99, 91, 255, 0.16), transparent 28%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.10), transparent 24%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 650px;
  height: 650px;
  right: -260px;
  top: -230px;
  border-radius: 50%;
  background: rgba(99, 91, 255, 0.07);
  filter: blur(4px);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 400px;
  height: 400px;
  left: -220px;
  bottom: -220px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.06);
}

.hero-grid {
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
  align-items: center;
  gap: 60px;
}

.hero h1 {
  max-width: 760px;
  color: var(--dark);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.role {
  margin-bottom: 2px;
  color: var(--primary);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 800;
}

.subroles {
  margin-bottom: 22px;
  color: var(--dark-3);
  font-size: 15px;
  font-weight: 600;
}

.tagline {
  max-width: 650px;
  margin-bottom: 30px;
  font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
  font-size: 18px;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 9px 15px;
  border: 1px solid rgba(99, 91, 255, 0.14);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(99, 91, 255, 0.07);
  font-size: 13px;
  font-weight: 800;
}

.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.12);
}


/* =========================
   9. HERO PORTRAIT
   ========================= */

.portrait-wrap {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.portrait-glow {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(99, 91, 255, 0.26), rgba(37, 99, 235, 0.08) 45%, transparent 70%);
  filter: blur(15px);
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.orbit {
  position: absolute;
  width: 90%;
  height: 90%;
  border: 1px solid rgba(99, 91, 255, 0.16);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.orbit::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 4%;
  left: 18%;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 20px rgba(99, 91, 255, 0.6);
}

.orbit::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  right: 7%;
  bottom: 20%;
  border-radius: 50%;
  background: var(--cyan);
}

.orbit-2 {
  width: 76%;
  height: 76%;
  transform: rotate(35deg);
  border-color: rgba(6, 182, 212, 0.13);
}

.portrait-wrap picture {
  position: relative;
  z-index: 3;
  width: 76%;
  height: 76%;
  display: block;
  overflow: hidden;
  border-radius: 38px;
  border: 7px solid rgba(255, 255, 255, 0.9);
  background: #e9edf5;
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.20),
    0 0 0 1px rgba(99, 91, 255, 0.10);
  transform: rotate(2deg);
  transition: transform 0.5s ease;
}

.portrait-wrap:hover picture {
  transform: rotate(0deg) scale(1.025);
}

.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}


/* =========================
   10. FLOATING ICONS
   ========================= */

.float-icon {
  position: absolute;
  z-index: 5;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  animation: floating 4s ease-in-out infinite;
}

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

.fi-1 {
  top: 12%;
  right: 2%;
}

.fi-2 {
  right: 0;
  bottom: 17%;
  animation-delay: 0.8s;
}

.fi-3 {
  left: 2%;
  bottom: 14%;
  animation-delay: 1.4s;
}

.fi-4 {
  left: 7%;
  top: 16%;
  animation-delay: 2s;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}


/* =========================
   11. GENERAL SECTIONS
   ========================= */

section {
  position: relative;
  padding: 100px 0;
}

section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.52);
}

.section-head {
  max-width: 720px;
  margin-bottom: 45px;
}

.section-head p:last-child {
  margin-bottom: 0;
}


/* =========================
   12. CARDS
   ========================= */

.card,
.glass-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover,
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 91, 255, 0.17);
  box-shadow: var(--shadow);
}


/* =========================
   13. STATS
   ========================= */

#achievements {
  padding-top: 0;
  background: transparent;
}

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

.stat-card {
  min-height: 150px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.stat-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--dark);
  font-size: clamp(23px, 2.6vw, 35px);
  line-height: 1.15;
  font-weight: 800;
}

.stat-card span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}


/* =========================
   14. ABOUT GRID
   ========================= */

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 75px;
}

.about-grid > picture {
  position: relative;
  display: block;
}

.about-grid > picture::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 30px -25px -25px 25px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.14), rgba(6, 182, 212, 0.08));
}

.about-photo {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: center top;
  border-radius: 30px;
  border: 8px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}

.about-grid > div > p {
  max-width: 720px;
}


/* =========================
   15. FEATURE GRID
   ========================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
  margin: 28px 0 30px;
}

.feature {
  padding: 19px;
}

.feature:hover {
  transform: translateY(-4px);
}

.feature h3 {
  color: var(--dark);
  font-size: 16px;
}

.feature p {
  margin: 0;
  font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
  font-size: 13px;
}


/* =========================
   16. TEACH GRID
   ========================= */

.teach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.teach-grid .card {
  position: relative;
  min-height: 215px;
  padding: 27px;
  overflow: hidden;
}

.teach-grid .card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -55px;
  bottom: -55px;
  border-radius: 50%;
  background: rgba(99, 91, 255, 0.06);
  transition: var(--transition);
}

.teach-grid .card:hover::after {
  transform: scale(1.6);
}

.teach-grid .card h3 {
  color: var(--dark);
}

.teach-grid .card p {
  margin-bottom: 0;
  font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
  font-size: 14px;
}

.icon-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 24px rgba(99, 91, 255, 0.22);
  font-size: 13px;
  font-weight: 800;
}


/* =========================
   17. LEARNERS SECTION
   ========================= */

.dark {
  color: #ffffff;
}

.learners {
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(99, 91, 255, 0.28), transparent 28%),
    radial-gradient(circle at 85% 75%, rgba(6, 182, 212, 0.16), transparent 28%),
    var(--dark);
}

.learners::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.learners .container {
  position: relative;
  z-index: 1;
  max-width: 850px;
  text-align: center;
}

.learners h2 {
  color: #ffffff;
}

.learners p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.72);
}

.big-count {
  margin: 20px 0 0;
  color: #ffffff;
  font-size: clamp(64px, 12vw, 130px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -5px;
  background: linear-gradient(135deg, #ffffff, #bfc8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* =========================
   18. YOUTUBE
   ========================= */

.yt-box {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 40px;
  padding: 35px;
}

.yt-box h2 {
  color: var(--dark);
}

.yt-box p {
  max-width: 560px;
}

.yt-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.yt-thumb:hover {
  transform: scale(1.015);
}

.yt-box .btn {
  margin-top: 2px;
}


/* =========================
   19. TESTIMONIALS
   ========================= */

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.t-grid .card {
  min-height: 180px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.t-grid .card p {
  margin: 0;
  color: var(--text-muted);
  font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
}


/* =========================
   20. CONTACT
   ========================= */

.contact-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 55px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 100%, rgba(99, 91, 255, 0.08), transparent 35%),
    #ffffff;
}

.contact-box h1,
.contact-box h2 {
  color: var(--dark);
}

.contact-box p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.contact-box .btn {
  margin-top: 10px;
}


/* =========================
   21. PAGE HERO
   ========================= */

.page-hero {
  min-height: calc(100vh - 76px);
  padding: 90px 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(99, 91, 255, 0.07), transparent 28%),
    radial-gradient(circle at 90% 70%, rgba(6, 182, 212, 0.06), transparent 25%);
}


/* =========================
   22. JOURNEY PAGE
   ========================= */

.journey-photo {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 55px;
  border-radius: 28px;
  border: 7px solid #ffffff;
  box-shadow: var(--shadow-lg);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 42px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--primary),
    var(--secondary),
    var(--cyan)
  );
}

.t-item {
  position: relative;
  margin-bottom: 18px;
  padding: 23px 25px 23px 30px !important;
}

.t-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 27px;
  width: 16px;
  height: 16px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.15);
}

.t-item h3 {
  color: var(--dark);
  margin-bottom: 7px;
}

.t-item p {
  margin-bottom: 0;
  font-family: "Noto Sans Devanagari", "Poppins", sans-serif;
}


/* =========================
   23. FOOTER
   ========================= */

footer {
  position: relative;
  padding: 65px 0 25px;
  background: #06101d;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 40px;
  padding-bottom: 35px;
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 20px;
}

.footer-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.67);
  font-size: 13px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.copy {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
  font-size: 12px;
}


/* =========================
   24. FLOATING WHATSAPP
   ========================= */

.float-wa {
  position: fixed;
  z-index: 4500;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow:
    0 12px 30px rgba(37, 211, 102, 0.30),
    0 5px 15px rgba(15, 23, 42, 0.14);
  transition: var(--transition);
  animation: whatsappPulse 2.8s ease-in-out infinite;
}

.float-wa svg {
  width: 27px;
  height: 27px;
}

.float-wa:hover {
  transform: scale(1.09);
  animation-play-state: paused;
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow:
      0 12px 30px rgba(37, 211, 102, 0.30),
      0 5px 15px rgba(15, 23, 42, 0.14);
  }

  50% {
    box-shadow:
      0 15px 40px rgba(37, 211, 102, 0.42),
      0 5px 15px rgba(15, 23, 42, 0.14);
  }
}


/* =========================
   25. SCROLL REVEAL
   ========================= */

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

.js-reveal.visible,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
   26. REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* =========================
   27. LARGE TABLET
   ========================= */

@media (max-width: 1100px) {

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 12px;
  }

  .hero-grid {
    gap: 40px;
  }

  .portrait-wrap {
    width: min(390px, 100%);
  }

  .about-grid {
    gap: 45px;
  }

  .teach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* =========================
   28. TABLET
   ========================= */

@media (max-width: 900px) {

  .nav-inner {
    min-height: 70px;
  }

  .nav-links {
    position: fixed;
    z-index: 4000;
    top: 70px;
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    min-height: 45px;
    padding: 10px 14px;
  }

  .hamburger {
    display: block;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 70px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-grid > div:first-child {
    order: 1;
  }

  .portrait-wrap {
    order: 0;
    width: min(400px, 88vw);
  }

  .hero-actions {
    justify-content: center;
  }

  .chip {
    margin-left: auto;
    margin-right: auto;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid > picture {
    max-width: 600px;
    margin: 0 auto;
  }

  .about-grid > div {
    text-align: left;
  }

  .teach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .yt-box {
    grid-template-columns: 1fr;
  }

  .t-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}


/* =========================
   29. MOBILE
   ========================= */

@media (max-width: 600px) {

  :root {
    --radius: 17px;
    --radius-lg: 23px;
  }

  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav-inner {
    width: calc(100% - 28px);
  }

  .logo {
    font-size: 15px;
    gap: 7px;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
    letter-spacing: -1.8px;
  }

  h2 {
    font-size: clamp(29px, 9vw, 42px);
    letter-spacing: -1px;
  }

  h3 {
    font-size: 18px;
  }

  section {
    padding: 70px 0;
  }

  .hero {
    min-height: auto;
    padding: 55px 0 75px;
  }

  .hero-grid {
    gap: 38px;
  }

  .portrait-wrap {
    width: min(350px, 90vw);
  }

  .portrait-wrap picture {
    width: 75%;
    height: 75%;
    border-width: 5px;
    border-radius: 27px;
  }

  .float-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .float-icon svg {
    width: 20px;
    height: 20px;
  }

  .tagline {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-card {
    min-height: 125px;
    padding: 20px 10px;
  }

  .stat-card strong {
    font-size: 21px;
  }

  .stat-card span {
    font-size: 11px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .teach-grid {
    grid-template-columns: 1fr;
  }

  .teach-grid .card {
    min-height: auto;
    padding: 23px;
  }

  .icon-badge {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }

  .learners {
    padding: 80px 0;
  }

  .big-count {
    font-size: 72px;
    letter-spacing: -3px;
  }

  .yt-box {
    padding: 20px;
    gap: 24px;
  }

  .yt-box .btn {
    width: 100%;
  }

  .journey-photo {
    margin-bottom: 35px;
    border-width: 5px;
    border-radius: 20px;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 8px;
  }

  .t-item {
    padding: 20px 17px 20px 20px !important;
  }

  .t-item::before {
    left: -29px;
    width: 14px;
    height: 14px;
    top: 24px;
  }

  .contact-box {
    padding: 30px 18px;
  }

  .contact-box .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-links {
    gap: 6px;
  }

  .float-wa {
    width: 54px;
    height: 54px;
    right: 15px;
    bottom: 15px;
  }
}


/* =========================
   30. VERY SMALL MOBILE
   ========================= */

@media (max-width: 380px) {

  .logo {
    font-size: 14px;
  }

  .logo-mark {
    width: 29px;
    height: 29px;
  }

  .hamburger {
    width: 41px;
    height: 41px;
  }

  h1 {
    font-size: 37px;
  }

  .stat-card strong {
    font-size: 19px;
  }

  .portrait-wrap {
    width: 310px;
  }

  .float-icon {
    width: 42px;
    height: 42px;
  }
}


/* =========================
   31. FOCUS ACCESSIBILITY
   ========================= */

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(99, 91, 255, 0.35);
  outline-offset: 3px;
}


/* =========================
   32. IMAGE FALLBACK
   ========================= */

img {
  background: #edf1f7;
}


/* =========================
   33. PRINT
   ========================= */

@media print {

  .nav,
  .float-wa,
  .loader,
  .hamburger,
  .hero-actions {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  section {
    padding: 30px 0;
  }

  .card,
  .glass-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}