/* ============================================================
   LMS Public Website — Premium Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --p-dark:     #0a0f1e;
  --p-dark2:    #111827;
  --p-accent:   #6366f1;
  --p-accent2:  #06b6d4;
  --p-orange:   #f97316;
  --p-success:  #10b981;
  --p-text:     #1e293b;
  --p-light:    #f8fafc;
  --p-muted:    #64748b;
  --p-border:   #e2e8f0;
  --p-white:    #ffffff;
  --p-radius:   14px;
  --p-shadow:   0 8px 32px rgba(0,0,0,.12);
  --p-transition: .25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--p-text);
  line-height: 1.7;
  font-size: 15px;
}

.btn-user-dropdown {
  color: #ffffff !important;
}

.user-dropdown-menu {
  background: rgba(15,23,42,.98);
  border: 1px solid rgba(255,255,255,.08);
}

.user-dropdown-menu .dropdown-item {
  color: #ffffff !important;
}

.user-dropdown-menu .dropdown-item:hover,
.user-dropdown-menu .dropdown-item:focus {
  background: rgba(99,102,241,.12) !important;
}

.user-dropdown-menu .dropdown-divider {
  border-color: rgba(255,255,255,.08) !important;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* ── Header / Navbar ─────────────────────────────────────── */
#pub-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 0;
  transition: all var(--p-transition);
}

#pub-header.transparent { background: transparent; }
#pub-header.scrolled {
  background: rgba(10,15,30,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.pub-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
}

.pub-brand-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.pub-brand-logo .logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--p-accent), var(--p-accent2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
}

.pub-brand-logo .brand-name, .pub-brand-logo .brand-text-name { font-size: 18px; font-weight: 800; color: #fff !important; }
.pub-brand-logo .brand-name span { color: var(--p-accent2); }

.pub-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.pub-nav-links a {
  padding: 8px 14px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--p-transition);
}

.pub-nav-links a:hover, .pub-nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.pub-nav-right { display: flex; align-items: center; gap: 10px; }

.btn-nav-login {
  padding: 8px 18px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px; font-weight: 600;
  transition: all var(--p-transition);
}
.btn-nav-login:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }

.btn-nav-signup {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--p-accent), var(--p-accent2));
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px; font-weight: 600;
  transition: all var(--p-transition);
  box-shadow: 0 4px 14px rgba(99,102,241,.4);
}
.btn-nav-signup:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99,102,241,.5); color: #fff; }

/* ── Hero Section ────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--p-dark);
  background-image:
    radial-gradient(ellipse at 30% 40%, rgba(99,102,241,.2) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 20%, rgba(6,182,212,.15) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 80%, rgba(249,115,22,.08) 0%, transparent 45%);
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 1; max-width: 680px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  color: #a5b4fc;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--p-accent), var(--p-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,.65);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--p-accent), #4f46e5);
  color: #fff; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(99,102,241,.45);
  transition: all var(--p-transition);
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(99,102,241,.55); color: #fff; }

.btn-hero-outline {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px;
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  text-decoration: none;
  transition: all var(--p-transition);
}
.btn-hero-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.hero-stat .num { font-size: 28px; font-weight: 800; color: #fff; }
.hero-stat .num span { color: var(--p-accent2); }
.hero-stat .lbl { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 2px; }

/* ── Section Shared ──────────────────────────────────────── */
section { padding: 90px 5%; }

.section-header { text-align: center; margin-bottom: 56px; }

.section-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(99,102,241,.08);
  color: var(--p-accent);
  border: 1px solid rgba(99,102,241,.2);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--p-text);
  letter-spacing: -.5px;
}

.section-header p {
  font-size: 16px;
  color: var(--p-muted);
  max-width: 600px;
  margin: 14px auto 0;
  line-height: 1.8;
}

