/* ============================================================
   IPEC - Ivory Park Eagles Centre | Main Stylesheet
   Brand Colors: Purple #9B27AF, Dark Grey #555, White #fff
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --purple: #9B27AF;
  --purple-dark: #7b1f8c;
  --purple-light: #c44fd8;
  --grey: #555555;
  --grey-dark: #2a2a2a;
  --grey-light: #888;
  --white: #ffffff;
  --off-white: #f8f7fc;
  --border: #e5e0ec;
  --success: #2e7d32;
  --danger: #c62828;
  --warning: #e65100;
  --shadow: 0 4px 24px rgba(155,39,175,0.12);
  --shadow-lg: 0 8px 48px rgba(155,39,175,0.18);
  --radius: 12px;
  --radius-sm: 6px;
  --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: var(--grey-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, textarea, select { font-family: 'Outfit', sans-serif; }

/* ---- Utilities ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 90px 0; }
.text-center { text-align: center; }
.text-purple { color: var(--purple); }
.bg-purple { background: var(--purple); color: var(--white); }
.bg-grey { background: var(--grey-dark); color: var(--white); }
.bg-offwhite { background: var(--off-white); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--grey-dark); margin-bottom: 14px; }
.section-header p { color: var(--grey-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-header .line {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  margin: 16px auto 0; border-radius: 2px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-weight: 600;
  font-size: 0.95rem; cursor: pointer; border: none;
  transition: var(--transition); font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px;
}
.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(155,39,175,0.35); }
.btn-outline { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn-outline:hover { background: var(--purple); color: var(--white); }
.btn-white { background: var(--white); color: var(--purple); }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 0.85rem; }

/* ---- FLASH MESSAGES ---- */
.flash { padding: 14px 20px; border-radius: var(--radius-sm); margin: 16px 0; font-weight: 500; }
.flash.success { background: #e8f5e9; color: #2e7d32; border-left: 4px solid #2e7d32; }
.flash.error { background: #fce4ec; color: #c62828; border-left: 4px solid #c62828; }
.flash.info { background: #e8eaf6; color: #3949ab; border-left: 4px solid #3949ab; }

/* ---- HEADER / NAV ---- */
#header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 50px; width: auto; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text span { display: block; font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--purple); }
.nav-logo-text small { font-size: 0.68rem; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  font-weight: 500; font-size: 0.9rem; color: var(--grey-dark);
}
.nav-links a:hover, .nav-links a.active { color: var(--purple); background: rgba(155,39,175,0.07); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-user-menu { position: relative; }
.nav-user-menu > button {
  display: flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer; font-size: 0.9rem;
  font-family: 'Outfit', sans-serif; color: var(--grey-dark); font-weight: 500;
}
.nav-user-menu > button img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--purple); }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 10px);
  background: var(--white); border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12); min-width: 180px;
  padding: 8px 0; display: none; z-index: 200;
}
.dropdown-menu.show { display: block; }
.dropdown-menu a { display: block; padding: 10px 16px; font-size: 0.88rem; color: var(--grey-dark); }
.dropdown-menu a:hover { background: var(--off-white); color: var(--purple); }
.dropdown-menu hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

/* ---- HERO / SLIDER ---- */
.hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; margin-top: 74px; }
.slider-wrapper { width: 100%; height: 100%; }
.slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover; background-position: center;
}
.slide.active { opacity: 1; }
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(42,42,42,0.75) 0%, rgba(155,39,175,0.45) 100%);
}
.slide-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px;
  color: var(--white);
}
.slide-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900; max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: slideUp 0.8s ease forwards; opacity: 0;
}
.slide.active .slide-content h1 { animation-delay: 0.2s; }
.slide-content p {
  font-size: 1.2rem; margin: 16px 0 32px;
  max-width: 500px; opacity: 0.9;
  animation: slideUp 0.8s ease 0.4s forwards; opacity: 0;
}
.slide.active .slide-content p { animation-delay: 0.4s; }
.slide-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: slideUp 0.8s ease 0.6s forwards; opacity: 0;
}
.slide.active .slide-btns { animation-delay: 0.6s; }
@keyframes slideUp { from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)} }

