/* ============================================
   SkillUp Academy – Clean Blue LMS Design
   Matches reference image exactly
   ============================================ */

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

/* ===== CSS Variables ===== */
:root {
  --primary:        #f15a24; /* Saffron/Orange from logo */
  --primary-dark:   #c2410c;
  --primary-light:  #fb923c;
  --primary-bg:     #fff7ed;

  --secondary:      #8cc63f; /* Green from logo */
  --secondary-dark: #65a30d;
  --secondary-light:#bef264;
  --accent:         #00aeef; /* Cyan/Blue from logo */
  --success:  #22c55e;
  --danger:   #EF4444;
  --warning:  #F59E0B;
  --info:     #06B6D4;

  --dark:       #111827;
  --dark-2:     #1F2937;
  --dark-3:     #374151;
  --gray:       #6B7280;
  --gray-light: #9CA3AF;
  --light:      #F3F4F6;
  --lighter:    #F9FAFB;
  --white:      #FFFFFF;

  --gradient-primary: linear-gradient(135deg, #f15a24 0%, #ff8c00 100%);
  --gradient-hero: linear-gradient(135deg, #fffcf9 0%, #fff 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --gradient-footer: #111827;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md:   0 4px 16px rgba(15, 181, 192, 0.15), 0 2px 8px rgba(0,0,0,0.05);
  --shadow-lg:   0 8px 32px rgba(15, 181, 192, 0.2);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 30px rgba(15, 181, 192, 0.25);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --nav-height: 74px;
  --font-base: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-base);
  color: var(--dark-2);
  background-color: #fcfcfd; /* Professional soft-tone background */
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em; /* Premium typography feel */
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: var(--radius-full); }

/* ===== Typography ===== */
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }
p  { color: var(--gray); line-height: 1.7; }

