/* =============================================
   THE PROF - Mustafa Abdeen | Main Stylesheet
   Color Palette: Navy #0D2761 | Gold #C9A227
   ============================================= */

:root {
  --navy-dark:   #050d1f;
  --navy:        #0d2761;
  --navy-mid:    #112e7a;
  --navy-light:  #1a3a9e;
  --gold:        #c9a227;
  --gold-light:  #e8c547;
  --gold-pale:   #f5dfa0;
  --white:       #ffffff;
  --gray-light:  #e8edf7;
  --gray:        #8892a4;
  --text:        #ccd6f6;
  --card-bg:     rgba(13,39,97,0.45);
  --border:      rgba(201,162,39,0.25);
  --glow-gold:   0 0 30px rgba(201,162,39,0.35);
  --glow-navy:   0 0 40px rgba(13,39,97,0.6);
  --radius:      16px;
  --radius-lg:   24px;
  --transition:  0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Poppins', sans-serif;
  background: var(--navy-dark);
  color: var(--white);
  direction: rtl;
  line-height: 1.7;
}

/* Three.js Canvas BG */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(5,13,31,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

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

.nav-logo img {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  transition: var(--transition);
}
.nav-logo img:hover { transform: rotate(10deg) scale(1.08); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201,162,39,0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;                          /* ← تغيير: right → left */
  width: 200px; height: 100vh;
  background: rgba(5,13,31,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 100px 20px 40px;
  transform: translateX(-100%);              /* ← تغيير: +100% → -100% */
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  border-right: 1px solid var(--border);    /* ← تغيير: border-left → border-right */
}
.mobile-menu.open { transform: translateX(0); display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu ul li { margin-bottom: 12px; }
.mobile-menu ul a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 12px 16px;
  display: block;
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: left
}
.mobile-menu ul a:hover { color: var(--gold); background: rgba(201,162,39,0.1); }

/* ── HERO SECTION ── */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(201,162,39,0.2), rgba(201,162,39,0.05));
  border: 1px solid rgba(201,162,39,0.4);
  color: var(--gold);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  animation: fadeInUp 0.9s ease 0.2s both;
}

.title-line {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, #fff5c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(201,162,39,0.5));
}

.title-name {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-top: 8px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 36px;
  animation: fadeInUp 0.9s ease 0.35s both;
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  animation: fadeInUp 0.9s ease 0.45s both;
}

.stat {
  text-align: center;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  min-width: 80px;
}
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 4px;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s ease 0.55s both;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(201,162,39,0.4);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201,162,39,0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.25);
  transition: var(--transition);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,162,39,0.08);
  transform: translateY(-3px);
}

/* Hero Image */
.hero-image-wrap {
  flex: 1;
  max-width: 480px;
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeInRight 1s ease 0.4s both;
}

.hero-image-bg {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(201,162,39,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-image {
  width: 100%;
  max-width: 420px;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(201,162,39,0.3);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}

.hero-badge-float {
  position: absolute;
  background: rgba(5,13,31,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1rem;
  z-index: 3;
  white-space: nowrap;
}
.badge-1 { top: 10%; right: -20px; animation: float1 4s ease-in-out infinite; }
.badge-2 { top: 45%; left: -25px; animation: float2 5s ease-in-out infinite; }
.badge-3 { bottom: 12%; right: -15px; animation: float1 4.5s ease-in-out infinite 1s; }

/* ── MATH TICKER ── */
.math-ticker {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(13,39,97,0.6), rgba(201,162,39,0.1));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-inner {
  display: flex;
  gap: 48px;
  animation: ticker-scroll 20s linear infinite;
  width: max-content;
}

.ticker-inner span {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.7;
  letter-spacing: 2px;
}

/* ── SECTION COMMON ── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.3);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
}

.section-title span { color: var(--gold); }

/* ── ABOUT ── */
.about-section {
  background: radial-gradient(ellipse at 80% 50%, rgba(13,39,97,0.3) 0%, transparent 60%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  display: inline-block;
}

.about-img-wrap img {
  width: 100%;
  max-width: 400px;
  height: 500px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(201,162,39,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.about-experience-badge {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  padding: 18px 22px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 30px rgba(201,162,39,0.4);
}
.exp-num { display: block; font-size: 2rem; font-weight: 900; line-height: 1; }
.exp-text { font-size: 0.8rem; font-weight: 700; }

.about-content-col .section-tag { display: inline-block; }

.about-desc {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.9;
}
.about-desc strong { color: var(--gold); }

.about-certs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.cert-item:hover { border-color: var(--gold); color: var(--gold); transform: translateX(-4px); }
.cert-item i { color: var(--gold); font-size: 1rem; }

/* ── QUALIFICATIONS ── */
.quals-section {
  background: linear-gradient(180deg, transparent, rgba(13,39,97,0.15), transparent);
}

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

.timeline::before {
  content: '';
  position: absolute;
  right: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold), var(--navy-light), var(--gold), transparent);
  transform: translateX(50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 48px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.timeline-dot {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.2rem;
  box-shadow: var(--glow-gold);
  position: relative;
  z-index: 2;
}

.timeline-card {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.timeline-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--glow-gold);
}

.timeline-year {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  padding: 3px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.timeline-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

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

/* ── COURSES ── */
.courses-section {
  background: radial-gradient(ellipse at 20% 50%, rgba(201,162,39,0.05) 0%, transparent 60%);
}

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

.course-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,162,39,0.08), transparent);
  opacity: 0;
  transition: var(--transition);
}

.course-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), var(--glow-gold);
}
.course-card:hover::before { opacity: 1; }

.course-icon {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  display: block;
  line-height: 1;
  font-family: 'Poppins', sans-serif;
}

.course-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.course-card p { color: var(--gray); font-size: 0.92rem; line-height: 1.7; }

/* ── MEDIA ── */
.media-section {
  background: linear-gradient(180deg, transparent, rgba(13,39,97,0.2), transparent);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.media-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.media-card:hover { border-color: var(--gold); box-shadow: var(--glow-gold); }

.media-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.media-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.media-card video {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.media-card p { color: var(--gray); margin-bottom: 20px; font-size: 0.95rem; }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark);
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: var(--transition);
  margin-bottom: 20px;
}
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(201,162,39,0.5); }

