@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0B0E14;
  --bg-card: #151A23;
  --bg-hover: #1E2532;
  --border-color: #232B3B;
  --primary: #7C3AED;
  --primary-hover: #6D28D9;
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --accent-green: #10B981;
  --accent-blue: #3B82F6;
  --accent-orange: #F59E0B;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  padding: 60px 4%;
  position: relative;
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto 40px auto;
  min-height: 560px;
  border-radius: 20px;
  background-color: var(--bg-dark);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.hero-bg-slider {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; 
  background-position: center right;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  /* Premium cinematic dark vignette overlay: deeper darkness on the text side, fading into a rich, deep-slate dark coating over the rest of the clear image */
  background: linear-gradient(to right, rgba(11, 14, 20, 0.92) 0%, rgba(11, 14, 20, 0.60) 40%, rgba(11, 14, 20, 0.15) 100%);
  z-index: 2;
}

.hero-content { position: relative; z-index: 3; max-width: 600px; margin-left: 20px; }
.hero-content h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; font-weight: 800; color: #FFFFFF; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-content h1 span { color: var(--primary); }
.hero-content p { color: #E5E7EB; font-size: 1.1rem; margin-bottom: 40px; line-height: 1.6; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.hero-buttons { display: flex; gap: 20px; }
.hero-btn-main { background: linear-gradient(90deg, #7C3AED, #9333EA); color: white; padding: 14px 28px; border-radius: 8px; font-weight: 600; border: none; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 1rem; transition: 0.3s; }
.hero-btn-main:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3); }
.hero-btn-sec { background: transparent; color: var(--text-main); border: 1px solid rgba(255,255,255,0.2); padding: 14px 28px; border-radius: 8px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 1rem; transition: 0.3s; backdrop-filter: blur(5px); }
.hero-btn-sec:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: 0.3s; cursor: pointer; }
.hero-dots .dot.active { background: var(--accent-blue); width: 12px; height: 12px; transform: scale(1.2); }

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 4%;
  background: rgba(11, 14, 20, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.logo-area { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo-area img { height: 45px; border-radius: 8px; }
.logo-area div { display: flex; flex-direction: column; line-height: 1.1; }
.logo-area span.brand { font-size: 1.5rem; font-weight: 700; color: white; }
.logo-area span.tagline { font-size: 0.65rem; color: var(--text-muted); font-weight: 500; letter-spacing: 1px; margin-top: 4px; }
.mobile-menu-trigger { display: none; }
.mobile-nav-icon-btn,
.mobile-search-panel { display: none; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: 0.3s; position: relative; display: inline-flex; align-items: center; gap: 8px; }
.nav-links a .nav-link-icon { font-size: 0.88rem; opacity: 0.9; }
.nav-links a:hover, .nav-links a.active { color: var(--text-main); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -20px; left: 0; width: 100%; height: 2px; background: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 15px; }
.btn { padding: 8px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; transition: 0.3s; border: none; font-size: 0.9rem; }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-main); }
.btn-outline:hover { background: var(--bg-hover); }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-hover); }


/* Main Grid Layout */
.main-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 0 2% 40px;
  max-width: 1800px;
  width: 96%;
  margin: 0 auto;
}

/* Sidebar Left */
.sidebar-left { background: var(--bg-card); border-radius: 16px; padding: 20px 15px; border: 1px solid var(--border-color); height: fit-content; position: sticky; top: 100px; }
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li { margin-bottom: 8px; }
.sidebar-menu a { display: flex; align-items: center; gap: 15px; padding: 12px 16px; border-radius: 10px; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: 0.3s; cursor: pointer; }
.sidebar-menu a:hover { background: var(--bg-hover); color: var(--text-main); }
.sidebar-menu a.active { background: rgba(124, 58, 237, 0.2); color: white; border-left: 4px solid var(--primary); }
.sidebar-menu a .icon {
  display: none !important;
}

/* Main Content Center */
.content-center { display: flex; flex-direction: column; gap: 50px; min-width: 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.section-header h2 { font-size: 1.3rem; margin: 0; font-weight: 600; color: var(--text-main); }
.section-header a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: 0.2s; display: flex; align-items: center; gap: 5px; }
.section-header a:hover { color: var(--primary); }

.subjects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.subject-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; transition: 0.3s; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; }
.subject-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.sc-top { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.sc-icon { 
  width: 55px !important; 
  height: 55px !important; 
  min-width: 55px !important;
  min-height: 55px !important;
  max-width: 55px !important;
  max-height: 55px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important; 
  display: flex !important; 
  align-items: center !important; 
  justify-content: center !important; 
  flex-shrink: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  font-size: 1.7rem; 
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(124, 58, 237, 0.2));
  border: 1px solid rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
  transition: 0.3s;
}
.subject-card:hover .sc-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(124, 58, 237, 0.4));
}
.sc-title { font-weight: 600; font-size: 1.1rem; margin: 0; }
.sc-subtitle { color: var(--text-muted); font-size: 0.85rem; margin-top: auto; margin-bottom: 15px; }
.sc-action { color: var(--primary); font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: 5px; transition: 0.2s; }
.subject-card:hover .sc-action { gap: 8px; }