/* ===== Layout ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section    { padding: 70px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 100px 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap     { display: flex; gap: 10px; align-items: center; }
.text-center  { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.w-full { width: 100%; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 10px 25px -10px rgba(29, 112, 245, 0.4);
}
.btn-primary:hover { 
  background: var(--primary-dark); 
  box-shadow: 0 12px 30px -10px rgba(29, 112, 245, 0.5); 
}
.btn-sm  { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg  { padding: 13px 36px; font-size: 0.95rem; }
.btn-xs  { padding: 5px 12px; font-size: 0.75rem; }

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
}
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); }
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-white {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-ghost  { color: var(--primary); }
.btn-ghost:hover { background: var(--primary-bg); }
.btn-danger  { background: var(--danger);  color: var(--white); }
.btn-success { background: var(--success); color: var(--white); }
.btn-white   { background: var(--white);   color: var(--primary); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ===== Cards ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 20px; }
.card-img { width: 100%; height: 180px; object-fit: cover; }

/* ===== Badges ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}
.badge-primary { background: var(--primary-bg); color: var(--primary); }
.badge-success { background: rgba(34,197,94,0.1);  color: var(--success); }
.badge-warning { background: rgba(245,158,11,0.12); color: var(--secondary-dark); }
.badge-danger  { background: rgba(239,68,68,0.1);   color: var(--danger); }
.badge-info    { background: rgba(6,182,212,0.1);   color: var(--info); }
.badge-dark    { background: var(--dark-2);         color: var(--white); }
.badge-new     { background: var(--primary);        color: var(--white); }

/* Stars */
.stars { color: #F59E0B; display: flex; gap: 2px; font-size: 0.72rem; }
.rating-score { font-size: 0.82rem; font-weight: 700; color: var(--dark); }
.rating-count { font-size: 0.72rem; color: var(--gray); }

/* Section Header */
.section-header { margin-bottom: 40px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--primary-bg);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-title { font-size: clamp(1.4rem, 2.5vw, 2rem); color: var(--dark); margin-bottom: 10px; }
.section-desc  { font-size: 1rem; color: var(--gray); max-width: 560px; }
.see-all {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.see-all:hover { gap: 8px; }

/* Section Flex Header */
.section-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Tabs */
.tabs-container {
  margin-bottom: 28px;
  border-bottom: 2px solid #F3F4F6;
  position: relative;
}
.tabs-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE 10+ */
  padding-bottom: 0px;
}
.tabs-inner::-webkit-scrollbar { display: none; } /* Chrome/Safari */

.course-tab {
  padding: 9px 20px;
  border: none;
  background: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  white-space: nowrap;
}
.course-tab:hover { color: var(--primary); }
.course-tab.active {
  border-bottom-color: var(--primary);
}

/* Login Tabs */
.login-tabs {
  display: flex;
  background: #F3F4F6;
  padding: 4px;
  border-radius: var(--radius-md);
  gap: 4px;
}
.login-tab-btn {
  flex: 1;
  padding: 10px;
  border: none;
  background: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.login-tab-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.login-tab-btn:hover:not(.active) { color: var(--dark); }

/* Banner Search */
.banner-search-wrap {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  padding: 6px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.banner-search-wrap:focus-within {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}
.banner-search-wrap i { color: rgba(255,255,255,0.7); font-size: 1.1rem; }
.banner-search-wrap input {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 1rem;
  width: 100%;
}
.banner-search-wrap input::placeholder { color: rgba(255,255,255,0.6); }

/* Search Layout (Courses Page) */
.search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* Platform Badges (Live Classes) */
.platform-badges-container {
  margin: 32px 0 0;
  display: flex;
  justify-content: center;
}
.platform-badges-inner {
  display: inline-flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
}
.platform-badges-inner::-webkit-scrollbar { display: none; }
.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  white-space: nowrap;
}
.badge-item i { font-size: 1rem; }
.badge-item span { color: rgba(255, 255, 255, 0.85); font-size: 0.85rem; font-weight: 500; }

/* Live Now Banner */
.live-now-banner {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(239, 68, 68, 0.2);
  margin-bottom: 48px;
}
.live-now-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
}
.live-now-img-wrap { position: relative; }
.live-now-content { padding: 28px; }

/* Course Detail Page */
.course-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.checkout-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.checkout-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid #E5E7EB;
  overflow: hidden;
}
.checkout-video { position: relative; height: 210px; background: #000; overflow: hidden; }
.checkout-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.checkout-video .play-btn { 
  position: absolute; top:50%; left:50%; transform:translate(-50%,-50%); 
  width:64px; height:64px; border-radius:50%; background:rgba(255,255,255,0.9);
  display:flex; align-items:center; justify-content:center; color:var(--primary); font-size:1.5rem;
}
.checkout-body { padding: 32px; }
.checkout-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.checkout-price .current { font-size: 2.2rem; font-weight: 800; color: var(--dark); }
.checkout-price .original { font-size: 1.1rem; color: var(--gray); text-decoration: line-through; opacity: 0.6; }
.checkout-price .discount { font-size: 0.85rem; color: var(--danger); font-weight: 700; background: rgba(239,68,68,0.1); padding: 4px 10px; border-radius: var(--radius-sm); }

.curriculum-item {
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  background: var(--white);
}
.curriculum-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}
.curriculum-list {
  padding: 0 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lesson-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--gray);
  padding: 10px 14px;
  background: var(--lighter);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.lesson-item:hover { background: var(--primary-bg); color: var(--primary); }

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.alert-danger  { background: rgba(239,68,68,0.08);  color: #dc2626; border-left: 4px solid var(--danger); }
.alert-success { background: rgba(34,197,94,0.08);  color: #15803d; border-left: 4px solid var(--success); }
.alert-info    { background: rgba(29,112,245,0.08); color: var(--primary); border-left: 4px solid var(--primary); }

/* Progress */
.progress { background: var(--light); border-radius: var(--radius-full); overflow: hidden; }
.progress-bar { height: 100%; background: var(--primary); border-radius: var(--radius-full); transition: width 0.6s ease; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem; font-weight: 600;
  background: var(--white); color: var(--dark);
  border: 1px solid var(--light);
  transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Toast */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  box-shadow: var(--shadow-xl);
  display: flex; align-items: center; gap: 12px;
  min-width: 280px;
  border-left: 4px solid var(--primary);
  animation: slideInRight 0.3s ease;
  font-size: 0.875rem; font-weight: 500;
}
.toast-success { border-left-color: var(--success); }
.toast-error   { border-left-color: var(--danger);  }
.toast-warning { border-left-color: var(--warning); }

/* Form */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--dark-2); margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,112,245,0.12); }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--gray-light); font-size: 0.9rem; pointer-events: none; }
.input-icon .form-control { padding-left: 40px; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: 0.82rem; color: var(--gray); }
.breadcrumb a { color: var(--primary); }
.breadcrumb i { font-size: 0.6rem; }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid #E5E7EB;
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.navbar .container {
  height: 100%;
  width: 100%;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.95rem;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
}
.logo-text span {
  font-size: 0.7rem;
  color: var(--gray);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 1;
  overflow: hidden;
}
.nav-link {
  padding: 6px 10px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--dark-3);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-bg); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 210px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid #E5E7EB;
  padding: 8px;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--dark-3);
  transition: var(--transition-fast);
}
.dropdown-item:hover { background: var(--primary-bg); color: var(--primary); }
.dropdown-item i { width: 16px; text-align: center; color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-search {
  display: flex; align-items: center; gap: 6px;
  background: var(--lighter);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  border: 1.5px solid #E5E7EB;
  transition: var(--transition);
  width: 160px;
}
.nav-search:focus-within { border-color: var(--primary); background: var(--white); width: 190px; }
.nav-search input { background: none; border: none; outline: none; font-size: 0.82rem; color: var(--dark); width: 100%; min-width: 0; }
.nav-search i { color: var(--gray-light); font-size: 0.8rem; flex-shrink: 0; }
.nav-user-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--light); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ===========================
   HERO – Colorful Gradient
   =========================== */