.pdf-preview {
  width: 100%;
  height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.pdf-preview iframe {
  width: 100%; height: 100%;
  border: none;
  background: #fff;
}

/* ── CONTACT ── */
.contact-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(13,39,97,0.4) 0%, transparent 70%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.contact-item:hover { border-color: var(--gold); transform: translateX(-6px); }

.contact-item > i {
  font-size: 1.8rem;
  color: var(--gold);
  width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--gold); }
.contact-item p { color: var(--white); font-weight: 700; }

.cta-card {
  background: linear-gradient(135deg, rgba(13,39,97,0.6), rgba(26,58,158,0.4));
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: 'Σ π ∫';
  position: absolute;
  top: -20px; right: -10px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(201,162,39,0.05);
  font-family: 'Poppins', sans-serif;
  pointer-events: none;
}

.cta-card h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-card p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 6px 25px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 35px rgba(37,211,102,0.5);
}
.btn-whatsapp i { font-size: 1.4rem; }

/* ── FOOTER ── */
.footer {
  background: rgba(5,13,31,0.95);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand img {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer-links ul a:hover { color: var(--gold); }

.social-icons { display: flex; gap: 12px; flex-wrap: wrap; }

.social-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
  color: white;
}
.social-icon.fb { background: #1877f2; }
.social-icon.yt { background: #ff0000; }
.social-icon.wa { background: #25d366; }
.social-icon.tg { background: #0088cc; }
.social-icon:hover { transform: translateY(-4px) scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  color: var(--gray);
  font-size: 0.88rem;
}

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  transition: var(--transition);
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 10px 35px rgba(37,211,102,0.7);
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(5,13,31,0.9);
  backdrop-filter: blur(10px);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  border: 1px solid var(--border);
  pointer-events: none;
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── ANIMATIONS ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 25px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 25px rgba(37,211,102,0.5), 0 0 0 14px rgba(37,211,102,0); }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; }

  .hero-section {
    flex-direction: column;
    padding: 100px 24px 60px;
    text-align: center;
  }
  .hero-image-wrap { max-width: 320px; order: -1; }
  .hero-image { height: 380px; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
  .badge-1, .badge-2, .badge-3 { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { text-align: center; }
  .about-img-wrap img { max-width: 300px; height: 360px; }
  .about-experience-badge { left: 50%; transform: translateX(-50%); bottom: -20px; }
  .about-certs { grid-template-columns: 1fr; }

  .timeline::before { right: 27px; }
  .timeline-item { flex-direction: row !important; }
  .timeline-card { flex: 1; }

  .courses-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-stats { flex-wrap: wrap; gap: 12px; }
  .stat { min-width: 70px; padding: 12px 14px; }
  .cta-card { padding: 32px 24px; }
  .whatsapp-float { bottom: 20px; left: 20px; width: 52px; height: 52px; font-size: 1.5rem; }
}
