/* ============================================================
   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;
  --surface-muted: #F1F6FA;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --emerald-light: #34D399;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --white: #ffffff;
  --text: #475569;
  --text-light: #94A3B8;
  --font-body: 'League Spartan', 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'League Spartan', 'Inter', system-ui, -apple-system, sans-serif;
  --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;
  width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--ice);
  line-height: 1.7;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

body.menu-open .chatbot,
body.menu-open .back-to-top,
body.modal-open .chatbot,
body.modal-open .back-to-top {
  opacity: 0;
  pointer-events: none;
}

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: var(--font-display);
  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(--dark);
}

.why-section .section-tag {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.04));
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  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-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.btn-ghost:hover {
  background: rgba(16, 185, 129, 0.05);
  border-color: var(--emerald);
  transform: translateY(-2px);
}

.btn-ghost:active {
  transform: translateY(0);
}

.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 */
.brand-logo-container {
  width: 44px;
  height: 38px;
  overflow: visible;
  display: flex;
  justify-content: flex-start;
  align-items: self-end;
  flex-shrink: 0;
  transform: translateY(2px); /* Visually align down with text baseline */
}

.brand-logo-mark {
  width: 44px;
  height: auto;
  margin-top: 0;
  margin-left: 0;
  display: block;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-top: 0;
}

.logo-code,
.logo-tail {
  color: var(--dark);
}

.logo-i {
  color: #7CC142;
}

.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: 1240px;
  margin: 0 auto;
  z-index: 1000;
  padding: 0.65rem 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: var(--transition);
  overflow: visible;
}

.navbar.scrolled {
  top: 1rem;
  width: calc(100% - 2rem);
  max-width: 1240px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.5rem 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

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

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

.nav-links {
  display: flex;
  gap: 1.5rem;
  transition: var(--transition);
  white-space: nowrap;
  min-width: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
  white-space: nowrap;
  min-width: 0;
}

.nav-link {
  color: var(--dark-light);
  font-family: var(--font-display);
  font-weight: 600;
  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(--dark);
}

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

.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: 3px;
  border-radius: 2px;
  background: var(--dark);
  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);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
  pointer-events: none;
}

body.menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* HERO bg: LIGHT */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 212, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.12), transparent 25%),
    linear-gradient(180deg, #F9FCFF 0%, #EEF6FB 55%, #FFFFFF 100%);
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(15, 23, 42, 0.12) 1px, transparent 1px), radial-gradient(rgba(15, 23, 42, 0.08) 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(255, 255, 255, 0.88);
  color: var(--dark);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
}

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

.hero-subtitle {
  color: var(--text);
  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: var(--text-light);
  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(180deg, rgba(255, 255, 255, 0.92), rgba(241, 246, 250, 0.95));
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-static-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-gallery-wrapper {
  padding: 0;
  background: transparent;
}

.hero-gallery-wrapper .gallery-carousel,
.hero-gallery-wrapper .gallery-track,
.hero-gallery-wrapper .gallery-slide {
  height: 100%;
}

.hero-gallery-wrapper .gallery-carousel {
  background: transparent;
}

.hero-gallery-wrapper .gallery-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.hero-gallery-wrapper .gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.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(31, 60, 136, 0.92);
  color: var(--white);
  border: 1px solid rgba(31, 60, 136, 0.3);
  animation-delay: 2.6s;
}

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

@keyframes floatCard {

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

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

.photo-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 100%;
  height: 100%;
  padding: 2rem;
  border-radius: inherit;
  text-align: center;
  border: 1.5px dashed rgba(15, 23, 42, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 245, 249, 0.95));
}

.photo-slot-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}

.photo-slot p {
  max-width: 18rem;
  color: var(--text);
  font-size: 0.95rem;
}

.photo-slot-caption {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-photo-slot {
  min-height: 100%;
}

/* 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: 1rem;
  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-photo-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: linear-gradient(180deg, #F6FAFD, #E9F2F7);
  position: relative;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-lg);
}

.about-photo-slot {
  min-height: 100%;
}

.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: 1rem;
}

/* 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: 1rem;
  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-slider-shell {
  position: relative;
}

.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;
  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.4rem;
  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: 1rem;
  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;
}

.course-video-actions {
  display: flex;
  gap: 0.75rem;
}

.course-video-actions .btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  font-size: 0.85rem;
}

.course-card.is-selected {
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: var(--shadow-lg);
}

.course-mobile-controls {
  display: none;
}

/* WHY US bg: LIGHT */
.why-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--white), var(--surface-muted));
  color: var(--dark);
  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.3;
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 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.9);
  border: 1px solid rgba(15, 23, 42, 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(255, 255, 255, 1);
  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: 1rem;
  color: var(--text);
  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: 1rem;
  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: 1rem;
}