.hero {
  background: #0f172a; /* Professional Dark Slate */
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(241, 90, 36, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(140, 198, 63, 0.12) 0%, transparent 40%);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
/* hero content */
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  color: #1e293b;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
  font-weight: 800;
}
.hero-title .highlight {
  color: #FDE68A;
  text-shadow: 0 0 30px rgba(253,230,138,0.4);
}
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
  max-width: 440px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats {
  display: flex;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.stat-item { text-align: left; }
.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1e293b;
  font-family: var(--font-heading);
}
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.65); }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #1D70F5 0%, #10B981 100%);
  padding: 24px 24px 0;
}
.hero-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  display: block;
}
.hero-card-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-xl);
  display: flex; align-items: center; gap: 10px;
  min-width: 170px;
  animation: floatCard 4s ease-in-out infinite;
  border: 1px solid rgba(0,0,0,0.05);
}
.hero-card-float.card-1 { bottom: 40px; left: -20px; animation-delay: 0s; }
.hero-card-float.card-2 { top: 30px;   right: -16px; animation-delay: -2s; }
.hero-card-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.card-icon-1 { background: rgba(34,197,94,0.12); color: var(--success); }
.card-icon-2 { background: var(--primary-bg);    color: var(--primary); }
.hero-card-info h5 { font-size: 0.88rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.hero-card-info p  { font-size: 0.72rem; color: var(--gray); }

/* ===========================
   FEATURES STRIP
   =========================== */
.features-strip {
  background: var(--lighter);
  padding: 50px 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}
.features-strip h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 36px;
  color: var(--dark);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.feature-item {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 12px;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid #E5E7EB;
  transition: var(--transition);
}
.feature-item:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-icon {
  width: 58px; height: 58px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  transition: var(--transition);
}
.feature-item:hover .feature-icon { transform: scale(1.08); }
.feature-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); }
.feature-item p  { font-size: 0.8rem; color: var(--gray); line-height: 1.5; }