/* ── About Section ───────────────────────────────────────── */
.about-section { background: var(--p-light); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content .section-badge { margin-bottom: 14px; }
.about-content h2 { font-size: 38px; font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.about-content p { font-size: 15px; color: var(--p-muted); line-height: 1.8; margin-bottom: 16px; }
.about-features { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.about-feat { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.about-feat i { width: 32px; height: 32px; background: rgba(99,102,241,.1); color: var(--p-accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.about-image { border-radius: 20px; overflow: hidden; box-shadow: var(--p-shadow); background: linear-gradient(135deg, var(--p-accent), var(--p-accent2)); height: 420px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-size: 80px; }

/* ── Courses Section ─────────────────────────────────────── */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.pub-course-card {
  background: var(--p-white);
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius);
  overflow: hidden;
  transition: all var(--p-transition);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.pub-course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.14);
  border-color: var(--p-accent);
}

.pub-course-card .card-thumb { width: 100%; height: 180px; object-fit: cover; display: block; }
.pub-course-card .thumb-placeholder { width: 100%; height: 180px; background: linear-gradient(135deg, var(--p-accent), var(--p-accent2)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-size: 48px; }

.pub-course-card .card-body { padding: 20px; }
.pub-course-card .cat-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--p-accent); background: rgba(99,102,241,.08); padding: 3px 8px; border-radius: 4px; display: inline-block; margin-bottom: 10px; }
.pub-course-card h3 { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; color: var(--p-text); }
.pub-course-card .desc { font-size: 13.5px; color: var(--p-muted); line-height: 1.6; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pub-course-card .meta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.pub-course-card .meta-item { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--p-muted); }
.pub-course-card .meta-item i { color: var(--p-accent); font-size: 11px; }
.pub-course-card .card-footer { padding: 14px 20px; border-top: 1px solid var(--p-border); display: flex; align-items: center; justify-content: space-between; }
.pub-course-card .fee { font-size: 17px; font-weight: 800; color: var(--p-text); }
.pub-course-card .apply-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--p-accent); color: #fff; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all var(--p-transition); }
.pub-course-card .apply-btn:hover { background: #4f46e5; transform: translateY(-1px); }

/* ── Why Choose Us ───────────────────────────────────────── */
.why-section { background: var(--p-dark); position: relative; overflow: hidden; }
.why-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(99,102,241,.1), transparent 70%); }
.why-section .section-header h2 { color: #fff; }
.why-section .section-header p { color: rgba(255,255,255,.5); }
.why-section .section-badge { background: rgba(99,102,241,.2); border-color: rgba(99,102,241,.4); color: #a5b4fc; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; position: relative; z-index: 1; }
.why-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--p-radius); padding: 28px 24px; transition: all var(--p-transition); }
.why-card:hover { background: rgba(99,102,241,.1); border-color: rgba(99,102,241,.3); transform: translateY(-4px); }
.why-card .icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--p-accent), var(--p-accent2)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; margin-bottom: 18px; }
.why-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials-section { background: var(--p-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: #fff; border: 1px solid var(--p-border); border-radius: var(--p-radius); padding: 28px; transition: all var(--p-transition); }
.testimonial-card:hover { box-shadow: var(--p-shadow); transform: translateY(-3px); }
.stars { color: #f59e0b; font-size: 14px; margin-bottom: 12px; }
.testimonial-card blockquote { font-size: 14.5px; color: var(--p-muted); line-height: 1.8; font-style: italic; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--p-accent), var(--p-accent2)); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #fff; }
.testimonial-author .name { font-size: 14px; font-weight: 600; color: var(--p-text); }
.testimonial-author .role { font-size: 12px; color: var(--p-muted); }

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--p-accent), var(--p-accent2));
  text-align: center;
  padding: 80px 5%;
}
.cta-section h2 { font-size: 38px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 32px; }
.btn-cta-white { display: inline-flex; align-items: center; gap: 9px; padding: 14px 30px; background: #fff; color: var(--p-accent); border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all var(--p-transition); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.3); color: var(--p-accent); }

/* ── Footer ──────────────────────────────────────────────── */
#pub-footer {
  background: linear-gradient(135deg, #0a0f1e 0%, #1e1b4b 50%, #0f172a 100%);
  color: rgba(255,255,255,.65);
  padding-top: 60px;
  padding-bottom: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-top { padding: 70px 5% 50px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 18px; }
.footer-brand .logo-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--p-accent), var(--p-accent2)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; }
.footer-brand .logo-name { font-size: 17px; font-weight: 800; color: #fff; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; max-width: 280px; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: 13px; transition: all var(--p-transition); text-decoration: none; }
.footer-social a:hover { background: var(--p-accent); border-color: var(--p-accent); color: #fff; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.55); text-decoration: none; font-size: 13.5px; transition: color var(--p-transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; margin-bottom: 12px; }
.footer-contact-item i { color: var(--p-accent); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { padding: 20px 5%; border-top: 1px solid rgba(255,255,255,.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { font-size: 12.5px; color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom-links a:hover { color: #fff; }

/* ── Auth pages ──────────────────────────────────────────── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--p-dark);
  background-image:
    radial-gradient(ellipse at 25% 25%, rgba(99,102,241,.15) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 75%, rgba(6,182,212,.1) 0%, transparent 50%);
  padding: 100px 20px 40px;
}

.auth-card {
  width: 100%; max-width: 440px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(12px);
}

.auth-header { text-align: center; margin-bottom: 30px; }
.auth-header .icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--p-accent), var(--p-accent2)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; margin: 0 auto 14px; }
.auth-header h2 { font-size: 22px; font-weight: 700; color: #fff; }
.auth-header p { font-size: 13.5px; color: rgba(255,255,255,.5); margin-top: 4px; }

.auth-input { width: 100%; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.1); border-radius: 10px; padding: 12px 16px; font-size: 14px; color: #f1f5f9; font-family: inherit; outline: none; transition: all var(--p-transition); }
.auth-input:focus { border-color: var(--p-accent); box-shadow: 0 0 0 3px rgba(99,102,241,.2); }
.auth-input::placeholder { color: rgba(255,255,255,.25); }
select.auth-input { cursor: pointer; }
select.auth-input option { background: #1e293b; }

.auth-label { display: block; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.auth-label .req { color: var(--p-orange); }
.auth-group { margin-bottom: 18px; }
.auth-group-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-auth { width: 100%; padding: 13px; background: linear-gradient(135deg, var(--p-accent), #4f46e5); color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all var(--p-transition); box-shadow: 0 4px 15px rgba(99,102,241,.4); }
.btn-auth:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(99,102,241,.5); }

.auth-footer { text-align: center; margin-top: 20px; font-size: 13.5px; color: rgba(255,255,255,.5); }
.auth-footer a { color: var(--p-accent2); text-decoration: none; font-weight: 600; }
.auth-footer a:hover { color: #fff; }

.auth-divider { text-align: center; position: relative; margin: 18px 0; }
.auth-divider span { background: transparent; padding: 0 12px; color: rgba(255,255,255,.3); font-size: 13px; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.08); }

/* ── Forms (public) ──────────────────────────────────────── */
.pub-form-section { background: var(--p-light); }
.pub-form-card { background: #fff; border: 1px solid var(--p-border); border-radius: 20px; padding: 40px; box-shadow: var(--p-shadow); max-width: 820px; margin: 0 auto; }
.pub-form-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.pub-form-card > p { color: var(--p-muted); margin-bottom: 28px; }
.pub-label { display: block; font-size: 13px; font-weight: 600; color: var(--p-text); margin-bottom: 6px; }
.pub-label .req { color: var(--p-accent); }
.pub-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--p-border); border-radius: 10px; font-size: 14px; color: var(--p-text); font-family: inherit; outline: none; transition: border-color var(--p-transition); }
.pub-input:focus { border-color: var(--p-accent); box-shadow: 0 0 0 3px rgba(99,102,241,.1); }
.pub-input::placeholder { color: #cbd5e1; }
select.pub-input { cursor: pointer; }
.pub-form-group { margin-bottom: 18px; }
.pub-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pub-form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.btn-pub-submit { display: inline-flex; align-items: center; gap: 9px; padding: 13px 32px; background: linear-gradient(135deg, var(--p-accent), var(--p-accent2)); color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all var(--p-transition); box-shadow: 0 4px 14px rgba(99,102,241,.35); }
.btn-pub-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(99,102,241,.45); }

/* ── Result check ────────────────────────────────────────── */
.result-card { background: #fff; border: 1px solid var(--p-border); border-radius: var(--p-radius); padding: 32px; max-width: 600px; margin: 0 auto; box-shadow: var(--p-shadow); }
.result-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.result-table td { padding: 10px 14px; border: 1px solid var(--p-border); font-size: 14px; }
.result-table td:first-child { font-weight: 600; color: var(--p-muted); background: var(--p-light); width: 40%; }

/* ── Course detail ───────────────────────────────────────── */
.course-detail-hero { background: var(--p-dark2); padding: 100px 5% 50px; }
.course-detail-hero .tag { display: inline-block; background: rgba(99,102,241,.15); color: #a5b4fc; padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.course-detail-hero h1 { font-size: 38px; font-weight: 800; color: #fff; line-height: 1.2; max-width: 700px; margin-bottom: 14px; }
.course-detail-hero .meta { display: flex; gap: 20px; flex-wrap: wrap; }
.course-detail-hero .meta-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255,255,255,.6); }
.course-detail-hero .meta-item i { color: var(--p-accent); }

.course-detail-body { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 40px 5%; }
.course-sidebar-card { background: #fff; border: 1px solid var(--p-border); border-radius: 16px; padding: 24px; box-shadow: var(--p-shadow); height: fit-content; position: sticky; top: 80px; }
.course-price { font-size: 32px; font-weight: 900; color: var(--p-text); margin-bottom: 18px; }
.modules-list li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--p-border); font-size: 14px; }
.modules-list li i { color: var(--p-success); }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 14px; }
.contact-info-item .icon { width: 44px; height: 44px; background: rgba(99,102,241,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--p-accent); font-size: 18px; flex-shrink: 0; }
.contact-info-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.contact-info-item p { font-size: 14px; color: var(--p-muted); }

/* ── Mobile Hamburger ────────────────────────────────────── */
.pub-hamburger { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }

/* ── Animations ──────────────────────────────────────────── */
html.aos-js [data-aos] { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
html.aos-js [data-aos].aos-animate { opacity: 1; transform: none; }

/* ── Alerts (public) ─────────────────────────────────────── */
.pub-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.pub-alert-success { background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25); color: #059669; }
.pub-alert-danger  { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25); color: #dc2626; }

/* ── Back-to-top ──────────────────────────────────────────── */
#back-to-top { position: fixed; bottom: 28px; right: 28px; width: 44px; height: 44px; background: var(--p-accent); color: #fff; border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 16px; text-decoration: none; box-shadow: 0 4px 12px rgba(99,102,241,.4); z-index: 8000; transition: all var(--p-transition); }
#back-to-top.show { display: flex; }
#back-to-top:hover { transform: translateY(-3px); }

/* ── Mobile nav ──────────────────────────────────────────── */
.pub-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(10,15,30,.98);
  backdrop-filter: blur(12px);
  z-index: 8999;
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pub-mobile-menu.open { display: block; }
.mobile-menu-close { float: right; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
.mobile-nav-links { list-style: none; margin-top: 40px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav-links li a { display: block; padding: 12px 16px; color: rgba(255,255,255,.8); text-decoration: none; font-size: 15px; border-radius: 8px; transition: all var(--p-transition); }
.mobile-nav-links li a:hover { background: rgba(255,255,255,.08); color: #fff; }
.mobile-nav-links .divider { height: 1px; background: rgba(255,255,255,.08); margin: 8px 0; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .course-detail-body { grid-template-columns: 1fr; }
  .course-sidebar-card { position: static; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pub-nav-links, .pub-nav-right { display: none; }
  .pub-hamburger { display: block; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 15px; }
  section { padding: 60px 5%; }
  .section-header h2 { font-size: 28px; }
  .pub-form-row, .pub-form-row-3 { grid-template-columns: 1fr; }
  .auth-group-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .courses-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FACILITY CAROUSEL SECTION
   ============================================================ */

/* ============================================================
   FACILITY CAROUSEL � Full-Width with Transparent Overlay
   ============================================================ */

.facility-carousel-section {
  width: 100%;
  background: #0a0f1e;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-carousel-section.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.facility-carousel-full {
  width: 100%;
  position: relative;
}

.facility-carousel-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.facility-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transform-style: preserve-3d;
}

.facility-slide.active {
  opacity: 1;
  visibility: visible;
}

.facility-slide-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transform-style: preserve-3d;
}

.facility-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.12);
  transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-slide:hover .facility-image-overlay {
  opacity: 0.68;
}

/* Slide Content */
.facility-slide-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
  padding: 0 80px;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.facility-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, #e91e63 0%, #ff4081 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.facility-heading {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}

.facility-description {
  font-size: 16px;
  color: #ffffff;
  margin: 0 0 28px 0;
  line-height: 1.7;
  opacity: 0.95;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.facility-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.facility-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.facility-cta-btn:hover::before {
  left: 100%;
}

.facility-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255, 140, 0, 0.5);
  color: #ffffff;
}

.facility-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.facility-cta-btn:hover::before {
  left: 100%;
}

.facility-cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255, 140, 0, 0.5);
  color: #ffffff;
}

/* Navigation Arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav-prev {
  left: 30px;
}

.carousel-nav-next {
  right: 30px;
}

/* Dot Indicators */
.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: #ffffff;
  border-color: #ffffff;
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.8);
}

/* CTA Bar */
.facility-cta-bar {
  width: 100%;
  background: linear-gradient(135deg, #0a1628 0%, #0f1f3d 100%);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.facility-cta-bar.aos-animate {
  opacity: 1;
  transform: translateY(0);
}

.facility-cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.facility-cta-heading {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.facility-cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.facility-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.facility-btn-primary {
  background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.facility-btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255, 140, 0, 0.5);
  color: #ffffff;
}

.facility-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.facility-btn-primary:hover::before {
  left: 100%;
}

.facility-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.facility-btn-secondary:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 768px) {
  .facility-carousel-container {
    height: 400px;
  }

  .facility-slide-content {
    padding: 0 30px;
    max-width: 100%;
  }

  .facility-heading {
    font-size: 28px;
  }

  .facility-description {
    font-size: 15px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .carousel-nav-prev {
    left: 15px;
  }

  .carousel-nav-next {
    right: 15px;
  }

  .carousel-dots {
    bottom: 20px;
    gap: 10px;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  .facility-cta-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .facility-cta-heading {
    font-size: 22px;
  }

  .facility-cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .facility-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .facility-carousel-container {
    height: 450px;
  }

  .facility-slide-content {
    padding: 0 20px;
  }

  .facility-heading {
    font-size: 24px;
  }

  .facility-description {
    font-size: 14px;
  }

  .facility-cta-heading {
    font-size: 18px;
  }

  .facility-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}