.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;
}

.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: start;
  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: 0;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--ice-dim);
  backdrop-filter: blur(10px);
}

.register-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.whatsapp-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(18, 140, 126, 0.06));
  border: 1px solid rgba(37, 211, 102, 0.18);
  box-shadow: var(--shadow-lg);
}

.whatsapp-cta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
}

.whatsapp-cta p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.whatsapp-cta .btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

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

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

.register-photo-card,
.application-flow-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.register-photo-card {
  margin-bottom: 2rem;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.register-photo-slot {
  min-height: 320px;
}

/* MEDIA GALLERY */
.media-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-video-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 250, 0.98));
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #0F172A;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.gallery-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  z-index: 2;
}

.gallery-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.gallery-dot.active {
  background: var(--emerald);
  transform: scale(1.3);
}

.video-showcase {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0F172A;
}

.video-showcase video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.application-flow-header {
  margin-bottom: 1.5rem;
}

.application-flow-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-dark);
}

.application-steps {
  display: grid;
  gap: 1rem;
}

.application-step {
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 4rem;
  border-radius: var(--radius);
  background: var(--surface-muted);
  border: 1px solid var(--ice-dim);
}

.application-step-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
}

.application-step h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.application-step p {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.application-step-final {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.14), rgba(16, 185, 129, 0.05));
  border-color: rgba(16, 185, 129, 0.2);
}

.application-action {
  margin-top: 1.5rem;
  justify-content: center;
}

.form-title {
  font-family: var(--font-display);
  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-family: var(--font-display);
  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;
}

.application-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
  z-index: 10050;
}

.application-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.application-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.application-modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  padding: 2rem;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.45);
  z-index: 1;
}

.application-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  background: rgba(15, 23, 42, 0.06);
  transition: var(--transition);
}

.application-modal-close:hover {
  background: rgba(15, 23, 42, 0.12);
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.application-modal-header p {
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

.application-form textarea {
  min-height: 120px;
  resize: vertical;
}

.application-status {
  min-height: 1.25rem;
  margin-top: 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
}

.application-status.success {
  color: var(--emerald-dark);
}

.application-status.error {
  color: #DC2626;
}

/* 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: 1rem;
}

.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: LIGHT */
.footer {
  position: relative;
  background: linear-gradient(180deg, #EFF5F8 0%, #F8FBFD 100%);
  color: var(--text);
  padding: 4rem 0 2rem;
  overflow: hidden;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(rgba(15, 23, 42, 0.08) 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: 1rem;
  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(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-light);
  font-size: 1rem;
  transition: var(--transition);
}

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

.footer-links-group h4 {
  color: var(--dark);
  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: 1rem;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
}

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

.chatbot.chatbot-hidden {
  opacity: 0;
  transform: scale(0.35);
  pointer-events: none;
}

.chatbot.chatbot-visible {
  opacity: 1;
  transform: scale(1);
  animation: chatbotPopIn 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes chatbotPopIn {
  0% {
    opacity: 0;
    transform: scale(0.35);
  }

  65% {
    opacity: 1;
    transform: scale(1.12);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.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;
}

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

@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: 1rem;
  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 {
    padding-top: 7rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-visual {
    display: flex;
    width: min(100%, 520px);
    margin: 0 auto;
  }

  .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);
  }

  .lms-grids-wrapper {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .footer-social {
    justify-content: center;
  }

  .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;
  }
}

/* CAREER PROMO SECTION */
.career-promo-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: 48px;
  margin: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.35);
}

.career-promo-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08), transparent 70%);
  pointer-events: none;
}

.career-promo-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5rem;
  align-items: center;
}

