/* ============================================================
   CODESHIFT HEALTHCARE SOLUTIONS - MASTER STYLESHEET v2
   Color Palette: Dark Blue #0F172A | Ice White #F8FAFC | Emerald #10B981
   ============================================================ */

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

:root {
  --dark: #0F172A;
  --dark-light: #1E293B;
  --dark-lighter: #334155;
  --ice: #F8FAFC;
  --ice-dim: #E2E8F0;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-light: #34D399;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --white: #ffffff;
  --text: #475569;
  --text-light: #94A3B8;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--ice);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--ice-dim);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: var(--transition);
  background: var(--white);
  color: var(--dark);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-glow);
}

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

/* TEXTURE OVERLAY */
.noise-bg {
  position: relative;
}

.noise-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    radial-gradient(var(--white) 1px, transparent 1px),
    radial-gradient(var(--white) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  pointer-events: none;
  z-index: 0;
}

/* SCROLL PROGRESS BAR */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  z-index: 10001;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-light));
  width: 0%;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* SECTION DIVIDERS */
.section-divider {
  line-height: 0;
  margin-top: -1px;
  position: relative;
  z-index: 2;
}

.section-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

.divider-dark-to-white {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 50%, #0c2a3a 100%);
}

/* TYPOGRAPHY */
.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  padding: 0.35rem 1rem;
  border-radius: 50px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-section .section-title {
  color: var(--white);
}

.why-section .section-tag {
  background: rgba(16, 185, 129, 0.15);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--emerald-glow);
}

.btn-outline {
  border: 2px solid var(--emerald);
  color: var(--emerald);
  background: transparent;
}

.btn-outline:hover {
  background: var(--emerald);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-size: 1.05rem;
  padding: 1rem 2rem;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-pulse {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse 1s ease-in-out infinite;
  margin: 0 auto 1rem;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.5
  }

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

.loader-text {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* LOGO */
.logo-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.3));
}

.logo-text {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-code {
  color: var(--white);
}

.logo-shift {
  color: var(--emerald-light);
}

.navbar.scrolled .logo-code {
  color: var(--white);
}

.footer-logo-link .logo-code {
  color: rgba(255, 255, 255, 0.9);
}

.footer-logo-link .logo-shift {
  color: var(--emerald-light);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1000;
  padding: 0.75rem 0;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.navbar.scrolled {
  top: 1rem;
  width: calc(100% - 2rem);
  max-width: 1200px;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
  .navbar.scrolled:not(:hover) {
    max-width: 220px;
    cursor: pointer;
  }

  .navbar.scrolled:not(:hover) .nav-links,
  .navbar.scrolled:not(:hover) .nav-actions {
    opacity: 0;
    visibility: hidden;
    width: 0;
    margin: 0;
    padding: 0;
    transform: scale(0.8) translateY(10px);
    pointer-events: none;
  }

  .navbar.scrolled:not(:hover) .nav-container {
    justify-content: center;
  }
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-img {
  height: 42px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.nav-actions {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta {
  font-size: 0.85rem;
  padding: 0.6rem 1.5rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO bg: DARK */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 50%, #0c2a3a 100%);
  overflow: hidden;
  padding: 6rem 0 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(var(--white) 1px, transparent 1px), radial-gradient(var(--white) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--emerald-glow), transparent 70%);
}

.shape-1 {
  width: 600px;
  height: 600px;
  top: -15%;
  right: -10%;
  animation: floatShape 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -10%;
  left: -8%;
  animation: floatShape 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 250px;
  height: 250px;
  top: 40%;
  left: 30%;
  animation: floatShape 12s ease-in-out infinite;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(30px, -30px)
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--emerald-light);
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--emerald-light);
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 0.15rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--dark-lighter), var(--dark-light));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.12);
  gap: 1rem;
}

.hero-image-placeholder i {
  font-size: 5rem;
}

.hero-image-placeholder p {
  font-size: 1rem;
  font-weight: 600;
}

.float-card {
  position: absolute;
  z-index: 5;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  animation: floatCard 4s ease-in-out infinite;
}

.card-1 {
  top: 8%;
  left: -10%;
  background: rgba(16, 185, 129, 0.9);
  color: var(--white);
  animation-delay: 0s;
}

.card-2 {
  top: 45%;
  right: -12%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--dark);
  animation-delay: 1.3s;
}

.card-3 {
  bottom: 10%;
  left: -5%;
  background: rgba(15, 23, 42, 0.9);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  animation-delay: 2.6s;
}

.float-card i {
  font-size: 1.1rem;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
}

.scroll-text {
  display: block;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.scroll-arrow {
  animation: scrollBounce 2s infinite;
  color: var(--emerald);
  font-size: 1rem;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(8px)
  }
}

/* STORY bg: WHITE */
.story-section {
  padding: 5rem 0 6rem;
  background: var(--white);
}

.story-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ice-dim);
  transform: translateX(-50%);
}