/* Recent Classes */
.recent-classes { display: flex; flex-direction: column; gap: 15px; }
.class-row { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; transition: 0.3s; }
.class-row:hover { border-color: var(--primary); }
.cr-left { display: flex; align-items: center; gap: 15px; }
.cr-play { width: 45px; height: 45px; border-radius: 50%; background: rgba(124, 58, 237, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: 0.2s; }
.cr-play:hover { background: var(--primary); color: white; transform: scale(1.05); }
.cr-info h4 { margin: 0 0 5px 0; font-size: 1rem; font-weight: 500; }
.cr-info p { margin: 0; color: var(--text-muted); font-size: 0.85rem; }
.cr-action { background: var(--bg-hover); color: var(--text-main); border: none; padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 5px;}
.cr-action:hover { background: var(--primary); color: white; }

/* Mentors Scroll */
.mentors-scroll { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 15px; scrollbar-width: thin; }
.mentors-scroll::-webkit-scrollbar { height: 6px; }
.mentors-scroll::-webkit-scrollbar-track { background: var(--bg-dark); border-radius: 4px; }
.mentors-scroll::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

.mentor-card { width: 150px; min-width: 150px; max-width: 150px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; text-align: center; transition: 0.3s; flex-shrink: 0; }
.mentor-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.mentor-card img { width: 100%; height: 150px; object-fit: cover; object-position: top center; }
.mc-info { padding: 15px; }
.mc-info h4 { margin: 0 0 5px 0; font-size: 1rem; color: var(--text-main); }
.mc-info p { margin: 0; font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }


/* Right Sidebar */
.sidebar-right { display: none !important; }
.notice-board { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; }
.notice-board h3 { margin: 0 0 20px 0; font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.notice-board h3 a { font-size: 0.85rem; color: var(--text-muted); text-decoration: none; font-weight: 400; }
.notice-item { display: flex; gap: 15px; margin-bottom: 20px; }
.notice-item:last-child { margin-bottom: 0; }
.ni-icon { 
  width: 42px; 
  height: 42px; 
  min-width: 42px;
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex-shrink: 0; 
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.ni-content h5 { margin: 0 0 6px 0; font-size: 0.95rem; font-weight: 500; line-height: 1.4; }
.ni-content p { margin: 0; color: var(--text-muted); font-size: 0.8rem; }
.ni-purple { background: rgba(124, 58, 237, 0.1); color: var(--primary); }
.ni-blue { background: rgba(59, 130, 246, 0.1); color: var(--accent-blue); }
.ni-green { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }

/* Recommended Classes */
.recommended-classes { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; }

/* Video Player */
.video-player-container { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden; margin-bottom: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); display: none; }
.video-player-container iframe { width: 100%; height: 100%; border: none; }

/* Modals */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; backdrop-filter: blur(5px); align-items: center; justify-content: center; }
.modal-content { background: var(--bg-card); padding: 40px; border-radius: 20px; width: 350px; text-align: center; border: 1px solid var(--border-color); }
.modal-content input { width: 100%; padding: 12px; margin: 10px 0; background: var(--bg-dark); border: 1px solid var(--border-color); color: var(--text-main); border-radius: 8px; box-sizing: border-box; }

@media (max-width: 1400px) {
  .main-wrapper { grid-template-columns: 260px 1fr; }
}
@media (max-width: 1000px) {
  .contact-two-col { grid-template-columns: 1fr; gap: 20px; }
.contact-right-col { position: static; top: auto; }
.cform-box { padding: 30px 20px; }
.contact-section-inner { padding: 30px 20px; }
  .sidebar-left { display: none; }
  .hero-section { border-radius: 0; }
}
@media (max-width: 768px) {
  /* Navbar — app-style: logo + user row, icon pills row */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    gap: 12px;
  }
  .logo-area { display: flex; align-items: center; gap: 8px; }
  .logo-area img { width: 34px; height: 34px; border-radius: 9px; }
  .logo-area .brand { font-size: 1.15rem; font-weight: 800; }
  .logo-area .tagline { display: none; }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    width: auto;
    justify-content: flex-end;
  }
  .nav-actions .btn { padding: 8px 12px; font-size: 0.82rem; }
  .nav-notification { display: none; }

  .nav-links {
    grid-area: links;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    padding: 10px 0 4px;
    margin: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a {
    font-size: 0.78rem;
    padding: 10px 14px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text-muted);
  }
  .nav-links a .nav-link-icon { font-size: 0.85rem; opacity: 0.95; }
  .nav-links a:hover, .nav-links a.active {
    color: #fff;
    background: rgba(124, 58, 237, 0.45);
    border-color: rgba(167, 139, 250, 0.5);
  }
  .nav-links a.active::after { display: none; }

  /* Hero Section — card on mobile */
  .hero-section {
    padding: 0;
    margin: 0 16px 18px;
    border-radius: 22px;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    min-height: 340px;
    display: flex;
    align-items: center;
    position: relative;
  }
  .hero-bg-slider { height: 100%; position: absolute; top:0; left:0; width:100%; z-index:1; }
  .hero-slide { background-position: center; }
  .hero-bg-overlay {
    height: 100%;
    background: linear-gradient(to right, rgba(11, 14, 20, 0.85) 0%, rgba(11,14,20,0.4) 50%, transparent 100%);
  }
  .hero-content {
    padding: 24px 20px;
    text-align: left;
    width: 100%;
    z-index: 3;
    position: relative;
  }
  .hero-content h1 {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 10px;
    font-weight: 800;
  }
  .hero-content h1 span {
    color: #c084fc;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.4);
  }
  .hero-content p { font-size: 0.8rem; margin-bottom: 18px; max-width: 210px; line-height: 1.45; color: #cbd5e1; }
  .hero-buttons {
    justify-content: flex-start;
    gap: 10px;
  }
  .hero-buttons button {
    flex: none;
    min-width: 0;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 50px;
  }
  .hero-dots { top: auto; bottom: 15px; left: 50%; transform: translateX(-50%); }

  /* New mobile UI */
  .mobile-top-ui {
    display: block;
    padding: 5px 16px 5px;
  }
  .mobile-quick-cards {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    scrollbar-width: none;
  }
  .mobile-quick-cards::-webkit-scrollbar { display: none; }
  
  .mqc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 16px;
    padding: 12px 16px;
    min-width: 170px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    cursor: pointer;
  }
  body.light-theme .mqc-card { background: #ffffff; border-color: #f1f5f9; }
  
  .mqc-icon {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
  }
  .mqc-icon.text-purple { color: #8b5cf6; background: rgba(139, 92, 246, 0.15); }
  .mqc-icon.text-blue { color: #3b82f6; background: rgba(59, 130, 246, 0.15); }
  .mqc-icon.text-green { color: #10b981; background: rgba(16, 185, 129, 0.15); }
  
  .mqc-text { display: flex; flex-direction: column; line-height: 1.2; }
  .mqc-text strong { font-size: 13px; color: var(--text-main); margin-bottom: 3px; }
  body.light-theme .mqc-text strong { color: #1e293b; }
  .mqc-text span { font-size: 10px; color: var(--text-muted); }
  body.light-theme .mqc-text span { color: #64748b; }

  .mobile-search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 50px;
    padding: 4px 4px 4px 18px;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }
  body.light-theme .mobile-search-bar { background: #ffffff; border-color: #f1f5f9; }
  .mobile-search-bar input {
    flex: 1; border: none; background: transparent;
    color: var(--text-main); outline: none; font-size: 13px; font-family: inherit;
  }
  body.light-theme .mobile-search-bar input { color: #1e293b; }
  .mobile-search-bar button {
    width: 36px; height: 36px; border-radius: 50%;
    background: #7c3aed; color: white; border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; cursor: pointer;
  }

  .mobile-pills {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 10px;
    scrollbar-width: none;
  }
  .mobile-pills::-webkit-scrollbar { display: none; }
  .mpill {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 18px; background: var(--bg-card);
    color: var(--text-main); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 30px; font-size: 13px; font-weight: 600;
    white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    cursor: pointer;
  }
  body.light-theme .mpill { background: #ffffff; color: #1e293b; border-color: #f1f5f9; }
  .mpill.active, body.light-theme .mpill.active {
    background: #6d28d9; color: white; border-color: #6d28d9;
  }

  /* Main layout */
  .main-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .sidebar-left { display: none !important; }
  .content-center { gap: 26px; padding: 0; }

  /* Section headers */
  .section-header {
    padding: 0 16px;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
  }
  .section-header h2 { font-size: 1.2rem; }
  .section-header a { font-size: 0.84rem; }

  .level-filters {
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    flex-wrap: wrap;
  }
  .level-filters .btn-filter { padding: 8px 16px; font-size: 0.9rem; }

  /* Subjects list */
  .subjects-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 16px 0 16px;
  }
  .subject-card {
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 14px;
    border-radius: 18px;
    min-height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  .subject-card:hover { transform: none; }
  .sc-top { margin-bottom: 0; flex: 1; gap: 14px; display: flex; align-items: center; }
  .sc-icon { width: 54px; height: 54px; min-width: 54px; border-radius: 16px; font-size: 1.45rem; }
  .sc-title { font-size: 1rem; }
  .sc-subtitle { font-size: 0.78rem; margin-bottom: 0; color: var(--text-muted); }
  .sc-action { font-size: 1.3rem; color: var(--primary); }
  .sc-action span { display: none; }

  /* Recent classes */
  .recent-classes { padding: 0; gap: 14px; }
  .recent-classes > div:first-child { padding: 0 16px; }
  .class-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
    margin: 0 16px;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  }
  .cr-left { width: 100%; }
  .cr-info h4 { font-size: 1rem; }
  .cr-info p { font-size: 0.82rem; }
  .cr-action {
    width: 100%;
    justify-content: center;
    padding: 12px;
    border-radius: 14px;
  }

  /* Mentor cards */
  .mentors-scroll {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 0 16px 22px;
    scrollbar-width: none;
  }
  .mentors-scroll::-webkit-scrollbar { display: none; }
  .mentor-card { width: 140px; min-width: 140px; max-width: 140px; flex-shrink: 0; }
  .mentor-card img { height: 140px; object-fit: cover; }
  .mc-info { padding: 14px; }
  .mc-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
  .mc-info p { font-size: 0.78rem; line-height: 1.3; }

  /* Video player full width */
  .video-player-container { margin: 0 16px; border-radius: 18px; }

  /* Course cards */
  .course-card { margin: 0 16px 16px; border-radius: 20px; overflow: hidden; }
  .course-card .course-info { padding: 18px; }
  .course-card h3 { font-size: 1rem; }
  .course-meta { gap: 10px; flex-wrap: wrap; }
}

/* Chapters Display */
.chapters-container { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 25px; display: none; margin-bottom: 30px; }
body.light-theme .chapters-container { background: #ffffff; border-color: #f1f5f9; box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.chapters-container h3 { margin-top: 0; margin-bottom: 25px; font-size: 1.5rem; font-weight: 700; border-bottom: 2px solid rgba(124, 58, 237, 0.1); padding-bottom: 15px; }
.chapter-list { display: flex; flex-direction: column; gap: 16px; padding-left: 5px; }

/* Timeline and Dot system */
.topic-row-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 36px; /* space for the dot on the left */
  cursor: pointer;
  transition: all 0.3s ease;
  padding-bottom: 6px;
  padding-top: 6px;
}

.topic-indicator-dot {
  position: absolute;
  left: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--dot-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--dot-color);
  z-index: 10;
}

/* Vertical track connector line */
.topic-row-wrapper::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  bottom: -28px; /* connects to next dot */
  width: 2px;
  background: rgba(124, 58, 237, 0.15);
  z-index: 1;
}
.topic-row-wrapper:last-child::before {
  display: none; /* no line after last item */
}

body.light-theme .topic-row-wrapper::before {
  background: rgba(0, 0, 0, 0.04);
}

/* Animations for Active/Hover state of the dot */
@keyframes sparkle-pulse {
  0% { transform: scale(1); box-shadow: 0 0 8px var(--dot-color); }
  50% { transform: scale(1.4); box-shadow: 0 0 18px var(--dot-color); }
  100% { transform: scale(1); box-shadow: 0 0 8px var(--dot-color); }
}

@keyframes particle-burst {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0;
    box-shadow: 
      -12px -12px 0 0px var(--dot-color), 
      12px -12px 0 0px var(--dot-color), 
      -12px 12px 0 0px var(--dot-color), 
      12px 12px 0 0px var(--dot-color),
      -18px 0px 0 -1px var(--dot-color),
      18px 0px 0 -1px var(--dot-color),
      0px -18px 0 -1px var(--dot-color),
      0px 18px 0 -1px var(--dot-color);
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
    box-shadow: 
      -25px -25px 0 -2px var(--dot-color), 
      25px -25px 0 -2px var(--dot-color), 
      -25px 25px 0 -2px var(--dot-color), 
      25px 25px 0 -2px var(--dot-color),
      -32px 0px 0 -3px var(--dot-color),
      32px 0px 0 -3px var(--dot-color),
      0px -32px 0 -3px var(--dot-color),
      0px 32px 0 -3px var(--dot-color);
  }
}

.topic-row-wrapper:hover .topic-indicator-dot,
.topic-row-wrapper.active-topic .topic-indicator-dot {
  animation: sparkle-pulse 1.5s infinite ease-in-out;
}

/* Particle burst effect surrounding active dot */
.topic-row-wrapper:hover .topic-indicator-dot::after,
.topic-row-wrapper.active-topic .topic-indicator-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  animation: particle-burst 2.4s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Topic Card */
.topic-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 16px 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

body.light-theme .topic-card {
  background: #ffffff;
  border-color: rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

/* Hover and Active Card Styles */
.topic-row-wrapper:hover .topic-card,
.topic-row-wrapper.active-topic .topic-card {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(124, 58, 237, 0.06);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.12);
}

body.light-theme .topic-row-wrapper:hover .topic-card,
body.light-theme .topic-row-wrapper.active-topic .topic-card {
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(250, 245, 255, 0.95);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.08);
}

/* Topic Inner elements */
.topic-icon-container {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: var(--icon-bg-dark);
  color: var(--icon-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

body.light-theme .topic-icon-container {
  background: var(--icon-bg-light);
}

.topic-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

body.light-theme .topic-divider {
  background: rgba(0, 0, 0, 0.08);
}

.topic-text-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f1f5f9;
  transition: all 0.3s ease;
}

body.light-theme .topic-text-title {
  color: #1e293b;
}

.topic-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

body.light-theme .topic-arrow-circle {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.topic-row-wrapper:hover .topic-arrow-circle,
.topic-row-wrapper.active-topic .topic-arrow-circle {
  background: linear-gradient(135deg, #7C3AED, #3B82F6);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  transform: translateX(3px);
}

.chapter-title { font-weight: 500; }
.chapter-actions { display: flex; gap: 10px; }
.pill-btn { background: var(--bg-hover); border: 1px solid transparent; color: var(--text-main); padding: 8px 16px; border-radius: 20px; cursor: pointer; font-size: 0.85rem; transition: 0.2s; display: flex; align-items: center; gap: 5px; }
.pill-btn:hover { background: var(--primary); color: white; }

/* 3-Dot Kebab Menu */
.kebab-wrapper { position: relative; display: inline-block; margin-left: 10px; }
.kebab-btn {
  background: var(--bg-card); border: 1px solid var(--border-color); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2px; width: 40px; height: 40px; min-width: 40px; border-radius: 50%; padding: 0;
  transition: 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.kebab-btn:hover { background: var(--bg-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); border-color: var(--primary); }
.kebab-btn span {
  display: block; width: 5.5px; height: 5.5px; margin: 0;
  background: var(--text-main); border-radius: 50%;
  transition: 0.3s; flex-shrink: 0;
}
.kebab-btn:hover span { background: var(--primary); }
.kebab-dropdown {
  display: none;
  position: absolute; right: 0; top: calc(100% + 10px);
  background: var(--bg-card);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  min-width: 200px;
  overflow: hidden;
  z-index: 3000;
  border: 1px solid var(--border-color);
}
.kebab-dropdown.open { display: block; }
.dropdown-header {
  padding: 16px 20px 10px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.78rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
}
.dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 0.92rem; color: var(--text-main);
  transition: background 0.15s;
  text-decoration: none;
}
.dropdown-item:hover { background: var(--bg-hover); color: var(--primary); }
.dropdown-item .di-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; background: var(--bg-hover);
}
.dropdown-divider { height: 1px; background: var(--border-color); margin: 4px 0; }
.dropdown-item.logout { color: #ef4444; }
.dropdown-item.logout:hover { background: rgba(239, 68, 68, 0.1); color: #ef4444; }

/* Level Filters */
.level-filters {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.level-filters .btn-filter {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 24px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.level-filters .btn-filter.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.level-filters .btn-filter:hover:not(.active) {
  background: var(--bg-hover);
  color: var(--text-main);
}

/* Light Theme Overrides */
body.light-theme {
  --bg-dark: #f0f2f5;
  --bg-card: #ffffff;
  --bg-hover: #eef2f6;
  --border-color: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
}
body.light-theme .navbar {
  background: rgba(255, 255, 255, 0.8);
}
body.light-theme .logo-area span.brand {
  color: var(--text-main);
}
/* We now use actual daytime images, so no filter is needed */
body.light-theme .hero-btn-sec {
  border-color: var(--primary);
  color: var(--primary);
}
body.light-theme .hero-btn-sec:hover {
  background: var(--primary);
  color: white;
}
body.light-theme .kebab-btn span {
  background-color: var(--text-main);
}
body.light-theme .kebab-dropdown {
  background: var(--bg-card);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
body.light-theme .kebab-item:hover {
  background: var(--bg-hover);
}
body.light-theme .subject-card, 
body.light-theme .course-card, 
body.light-theme .class-row,
body.light-theme .notice-board,
body.light-theme .stat-card,
body.light-theme .enrolled-course-mini,
body.light-theme .badge-item,
body.light-theme .sajaw-header,
body.light-theme .sajaw-page {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
body.light-theme .sidebar-left,
body.light-theme .sidebar-right {
  background: #ffffff;
  border-color: #e2e8f0;
}
body.light-theme .sc-icon,
body.light-theme .cr-play,
body.light-theme .mqi-icon {
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}
body.light-theme .progress-bar-container {
  background: #e2e8f0;
}
body.light-theme .hero-section {
  background-color: #ffffff;
  border-color: #e2e8f0;
}
@media (min-width: 769px) {
  body.light-theme .hero-content p {
    color: #4b5563;
    text-shadow: none;
  }
  body.light-theme .hero-content h1 {
    text-shadow: none;
  }
}

/* Settings Modal Specifics */
.settings-content {
  max-width: 520px;
  width: 95vw;
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(124,58,237,0.2);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(59,130,246,0.06));
}
.settings-header h2 { margin: 0; font-size: 1.3rem; font-weight: 700; }
.close-btn {
  font-size: 1.6rem; cursor: pointer; color: var(--text-muted);
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: 0.3s; background: transparent;
}
.close-btn:hover { color: #fff; background: rgba(239,68,68,0.8); transform: rotate(90deg); }

.settings-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
  padding: 0 28px;
  gap: 4px;
}
.settings-tabs .tab {
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  border-radius: 8px 8px 0 0;
}
.settings-tabs .tab:hover { color: var(--text-main); background: var(--bg-hover); }
.settings-tabs .tab.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  background: rgba(124,58,237,0.06);
}

.settings-body {
  padding: 28px;
  background: var(--bg-card);
  max-height: 65vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.3s ease-in-out; }

.form-group { margin-bottom: 18px; text-align: left; }
.form-group label {
  display: block; margin-bottom: 8px; font-size: 0.85rem;
  font-weight: 600; color: var(--text-muted); letter-spacing: 0.3px;
}
.form-group input {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border-color);
  background: var(--bg-dark); color: var(--text-main);
  border-radius: 12px; font-family: 'Inter', sans-serif; font-size: 0.95rem;
  box-sizing: border-box; transition: 0.3s;
}
.form-group input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
  background: rgba(124,58,237,0.04);
}
body.light-theme .form-group input { background: #f8fafc; color: #1e293b; }
body.light-theme .form-group input:focus { background: #fff; }

.radio-label { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 14px 16px; border: 1px solid var(--border-color); border-radius: 12px; transition: 0.3s; font-weight: 500; }
.radio-label:hover { border-color: var(--primary); background: rgba(124,58,237,0.06); transform: translateX(4px); }
.radio-label input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; }

/* Courses Grid */
.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin-bottom: 40px; }
.course-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; transition: 0.3s; position: relative; display: flex; flex-direction: column; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.3); border-color: var(--primary); }
.course-thumb { height: 160px; width: 100%; position: relative; }
.course-badge { position: absolute; top: 15px; left: 15px; background: #EF4444; color: white; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; z-index: 2; letter-spacing: 1px; }
.course-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.course-info h3 { margin: 0 0 10px 0; font-size: 1.1rem; line-height: 1.4; font-weight: 600; }
.course-info p { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 15px 0; line-height: 1.5; }
.course-meta { display: flex; justify-content: space-between; margin-top: auto; padding-top: 15px; border-top: 1px solid var(--border-color); font-size: 0.8rem; color: var(--text-muted); }
.course-meta span { display: flex; align-items: center; gap: 5px; }

/* Course Mentors */
.course-mentors { display: flex; align-items: center; }
.mentor-avatar { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--bg-card); margin-left: -10px; object-fit: cover; position: relative; z-index: 1; }
.mentor-avatar:first-child { margin-left: 0; z-index: 2; }
.mentor-count { background: var(--bg-hover); color: var(--text-main); font-size: 0.7rem; font-weight: 700; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg-card); margin-left: -10px; z-index: 0; position: relative; }


/* Premium Profile Page */
.profile-container { margin-bottom: 40px; animation: fadeIn 0.4s ease; }
.profile-header-premium {
  display: flex; align-items: center; gap: 25px; padding: 30px; border-radius: 20px; margin-bottom: 30px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(124, 58, 237, 0.2);
  position: relative; overflow: hidden;
  backdrop-filter: blur(10px);
}
.profile-header-premium::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.php-avatar {
  width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent-blue));
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: white;
  z-index: 1; box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3); border: 3px solid var(--bg-card);
}
.php-info { flex: 1; z-index: 1; }
.php-info h2 { margin: 0 0 5px 0; font-size: 1.8rem; font-weight: 700; }
.php-info p { margin: 0 0 10px 0; color: var(--text-muted); }
.php-level { display: inline-block; background: rgba(16, 185, 129, 0.15); color: var(--accent-green); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }

