/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ===== VARIABLES ===== */
:root {
  --primary:    #4f46e5;
  --primary-dk: #3730a3;
  --primary-lt: #818cf8;
  --accent:     #06b6d4;
  --dark:       #1e1b4b;
  --navy:       #2d3a6b;
  --text:       #374151;
  --muted:      #6b7280;
  --light-bg:   #f5f7ff;
  --border:     #e0e4f5;
  --white:      #ffffff;
  --shadow-sm:  0 2px 8px rgba(79,70,229,0.07);
  --shadow-md:  0 4px 20px rgba(79,70,229,0.11);
  --shadow-lg:  0 8px 32px rgba(79,70,229,0.15);
  --shadow-xl:  0 20px 60px rgba(79,70,229,0.18);
  --radius:     12px;
  --radius-sm:  8px;
  --radius-lg:  20px;
  --tr:         0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; line-height: 1.3; color: var(--dark); }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
p { text-align: justify; }

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* ===== UTILITIES ===== */
.underline {
  width: 44px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lt));
  border-radius: 4px;
  margin: 8px 0 24px;
}
.underline-center {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lt));
  border-radius: 4px;
  margin: 12px auto 28px;
}
.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 6px;
  background: rgba(79,70,229,0.08);
  padding: 4px 14px;
  border-radius: 20px;
}
.section-title-center {
  text-align: center;
}
.section-title-center h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
}
.section-title-center p {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform var(--tr), box-shadow var(--tr), background var(--tr);
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--tr);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(79,70,229,0.3);
}
.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(79,70,229,0.4);
}
.btn-dark {
  background: linear-gradient(135deg, var(--dark), #16144a);
  color: var(--white);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(30,27,75,0.25);
}
.btn-dark:hover { box-shadow: 0 8px 25px rgba(30,27,75,0.35); }
.btn-outline {
  background: transparent; color: var(--primary); border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); box-shadow: var(--shadow-md); }
.btn-white {
  background: var(--white); color: var(--primary); border: 2px solid var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: var(--light-bg); box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.btn-lg {
  padding: 14px 36px;
  font-size: 0.95rem;
}

/* ===== NAV OVERLAY ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 98;
  backdrop-filter: blur(4px);
}
.nav-overlay.show { display: block; }

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 60px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 99;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding-top: 8px;
  padding-bottom: 8px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  height: 58px; width: auto; border-radius: 6px;
  transition: height 0.3s ease;
}
.navbar.scrolled .nav-logo { height: 48px; }
.nav-brand > div { display: flex; flex-direction: column; gap: 1px; }
.brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--dark); letter-spacing: -0.3px;
}
.brand-tagline { font-size: 0.73rem; color: var(--muted); }

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--tr);
  z-index: 101;
}
.nav-toggle:hover { background: var(--light-bg); }
.nav-toggle span {
  display: block; width: 100%; height: 2.5px;
  background: var(--dark); border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Desktop nav links */
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text); padding: 8px 18px;
  border-radius: 50px;
  transition: background var(--tr), color var(--tr);
  position: relative;
}
.nav-links a:hover { background: var(--light-bg); color: var(--primary); }
.nav-links a.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(79,70,229,0.3);
}

/* ===== HERO ===== */
.hero {
  min-height: 560px;
  background: url('images/homepage-banner.jpeg') center/cover no-repeat;
  background-color: var(--dark);
  display: flex; align-items: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,18,60,0.82) 0%, rgba(79,70,229,0.4) 50%, rgba(20,18,60,0.3) 100%);
}
.hero-overlay {
  position: relative; z-index: 1;
  padding: 64px 80px;
  color: var(--white);
  max-width: 720px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  animation: slideDown 0.8s ease forwards;
}
.hero-overlay h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800; margin-bottom: 16px;
  color: var(--white);
  line-height: 1.15;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-overlay h1 span {
  color: var(--white);
  border-bottom: 3px solid rgba(129,140,248,0.6);
  padding-bottom: 2px;
}
.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  opacity: 0.9; font-weight: 400; line-height: 1.7;
  text-align: left;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.4s both;
}
.hero-buttons {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* ===== ABOUT ===== */
.about {
  display: flex; align-items: center; gap: 60px;
  padding: 100px 80px;
  max-width: 1280px; margin: 0 auto;
}
.about-image { flex: 1; min-width: 0; position: relative; }
.about-image img {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-xl);
}
.about-image::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--primary-lt));
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}
.about-content { flex: 1; }
.about-content h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin-bottom: 4px; }
.about-content p { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 12px; }
.about-content .btn { margin-top: 12px; }