.timeline-line-fill {
  position: absolute;
  left: 50%;
  top: 0;
  width: 3px;
  height: 0%;
  background: linear-gradient(to bottom, var(--emerald), var(--emerald-light));
  transform: translateX(-50%);
  z-index: 1;
  transition: height 0.1s linear;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 2rem);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scale(0.6);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ice-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 800;
  font-size: 0.9rem;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--white);
  transition: all 0.5s ease;
}

.timeline-item.in-view .timeline-marker {
  transform: translateX(-50%) scale(1);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: var(--white);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 10px var(--emerald-glow);
}

.timeline-content {
  background: var(--ice);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.timeline-item.in-view .timeline-content {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.15);
}

.timeline-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.timeline-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text);
  font-size: 0.95rem;
}

/* ABOUT bg: ICE */
.about-section {
  padding: 6rem 0;
  background: var(--ice);
}

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

.about-visual {
  position: relative;
}

.about-video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--dark);
  position: relative;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.4);
  gap: 1rem;
}

.play-button {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  animation: playPulse 2s infinite;
}

@keyframes playPulse {
  0% {
    box-shadow: 0 0 0 0 var(--emerald-glow)
  }

  70% {
    box-shadow: 0 0 0 20px transparent
  }

  100% {
    box-shadow: 0 0 0 0 transparent
  }
}

.play-button:hover {
  transform: scale(1.1);
}

.about-accent-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.75rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
}

.accent-icon {
  color: var(--emerald);
  font-size: 1.8rem;
}

.about-accent-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
}

.about-accent-card p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.about-content .section-tag {
  margin-bottom: 0.5rem;
}

.about-text {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.feature-item i {
  color: var(--emerald);
  font-size: 0.9rem;
}

/* COURSES bg: WHITE */
.courses-section {
  padding: 6rem 0;
  background: var(--white);
}

.course-tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  border: 2px solid var(--ice-dim);
  transition: var(--transition);
  background: var(--white);
}

.tab-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.tab-btn.active {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  perspective: 1000px;
}

.course-card {
  background: var(--ice);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(16, 185, 129, 0.2);
}

.course-card.featured {
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  color: var(--white);
}

.course-card.featured .course-desc,
.course-card.featured .course-highlights li {
  color: rgba(255, 255, 255, 0.7);
}

.course-card.featured .course-subtitle {
  color: var(--emerald-light);
}

.course-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-badge {
  background: var(--emerald) !important;
  color: var(--white) !important;
}

.course-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: transform 0.4s ease;
}

.course-card:hover .course-icon {
  transform: scale(1.12) rotate(-5deg);
}

.course-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.course-subtitle {
  font-size: 0.9rem;
  color: var(--emerald);
  font-weight: 600;
  margin-bottom: 1rem;
}

.course-desc {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.course-highlights {
  margin-bottom: 1.5rem;
}

.course-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.35rem 0;
}

.course-highlights li i {
  color: var(--emerald);
  font-size: 0.8rem;
  width: 16px;
}

.course-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* WHY US bg: DARK */
.why-section {
  padding: 6rem 0;
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--emerald-glow), transparent 70%);
  top: -20%;
  right: -10%;
  pointer-events: none;
}

.why-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), transparent);
  opacity: 0;
  transition: var(--transition);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.12);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  transition: transform 0.4s ease;
}

.why-card:hover .why-icon {
  transform: scale(1.12) rotate(-5deg);
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* SERVICES bg: ICE */
.services-section {
  padding: 6rem 0;
  background: var(--ice);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  border: 1px solid transparent;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.1);
}

.service-number {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(16, 185, 129, 0.06);
  line-height: 1;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

/* LMS & PLATFORM FEATURES bg: LIGHT */
.lms-section {
  padding: 6rem 0;
  background: var(--ice);
}

.lms-grids-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.lms-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--ice-dim);
  transition: var(--transition);
}

.lms-block:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.2);
}

.lms-block-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px dashed var(--ice-dim);
}

.lms-block-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lms-block-header h3 i {
  color: var(--emerald);
  font-size: 1.5rem;
}

.lms-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lms-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.lms-list li i {
  color: var(--emerald-light);
  font-size: 1rem;
  margin-top: 0.2rem;
}

/* REVIEWS bg: WHITE */
.reviews-section {
  padding: 6rem 0;
  background: var(--white);
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 4rem;
}

.review-track {
  display: flex;
  transition: transform 0.5s ease;
}

.review-card {
  min-width: 100%;
  padding: 2.5rem;
  background: var(--ice);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ice-dim);
}

.review-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.review-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.review-source {
  font-size: 0.8rem;
  color: var(--text-light);
}

.review-source i {
  color: #4285F4;
  margin-right: 0.3rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ice-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
}

.carousel-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ice-dim);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--emerald);
  width: 28px;
  border-radius: 5px;
}

.subsection-title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  background: var(--ice);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--dark);
}

.video-placeholder-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.2);
  gap: 0.5rem;
}

.video-placeholder-small i {
  font-size: 2rem;
}

.video-placeholder-small span {
  font-size: 0.8rem;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: var(--transition);
}