.php-progress-circle { width: 100px; height: 100px; z-index: 1; }
.circular-chart { display: block; margin: 0 auto; max-width: 100%; max-height: 250px; }
.circle-bg { fill: none; stroke: var(--bg-card); stroke-width: 2.5; }
.circle { fill: none; stroke-width: 2.5; stroke-linecap: round; animation: progress 1s ease-out forwards; }
.circular-chart.purple .circle { stroke: var(--primary); }
.percentage { fill: var(--text-main); font-family: 'Inter', sans-serif; font-size: 0.5rem; font-weight: 700; text-anchor: middle; }
@keyframes progress { 0% { stroke-dasharray: 0 100; } }

.profile-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 20px; margin-bottom: 30px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; text-align: center; transition: 0.3s; }
.stat-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.stat-value { font-size: 1.8rem; font-weight: 700; background: linear-gradient(90deg, var(--primary), var(--accent-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }

.profile-layout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* Enrolled Courses & Progress */
.enrolled-course-mini { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 15px; transition: 0.3s; }
.enrolled-course-mini:hover { border-color: var(--primary); }
.ec-icon { 
  width: 50px; 
  height: 50px; 
  min-width: 50px;
  border-radius: 50%; 
  background: rgba(59, 130, 246, 0.1); 
  font-size: 1.5rem; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}
.ec-info { flex: 1; }
.ec-info h4 { margin: 0 0 10px 0; font-size: 0.95rem; }
.ec-info p { margin: 0; font-size: 0.75rem; color: var(--text-muted); }
.progress-bar-container { width: 100%; height: 6px; background: var(--bg-dark); border-radius: 3px; margin-bottom: 5px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent-blue)); border-radius: 3px; }