/* ===========================
   COURSE CARDS
   =========================== */
.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1px solid rgba(0,0,0,0.03);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: rgba(29, 112, 245, 0.3); }

.course-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.course-thumb img { 
  width: 100%; height: 100%; object-fit: cover; 
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.course-card:hover .course-thumb img { transform: scale(1.08); }

/* Why Choose SkillUp */
.why-choose-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-point {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.why-point h5 { font-size: 1rem; color: var(--dark); margin-bottom: 4px; }
.why-point p { font-size: 0.85rem; color: var(--gray); line-height: 1.5; }

/* ==========================================================================
   STUDENT DASHBOARD SYSTEM
   ========================================================================== */
.dashboard-layout { min-height: 100vh; background: #f8fafc; }

.sidebar { 
  background: var(--dark); 
  color: #94a3b8; 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 280px; 
  height: 100vh; 
  overflow-y: auto; 
  padding-top: 20px; 
  z-index: 90; 
  border-right: 1px solid rgba(255,255,255,0.05); 
}
.sidebar-inner { padding: 24px 16px; display: flex; flex-direction: column; height: 100%; }

.sidebar-user {
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: var(--radius-xl);
  margin-bottom: 30px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.sidebar-user img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 12px; border: 3px solid var(--primary); padding: 2px; background: white; }
.sidebar-user h4 { color: white; font-size: 0.95rem; margin-bottom: 4px; }
.sidebar-user p { font-size: 0.75rem; opacity: 0.6; }

.sidebar-link {
  display: flex !important; 
  align-items: center; 
  gap: 14px;
  padding: 12px 18px; 
  border-radius: 12px;
  color: #94a3b8 !important; 
  font-size: 0.9rem; 
  font-weight: 500;
  text-decoration: none; 
  margin-bottom: 6px;
  transition: var(--transition);
}
.sidebar-link i { width: 20px; font-size: 1.1rem; }
.sidebar-link:hover { background: rgba(255,255,255,0.05); color: white !important; }
.sidebar-link.active { 
  background: var(--primary) !important; 
  color: white !important; 
  box-shadow: 0 4px 15px rgba(29, 112, 245, 0.3);
}

.dash-main { margin-left: 280px; padding: 40px 32px 60px; }

/* Dashboard Card Components */
.v-teacher { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid #f1f5f9; }
.v-teacher img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--white); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.v-teacher-info h5 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin: 0; }
.v-teacher-info p { font-size: 0.75rem; color: var(--gray); margin: 0; }

.status-live { background: rgba(239, 68, 68, 0.1) !important; color: #ef4444 !important; }
.status-sched { background: rgba(16, 185, 129, 0.1) !important; color: #10b981 !important; }

/* Dashboard Mobile Header Foundation */
.dash-mobile-header { display: none; } /* HIDDEN ON DESKTOP */
.dash-mobile-user img { width: 36px !important; height: 36px !important; border-radius: 50%; border: 1.5px solid var(--primary); padding: 1px; object-fit: cover; flex-shrink: 0; }

/* Multi-device Overrides */
@media(max-width: 1024px) {
  .sidebar { 
    display: block !important; 
    transform: translateX(-100%); 
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 9991 !important; 
  }
  .sidebar.active { transform: translateX(0); box-shadow: 20px 0 50px rgba(15, 23, 42, 0.4); }
  .dash-main { 
    margin-left: 0 !important; 
    padding: 16px 16px 100px !important; 
    width: 100% !important;
  }
  .dash-mobile-header { 
    display: flex !important; 
    align-items: center; 
    justify-content: space-between;
    background: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border: 1px solid #eef2f6;
    box-shadow: var(--shadow-sm);
  }
  
  /* Overlay Backdrop */
  .dash-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5); backdrop-filter: blur(4px); z-index: 9990; display: none; }
  .dash-overlay.active { display: block; }
  
  /* Bottom Nav visible on mobile */
  .student-bottom-nav { display: block !important; }

  /* Grid Stacking Overrides for consistency across all student pages */
  .courses-grid, 
  .widgets-grid, 
  .live-grid, 
  .exams-grid, 
  .cert-grid, 
  .skills-grid,
  .res-grid { 
    grid-template-columns: 1fr !important; 
    gap: 20px !important; 
  }
  
  /* Reset hero stats to 2-col or 1-col */
  .dash-hero-stats { grid-template-columns: 1fr 1fr !important; width: 100% !important; gap: 10px !important; padding: 16px !important; }
}

/* Bottom Navigation Bar System */
.student-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.05);
  z-index: 9995;
  display: none; /* Desktop default */
  box-shadow: 0 -10px 40px rgba(0,0,0,0.08);
}
.bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: 12px;
}
.bottom-nav-item i { font-size: 1.25rem; }
.bottom-nav-item.active { color: var(--primary); }
.bottom-nav-item.active i { transform: translateY(-2px); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }


@media(max-width: 640px) {
  .dash-hero-stats { grid-template-columns: 1fr !important; } /* Tightest mobile stack */
  .dash-hero h1 { font-size: 1.8rem !important; }
}

/* Getting Started Steps */
.steps-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid #E5E7EB;
  transition: var(--transition);
  text-align: center;
  padding: 28px 20px;
}
.step-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-md); }
.step-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}
.step-number {
  width: 28px; height: 28px;
  background: var(--primary); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  margin: 0 auto 12px;
}
.step-card h5 { margin-bottom: 8px; font-size: 0.95rem; }
.step-card p { font-size: 0.82rem; color: var(--gray); }
.step-arrow { font-size: 1.4rem; color: var(--gray-light); }

.course-card-img {
  position: relative;
  height: 170px;
  overflow: hidden;
  flex-shrink: 0;
}
.course-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-slow); }
.course-card:hover .course-card-img img { transform: scale(1.05); }
.course-card-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.course-card:hover .course-card-overlay { opacity: 1; }
.play-btn {
  width: 46px; height: 46px;
  background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.8); transition: var(--transition);
}
.course-card:hover .play-btn { transform: scale(1); }
.course-badge-top { position: absolute; top: 10px; left: 10px; }
.course-wishlist {
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px;
  background: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); box-shadow: var(--shadow-sm);
  cursor: pointer; font-size: 0.85rem;
  transition: var(--transition);
}
.course-wishlist:hover { color: var(--danger); transform: scale(1.1); }
.course-body { padding: 16px; flex: 1; }
.course-category {
  font-size: 0.72rem; font-weight: 600;
  color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 7px;
}
.course-title {
  font-size: 0.92rem; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.4;
}
.course-instructor { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.instructor-avatar {
  width: 22px; height: 22px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--light);
}
.instructor-name { font-size: 0.78rem; color: var(--gray); }
.course-meta { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.course-stats { display: flex; gap: 12px; font-size: 0.74rem; color: var(--gray); margin-bottom: 12px; }
.course-stats span { display: flex; align-items: center; gap: 3px; }
.course-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #F3F4F6;
  background: var(--lighter);
}
.course-price { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.course-price-original { font-size: 0.8rem; color: var(--gray); text-decoration: line-through; margin-left: 4px; }

/* ===========================
   LIVE CLASS CARDS
   =========================== */
.live-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid #E5E7EB;
}
.live-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.live-card-img { position: relative; height: 150px; overflow: hidden; }
.live-card-img img { width: 100%; height: 100%; object-fit: cover; }
.live-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--danger); color: var(--white);
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 9px; border-radius: var(--radius-full);
  display: flex; align-items: center; gap: 5px;
}
.live-date-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(17,24,39,0.8); color: var(--white);
  font-size: 0.7rem; padding: 3px 9px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}