.play-overlay i {
  color: var(--white);
  font-size: 2rem;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.video-card h4 {
  padding: 0.75rem 1rem 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

.video-card p {
  padding: 0 1rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* REGISTER bg: LIGHT ZOHO PATTERN */
.register-section {
  padding: 6rem 0;
  background: var(--white);
  color: var(--dark);
  position: relative;
  overflow: hidden;
}

.register-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(16, 185, 129, 0.15) 2px, transparent 2px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.register-text {
  color: var(--text);
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.register-benefits {
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--ice-dim);
  backdrop-filter: blur(10px);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.benefit-item i {
  color: var(--emerald);
  width: 20px;
}

.register-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.register-form {
  color: var(--dark);
}

.form-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--dark);
}

.form-group {
  margin-bottom: 1rem;
}

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

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

.phone-input-group {
  display: flex;
  gap: 0.5rem;
}

.country-code {
  width: 120px;
  flex-shrink: 0;
  padding: 0.75rem 0.5rem;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}

.form-note i {
  margin-right: 0.3rem;
}

/* FAQ SECTION bg: WHITE */
.faq-section {
  padding: 6rem 0;
  background: var(--white);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--ice);
  border: 1px solid var(--ice-dim);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--emerald);
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  background: transparent;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--emerald);
}

.faq-question i {
  color: var(--emerald);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: var(--white);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* CONTACT bg: ICE */
.contact-section {
  padding: 6rem 0;
  background: var(--ice);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.3rem;
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.contact-link {
  color: var(--emerald);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-link:hover {
  color: var(--emerald-dark);
}

.social-links {
  text-align: center;
}

.social-links h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--ice-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
  transform: translateY(-3px);
}

.social-icon.whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

/* FOOTER bg: DARK */
.footer {
  position: relative;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.8) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

.footer-links-group h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-group a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links-group a:hover {
  color: var(--emerald-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* CHATBOT */
.chatbot {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: var(--white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px var(--emerald-glow);
  transition: var(--transition);
  position: relative;
  z-index: 10;
  animation: chatPulseShadow 3s infinite;
}

@keyframes chatPulseShadow {

  0%,
  100% {
    box-shadow: 0 6px 25px var(--emerald-glow);
  }

  50% {
    box-shadow: 0 6px 25px var(--emerald-glow), 0 0 0 14px rgba(16, 185, 129, 0.08);
  }
}

.chatbot-toggle:hover {
  transform: scale(1.08);
}

.chatbot-icon-close {
  display: none;
}

.chatbot.open .chatbot-icon-open {
  display: none;
}

.chatbot.open .chatbot-icon-close {
  display: block;
}

.chatbot.open .chatbot-toggle {
  animation: none;
}

.chatbot-window {
  position: absolute;
  bottom: 75px;
  right: 0;
  width: 380px;
  max-height: 520px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: scale(0) translateY(20px);
  transform-origin: bottom right;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
}

.chatbot.open .chatbot-window {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.chatbot-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.chatbot-status {
  font-size: 0.75rem;
  color: var(--emerald-light);
}

.chatbot-close {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  transition: var(--transition);
}

.chatbot-close:hover {
  color: var(--white);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 360px;
  min-height: 300px;
}

.chat-message {
  max-width: 85%;
  animation: chatMsgIn 0.3s ease;
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-message.user {
  align-self: flex-end;
}

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.6;
}

.bot .chat-bubble {
  background: var(--ice);
  color: var(--dark);
  border-bottom-left-radius: 4px;
}

.user .chat-bubble {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: var(--white);
  border-bottom-right-radius: 4px;
}

@keyframes chatMsgIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chat-option-btn {
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 2px solid var(--emerald);
  color: var(--emerald);
  background: var(--white);
  transition: var(--transition);
  white-space: nowrap;
}

.chat-option-btn:hover {
  background: var(--emerald);
  color: var(--white);
}

.chatbot-input-area {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--ice-dim);
}

.chatbot-input-area input {
  flex: 1;
  border: 1px solid var(--ice-dim);
  border-radius: 50px;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
}

.chatbot-input-area button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 99;
  font-size: 1rem;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--emerald);
}

/* SCROLL ANIMATIONS */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate="fade-up"] {
  transform: translateY(50px);
}

[data-animate="fade-right"] {
  transform: translateX(-50px);
}

[data-animate="fade-left"] {
  transform: translateX(50px);
}

[data-animate].animated {
  opacity: 1;
  transform: none;
}

.stagger-child {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-child.animated {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

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

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

  .hero-visual {
    display: none;
  }

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

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

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

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

  .register-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .timeline-line,
  .timeline-line-fill {
    left: 24px;
  }

  .timeline-marker {
    left: 24px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-right: 0;
    padding-left: 4.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: var(--dark);
    padding: 5rem 2rem 2rem;
    transition: var(--transition);
    gap: 1rem;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1000;
  }

  .nav-cta {
    display: none;
  }

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

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

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

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

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

  .chatbot-window {
    width: calc(100vw - 2rem);
    right: -1rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .stat-item {
    text-align: center;
  }

  .logo-text {
    font-size: 1.3rem;
  }
}