/* Badges */
.badges-container { display: flex; gap: 15px; flex-wrap: wrap; }
.badge-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 15px; display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 1; min-width: 90px; transition: 0.3s; }
.badge-item:hover { border-color: var(--primary); transform: translateY(-3px); }
.badge-icon { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.badge-icon.gold { background: linear-gradient(135deg, #FCD34D, #F59E0B); }
.badge-icon.silver { background: linear-gradient(135deg, #E5E7EB, #9CA3AF); }
.badge-icon.bronze { background: linear-gradient(135deg, #FDBA74, #EA580C); }
.badge-item span { font-size: 0.75rem; font-weight: 600; text-align: center; }

/* Timeline */
.premium-timeline { position: relative; padding-left: 20px; }
.premium-timeline::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--border-color); }
.premium-timeline .activity-item { position: relative; border: none; padding: 0 0 25px 25px; background: transparent; align-items: flex-start; gap: 15px; }
.premium-timeline .activity-item:hover { border-color: transparent; }
.premium-timeline .ai-icon { position: absolute; left: -19px; top: 0; width: 36px; height: 36px; border: 4px solid var(--bg-dark); }
.premium-timeline .ai-content { background: var(--bg-card); padding: 15px 20px; border-radius: 12px; border: 1px solid var(--border-color); width: 100%; transition: 0.3s; }
.premium-timeline .activity-item:hover .ai-content { border-color: var(--primary); transform: translateX(5px); }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }

@media (max-width: 900px) {
  .profile-layout-grid { grid-template-columns: 1fr; }
  .profile-header-premium { flex-direction: column; text-align: center; }
  .php-progress-circle { margin-top: 15px; }
  .courses-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
/* Sajaw Section (Premium Notes) */
.sajaw-container { display: none; animation: fadeIn 0.4s ease; }
.sajaw-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; background: var(--bg-card); padding: 20px; border-radius: 16px; border: 1px solid var(--border-color); }
.sajaw-header h2 { margin: 0; font-size: 1.5rem; color: var(--primary); }

.sajaw-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-bottom: 50px; }
.sajaw-page { 
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; 
  transition: 0.3s; position: relative; cursor: pointer; aspect-ratio: 1 / 1.414; /* A4 Ratio */
  display: flex; flex-direction: column;
}
.sajaw-page:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: 0 15px 30px rgba(0,0,0,0.3); }
.sajaw-page img { width: 100%; height: 100%; object-fit: cover; }
.sajaw-page-label { 
  position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.7); 
  color: white; padding: 10px; font-size: 0.85rem; text-align: center; backdrop-filter: blur(5px);
}

.sajaw-cover-special { grid-column: 1 / -1; max-width: 800px; margin: 0 auto 30px auto; aspect-ratio: 1.6 / 1; }
.sajaw-cover-special img { object-fit: cover; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.4); border: 1px solid var(--primary); }