/* ===== FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  background: var(--light-bg);
  padding: 100px 80px;
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lt), var(--accent));
}
.feature-card {
  padding: 40px 28px 36px; border-radius: var(--radius-lg);
  background: var(--white);
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform var(--tr), box-shadow var(--tr);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(129,140,248,0.1));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  transition: transform var(--tr), background var(--tr);
}
.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary), var(--primary-lt));
}
.feature-icon svg {
  width: 28px; height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--tr);
}
.feature-card:hover .feature-icon svg { stroke: var(--white); }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; }
.feature-card p { color: var(--muted); font-size: 0.91rem; line-height: 1.78; flex: 1; }

/* ===== WHY CHOOSE + COURSES ===== */
.why-courses {
  display: flex; gap: 40px;
  background: var(--light-bg);
  padding: 100px 80px; align-items: flex-start;
}
.why-choose {
  flex: 0 0 340px;
  background: linear-gradient(135deg, var(--dark), var(--navy));
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}
.why-choose h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; color: var(--white); }
.why-item { margin-bottom: 28px; }
.why-item h4 { font-size: 0.97rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.why-item p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.75; margin-bottom: 14px; }
.why-item .btn-primary {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
  font-size: 0.82rem;
  padding: 8px 20px;
}
.why-item .btn-primary:hover {
  background: rgba(255,255,255,0.25);
}
.courses-list { flex: 1; }
.course-item { padding: 22px 0; }
.course-item h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.course-item p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }
.courses-list hr { border: none; border-top: 1px solid var(--border); }
.courses-list .btn-outline { margin-top: 24px; }

/* ===== DEMO CTA ===== */
.demo-cta {
  text-align: center;
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 50%, var(--primary-dk) 100%);
  position: relative;
  overflow: hidden;
}
.demo-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(79,70,229,0.15), transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(6,182,212,0.1), transparent 50%);
  animation: float 8s ease-in-out infinite;
}
.demo-cta h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 700;
  margin-bottom: 12px; color: var(--white);
  position: relative;
}
.cta-sub {
  color: rgba(255,255,255,0.75); font-size: 1rem;
  margin-bottom: 32px; text-align: center;
  position: relative;
}
.cta-buttons {
  display: flex; justify-content: center; gap: 16px;
  flex-wrap: wrap; position: relative;
}

/* ===== OUR COURSES GRID ===== */
.our-courses { padding: 100px 80px; background: var(--light-bg); }
.our-courses h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 700; }
.courses-subtitle { color: var(--muted); margin-bottom: 40px; font-size: 0.95rem; line-height: 1.75; max-width: 680px; text-align: left; }

.courses-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.courses-grid .course-card:nth-child(1) { grid-column: 1 / 3; }
.courses-grid .course-card:nth-child(2) { grid-column: 3 / 5; }
.courses-grid .course-card:nth-child(3) { grid-column: 5 / 7; }
.courses-grid .course-card:nth-child(4) { grid-column: 2 / 4; }
.courses-grid .course-card:nth-child(5) { grid-column: 4 / 6; }

.course-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.course-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #c5cbe8;
  position: relative;
}
.course-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,27,75,0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.course-card:hover .course-img-wrap::after { opacity: 1; }
.course-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.course-card:hover .course-img-wrap img { transform: scale(1.1); }

.course-label {
  text-align: center;
  padding: 16px 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  border-top: 3px solid var(--primary);
}

/* ===== ACHIEVEMENTS ===== */
.achievements {
  padding: 100px 80px;
  background: var(--white);
  position: relative;
}
.achievements h2 { font-size: clamp(1.4rem, 3vw, 1.7rem); font-weight: 700; text-align: center; }
.achievements .underline { margin: 8px auto 24px; }
.stats {
  display: flex; justify-content: center;
  margin-top: 48px; flex-wrap: wrap;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark), var(--navy));
  box-shadow: var(--shadow-xl);
}
.stat-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  flex: 1; min-width: 180px;
  padding: 44px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: background var(--tr);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.05); }