.slider-controls { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: var(--transition); border: none; }
.slider-dot.active { background: var(--white); width: 28px; border-radius: 5px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3); color: white;
  width: 50px; height: 50px; border-radius: 50%; font-size: 1.3rem;
  cursor: pointer; z-index: 10; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--purple); border-color: var(--purple); }
.slider-prev { left: 20px; } .slider-next { right: 20px; }

/* ---- ANNOUNCEMENT BAR ---- */
.announce-bar {
  background: linear-gradient(90deg, var(--purple-dark), var(--purple));
  color: white; padding: 10px 0; font-size: 0.88rem; overflow: hidden;
}
.announce-bar .ticker { display: flex; gap: 60px; animation: ticker 30s linear infinite; white-space: nowrap; }
@keyframes ticker { from{transform:translateX(100vw)} to{transform:translateX(-100%)} }

/* ---- STATS STRIP ---- */
.stats-strip { background: var(--purple); color: white; padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item h3 { font-size: 2.8rem; font-weight: 900; color: white; }
.stat-item p { font-size: 0.9rem; opacity: 0.85; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius); object-fit: cover; height: 480px; width: 100%; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--purple); color: white;
  padding: 20px 24px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge h3 { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.about-badge p { font-size: 0.8rem; opacity: 0.9; margin-top: 4px; }
.about-content h2 { font-size: 2.4rem; margin-bottom: 16px; }
.about-content p { color: var(--grey); margin-bottom: 14px; }
.about-values { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.about-value { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.about-value .icon { width: 36px; height: 36px; background: rgba(155,39,175,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--purple); flex-shrink: 0; }

/* ---- COURSES ---- */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.course-card {
  background: white; border-radius: var(--radius);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  overflow: hidden; transition: var(--transition);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--purple); }
.course-card-img { height: 180px; background: linear-gradient(135deg, var(--purple-dark), var(--purple-light)); position: relative; overflow: hidden; }
.course-card-img img { width: 100%; height: 100%; object-fit: cover; }
.course-card-img .course-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.course-badge { position: absolute; top: 12px; right: 12px; background: white; color: var(--purple); font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.course-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.course-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.course-card-body p { color: var(--grey); font-size: 0.88rem; flex: 1; }
.course-meta { display: flex; gap: 14px; margin: 14px 0; font-size: 0.82rem; color: var(--grey); }
.course-meta span { display: flex; align-items: center; gap: 4px; }
.course-footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-top: 1px solid var(--border); }
.course-price { font-weight: 700; color: var(--purple); font-size: 1.1rem; }
.course-price.free { color: var(--success); }

/* ---- SERVICES ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.service-card {
  background: white; padding: 32px 24px;
  border-radius: var(--radius); text-align: center;
  border: 1px solid var(--border); transition: var(--transition);
}
.service-card:hover { background: var(--purple); color: white; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover p { color: rgba(255,255,255,0.85); }
.service-icon { width: 64px; height: 64px; background: rgba(155,39,175,0.1); border-radius: 16px; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; transition: var(--transition); }
.service-card:hover .service-icon { background: rgba(255,255,255,0.2); }
.service-card h3 { font-size: 1rem; margin-bottom: 8px; }
.service-card p { font-size: 0.85rem; color: var(--grey); }

/* ---- TEAM ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.team-card { text-align: center; }
.team-photo-wrap { position: relative; width: 160px; height: 160px; margin: 0 auto 18px; }
.team-photo-wrap img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--purple); }
.team-social { position: absolute; bottom: 0; right: 0; display: flex; gap: 4px; flex-direction: column; }
.team-social a { width: 28px; height: 28px; background: var(--purple); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.team-card h3 { font-size: 1.05rem; }
.team-card span { font-size: 0.85rem; color: var(--purple); font-weight: 500; }
.team-card p { font-size: 0.82rem; color: var(--grey); margin-top: 6px; }

/* ---- TESTIMONIALS ---- */
.testimonials-wrap { position: relative; overflow: hidden; }
.testimonials-track { display: flex; gap: 24px; transition: transform 0.5s ease; }
.testimonial-card {
  min-width: 340px; background: white; border-radius: var(--radius);
  padding: 30px; border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.testi-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; }
.testi-text { color: var(--grey); font-size: 0.92rem; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi-author h4 { font-size: 0.9rem; font-family: 'Outfit', sans-serif; font-weight: 600; }
.testi-author span { font-size: 0.78rem; color: var(--purple); }

/* ---- NEWS / ANNOUNCEMENTS ---- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.news-card { border-radius: var(--radius); overflow: hidden; background: white; box-shadow: 0 2px 16px rgba(0,0,0,0.06); transition: var(--transition); border: 1px solid var(--border); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card-img { height: 200px; object-fit: cover; width: 100%; }
.news-card-body { padding: 22px; }
.news-date { font-size: 0.78rem; color: var(--grey-light); display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.news-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; }
.news-card-body p { color: var(--grey); font-size: 0.87rem; }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.contact-info h2 { font-size: 2rem; margin-bottom: 20px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .icon { width: 46px; height: 46px; background: rgba(155,39,175,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--purple); flex-shrink: 0; font-size: 1.1rem; }
.contact-item h4 { font-size: 0.9rem; font-family: 'Outfit',sans-serif; font-weight: 600; margin-bottom: 3px; }
.contact-item p { font-size: 0.87rem; color: var(--grey); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--grey-dark); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.9rem; font-family: 'Outfit',sans-serif;
  transition: var(--transition); background: white; color: var(--grey-dark);
}
.form-control:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(155,39,175,0.1); }
.form-control.error { border-color: #c62828; }
textarea.form-control { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- CONTACT FORM ---- */
.contact-form-wrap { background: white; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); }

/* ---- FOOTER ---- */
footer { background: var(--grey-dark); color: rgba(255,255,255,0.8); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-brand img { height: 56px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { background: var(--purple); }
.footer-links h4 { color: white; font-size: 0.95rem; font-family: 'Outfit',sans-serif; font-weight: 600; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { font-size: 0.87rem; display: flex; align-items: center; gap: 6px; }
.footer-links ul li a:hover { color: var(--purple-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.footer-bottom a { color: var(--purple-light); }

/* ---- AUTH PAGES ---- */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: linear-gradient(135deg, var(--grey-dark) 0%, var(--purple-dark) 100%); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 60px; color: white; text-align: center; }
.auth-side img { height: 90px; margin-bottom: 30px; }
.auth-side h2 { font-size: 2rem; margin-bottom: 14px; }
.auth-side p { opacity: 0.85; font-size: 0.95rem; }
.auth-form-side { display: flex; align-items: center; justify-content: center; padding: 60px 40px; background: var(--off-white); }
.auth-box { background: white; border-radius: var(--radius); padding: 44px; width: 100%; max-width: 460px; box-shadow: var(--shadow); }
.auth-box h2 { font-size: 1.8rem; margin-bottom: 6px; }
.auth-box > p { color: var(--grey); font-size: 0.9rem; margin-bottom: 28px; }

/* ---- DASHBOARD ---- */
.dash-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.dash-sidebar { background: var(--grey-dark); color: white; padding: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.dash-logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.dash-logo img { height: 46px; }
.dash-nav { padding: 16px 12px; }
.dash-nav-group { margin-bottom: 24px; }
.dash-nav-group-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); padding: 0 12px; margin-bottom: 6px; }
.dash-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 8px; font-size: 0.88rem;
  color: rgba(255,255,255,0.7); transition: var(--transition);
  margin-bottom: 2px;
}
.dash-nav a:hover { background: rgba(255,255,255,0.08); color: white; }
.dash-nav a.active { background: var(--purple); color: white; }
.dash-nav a i { width: 18px; text-align: center; }
.dash-main { background: #f4f2f8; min-height: 100vh; }
.dash-topbar { background: white; padding: 16px 30px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.dash-content { padding: 30px; }
.dash-title { font-size: 1.5rem; margin-bottom: 24px; }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card {
  background: white; border-radius: var(--radius); padding: 24px;
  display: flex; justify-content: space-between; align-items: flex-start;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05); border-left: 4px solid var(--purple);
}
.stat-card.grey-border { border-left-color: var(--grey); }
.stat-card.green-border { border-left-color: #2e7d32; }
.stat-card.orange-border { border-left-color: #e65100; }
.stat-card-info h3 { font-size: 2rem; color: var(--grey-dark); font-weight: 700; }
.stat-card-info p { font-size: 0.82rem; color: var(--grey); margin-top: 4px; }
.stat-card-icon { width: 46px; height: 46px; background: rgba(155,39,175,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--purple); font-size: 1.3rem; }

.card { background: white; border-radius: var(--radius); box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.card-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.card-header h3 { font-size: 1rem; font-family: 'Outfit',sans-serif; font-weight: 600; }
.card-body { padding: 24px; }

/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
thead th { background: var(--off-white); padding: 12px 14px; text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--grey); border-bottom: 2px solid var(--border); }
tbody td { padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:hover { background: #faf8ff; }
.badge { display: inline-flex; padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-red { background: #fce4ec; color: #c62828; }
.badge-orange { background: #fff3e0; color: #e65100; }
.badge-purple { background: rgba(155,39,175,0.1); color: var(--purple); }
.badge-grey { background: #f5f5f5; color: #666; }

/* ---- PAGINATION ---- */
.pagination { display: flex; gap: 6px; align-items: center; margin-top: 20px; }
.pagination a, .pagination span { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 0.85rem; border: 1px solid var(--border); background: white; }
.pagination a:hover { background: rgba(155,39,175,0.1); border-color: var(--purple); }
.pagination .current { background: var(--purple); color: white; border-color: var(--purple); }

/* ---- MOBILE MENU ---- */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--grey-dark); border-radius: 2px; transition: var(--transition); }

/* ---- MOBILE NAV DRAWER ---- */
.mobile-nav {
  position: fixed; top: 74px; left: 0; right: 0; bottom: 0;
  background: white; z-index: 999; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.3s ease;
  padding: 20px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 8px; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav a:hover { background: var(--off-white); color: var(--purple); }

/* ---- BACK TO TOP ---- */
#backToTop {
  position: fixed; bottom: 30px; right: 30px;
  width: 44px; height: 44px; background: var(--purple); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; opacity: 0; transition: var(--transition);
  border: none; box-shadow: var(--shadow);
  z-index: 500;
}
#backToTop.show { opacity: 1; }
#backToTop:hover { background: var(--purple-dark); transform: translateY(-3px); }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed; bottom: 30px; left: 30px; z-index: 500;
  width: 50px; height: 50px; background: #25D366; color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); }

/* ---- MODAL ---- */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 2000; display: none; align-items: center; justify-content: center; }
.modal-overlay.show { display: flex; }
.modal { background: white; border-radius: var(--radius); max-width: 560px; width: 95%; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 22px 28px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 1.2rem; }
.modal-close { background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--grey); }
.modal-body { padding: 28px; }
.modal-footer { padding: 18px 28px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* ---- COURSES PAGE ---- */
.page-hero { background: linear-gradient(135deg, var(--grey-dark), var(--purple-dark)); color: white; padding: 120px 0 70px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; font-size: 0.85rem; opacity: 0.8; }
.breadcrumb a { color: white; } .breadcrumb span { opacity: 0.5; }

/* ---- ENROLL FORM ---- */
.enroll-wrap { max-width: 700px; margin: 0 auto; }

/* ---- STUDENT DASHBOARD ---- */
.student-dash { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 74px); }
.student-sidebar { background: white; border-right: 1px solid var(--border); padding: 30px 0; }
.student-sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 24px; font-size: 0.9rem; color: var(--grey-dark); transition: var(--transition); }
.student-sidebar-nav a:hover, .student-sidebar-nav a.active { background: rgba(155,39,175,0.07); color: var(--purple); border-right: 3px solid var(--purple); }
.student-content { padding: 32px; background: var(--off-white); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .student-dash { grid-template-columns: 1fr; }
  .student-sidebar { display: none; }
  .slide-content { padding: 30px 20px; }
  .hero { height: 85vh; }
}
