/* =============================================
   PRAYASH COMPETITIVE COACHING — STYLESHEET
   Mobile-first, glassmorphism + bold accent design
   Font: Bebas Neue (headers) + Nunito (body)
   Color palette: Deep Navy, Red, Yellow, White
============================================= */

/* ---- CSS CUSTOM PROPERTIES ---- */
:root {
  --red: #e63329;
  --yellow: #f5c518;
  --navy: #0d1b2a;
  --navy-mid: #152535;
  --navy-light: #1e3448;
  --white: #ffffff;
  --off-white: #f4f6fa;
  --text-muted: #8a9bb0;
  --glass-bg: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.12);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.35);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: 'Bebas Neue', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ---- UTILITY ---- */
.container {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
}

.section { padding: 5rem 0; }

.text-accent { color: var(--red); }
.text-highlight {
  color: var(--yellow);
  -webkit-text-stroke: 1px var(--yellow);
}

/* Section header pattern */
.section-header { text-align: center; margin-bottom: 3rem; }

.section-tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1rem;
}

/* =============================================
   SCROLL REVEAL ANIMATION BASE
   JS adds .visible class when element enters viewport
============================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.65s ease var(--delay, 0ms),
              transform 0.65s ease var(--delay, 0ms);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RIPPLE EFFECT (applied on click via JS)
============================================= */
.ripple { position: relative; overflow: hidden; }
.ripple-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* =============================================
   BUTTONS
============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(230,51,41,0.4);
}
.btn-primary:hover {
  background: #c9271e;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230,51,41,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.82rem; }

/* =============================================
   NAVBAR
============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.4); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.7rem;
  letter-spacing: 2px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 1px;
}
.logo-p {
  color: var(--red);
  font-size: 2rem;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-link {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: var(--glass-bg);
}
.nav-link.active { color: var(--yellow); }

.nav-cta {
  padding: 0.45rem 1.2rem;
  background: var(--red);
  color: var(--white) !important;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: #c9271e; transform: translateY(-1px); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO SECTION
============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 5% 3rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(230,51,41,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(245,197,24,0.07) 0%, transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  overflow: hidden;
}

/* Floating decorative shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
  pointer-events: none;
}
.shape-1 {
  width: 400px; height: 400px;
  background: var(--red);
  top: -100px; right: -100px;
  animation: floatShape 8s ease-in-out infinite alternate;
}
.shape-2 {
  width: 250px; height: 250px;
  background: var(--yellow);
  bottom: 5%; left: 5%;
  animation: floatShape 6s ease-in-out infinite alternate-reverse;
}
.shape-3 {
  width: 180px; height: 180px;
  background: #2a6bcc;
  top: 40%; right: 10%;
  animation: floatShape 10s ease-in-out infinite alternate;
}

@keyframes floatShape {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, 30px) scale(1.1); }
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 9vw, 6rem);
  line-height: 1.0;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.urgency-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,197,24,0.15);
  border: 1px solid rgba(245,197,24,0.4);
  color: var(--yellow);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2rem;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,197,24,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(245,197,24,0); }
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 1.2rem 1.8rem;
  width: fit-content;
  position: relative;
  z-index: 2;
}

.stat-item { text-align: center; min-width: 90px; }

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--yellow);
  letter-spacing: 1px;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* =============================================
   WHY CHOOSE US
============================================= */
.why-section {
  background: var(--navy-mid);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: var(--transition);
}
.why-card:hover {
  border-color: rgba(245,197,24,0.4);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.why-icon {
  width: 52px; height: 52px;
  background: rgba(230,51,41,0.15);
  border: 1px solid rgba(230,51,41,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--red);
  margin-bottom: 1rem;
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: var(--red);
  color: var(--white);
  transform: scale(1.1);
}

.why-card h3 {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =============================================
   COURSES SECTION
============================================= */
.courses-section { background: var(--navy); }

.course-category {
  font-family: var(--font-head);
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--yellow);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.computer-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* Course card */
.course-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}
.course-card:hover {
  border-color: rgba(230,51,41,0.5);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.course-card--computer {
  border-color: rgba(41, 128, 230, 0.3);
}
.course-card--computer:hover { border-color: rgba(41, 128, 230, 0.7); }

.course-icon {
  width: 48px; height: 48px;
  background: rgba(230,51,41,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--red);
  margin-bottom: 0.9rem;
  transition: var(--transition);
}
.course-card--computer .course-icon {
  background: rgba(41,128,230,0.15);
  color: #4a9eff;
}
.course-card:hover .course-icon { transform: scale(1.15) rotate(-5deg); }

.course-card h4 {
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.course-short { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; }

/* Expandable detail (hidden by default) */
.course-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.course-card.expanded .course-detail {
  max-height: 220px;
  opacity: 1;
  padding-top: 0.75rem;
}
.course-detail ul {
  margin-bottom: 1rem;
}
.course-detail li {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.2rem 0;
  padding-left: 1.1rem;
  position: relative;
}
.course-detail li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow);
  font-weight: 900;
}

.expand-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  transition: color 0.2s;
}
.course-card:hover .expand-hint { color: var(--yellow); }
.course-card.expanded .expand-hint i { transform: rotate(180deg); }
.expand-hint i { transition: transform 0.3s ease; }

/* =============================================
   TEACHERS SECTION
============================================= */
.teachers-section { background: var(--navy-mid); }

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.teacher-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}
.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(245,197,24,0.4);
}

/* Avatar placeholder (no real photos provided) */
.teacher-avatar {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  overflow: hidden;
}
.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.2);
}
.avatar-placeholder.female { color: rgba(245,197,24,0.25); }