.stat-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(79,70,229,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.stat-icon svg {
  width: 24px; height: 24px;
  stroke: var(--primary-lt);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem; font-weight: 700;
  color: var(--white); line-height: 1;
}
.stat-label {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
}

/* ===== FLOATING WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 97;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: float 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  animation: none;
}
.whatsapp-float svg {
  width: 32px; height: 32px; fill: white;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 100px; right: 30px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 96;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary);
}
.back-to-top svg {
  width: 20px; height: 20px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2.5;
  transition: stroke 0.3s ease;
}
.back-to-top:hover svg { stroke: var(--white); }

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #0f0d2e 0%, #1e1b4b 50%, #2d3a6b 100%);
  color: #c8d0e8;
  padding: 56px 60px 24px;
  font-size: 0.91rem;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lt), var(--accent));
}
.footer-top { margin-bottom: 20px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 48px; width: auto; border-radius: 6px; }
.footer-brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem; font-weight: 700; color: var(--white);
}
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 18px 0; }
.footer-body {
  display: flex; gap: 48px;
  align-items: flex-start; flex-wrap: wrap;
  padding: 12px 0 20px;
}
.footer-about { flex: 1; min-width: 200px; line-height: 2.1; color: #a8b4d0; font-size: 0.93rem; text-align: left; }
.footer-social { flex: 0 0 auto; }
.footer-contact { flex: 0 0 auto; min-width: 220px; }
.footer-section-title {
  font-family: 'Poppins', sans-serif;
  color: var(--white); margin-bottom: 12px;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px;
}
.social-icons { display: flex; gap: 10px; }
.social-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--tr), box-shadow var(--tr);
}
.social-icon:hover { transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.social-icon.facebook  { background: #1877f2; }
.social-icon.youtube   { background: #ff0000; }
.social-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icon.whatsapp  { background: #25d366; }
.footer-email { color: #a8b4d0; word-break: break-all; transition: color var(--tr); font-size: 0.9rem; }
.footer-email:hover { color: var(--white); }
.footer-copy { text-align: center !important; color: #5a6a8a; font-size: 0.82rem; padding-top: 8px; }

/* ================================================================
   RESPONSIVE — TABLET (max 1024px)
================================================================ */
@media (max-width: 1024px) {
  .navbar       { padding: 12px 32px; }
  .hero-overlay { padding: 48px 40px; }
  .about        { padding: 80px 40px; gap: 40px; }
  .features     { padding: 72px 40px; gap: 20px; }
  .why-courses  { padding: 72px 40px; }
  .why-choose   { flex: 0 0 300px; }
  .our-courses  { padding: 80px 40px; }
  .achievements { padding: 80px 40px; }
  .footer       { padding: 44px 40px 20px; }
  .demo-cta     { padding: 80px 40px; }
}

/* ================================================================
   RESPONSIVE — MOBILE (max 768px)
================================================================ */
@media (max-width: 768px) {

  /* Navbar */
  .navbar { padding: 10px 20px; }
  .nav-logo { height: 46px; }
  .brand-name { font-size: 1rem; }
  .brand-tagline { display: none; }
  .nav-toggle { display: flex; }

  /* Slide-in mobile menu */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--white);
    padding: 80px 24px 32px;
    gap: 6px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    z-index: 100;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 1rem;
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--border);
  }
  .nav-links a:last-child { border-bottom: none; }

  /* Hero */
  .hero { min-height: 420px; }
  .hero-overlay { padding: 40px 20px; max-width: 100%; }
  .hero-overlay h1 { font-size: 1.75rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }

  /* About */
  .about { flex-direction: column; padding: 60px 20px; gap: 28px; }
  .about-image img { max-width: 100%; }
  .about-image::after { display: none; }
  .about-content h2 { font-size: 1.4rem; }
  .about-content p  { font-size: 0.92rem; }

  /* Features */
  .features { grid-template-columns: 1fr; padding: 48px 20px; gap: 16px; }
  .feature-card { padding: 28px 22px; }

  /* Why choose */
  .why-courses { flex-direction: column; padding: 48px 20px; gap: 24px; }
  .why-choose  { flex: none; width: 100%; padding: 32px 24px; }
  .why-choose h2 { font-size: 1.35rem; }
  .courses-list { width: 100%; }

  /* Demo CTA */
  .demo-cta { padding: 64px 20px; }
  .demo-cta h2 { font-size: 1.5rem; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .cta-buttons .btn { width: 100%; max-width: 280px; text-align: center; }

  /* Courses grid */
  .our-courses { padding: 60px 20px; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .courses-grid .course-card:nth-child(1) { grid-column: 1 / 2; }
  .courses-grid .course-card:nth-child(2) { grid-column: 2 / 3; }
  .courses-grid .course-card:nth-child(3) { grid-column: 1 / 2; }
  .courses-grid .course-card:nth-child(4) { grid-column: 2 / 3; }
  .courses-grid .course-card:nth-child(5) { grid-column: 1 / 3; }
  .course-img-wrap { height: 155px; }
  .course-label { font-size: 0.82rem; padding: 10px 8px; }

  /* Achievements */
  .achievements { padding: 60px 20px; }
  .stats { flex-direction: column; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; padding: 28px; }
  .stat-item:last-child { border-bottom: none; }
  .stat-number { font-size: 2.2rem; }

  /* Footer */
  .footer { padding: 36px 20px 16px; }
  .footer-body { flex-direction: column; gap: 24px; }
  .footer-brand-name { font-size: 1rem; }
  .footer-about { min-width: unset; }
  .footer-contact { min-width: unset; }
  .footer-email { font-size: 0.82rem; }

  /* Floating elements */
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .back-to-top { bottom: 84px; right: 22px; width: 40px; height: 40px; }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
================================================================ */
@media (max-width: 480px) {
  .brand-name { font-size: 0.88rem; }
  .nav-logo   { height: 40px; }
  .hero { min-height: 380px; }
  .hero-overlay h1 { font-size: 1.5rem; }
  .hero-badge { font-size: 0.75rem; padding: 5px 14px; }
  .about-image img { height: 260px; }
  .courses-grid { grid-template-columns: 1fr; gap: 12px; }
  .courses-grid .course-card:nth-child(1),
  .courses-grid .course-card:nth-child(2),
  .courses-grid .course-card:nth-child(3),
  .courses-grid .course-card:nth-child(4),
  .courses-grid .course-card:nth-child(5) { grid-column: 1 / -1; }
  .course-img-wrap { height: 180px; }
  .feature-card h3 { font-size: 1rem; }
  .stat-number { font-size: 2rem; }
  .footer-brand { gap: 10px; }
}