.career-promo-content .section-tag.inverse {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.career-promo-content .section-title {
  color: #FFFFFF;
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.career-promo-content .section-subtitle {
  color: #94A3B8;
  font-size: 1.2rem;
  max-width: 540px;
}

.career-benefits {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.career-benefits .benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: #E2E8F0;
}

.career-benefits .benefit-item i {
  color: #10B981;
  font-size: 1.4rem;
}

.btn-glow {
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  transition: var(--transition);
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
}

.career-promo-visual {
  display: flex;
  justify-content: center;
}

.career-illustration {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.circle-1 {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
  animation: rotateClockwise 20s linear infinite;
}

.circle-2 {
  width: 80%;
  height: 80%;
  background: rgba(255, 255, 255, 0.03);
  animation: rotateCounterClockwise 15s linear infinite;
}

.visual-icon {
  position: relative;
  z-index: 2;
  font-size: 7rem;
  color: #10B981;
  filter: drop-shadow(0 0 20px rgba(16, 185, 129, 0.4));
}

@keyframes rotateClockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateCounterClockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@media (max-width: 1100px) {
  .career-promo-content .section-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .career-promo-section {
    padding: 6rem 0;
    margin: 2rem 1rem;
  }

  .career-promo-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .career-promo-content .section-subtitle {
    margin: 0 auto;
  }

  .career-benefits {
    align-items: center;
  }

  .career-promo-visual {
    display: none;
  }
}

@media (max-width: 768px) {

  .about-section,
  .courses-section,
  .why-section,
  .services-section,
  .lms-section,
  .reviews-section,
  .register-section,
  .faq-section,
  .contact-section {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .whatsapp-cta {
    justify-content: stretch;
  }

  .whatsapp-cta .btn-whatsapp {
    width: 100%;
  }

  .faq-question {
    padding: 1.25rem 1rem;
    font-size: 1.05rem;
  }

  .faq-answer {
    padding: 0 1rem 1.25rem;
  }

  .hero-container {
    gap: 1.75rem;
    align-items: start;
  }

  .navbar {
    width: calc(100% - 1rem);
  }

  .nav-container {
    gap: 1rem;
  }

  .nav-logo {
    min-width: 0;
  }

  .nav-links {
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    width: min(320px, calc(100vw - 2rem));
    height: calc(100vh - 1.5rem);
    flex-direction: column;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 5.5rem 1.5rem 2rem;
    transition: var(--transition);
    gap: 1.25rem;
    z-index: 999;
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    transform: translateX(calc(100% + 1.5rem));
  }

  .nav-links.open {
    transform: translateX(0);
  }

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

  .nav-cta {
    display: none;
  }

  .nav-link {
    color: var(--dark);
    font-size: 1.05rem;
  }

  .lms-grids-wrapper {
    gap: 1.5rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    width: 100%;
    margin-top: 2rem;
    margin-bottom: 0;
  }

  .hero-card-stack {
    width: min(100%, 420px);
    max-width: none;
    margin: 0 auto;
    aspect-ratio: auto;
  }

  .hero-image-wrapper {
    min-height: 300px;
    max-height: 360px;
  }

  .float-card {
    display: none;
  }

  .hero-slide-copy {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    padding: 0.85rem 0.95rem;
    border-radius: 18px;
  }

  .hero-slide-copy p {
    display: none;
  }

  .hero-slider-nav {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 5.2rem;
  }

  .register-photo-slot {
    min-height: 240px;
  }

  .application-step {
    padding: 1rem 1rem 1rem 3.8rem;
  }

  .courses-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 0.4rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .courses-grid::-webkit-scrollbar {
    display: none;
  }

  .course-card {
    scroll-snap-align: start;
    min-height: 100%;
    padding: 2rem 1.5rem;
  }

  .course-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    margin-bottom: 1.75rem;
    scrollbar-width: none;
  }

  .course-tabs::-webkit-scrollbar {
    display: none;
  }

  .course-mobile-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-inline: 1rem;
    max-width: 320px;
    margin-inline: auto;
  }

  .course-mobile-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--dark);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow);
    transition: var(--transition);
  }

  .course-mobile-btn:disabled {
    opacity: 0.4;
  }

  .course-mobile-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    flex: 1;
  }

  .course-mobile-dots {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .course-mobile-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--ice-dim);
    transition: var(--transition);
  }

  .course-mobile-dot.is-active {
    width: 1.75rem;
    border-radius: 999px;
    background: var(--emerald);
  }

  .course-mobile-status {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
  }

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

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

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

  .review-card {
    padding: 2rem 1.5rem;
  }

  .btn {
    padding: 0.85rem 1.5rem;
  }

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

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

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

  /* Extra small devices fix */
  @media (max-width: 360px) {
    .container {
      padding: 0 1rem;
    }

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

    .section-title {
      font-size: 1.6rem;
    }

    .hero-stats {
      gap: 1rem;
    }
  }

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

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

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

  .application-modal {
    padding: 1rem;
  }

  .application-modal-dialog {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    width: 100%;
  }

  .hero-image-wrapper {
    min-height: 260px;
  }

  .hero-slider-nav {
    bottom: 4.8rem;
  }

  .hero-slide-copy {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    padding: 0.8rem 0.85rem;
  }

  .hero-slide-tag {
    font-size: 0.68rem;
    margin-bottom: 0.2rem;
  }

  .hero-slide-copy h3 {
    font-size: 0.98rem;
  }

  .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;
  }


  .courses-grid {
    grid-auto-columns: 100%;
  }

  .application-step {
    padding-left: 1rem;
    padding-top: 3.6rem;
  }

  .application-step-number {
    top: 0.9rem;
  }

  .application-modal-dialog {
    padding: 1.25rem;
    border-radius: 20px;
  }
}