/* Hover reveal overlay */
.teacher-overlay {
  position: absolute;
  inset: 0;
  background: rgba(230,51,41,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.teacher-card:hover .teacher-overlay { opacity: 1; }
.teacher-overlay span {
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.teacher-info {
  padding: 1.2rem 1.4rem;
}
.teacher-info h4 {
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.teacher-info > p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.teacher-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.teacher-tags span {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(230,51,41,0.15);
  border: 1px solid rgba(230,51,41,0.3);
  color: var(--red);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  letter-spacing: 0.4px;
}

/* =============================================
   MODAL (Teacher detail popup)
============================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--navy-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--red); }

/* Modal content styles (injected by JS) */
.modal-avatar-big {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.3);
  margin: 0 auto 1.2rem;
}
.modal-name {
  font-weight: 900;
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 0.25rem;
}
.modal-role {
  text-align: center;
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}
.modal-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 1.5rem;
}
.modal-subjects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.modal-subjects span {
  background: rgba(245,197,24,0.12);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

/* =============================================
   RESULTS / COUNTERS SECTION
============================================= */
.results-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.results-counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.counter-card {
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.counter-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.counter-card:hover::before { transform: scaleX(1); }
.counter-card:hover { transform: translateY(-5px); }

.counter-icon {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.counter-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: var(--yellow);
  letter-spacing: 2px;
  line-height: 1;
  display: inline;
}
.counter-suffix {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--yellow);
  display: inline;
}
.counter-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 0.5rem;
}

/* Result highlight banner */
.result-highlight {
  background: linear-gradient(135deg, rgba(230,51,41,0.12), rgba(245,197,24,0.08));
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  text-align: center;
}
.result-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 900;
  font-size: 0.82rem;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 0.9rem;
  letter-spacing: 0.5px;
}
.result-highlight p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.result-highlight strong { color: var(--white); }

/* =============================================
   CONTACT SECTION
============================================= */
.contact-section { background: var(--navy-mid); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Info side */
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  transition: var(--transition);
}
.contact-item:hover { border-color: rgba(245,197,24,0.35); }

.contact-icon {
  width: 42px; height: 42px;
  min-width: 42px;
  background: rgba(230,51,41,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1rem;
}
.contact-item h4 {
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}
.contact-item p, .contact-item a {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}
.contact-item a:hover { color: var(--yellow); }

/* CTA card */
.contact-cta-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
}
.cta-badge {
  display: inline-block;
  background: rgba(230,51,41,0.15);
  border: 1px solid rgba(230,51,41,0.4);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  animation: pulse 2.5s ease-in-out infinite;
}
.contact-cta-card h3 {
  font-family: var(--font-head);
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}
.contact-cta-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.or-divider {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 1rem 0;
}

/* =============================================
   FOOTER
============================================= */
.footer {
  background: var(--navy);
  border-top: 1px solid var(--glass-border);
  padding: 2.5rem 5%;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-direction: column;
  white-space: nowrap;
  align-items: flex-start;
}
.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.2rem;
  letter-spacing: 0.5px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-copy {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: right;
}

/* =============================================
   FLOATING BUTTONS
============================================= */
/* WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  z-index: 900;
  transition: var(--transition);
  animation: wobble 3s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
  animation: none;
}
@keyframes wobble {
  0%,100% { transform: rotate(0deg) scale(1); }
  15%      { transform: rotate(-8deg) scale(1.05); }
  30%      { transform: rotate(6deg) scale(1.05); }
  45%      { transform: rotate(-4deg) scale(1.02); }
  60%      { transform: rotate(3deg) scale(1.02); }
}

/* Scroll to top */
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px; height: 44px;
  background: var(--red);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 4px 14px rgba(230,51,41,0.4);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-btn:hover { transform: translateY(-3px); background: #c9271e; }

/* Sticky mobile enroll bar */
.sticky-enroll {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  padding: 0.8rem 1rem;
  background: var(--navy);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  text-align: center;
}
.sticky-enroll .btn { width: 100%; justify-content: center; border-radius: 10px; }

/* =============================================
   RESPONSIVE / MOBILE
============================================= */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
}

@media (max-width: 768px) {
  /* Hamburger nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: var(--navy-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    transition: right 0.35s ease;
    border-left: 1px solid var(--glass-border);
    z-index: 990;
  }
  .nav-links.open { right: 0; }
  .nav-link { width: 100%; font-size: 1rem; padding: 0.7rem 1rem; }
  .nav-cta { width: 100%; margin-left: 0; margin-top: 0.5rem; justify-content: center; }

  /* Hero */
  .hero { padding: 7rem 5% 4rem; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .stat-divider { width: 60px; height: 1px; }

  /* Show sticky enroll bar on mobile */
  .sticky-enroll { display: block; }
  /* Give space above sticky bar */
  #contact { padding-bottom: 6rem; }

  /* Grids */
  .courses-grid, .computer-grid { grid-template-columns: 1fr 1fr; }
  .teachers-grid { grid-template-columns: 1fr 1fr; }
  .results-counters { grid-template-columns: 1fr 1fr; }

  /* Float buttons move up */
  .whatsapp-btn { bottom: 7.5rem; right: 1rem; width: 50px; height: 50px; font-size: 1.4rem; }
  .scroll-top-btn { bottom: 7.5rem; right: 4rem; }
}

@media (max-width: 480px) {
  .courses-grid, .computer-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: 1fr; }
  .results-counters { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
}