/* Print Styles for PDF Generation */
@media print {
  body * { visibility: hidden; }
  .sajaw-gallery, .sajaw-gallery * { visibility: visible; }
  .sajaw-gallery { display: block; position: absolute; left: 0; top: 0; width: 100%; }
  .sajaw-page { page-break-after: always; width: 100%; height: auto; border: none; box-shadow: none; margin: 0; }
  .sajaw-header, .navbar, .sidebar-left, .sidebar-right, .hero-section { display: none !important; }
}

@media (max-width: 768px) {
  .sajaw-gallery { grid-template-columns: 1fr; }
  .sajaw-header { flex-direction: column; gap: 15px; text-align: center; }
}

/* ===================== Neon Glass Contact Section ===================== */
.contact-badges-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: flex-end;
}

.badge-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  border-radius: 14px;
}

.neon-purple { border-color: rgba(168, 85, 247, 0.4); box-shadow: 0 0 15px rgba(168, 85, 247, 0.1); }
.neon-blue { border-color: rgba(59, 130, 246, 0.4); box-shadow: 0 0 15px rgba(59, 130, 246, 0.1); }
.neon-orange { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 0 15px rgba(245, 158, 11, 0.1); }

.bc-icon { font-size: 1.2rem; }
.bc-info { display: flex; flex-direction: column; }
.bc-title { font-size: 0.85rem; font-weight: 700; color: #fff; }
.bc-sub { font-size: 0.7rem; color: rgba(255,255,255,0.5); text-transform: uppercase; }

.glass-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 30px;
}

.contact-glass-left, .contact-glass-right {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 35px;
}

.glass-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.2); }
.glass-desc { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-bottom: 30px; }

/* Info Cards */
.glass-info-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 18px 22px;
  border-radius: 18px;
  margin-bottom: 15px;
  transition: 0.3s;
}

.glass-info-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
}

.gic-main { display: flex; align-items: center; gap: 18px; }
.gic-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.1);
}

.gic-purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.2); }
.gic-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.gic-green { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.gic-orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }

.gic-content { display: flex; flex-direction: column; }
.gic-label { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 2px; }
.gic-value { color: rgba(255,255,255,0.9); font-weight: 500; font-size: 1rem; text-decoration: none; }
.gic-sub { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin-top: 4px; }

.gic-badge, .gic-badge-icon {
  text-align: center; font-weight: 700; color: #fff; font-size: 1rem; line-height: 1.2;
}
.gic-badge small, .gic-badge-icon small { font-size: 0.6rem; color: rgba(255,255,255,0.4); text-transform: uppercase; }

.gic-status {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gic-status .dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; box-shadow: 0 0 10px #10b981; }

/* Socials */
.glass-social-box { margin-top: 30px; }
.glass-social-box h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.glass-social-box p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-bottom: 20px; }

.gs-links { display: flex; gap: 15px; }
.gs-btn {
  width: 45px; height: 45px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}