.live-body { padding: 14px; }
.live-title { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.live-instructor { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.live-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-top: 1px solid #F3F4F6;
  background: var(--lighter);
}
.live-price { font-size: 0.95rem; font-weight: 700; color: var(--primary); }

/* ===========================
   TEST CARDS
   =========================== */
.test-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid #E5E7EB;
  transition: var(--transition);
}
.test-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.test-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.test-info { flex: 1; }
.test-title { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.test-meta { display: flex; gap: 10px; font-size: 0.75rem; color: var(--gray); flex-wrap: wrap; }
.test-meta span { display: flex; align-items: center; gap: 3px; }

/* ===========================
   TEACHER CARDS
   =========================== */
.teacher-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid #E5E7EB;
  transition: var(--transition);
}
.teacher-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.teacher-avatar-wrap { position: relative; display: inline-block; margin-bottom: 14px; }
.teacher-avatar {
  width: 80px; height: 80px;
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}
.teacher-verified {
  position: absolute; bottom: 2px; right: 2px;
  width: 22px; height: 22px;
  background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 0.65rem;
  border: 2px solid var(--white);
}
.teacher-name    { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.teacher-subject { font-size: 0.82rem; color: var(--primary); font-weight: 500; margin-bottom: 10px; }
.teacher-stats   { display: flex; justify-content: center; gap: 20px; }
.t-stat-num   { font-size: 0.95rem; font-weight: 700; color: var(--dark); }
.t-stat-label { font-size: 0.7rem; color: var(--gray); }

/* ===========================
   TESTIMONIAL CARDS
   =========================== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 26px;
  box-shadow: var(--shadow-card);
  border: 1px solid #E5E7EB;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-card::before {
  content: '"';
  position: absolute; top: 16px; right: 22px;
  font-size: 5rem; line-height: 1;
  color: var(--primary-bg);
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-text { font-size: 0.88rem; color: var(--gray); line-height: 1.7; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-name    { font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.testimonial-role    { font-size: 0.75rem; color: var(--gray); }
.testimonial-rating  { display: flex; gap: 2px; color: #F59E0B; font-size: 0.72rem; margin-bottom: 6px; }

/* ===========================
   WHY CHOOSE SECTION
   =========================== */
.why-point {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #F3F4F6;
}
.why-point:last-child { border-bottom: none; }
.why-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.why-point h5 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 3px; }
.why-point p  { font-size: 0.8rem; color: var(--gray); }

/* ===========================
   STEPS SECTION
   =========================== */
.step-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid #E5E7EB;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
}
.step-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.step-number {
  width: 36px; height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  margin: 0 auto 16px;
}
.step-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}
.step-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-light); font-size: 1.4rem;
  align-self: center;
}

/* ===========================
   NEWSLETTER
   =========================== */
