/* ============================================
   Career Edge IT Institute — style.css
   Author: Professional Web Dev Build
   ============================================ */

/* ========== DESIGN TOKENS ========== */
:root {
  --orange: #FF6B35;
  --orange-dark: #E55A25;
  --orange-light: #FFF0EB;
  --teal: #4ECDC4;
  --teal-dark: #3AB5AC;
  --green: #06D6A0;
  --green-light: #E6FBF5;
  --blue: #3B82F6;
  --blue-dark: #2563EB;
  --blue-light: #EFF6FF;
  --purple: #A78BFA;
  --yellow: #FCD34D;
  --dark: #0F172A;
  --dark-2: #1E293B;
  --text: #334155;
  --text-light: #64748B;
  --border: #E2E8F0;
  --bg: #FFFFFF;
  --bg-light: #F8FAFC;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --font-display: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ========== UTILITIES ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 100px 0; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--dark); }

.section-header { text-align: center; margin-bottom: 4rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--dark); font-weight: 800; margin: 0.5rem 0 1rem; line-height: 1.2; }
.section-header p { color: var(--text-light); font-size: 1.05rem; }

.section-tag {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}
.tag-light { background: rgba(255,255,255,0.15); color: #fff; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 2rem; border-radius: 50px; font-family: var(--font-body);
  font-weight: 800; font-size: 1rem; cursor: pointer; transition: var(--transition);
  text-decoration: none; border: 2.5px solid transparent;
}
.btn-primary {
  background: var(--orange); color: #fff; border-color: var(--orange);
  box-shadow: 0 6px 20px rgba(255,107,53,0.35);
}
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,107,53,0.45); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }
.btn-course { background: transparent; color: var(--orange); border: 2px solid var(--orange); padding: 0.6rem 1.4rem; font-size: 0.9rem; border-radius: 50px; font-weight: 700; transition: var(--transition); }
.btn-course:hover { background: var(--orange); color: #fff; }
.btn-full { width: 100%; }

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-18px); }
}
@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(8deg); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes eye-blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}
@keyframes antenna-glow {
  0%, 100% { box-shadow: 0 0 8px var(--teal), 0 0 20px var(--teal); }
  50% { box-shadow: 0 0 14px var(--orange), 0 0 30px var(--orange); }
}
@keyframes scan {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(30px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-fade-up { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.animate-bounce { animation: bounce 2s ease infinite; }

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  background: transparent;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.1);
  padding: 0.6rem 0;
  backdrop-filter: blur(10px);
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.logo-icon { font-size: 1.8rem; }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.logo-text span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a { padding: 0.5rem 0.8rem; border-radius: 8px; font-weight: 700; font-size: 0.93rem; transition: var(--transition); color: var(--dark); }
.nav-links a:hover { color: var(--orange); background: var(--orange-light); }
.nav-cta { background: var(--orange) !important; color: #fff !important; padding: 0.6rem 1.3rem !important; border-radius: 50px !important; }
.nav-cta:hover { background: var(--orange-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 5px; background: none; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  background: linear-gradient(135deg, #FFF7F4 0%, #F0FFFE 50%, #F5F0FF 100%);
  overflow: hidden; padding: 7rem 0 4rem;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%; opacity: 0.12;
  animation: float 8s ease-in-out infinite;
}
.shape-1 { width: 500px; height: 500px; background: var(--orange); top: -200px; right: -150px; animation-duration: 10s; }
.shape-2 { width: 300px; height: 300px; background: var(--teal); bottom: -100px; left: -80px; animation-duration: 8s; animation-delay: -3s; }
.shape-3 { width: 180px; height: 180px; background: var(--blue); top: 30%; left: 20%; animation-duration: 6s; animation-delay: -1.5s; }
.shape-4 { width: 120px; height: 120px; background: var(--yellow); bottom: 30%; right: 30%; animation-duration: 7s; animation-delay: -4s; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.hero-content { max-width: 560px; padding: 7rem 0 4rem 1.5rem; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #fff; border: 2px solid var(--orange);
  color: var(--orange); font-weight: 800; font-size: 0.82rem;
  padding: 0.4rem 1rem; border-radius: 50px;
  margin-bottom: 1.5rem; box-shadow: 0 4px 12px rgba(255,107,53,0.18);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900; color: var(--dark);
  line-height: 1.15; margin-bottom: 1.2rem;
}
.hero-title .highlight {
  background: linear-gradient(120deg, var(--orange), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; max-width: 480px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex; align-items: center; gap: 1.5rem;
  background: #fff; padding: 1.2rem 2rem; border-radius: 16px;
  box-shadow: var(--shadow); width: fit-content;
}
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--orange); }
.stat span { font-weight: 900; color: var(--orange); font-size: 1.2rem; }
.stat-label { font-size: 0.72rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.08em; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Robot Illustration */
.hero-robot {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; padding: 7rem 0 4rem 0; z-index: 2;
}
.robot-wrap {
  animation: float 4s ease-in-out infinite;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(255,107,53,0.18));
}
.robot-head {
  width: 130px; height: 110px; background: linear-gradient(145deg, #4ECDC4, #3AB5AC);
  border-radius: 30px 30px 20px 20px; position: relative;
  margin: 0 auto; border: 4px solid rgba(255,255,255,0.5);
}
.robot-antenna {
  position: absolute; top: -36px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 30px; background: var(--dark);
  border-radius: 3px;
}
.antenna-ball {
  width: 18px; height: 18px; background: var(--orange);
  border-radius: 50%; position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  animation: antenna-glow 2s ease-in-out infinite;
}
.robot-eyes { display: flex; justify-content: center; gap: 20px; padding-top: 24px; }
.robot-eye {
  width: 32px; height: 32px; background: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  animation: eye-blink 4s ease-in-out infinite;
}
.pupil { width: 16px; height: 16px; background: var(--dark); border-radius: 50%; }
.robot-mouth {
  width: 50px; height: 14px; background: #fff;
  border-radius: 0 0 14px 14px; margin: 8px auto 0;
}
.robot-body {
  width: 150px; height: 130px;
  background: linear-gradient(145deg, #FF6B35, #E55A25);
  border-radius: 20px; margin: 8px auto 0;
  position: relative; border: 4px solid rgba(255,255,255,0.3);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px;
}
.robot-screen {
  width: 90px; height: 50px; background: var(--dark);
  border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px;
  overflow: hidden; position: relative;
}
.robot-screen::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: scan 2s linear infinite;
}
.screen-line { height: 4px; background: var(--green); border-radius: 2px; opacity: 0.9; }
.screen-line:nth-child(2) { width: 70%; opacity: 0.6; }
.screen-line:nth-child(3) { width: 85%; opacity: 0.8; }
.robot-buttons { display: flex; gap: 8px; }
.rb { width: 14px; height: 14px; border-radius: 50%; }
.rb-r { background: #EF4444; }
.rb-g { background: #22C55E; }
.rb-b { background: #3B82F6; }
.robot-arms { display: flex; justify-content: space-between; position: absolute; width: calc(100% + 60px); top: 30px; left: -30px; }
.robot-arm { width: 22px; height: 80px; background: linear-gradient(145deg, #FF8C69, #FF6B35); border-radius: 11px; border: 3px solid rgba(255,255,255,0.3); }
.robot-legs { display: flex; justify-content: center; gap: 14px; margin-top: 8px; }
.robot-leg { width: 28px; height: 55px; background: linear-gradient(145deg, #4ECDC4, #3AB5AC); border-radius: 10px 10px 14px 14px; border: 3px solid rgba(255,255,255,0.3); }
.robot-shadow { width: 140px; height: 30px; background: rgba(0,0,0,0.12); border-radius: 50%; margin-top: 10px; filter: blur(6px); }

/* Floating Icons */
.floating-icons { position: absolute; top: 50%; left: 50%; pointer-events: none; }
.fi {
  position: absolute; font-size: 1.8rem;
  animation: floatIcon 5s ease-in-out infinite;
}
.fi-1 { top: -120px; left: 120px; animation-delay: 0s; }
.fi-2 { top: -80px; left: -130px; animation-delay: 0.8s; }
.fi-3 { top: 80px; left: 140px; animation-delay: 1.6s; }
.fi-4 { top: 120px; left: -120px; animation-delay: 2.4s; }
.fi-5 { top: -160px; left: -20px; animation-delay: 3.2s; }

.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-size: 1.5rem; color: var(--orange); font-weight: 900; z-index: 2;
}

/* ========== ABOUT ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; height: 340px; }
.about-blob {
  position: absolute; width: 320px; height: 320px;
  background: linear-gradient(135deg, var(--orange-light), #E0F9F7);
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  top: 0; left: 0; z-index: 0;
}
.about-card-stack { position: absolute; z-index: 1; width: 100%; height: 100%; }
.acard {
  position: absolute; background: #fff; border-radius: 16px;
  padding: 0.9rem 1.4rem; font-weight: 800; font-size: 1rem;
  box-shadow: var(--shadow); border: 2px solid var(--border);
  transition: transform 0.3s ease;
}
.acard:hover { transform: scale(1.06) rotate(0deg) !important; }
.acard-1 { top: 20px; left: 10px; transform: rotate(-4deg); border-left: 4px solid var(--orange); }
.acard-2 { top: 80px; left: 100px; transform: rotate(3deg); border-left: 4px solid var(--teal); }
.acard-3 { top: 160px; left: 20px; transform: rotate(-2deg); border-left: 4px solid var(--green); }
.acard-4 { top: 230px; left: 110px; transform: rotate(5deg); border-left: 4px solid var(--purple); }

.about-text h2 { font-family: var(--font-display); font-size: clamp(1.7rem,3.5vw,2.4rem); font-weight: 800; color: var(--dark); margin-bottom: 1rem; line-height: 1.25; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; font-size: 1.02rem; }
.about-points { margin-top: 1.2rem; }
.about-points li { padding: 0.35rem 0; font-weight: 700; color: var(--text); }

/* ========== COURSES ========== */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.course-card {
  background: #fff; border-radius: var(--radius); padding: 2.2rem;
  border: 2px solid var(--border); position: relative; overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column; gap: 0.8rem;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--orange); }
.course-featured { border-color: var(--orange); background: linear-gradient(to bottom, #FFF7F4, #fff); }
.course-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--orange); color: #fff;
  font-size: 0.72rem; font-weight: 800; padding: 0.3rem 0.7rem; border-radius: 50px;
}
.course-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.course-level { display: inline-block; padding: 0.2rem 0.8rem; border-radius: 50px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; width: fit-content; }
.level-beginner { background: #E6FBF5; color: #059669; }
.level-inter { background: var(--orange-light); color: var(--orange); }
.level-adv { background: var(--blue-light); color: var(--blue-dark); }
.course-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--dark); }
.course-age { font-size: 0.82rem; font-weight: 700; color: var(--text-light); }
.course-card p { color: var(--text-light); font-size: 0.93rem; flex: 1; }
.course-list { display: flex; flex-direction: column; gap: 0.4rem; }
.course-list li { font-size: 0.88rem; color: var(--text); padding-left: 1.1rem; position: relative; }
.course-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 900; }

/* ========== BENEFITS ========== */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.benefit-card {
  background: #fff; border-radius: var(--radius); padding: 2rem;
  border: 2px solid var(--border); text-align: center;
  transition: var(--transition);
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.benefit-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.benefit-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--dark); margin-bottom: 0.6rem; }
.benefit-card p { color: var(--text-light); font-size: 0.93rem; }

/* ========== WHY US ========== */
.whyus-grid { display: grid; grid-template-columns: 1fr 400px; gap: 4rem; align-items: start; }
.whyus-features { display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.4rem; background: #fff; border-radius: var(--radius-sm);
  border: 2px solid var(--border); transition: var(--transition);
}
.feature-item:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.feature-icon { font-size: 2rem; flex-shrink: 0; width: 48px; text-align: center; }
.feature-item h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--dark); margin-bottom: 0.3rem; }
.feature-item p { color: var(--text-light); font-size: 0.88rem; }
.whyus-card-big {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: var(--radius); padding: 2.5rem; color: #fff; position: sticky; top: 100px;
}
.big-emoji { font-size: 3.5rem; margin-bottom: 1rem; }
.whyus-card-big h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.whyus-card-big p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 1.5rem; }
.whyus-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.whyus-tags span {
  background: rgba(255,255,255,0.12); color: #fff;
  padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.78rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gi-large { grid-row: span 1; grid-column: span 1; }
.gallery-grid .gallery-item:first-child { grid-column: 1 / 2; grid-row: 1 / 2; }
.gallery-grid .gallery-item:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
.gallery-grid .gallery-item:nth-child(3) { grid-column: 3 / 4; grid-row: 1 / 2; }
.gallery-grid .gallery-item:nth-child(4) { grid-column: 1 / 2; grid-row: 2 / 3; }
.gallery-grid .gallery-item:nth-child(5) { grid-column: 2 / 3; grid-row: 2 / 3; }
.gallery-grid .gallery-item:nth-child(6) { grid-column: 3 / 4; grid-row: 2 / 3; }

.gi-inner {
  height: 200px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; transition: var(--transition);
}
.gi-inner:hover { transform: scale(1.03); }
.gi-emoji { font-size: 3.5rem; transition: var(--transition); z-index: 1; }
.gi-inner:hover .gi-emoji { transform: scale(1.2); }
.gi-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  padding: 1rem; color: #fff; transform: translateY(100%);
  transition: var(--transition);
}
.gi-inner:hover .gi-overlay { transform: translateY(0); }
.gi-overlay h4 { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; }
.gi-overlay p { font-size: 0.75rem; opacity: 0.8; }

/* ========== TESTIMONIALS ========== */
.testimonials-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.testi-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 2rem;
  backdrop-filter: blur(10px); transition: var(--transition);
}
.testi-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-4px); }
.testi-stars { font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.testi-card p { color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: #fff; font-size: 0.85rem; flex-shrink: 0;
}
.testi-author strong { color: #fff; font-size: 0.95rem; }
.testi-author small { color: rgba(255,255,255,0.55); font-size: 0.8rem; }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  background: #fff; border: 2px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: var(--transition);
}
.faq-item[open] { border-color: var(--orange); }
.faq-item summary {
  padding: 1.3rem 1.6rem; font-weight: 800; color: var(--dark); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--orange); font-weight: 900; transition: var(--transition); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 1.6rem 1.4rem; color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info-card {
  background: #fff; border-radius: var(--radius); padding: 2rem;
  border: 2px solid var(--border); margin-bottom: 1rem;
}
.contact-info-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--dark); }
.cinfo-item { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.cinfo-icon { font-size: 1.4rem; flex-shrink: 0; }
.cinfo-item strong { display: block; font-weight: 800; color: var(--dark); margin-bottom: 0.15rem; }
.cinfo-item p { color: var(--text-light); font-size: 0.9rem; }
.cinfo-item a { color: var(--orange); font-weight: 700; }
.map-wrap iframe { border-radius: 16px; }

.social-links { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-light); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 0.85rem; transition: var(--transition);
  color: var(--text);
}
.social-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); transform: translateY(-2px); }
.social-wa { background: #25D366; border-color: #25D366; color: #fff !important; }
.social-wa:hover { background: #1EBD5A; border-color: #1EBD5A; }

/* Contact Form */
.contact-form-wrap { background: #fff; border-radius: var(--radius); padding: 2.2rem; border: 2px solid var(--border); }
.contact-form h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--dark); }
.form-group { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label { display: block; font-weight: 800; font-size: 0.85rem; color: var(--dark); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.95rem; transition: var(--transition); background: var(--bg-light);
  color: var(--dark);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--orange); background: #fff;
  box-shadow: 0 0 0 4px rgba(255,107,53,0.12);
}
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: #EF4444; }
.form-error { display: block; font-size: 0.78rem; color: #EF4444; font-weight: 700; margin-top: 0.3rem; min-height: 1rem; }
.form-success {
  margin-top: 1rem; padding: 1rem 1.4rem; border-radius: var(--radius-sm);
  background: #E6FBF5; border: 2px solid #06D6A0; color: #047857;
  font-weight: 700; font-size: 0.95rem; display: none;
}
.form-success.visible { display: block; }

/* ========== FOOTER ========== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-links h4, .footer-contact h4 { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1rem; margin-bottom: 1.2rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-contact p { font-size: 0.88rem; margin-bottom: 0.7rem; line-height: 1.5; }
.footer-contact a { color: var(--orange); font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0; text-align: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9000;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.6); }
.whatsapp-btn::before {
  content: ''; position: absolute;
  width: 100%; height: 100%; border-radius: 50%;
  background: #25D366; z-index: -1;
  animation: pulse-ring 2s ease-out infinite;
}

/* ========== SCROLL TO TOP ========== */
.scroll-top {
  position: fixed; bottom: 6.5rem; right: 2rem; z-index: 9000;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); color: #fff; font-size: 1.2rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: var(--transition);
  opacity: 0; pointer-events: none;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); background: var(--orange-dark); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-content { padding: 7rem 1.5rem 2rem; max-width: 100%; text-align: center; }
  .hero-ctas, .hero-stats { justify-content: center; }
  .hero-robot { display: none; }
  .whyus-grid { grid-template-columns: 1fr; }
  .whyus-card-big { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .courses-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { height: 240px; }
  .testimonials-track { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .gallery-item:nth-child(n) { grid-column: auto; grid-row: auto; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 5rem 2rem 2rem; gap: 0.2rem;
    box-shadow: -5px 0 30px rgba(0,0,0,0.12);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { width: 100%; padding: 0.8rem 1rem; border-radius: 12px; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stat-divider { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 540px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; }
}