.gs-fb { border-color: #1877F2; box-shadow: 0 0 10px rgba(24, 119, 242, 0.2); }
.gs-yt { border-color: #FF0000; box-shadow: 0 0 10px rgba(255, 0, 0, 0.2); }
.gs-li { border-color: #0A66C2; box-shadow: 0 0 10px rgba(10, 102, 194, 0.2); }
.gs-gh { border-color: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }

.gs-btn:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }

/* Right Form */
.contact-glass-right {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.1);
}

.cgr-header { display: flex; align-items: center; gap: 20px; margin-bottom: 35px; }
.cgr-icon {
  width: 50px; height: 50px; background: #3b82f6; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}
.cgr-header h3 { font-size: 1.5rem; color: #fff; margin: 0; }
.cgr-header p { color: rgba(255,255,255,0.5); margin: 5px 0 0; font-size: 0.9rem; }

.cf-glass-group { margin-bottom: 22px; }
.cf-glass-group label { display: block; color: rgba(255,255,255,0.7); font-size: 0.9rem; font-weight: 600; margin-bottom: 10px; }

.input-wrap { position: relative; }
.iw-icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  font-size: 1.1rem; opacity: 0.6;
}

.cf-glass-group input, .cf-glass-group textarea {
  width: 100%; padding: 14px 14px 14px 45px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: 0.3s;
  box-sizing: border-box;
}

.cf-glass-group input:focus, .cf-glass-group textarea:focus {
  outline: none; border-color: #3b82f6; background: rgba(0,0,0,0.4);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.neon-submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(90deg, #a855f7, #3b82f6);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.neon-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.5);
  filter: brightness(1.1);
}

.cf-footer-note {
  text-align: center; margin-top: 20px; color: rgba(16, 185, 129, 0.8);
  font-size: 0.85rem; font-weight: 600;
}
.check-icon { margin-right: 5px; font-size: 1rem; }

.cf-glass-success {
  text-align: center; padding: 40px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  color: #10b981;
  font-weight: 700;
}

/* Stats Footer */
.contact-stats-footer {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 20px;
  margin-top: 40px;
}

.csf-item { display: flex; align-items: center; gap: 15px; padding: 0 15px; border-right: 1px solid rgba(255,255,255,0.05); flex: 1; }
.csf-item:last-child { border-right: none; }
.csf-icon { font-size: 1.5rem; filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); }
.csf-item strong { display: block; color: #fff; font-size: 0.85rem; margin-bottom: 2px; }
.csf-item small { color: rgba(255,255,255,0.4); font-size: 0.7rem; display: block; line-height: 1.2; }

@media (max-width: 1100px) {
  .glass-main-grid { grid-template-columns: 1fr; }
  .contact-stats-footer { flex-wrap: wrap; gap: 20px; }
  .csf-item { border-right: none; flex: 0 0 45%; }
}
@media (max-width: 768px) {
  .contact-badges-row { flex-direction: column; align-items: flex-start; }
  .csf-item { flex: 0 0 100%; }

  /* Mobile adjustments for Contact Section */
  .contact-two-col { grid-template-columns: 1fr; }
  .contact-right-col { position: static; top: auto; }
  .cform-box { padding: 30px 20px; }
  .contact-section-inner { padding: 30px 20px; }
}
/* Social Links Grid in Neon Design */
.gs-links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.gs-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.gs-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #3b82f6;
  transform: translateX(5px);
}

.gs-card-multi {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 18px;
}

.gs-card-top { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; }

.gs-card-bottom {
  display: flex;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gs-card-icon {
  width: 35px; height: 35px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

.gs-card-name { color: #fff; font-weight: 700; font-size: 0.95rem; }

.gs-mini-icon {
  flex: 1; text-align: center; padding: 6px; border-radius: 8px;
  text-decoration: none; font-weight: 800; font-size: 0.85rem; transition: 0.3s;
}

.gs-mini-icon.fb { background: rgba(24, 119, 242, 0.1); color: #1877F2; border: 1px solid rgba(24, 119, 242, 0.2); }
.gs-mini-icon.li { background: rgba(10, 102, 194, 0.1); color: #0A66C2; border: 1px solid rgba(10, 102, 194, 0.2); }
.gs-mini-icon.gh { background: rgba(255, 255, 255, 0.05); color: #fff; border: 1px solid rgba(255, 255, 255, 0.1); }

.gs-mini-icon:hover { transform: translateY(-2px); filter: brightness(1.2); }

/* ========== Mobile app shell (showcase + bottom tabs) ========== */
.mobile-home-showcase {
  display: none;
}
.nav-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  max-width: 140px;
}
.nav-user-chip img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}
.nav-user-chip .nav-user-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  /* Contact Section Mobile Fixes */
  .contact-section-inner { padding: 30px 15px; width: 100%; box-sizing: border-box; }
  .contact-two-col { grid-template-columns: 1fr !important; width: 100% !important; gap: 25px; }
  .contact-left-col, .contact-right-col { width: 100% !important; min-width: 0; }
  .contact-right-col { position: static !important; top: auto; }
  .cform-box { padding: 25px 15px; width: 100%; box-sizing: border-box; }
  .contact-top-row { flex-direction: column; align-items: stretch; }
  .contact-top-badges { justify-content: center; }
  .cinfo-card { padding: 15px; width: 100%; box-sizing: border-box; }
  .cadmin-card { width: 100%; box-sizing: border-box; }

  .mobile-home-showcase {
    display: block;
    padding: 0 16px 8px;
    margin-bottom: 8px;
  }
  .mhome-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 10px;
  }
  .mhome-why-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mhome-why-title i { color: #c4b5fd; }
  .mhome-see-all {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
  }
  .mhome-see-all:hover { color: var(--primary); }

  .mhome-feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }
  .mhome-feature-card {
    border-radius: 16px;
    padding: 14px 10px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: 108px;
    justify-content: flex-start;
  }
  .mhome-feature-card i {
    font-size: 1.35rem;
    margin-bottom: 2px;
  }
  .mhome-feature-card strong {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
  }
  .mhome-feature-card span {
    font-size: 0.62rem;
    color: var(--text-muted);
    line-height: 1.2;
  }
  .mfc-purple { border-color: rgba(167, 139, 250, 0.35); }
  .mfc-purple i { color: #a78bfa; }
  .mfc-green { border-color: rgba(52, 211, 153, 0.35); }
  .mfc-green i { color: #34d399; }
  .mfc-gold { border-color: rgba(251, 191, 36, 0.35); }
  .mfc-gold i { color: #fbbf24; }

  .mhome-quick-heading {
    margin: 0 0 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .mhome-quick-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }
  .mhome-quick-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  .mhome-quick-item:active { transform: scale(0.99); }
  .mqi-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    color: #fff;
  }
  .mqi-mail { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
  .mqi-web { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
  .mqi-wa { background: linear-gradient(135deg, #22c55e, #16a34a); }
  .mqi-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .mqi-title { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); }
  .mqi-line { font-size: 0.88rem; font-weight: 600; color: var(--text-main); word-break: break-all; }
  .mqi-sub { font-size: 0.72rem; color: var(--text-muted); line-height: 1.35; }
  .mqi-chevron { color: var(--text-muted); font-size: 0.75rem; flex-shrink: 0; opacity: 0.7; }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2500;
    justify-content: space-around;
    align-items: stretch;
    padding: 8px 8px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 14, 20, 0.92);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 -8px 32px rgba(0,0,0,0.35);
  }
  .mobile-bottom-nav.mobile-bottom-nav--hidden {
    display: none !important;
  }
  .mbn-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    min-width: 0;
  }
  .mbn-item i { font-size: 1.2rem; }
  .mbn-item.active {
    color: #c4b5fd;
    background: rgba(124, 58, 237, 0.2);
  }
  .mbn-item.active i { color: #a78bfa; }

  body.mobile-tab-pad {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

body.light-theme .mhome-feature-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
body.light-theme .mhome-quick-item {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
body.light-theme .mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.96);
  border-top-color: #e2e8f0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
}
body.light-theme .mbn-item.active {
  color: var(--primary);
  background: rgba(124, 58, 237, 0.1);
}
body.light-theme .mbn-item.active i { color: var(--primary); }
body.light-theme .navbar .nav-links a {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #64748b;
}
body.light-theme .navbar .nav-links a.active,
body.light-theme .navbar .nav-links a:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.mobile-top-ui { display: none; }

@media (max-width: 768px) {
  body {
    background: 
      radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.18), transparent 45%),
      radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15), transparent 45%),
      #0B0E14 !important;
    background-attachment: fixed !important;
  }

  body.light-theme {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-hover: #f1f5f9;
    --border-color: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
    background: 
      radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.08), transparent 40%),
      radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05), transparent 40%),
      #f8fafc !important;
    background-attachment: fixed !important;
  }

  .navbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "logo actions"
      "links links";
    gap: 8px 10px;
    padding: 14px 16px 10px;
    background: rgba(11, 14, 20, 0.96);
    border-bottom: 0;
    box-shadow: none;
  }

  .mobile-menu-trigger {
    display: none !important;
  }

  .logo-area {
    grid-area: logo;
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
  }

  .logo-area img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
  }

  .logo-area span.brand {
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--text-main);
  }

  .nav-links {
    display: flex !important;
    grid-area: links;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    padding: 2px 0 4px;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar { display: none; }

  .nav-links a {
    font-size: 0.76rem;
    padding: 9px 13px;
    flex-shrink: 0;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #64748b;
    font-weight: 600;
  }

  .nav-links a .nav-link-icon { font-size: 0.82rem; }

  .nav-links a:hover,
  .nav-links a.active {
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.22);
  }

  .nav-links a.active::after { display: none; }

  .nav-actions {
    grid-area: actions;
    justify-self: end;
    gap: 8px;
  }

  .nav-actions .btn {
    display: inline-block !important;
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 12px;
  }

  .nav-actions .kebab-wrapper {
    display: inline-block !important;
    margin-left: 0;
  }

  .kebab-btn {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    padding: 4px;
    box-shadow: none;
  }

  .kebab-btn span {
    background: var(--text-main);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    margin: 2px auto;
  }

  .kebab-dropdown {
    right: 0;
    top: calc(100% + 8px);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  }

  .kebab-dropdown a {
    color: var(--text-main);
  }
  .kebab-dropdown a:hover {
    background: var(--bg-hover);
  }

  .mobile-nav-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--text-main);
    box-shadow: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .mobile-notice-dot {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7c3aed;
    border: 2px solid #fff;
  }

  .mobile-search-panel {
    display: none;
    padding: 0 16px 10px;
    background: var(--bg-dark);
  }

  .mobile-search-panel.open {
    display: block;
  }

  .mobile-search-panel-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 4px 5px 4px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: var(--bg-card);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  }

  .mobile-search-panel-inner input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-main);
    font: inherit;
    font-size: 0.88rem;
  }

  .mobile-search-panel-inner button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #7c3aed;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .mobile-top-ui {
    display: none !important;
  }

  .mobile-quick-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    padding: 0;
    margin: 0 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: var(--bg-card);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  }

  .mqc-card {
    min-width: 0;
    gap: 8px;
    padding: 13px 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .mqc-card + .mqc-card {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mqc-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 0.92rem;
    flex-shrink: 0;
  }

  .mqc-text strong {
    font-size: 0.78rem;
    line-height: 1.2;
    color: var(--text-main);
  }

  .mqc-text span {
    font-size: 0.6rem;
    line-height: 1.25;
    color: var(--text-muted);
  }

  .mobile-search-bar {
    box-sizing: border-box;
    min-height: 58px;
    padding: 6px 6px 6px 22px;
    margin-bottom: 15px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-card);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  }

  .mobile-search-bar input {
    font-size: 0.94rem;
    color: var(--text-main);
  }

  .mobile-search-bar input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
  }

  .mobile-search-bar button {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    box-shadow: 0 10px 24px rgba(109, 40, 217, 0.28);
  }

  .mobile-pills {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    padding: 0;
    margin-bottom: 14px;
  }

  .mpill {
    justify-content: center;
    min-width: 0;
    padding: 12px 8px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    font-size: 0.78rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  .mpill i {
    font-size: 1.05rem;
  }

  .mpill.active,
  body.light-theme .mpill.active {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 26px rgba(109, 40, 217, 0.28);
  }

  .hero-section {
    height: clamp(260px, 64vw, 320px);
    min-height: 0;
    margin: 8px 16px 18px;
    border-radius: 22px;
    border: 0;
    background: #0b1020;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
  }

  .hero-bg-slider,
  .hero-bg-overlay {
    height: 100%;
  }

  .hero-slide {
    background-size: cover;
    background-position: center center;
    filter: saturate(1.15) contrast(1.2) brightness(0.82);
  }

  .hero-bg-overlay {
    background:
      linear-gradient(90deg,
        rgba(6, 10, 26, 0.95) 0%,
        rgba(11, 14, 20, 0.78) 32%,
        rgba(11, 14, 20, 0.38) 65%,
        rgba(0, 0, 0, 0) 100%);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    box-sizing: border-box;
    padding: 20px 16px 36px;
    margin-left: 0;
    max-width: 60%;
  }

  .hero-content h1 {
    font-size: 1.12rem;
    line-height: 1.22;
    margin: 0 0 6px;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }

  .hero-content h1 span {
    color: #c084fc;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.4);
  }

  .hero-content p {
    max-width: 170px;
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.68rem;
    line-height: 1.38;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.42);
  }

  .hero-buttons button {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.65rem;
    box-shadow: 0 12px 26px rgba(109, 40, 217, 0.34);
  }

  .hero-dots {
    bottom: 14px;
  }

  .hero-dots .dot {
    width: 8px;
    height: 8px;
    background: rgba(15, 23, 42, 0.38);
  }

  .hero-dots .dot.active {
    width: 8px;
    height: 8px;
    background: #7c3aed;
  }

  .mobile-home-showcase {
    padding: 8px 16px 0;
  }

  .mobile-home-showcase .mhome-section-header {
    display: none;
  }

  .mhome-feature-row {
    gap: 10px;
    margin-bottom: 24px;
  }

  .mhome-feature-card {
    align-items: flex-start;
    min-height: 116px;
    padding: 16px 12px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  }

  .mhome-feature-card i {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 8px;
    background: rgba(124, 58, 237, 0.09);
  }

  .mfc-green i { background: rgba(16, 185, 129, 0.11); }
  .mfc-gold i { background: rgba(245, 158, 11, 0.11); }

  .mhome-feature-card strong {
    font-size: 0.82rem;
    color: var(--text-main);
  }

  .mhome-feature-card span {
    font-size: 0.72rem;
    color: var(--text-muted);
  }

  #mainDashboard .level-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 4px 16px 14px;
    margin: 0 0 6px;
  }

  #mainDashboard .level-filters .btn-filter {
    min-width: 108px;
    padding: 10px 22px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-card);
    color: var(--text-muted);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  }

  #mainDashboard .level-filters .btn-filter.active {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 24px rgba(109, 40, 217, 0.28);
  }

  #mainDashboard .section-header {
    padding: 0 16px;
    margin-bottom: 14px;
  }

  #mainDashboard .section-header h2 {
    font-size: 1.16rem;
    font-weight: 800;
    color: var(--text-main);
  }

  #mainDashboard .section-header a {
    color: var(--text-muted);
  }

  .subjects-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 16px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .subjects-grid::-webkit-scrollbar {
    display: none;
  }

  .subject-card {
    flex: 0 0 138px;
    min-height: 142px;
    scroll-snap-align: start;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 16px 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(11, 14, 20, 0.7));
    border: 1px solid rgba(139, 92, 246, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .subject-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(11, 14, 20, 0.7));
    border-color: rgba(59, 130, 246, 0.25);
  }
  .subject-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(11, 14, 20, 0.7));
    border-color: rgba(16, 185, 129, 0.25);
  }
  .subject-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(11, 14, 20, 0.7));
    border-color: rgba(245, 158, 11, 0.25);
  }
  .subject-card:nth-child(5) {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(11, 14, 20, 0.7));
    border-color: rgba(236, 72, 153, 0.25);
  }

  .sc-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
  }

  .sc-icon {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    border-radius: 14px !important;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 1.8rem;
  }

  .sc-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-main);
  }

  .sc-subtitle {
    font-size: 0.76rem;
    color: var(--text-muted);
  }

  .sc-action {
    display: none;
  }

  .mobile-bottom-nav {
    left: 16px;
    right: 16px;
    bottom: 10px;
    border-radius: 24px;
    background: rgba(11, 14, 20, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(16px);
  }

  /* Compact Navbar & Profile elements on Mobile */
  .nav-links {
    display: flex !important;
  }
  .nav-user-chip {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }
  .nav-user-chip .nav-user-name {
    display: none !important;
  }
  .nav-user-chip img {
    width: 32px !important;
    height: 32px !important;
  }

  /* Downscale Profile Page Avatar & Header details on Mobile */
  .php-avatar {
    width: 64px !important;
    height: 64px !important;
    font-size: 1.6rem !important;
    border-width: 2px !important;
    box-shadow: 0 6px 12px rgba(124, 58, 237, 0.2) !important;
  }
  .php-info h2 {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
  }
  .php-info p {
    font-size: 0.76rem !important;
    margin-bottom: 5px !important;
  }
  .profile-header-premium {
    gap: 15px !important;
    padding: 16px !important;
    border-radius: 16px !important;
  }

  /* Light Theme overrides for all mobile elements */
  body.light-theme .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid #edf0f7 !important;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12) !important;
  }
  body.light-theme .mobile-quick-cards {
    background: #ffffff;
    border-color: #e9edf5;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  }
  body.light-theme .mhome-feature-card {
    background: #ffffff;
    border-color: #eef2f7;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  }
  body.light-theme .mhome-feature-card strong {
    color: #0f172a;
  }
  body.light-theme .mhome-feature-card span {
    color: var(--text-muted);
  }
  body.light-theme .mqc-card + .mqc-card {
    border-left-color: #eef2f7;
  }
  body.light-theme .mqc-text strong {
    color: #0f172a;
  }
  body.light-theme .mobile-search-bar {
    background: #fff;
    border-color: #e9edf5;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
  }
  body.light-theme .mobile-search-bar input {
    color: #0f172a;
  }
  body.light-theme .mobile-search-bar input::placeholder {
    color: #9aa6ba;
  }
  body.light-theme .mobile-search-panel {
    background: #ffffff;
  }
  body.light-theme .mobile-search-panel-inner {
    background: #ffffff;
    border-color: #e9edf5;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  }
  body.light-theme .mobile-search-panel-inner input {
    color: #0f172a;
  }
  body.light-theme .mpill {
    background: #fff;
    border-color: #e9edf5;
    color: #475569;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  }
  body.light-theme .mobile-nav-icon-btn,
  body.light-theme .kebab-btn {
    border-color: #edf0f7;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  }
  body.light-theme .kebab-btn span {
    background: #0f172a;
  }
  body.light-theme .kebab-dropdown {
    background: #ffffff;
    border-color: #e9edf5;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  }
  body.light-theme .kebab-dropdown a {
    color: #1e293b;
  }
  body.light-theme .kebab-dropdown a:hover {
    background: #f1f5f9;
  }

  body.light-theme .logo-area span.brand {
    color: #0f172a;
  }
  body.light-theme #mainDashboard .level-filters .btn-filter {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  }
  body.light-theme #mainDashboard .section-header h2 {
    color: #0f172a;
  }
  body.light-theme #mainDashboard .section-header a {
    color: #64748b;
  }

  /* Stunning Light Theme Subject Cards */
  body.light-theme .subject-card {
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.04);
    border-radius: 18px;
  }
  body.light-theme .subject-card:nth-child(1) { background: linear-gradient(135deg, #f5f3ff, #ffffff); border-color: #ddd6fe; }
  body.light-theme .subject-card:nth-child(2) { background: linear-gradient(135deg, #f0f9ff, #ffffff); border-color: #bae6fd; }
  body.light-theme .subject-card:nth-child(3) { background: linear-gradient(135deg, #ecfdf5, #ffffff); border-color: #a7f3d0; }
  body.light-theme .subject-card:nth-child(4) { background: linear-gradient(135deg, #fff7ed, #ffffff); border-color: #fed7aa; }
  body.light-theme .subject-card:nth-child(5) { background: linear-gradient(135deg, #fdf2f8, #ffffff); border-color: #fbcfe8; }
  
  body.light-theme .sc-title {
    color: #0f172a;
  }
  body.light-theme .sc-subtitle {
    color: #64748b;
  }

  /* Dynamic Active States & Styling for Bottom Navigation on Mobile */
  .mobile-bottom-nav {
    left: 14px !important;
    right: 14px !important;
    bottom: 12px !important;
    border-radius: 28px !important;
    background: rgba(15, 20, 30, 0.85) !important;
    border: 1px solid rgba(124, 58, 237, 0.18) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(124, 58, 237, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  }
  
  .mbn-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 18px !important;
  }
  
  .mbn-item.active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(59, 130, 246, 0.15)) !important;
    color: #c4b5fd !important;
    box-shadow: inset 0 0 12px rgba(124, 58, 237, 0.2), 0 4px 12px rgba(124, 58, 237, 0.15) !important;
  }
  
  .mbn-item.active i {
    color: #c4b5fd !important;
    transform: scale(1.1);
  }

  /* Light Theme Bottom Navigation Overrides */
  body.light-theme .mobile-bottom-nav {
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(124, 58, 237, 0.15) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08), 0 0 15px rgba(124, 58, 237, 0.04) !important;
  }
  
  body.light-theme .mbn-item.active {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(59, 130, 246, 0.08)) !important;
    color: var(--primary) !important;
    box-shadow: inset 0 0 12px rgba(124, 58, 237, 0.05), 0 4px 10px rgba(124, 58, 237, 0.08) !important;
  }
  body.light-theme .mbn-item.active i {
    color: var(--primary) !important;
  }
}

/* =========================================
   GLOWING TINTED CARDS IN DARK THEME
========================================= */
.subject-card {
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.subject-card:nth-child(1) { background: linear-gradient(135deg, rgba(124, 58, 237, 0.07), rgba(21, 26, 35, 0.5)); border-color: rgba(124, 58, 237, 0.28); }
.subject-card:nth-child(2) { background: linear-gradient(135deg, rgba(59, 130, 246, 0.07), rgba(21, 26, 35, 0.5)); border-color: rgba(59, 130, 246, 0.28); }
.subject-card:nth-child(3) { background: linear-gradient(135deg, rgba(16, 185, 129, 0.07), rgba(21, 26, 35, 0.5)); border-color: rgba(16, 185, 129, 0.28); }
.subject-card:nth-child(4) { background: linear-gradient(135deg, rgba(245, 158, 11, 0.07), rgba(21, 26, 35, 0.5)); border-color: rgba(245, 158, 11, 0.28); }
.subject-card:nth-child(5) { background: linear-gradient(135deg, rgba(236, 72, 153, 0.07), rgba(21, 26, 35, 0.5)); border-color: rgba(236, 72, 153, 0.28); }

/* =========================================
   PREMIUM DYNAMIC ANIMATIONS & HOVER EFFECTS
========================================= */

/* 1. Staggered Fade-In for Cards */
@keyframes fadeInUpDynamic {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.subject-card, .course-card, .mentor-card, .recent-classes .class-row {
  animation: fadeInUpDynamic 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}

.subject-card:nth-child(1), .course-card:nth-child(1), .mentor-card:nth-child(1) { animation-delay: 0.1s; }
.subject-card:nth-child(2), .course-card:nth-child(2), .mentor-card:nth-child(2) { animation-delay: 0.2s; }
.subject-card:nth-child(3), .course-card:nth-child(3), .mentor-card:nth-child(3) { animation-delay: 0.3s; }
.subject-card:nth-child(4), .course-card:nth-child(4), .mentor-card:nth-child(4) { animation-delay: 0.4s; }
.subject-card:nth-child(5), .course-card:nth-child(5), .mentor-card:nth-child(5) { animation-delay: 0.5s; }

/* 2. Premium Card Hover (Lift & Glow) */
.subject-card, .course-card, .mentor-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.course-card:hover, .mentor-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.25);
  border-color: var(--primary);
  z-index: 10;
}
.subject-card:hover {
  transform: translateY(-8px) scale(1.03);
  z-index: 10;
}
.subject-card:nth-child(1):hover { box-shadow: 0 20px 40px rgba(124, 58, 237, 0.35); border-color: #7c3aed; }
.subject-card:nth-child(2):hover { box-shadow: 0 20px 40px rgba(59, 130, 246, 0.35); border-color: #3b82f6; }
.subject-card:nth-child(3):hover { box-shadow: 0 20px 40px rgba(16, 185, 129, 0.35); border-color: #10b981; }
.subject-card:nth-child(4):hover { box-shadow: 0 20px 40px rgba(245, 158, 11, 0.35); border-color: #f59e0b; }
.subject-card:nth-child(5):hover { box-shadow: 0 20px 40px rgba(236, 72, 153, 0.35); border-color: #ec4899; }

body.light-theme .course-card:hover, 
body.light-theme .mentor-card:hover {
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}
body.light-theme .subject-card:nth-child(1):hover { box-shadow: 0 20px 40px rgba(124, 58, 237, 0.18); border-color: #7c3aed; }
body.light-theme .subject-card:nth-child(2):hover { box-shadow: 0 20px 40px rgba(59, 130, 246, 0.18); border-color: #3b82f6; }
body.light-theme .subject-card:nth-child(3):hover { box-shadow: 0 20px 40px rgba(16, 185, 129, 0.18); border-color: #10b981; }
body.light-theme .subject-card:nth-child(4):hover { box-shadow: 0 20px 40px rgba(245, 158, 11, 0.18); border-color: #f59e0b; }
body.light-theme .subject-card:nth-child(5):hover { box-shadow: 0 20px 40px rgba(236, 72, 153, 0.18); border-color: #ec4899; }

/* Image Scale inside Mentor Card on Hover */
.mentor-card img {
  transition: transform 0.5s ease;
}
.mentor-card:hover img {
  transform: scale(1.08);
}

/* 3. Kebab Menu Dynamic Rotation */
.kebab-btn {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.kebab-btn:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--primary);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
  border-color: transparent;
}
.kebab-btn:hover span {
  background: #ffffff;
}

/* 4. Notification Bell Ring Animation */
@keyframes bellRing {
  0%, 100% { transform: rotate(0deg); }
  20%, 60% { transform: rotate(15deg); }
  40%, 80% { transform: rotate(-15deg); }
}
.nav-notification:hover i {
  animation: bellRing 0.5s ease-in-out infinite;
  color: var(--primary);
}

/* 5. Button Pulse Effect */
@keyframes neonPulse {
  0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(124, 58, 237, 0); }
  100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}
.btn-primary:hover {
  animation: neonPulse 1.5s infinite;
}

/* 6. Shimmer for Free Course Card top border */
@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}
\n@media (max-width: 768px) {\n  .hide-on-mobile { display: none !important; }\n  .mobile-auth-btn { padding: 5px 8px !important; font-size: 0.72rem !important; }\n}\n