.newsletter-section {
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
}
.newsletter-section h2 { color: var(--white); margin-bottom: 10px; }
.newsletter-section p  { color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.newsletter-form {
  display: flex; max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-full);
  padding: 5px 5px 5px 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.newsletter-form input {
  flex: 1; border: none; outline: none;
  font-size: 0.875rem; background: none;
  color: var(--dark);
}
.newsletter-form .btn { flex-shrink: 0; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--dark);
  padding: 60px 0 0;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.footer-brand .logo-text strong { color: var(--white); }
.footer-brand .logo-text span { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 14px; line-height: 1.7; }
.footer-col h5 {
  font-size: 0.88rem; font-weight: 700;
  color: var(--white); margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.83rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }

/* ===========================
   SEARCH FILTER SIDEBAR
   =========================== */
.search-filters {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid #E5E7EB;
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}
.filter-group { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid #F3F4F6; }
.filter-group:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-title { font-size: 0.82rem; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.filter-option { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.filter-option input { accent-color: var(--primary); }
.filter-option label { font-size: 0.85rem; color: var(--gray); cursor: pointer; }

/* ===========================
   PRICING CARDS
   =========================== */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 2px solid #E5E7EB;
  transition: var(--transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.04);
  box-shadow: var(--shadow-glow);
}
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: var(--white);
  padding: 4px 16px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700;
}
.pricing-plan  { font-size: 0.8rem; font-weight: 600; color: var(--primary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.06em; }
.pricing-price { font-size: 2.4rem; font-weight: 800; color: var(--dark); line-height: 1; margin-bottom: 6px; font-family: var(--font-heading); }
.pricing-period { font-size: 0.82rem; color: var(--gray); margin-bottom: 20px; }
.pricing-features { margin-bottom: 24px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.875rem; color: var(--gray); }
.pricing-feature i { color: var(--success); font-size: 0.85rem; }

/* ===========================
   DASHBOARD COMPONENTS
   =========================== */
.bg-light { background: var(--lighter); }
/* breadcrumb already defined above */

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInLeft  { from { opacity:0; transform:translateX(-30px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(30px);  } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInUp    { from { opacity:0; transform:translateY(20px);  } to { opacity:1; transform:translateY(0); } }
@keyframes pulse       { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.7;transform:scale(1.2);} }
@keyframes float       { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-16px);} }
@keyframes floatCard   { 0%,100%{transform:translateY(0) rotate(0deg);} 50%{transform:translateY(-8px) rotate(1deg);} }
@keyframes slideInRight{ from{opacity:0;transform:translateX(30px);}to{opacity:1;transform:translateX(0);} }
@keyframes ticker      { from{transform:translateX(0);}to{transform:translateX(-50%);} }
@keyframes spin        { to{transform:rotate(360deg);} }

.reveal { opacity:0; transform:translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* background utility */
.bg-white   { background: var(--white)!important; }
.bg-lighter { background: var(--lighter)!important; }
.bg-primary { background: var(--primary)!important; }
.bg-dark    { background: var(--dark)!important; }

/* ============================================================
   RESPONSIVE – Full Device Coverage
   ============================================================ */

/* ── Large Desktop: 1280px+ ── */
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}

/* ── Laptop / Small Desktop: ≤1200px ── */
@media (max-width: 1200px) {
  .container { padding: 0 24px; }
  .hero-inner { gap: 36px; }
  .features-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
  .nav-search { width: 140px; }
}

/* ── Tablet Landscape: ≤1024px ── */
@media (max-width: 1024px) {
  :root { --nav-height: 64px; }
  .container { padding: 0 20px; }

  /* Navbar */
  .nav-menu { gap: 0; }
  .nav-link { padding: 6px 8px; font-size: 0.8rem; }
  .nav-search { width: 120px; }
  .nav-search input { font-size: 0.78rem; }

  /* Hero */
  .hero-inner { gap: 28px; }
  .hero-title { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }

  /* Grids */
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .search-layout { grid-template-columns: 240px 1fr; gap: 20px; }
  .live-now-inner { grid-template-columns: 280px 1fr; }

  /* Section */
  .section { padding: 60px 0; }
  .why-choose-inner { gap: 32px; }
  .steps-inner { gap: 8px; }
}

/* ── Tablet Portrait: ≤768px ── */
@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  /* ── Navbar ── */
  .nav-menu  { display: none; }
  .nav-search { display: none; }
  .hamburger { display: flex; }

  /* Shrink logo text slightly */
  .logo-text strong { font-size: 0.95rem; }
  .logo-text span   { font-size: 0.65rem; }

  /* ── Hero ── */
  .hero { padding: 40px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-badge { align-self: center; }
  .hero-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .hero-desc  { max-width: 100%; font-size: 0.95rem; }
  .hero-cta   { justify-content: center; gap: 12px; }
  .hero-stats { justify-content: center; gap: 20px; flex-wrap: wrap; }
  .stat-item  { text-align: center; }

  /* ── Grids ── */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .search-layout { grid-template-columns: 1fr; }
  .live-now-inner { grid-template-columns: 1fr; }
  .live-now-content { padding: 20px; }

  /* ── Section ── */
  .section    { padding: 48px 0; }
  .section-lg { padding: 64px 0; }
  .section-header { margin-bottom: 28px; }
  .section-desc { max-width: 100%; font-size: 0.9rem; }
  .section-flex { flex-direction: column; align-items: flex-start; gap: 12px; }
  .see-all { padding-top: 4px; }
  .course-detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .checkout-sidebar { position: static; margin-bottom: 32px; order: -1; }

  /* ── Cards ── */
  .card-img { height: 160px; }

  /* ── Footer ── */
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .social-links { justify-content: center; }

  /* ── Pricing ── */
  .pricing-card.featured { transform: scale(1); }

  /* ── Misc ── */
  .newsletter-form { max-width: 100%; }
  .btn-lg  { padding: 11px 28px; font-size: 0.9rem; }
  .toast   { min-width: calc(100vw - 48px); }

  /* ── Search filter sidebar ── */
  .search-filters { position: static; margin-bottom: 24px; }

  .why-choose-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps-inner { grid-template-columns: 1fr; gap: 24px; }
  .step-arrow { display: none; }

  /* Mobile Scroll Row */
  .mobile-scroll-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 16px !important;
    padding-bottom: 12px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
  }
  .mobile-scroll-row::-webkit-scrollbar { display: none; }
  .mobile-scroll-row > * {
    flex: 0 0 280px !important;
    scroll-snap-align: center;
  }
}

/* ── Mobile Landscape / Large Phone: ≤600px ── */
@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero-cta { flex-wrap: nowrap; gap: 8px; justify-content: center; width: 100%; }
  .hero-cta .btn { flex: 1; padding: 10px 12px; font-size: 0.85rem; min-width: 0; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ── Small Mobile: ≤480px ── */
@media (max-width: 480px) {
  :root { --nav-height: 56px; }
  .container { padding: 0 16px; }

  /* ── Navbar ── */
  .logo-icon { width: 32px; height: 32px; font-size: 0.85rem; }
  .logo-text strong { font-size: 0.9rem; }
  .nav-actions { gap: 6px; }
  /* hide sign up text, keep button small */
  .btn-sm { padding: 6px 12px; font-size: 0.75rem; }

  /* ── Hero ── */
  .hero { padding: 32px 0 40px; }
  .hero-title { font-size: clamp(1.4rem, 7vw, 2rem); }
  .hero-desc  { font-size: 0.875rem; }
  .hero-stats { gap: 14px; }
  .hero-cta .btn { padding: 9px 8px; font-size: 0.78rem; }
  .stat-number { font-size: 1.3rem; }
  .stat-label  { font-size: 0.72rem; }

  /* ── Grids ── */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2.mobile-scroll-row, .grid-3.mobile-scroll-row, .grid-4.mobile-scroll-row { display: flex; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* ── Section ── */
  .section { padding: 36px 0; }
  .section-title { font-size: 1.4rem; }

  /* ── Cards ── */
  .card-body { padding: 14px; }
  .card-img  { height: 145px; }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand p { font-size: 0.8rem; }

  /* ── Newsletter ── */
  .newsletter-form { flex-direction: column; border-radius: var(--radius-lg); padding: 12px; }
  .newsletter-form input { padding: 10px 0; }
  .newsletter-form .btn { width: 100%; justify-content: center; }

  /* ── Buttons ── */
  .btn-lg { padding: 10px 22px; font-size: 0.875rem; }

  /* ── Pagination ── */
  .pagination { gap: 5px; }
  .page-btn { width: 34px; height: 34px; font-size: 0.8rem; }

  /* ── Toast ── */
  .toast-container { right: 12px; left: 12px; bottom: 16px; }
  .toast { min-width: unset; width: 100%; }

  /* ── Mobile menu overlay ── */
  #mobileMenu > div { width: 100% !important; }
}

/* ── Extra Small: ≤360px ── */
@media (max-width: 360px) {
  .hero-title { font-size: 1.3rem; }
  .btn-lg { padding: 9px 18px; font-size: 0.82rem; }
  .features-grid { grid-template-columns: 1fr; }
}

