/* ============================================================
   Learners Platform - Global Stylesheet
   منصة Learners - ملف التصميم العام
   ============================================================ */

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

/* ── CSS Variables ── */
:root {
  --navy: #0A1628;
  --navy-light: #0f1f3d;
  --navy-mid: #162040;
  --gold: #F59E0B;
  --gold-light: #FCD34D;
  --gold-dark: #D97706;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --success: #10B981;
  --danger: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;
  --font: 'Cairo', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  background-color: var(--gray-50);
  color: var(--gray-800);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; }
input, textarea, select { font-family: var(--font); outline: none; }

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

/* ── Selection ── */
::selection { background: var(--gold); color: var(--navy); }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.15);
  padding: 0 20px;
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
  width: 100%;
  overflow: hidden;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
  font-style: italic;
}

.logo-text span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(245, 158, 11, 0.1);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 16px;
  left: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}

.cart-btn {
  position: relative;
  color: var(--white);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 8px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.cart-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.cart-count {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
}

.cart-btn:hover .cart-count {
  background: var(--navy);
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  background: var(--navy-light);
  border-top: 1px solid rgba(245, 158, 11, 0.15);
  padding: 16px 20px;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 10px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
  background: rgba(245, 158, 11, 0.1);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1a2d5a 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.08);
  animation: floatShape 8s ease-in-out infinite;
}

.hero-shape:nth-child(1) { width: 400px; height: 400px; top: -100px; left: -100px; animation-delay: 0s; }
.hero-shape:nth-child(2) { width: 250px; height: 250px; bottom: 50px; right: -50px; animation-delay: -3s; }
.hero-shape:nth-child(3) { width: 150px; height: 150px; top: 40%; right: 15%; animation-delay: -5s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text { }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.4);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat { text-align: center; }
.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  display: block;
}

.hero-visual {
  position: relative;
  animation: fadeInLeft 1s ease 0.2s both;
}

.hero-card-float {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 30px;
  color: var(--white);
}

.hero-card-float .course-preview-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.hero-card-float h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.hero-card-float p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.course-price-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
}

.floating-badge {
  position: absolute;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  animation: floatBadge 3s ease-in-out infinite;
  white-space: nowrap;
}

.floating-badge-1 { top: -15px; left: 20px; animation-delay: 0s; }
.floating-badge-2 { bottom: 20px; left: -20px; animation-delay: -1.5s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
section { padding: 80px 20px; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 6px 18px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 50px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
}

.features-section .section-title { color: var(--white); }
.features-section .section-subtitle { color: rgba(255,255,255,0.5); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(255,255,255,0.08);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.1));
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

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

.feature-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
}

/* ============================================================
   COURSE CARDS
   ============================================================ */
.courses-section {
  background: var(--gray-50);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.2);
}

.course-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-card-img img { transform: scale(1.05); }

.course-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}

.course-category-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
}

.course-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
}

.course-card-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.course-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

.course-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-500);
  margin-right: 4px;
}

.btn-add-cart {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-add-cart.added {
  background: linear-gradient(135deg, var(--success), #059669);
  color: var(--white);
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 20px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(245, 158, 11, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* ============================================================
   SEARCH & FILTER BAR
   ============================================================ */
.search-filter-bar {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.search-input-wrap {
  flex: 1;
  min-width: 240px;
  position: relative;
}

.search-input-wrap .search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: 1.1rem;
}

.search-input {
  width: 100%;
  padding: 12px 46px 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--gray-800);
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.filter-select {
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--gray-700);
  cursor: pointer;
  min-width: 150px;
  transition: var(--transition);
  direction: rtl;
}

.filter-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page {
  min-height: calc(100vh - 70px);
  background: var(--gray-50);
  padding: 40px 20px;
}

.cart-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.cart-main { }

.cart-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-empty {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  border: 2px dashed var(--gray-200);
}

.cart-empty-icon { font-size: 4rem; margin-bottom: 16px; }
.cart-empty h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 8px; }
.cart-empty p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 24px; }

.cart-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--gray-100);
  margin-bottom: 16px;
  transition: var(--transition);
}

.cart-item:hover { border-color: rgba(245, 158, 11, 0.2); }

.cart-item-img {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy);
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { flex: 1; }

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.cart-item-category {
  font-size: 0.78rem;
  color: var(--gold);
  background: rgba(245, 158, 11, 0.1);
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
}

.cart-item-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}

.cart-item-remove {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.cart-item-remove:hover { background: var(--danger); color: var(--white); }

.order-sidebar {
  position: sticky;
  top: 90px;
}

.order-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.order-card-header {
  background: var(--navy);
  padding: 20px 24px;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-card-body { padding: 24px; }

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: var(--transition);
  direction: rtl;
}

.form-input:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.payment-methods { margin-bottom: 20px; }
.payment-methods-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.payment-method-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.payment-method-option:hover { border-color: var(--gold); }
.payment-method-option.selected { border-color: var(--gold); background: rgba(245, 158, 11, 0.05); }

.payment-method-option input[type="radio"] { accent-color: var(--gold); }

.payment-method-info { flex: 1; }
.payment-method-name { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.payment-method-number { font-size: 0.78rem; color: var(--gray-500); direction: ltr; text-align: left; }

.payment-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.payment-icon.vodafone { background: rgba(239, 68, 68, 0.1); }
.payment-icon.instapay { background: rgba(59, 130, 246, 0.1); }

.screenshot-upload {
  border: 2px dashed var(--gray-300);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 20px;
  background: var(--gray-50);
  position: relative;
}

.screenshot-upload:hover { border-color: var(--gold); background: rgba(245, 158, 11, 0.03); }

.screenshot-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.screenshot-upload-icon { font-size: 2rem; margin-bottom: 8px; }
.screenshot-upload p { font-size: 0.85rem; color: var(--gray-500); }
.screenshot-upload .upload-name { font-size: 0.8rem; color: var(--gold); font-weight: 600; margin-top: 4px; }

.order-total {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-total-label { font-size: 0.9rem; font-weight: 600; color: var(--gray-700); }
.order-total-value { font-size: 1.4rem; font-weight: 800; color: var(--navy); }

.btn-whatsapp {
  width: 100%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  border: none;
  margin-bottom: 10px;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(245, 158, 11, 0.06) 0%, transparent 70%);
}

.page-hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
}

.about-section {
  max-width: 900px;
  margin: 0 auto;
}

.about-story {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  border: 1px solid var(--gray-100);
}

.about-story h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-story h2::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.about-story p {
  color: var(--gray-600);
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.about-story p:last-child { margin-bottom: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(245, 158, 11, 0.2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.value-icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.7; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--white);
  position: sticky;
  top: 90px;
}

.contact-info-card h2 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

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

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info-text a, .contact-info-text span {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  direction: ltr;
  display: block;
}

.contact-info-text a:hover { color: var(--gold); }

.contact-wa-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  margin-top: 32px;
  transition: var(--transition);
  text-decoration: none;
}

.contact-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  color: var(--white);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.contact-form-card h2 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 28px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: var(--transition);
  margin-top: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 20px 0;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.footer-links a:hover { color: var(--gold); padding-right: 4px; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}

.footer-contact-item a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  direction: ltr;
  display: inline;
}

.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-whatsapp {
  position: fixed;
  bottom: 90px;
  left: 24px;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  text-decoration: none;
  z-index: 999;
  animation: pulseWA 2.5s ease infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulseWA {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); }
}

.scroll-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--gold);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ============================================================
   ALERTS & TOASTS
   ============================================================ */
.toast-container {
  position: fixed;
  top: 90px;
  left: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--white);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  min-width: 280px;
  max-width: 360px;
  border-right: 4px solid var(--success);
  animation: slideInLeft 0.3s ease;
  transform-origin: left center;
}

.toast.error { border-right-color: var(--danger); }
.toast.warning { border-right-color: var(--warning); }
.toast.info { border-right-color: var(--info); }

.toast-icon { font-size: 1.2rem; }
.toast-message { color: var(--gray-700); flex: 1; }

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-login {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-login-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.admin-login-card .logo { justify-content: center; margin-bottom: 8px; }
.admin-login-card > p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.admin-login-card .form-label { color: rgba(255,255,255,0.7); }

.admin-login-card .form-input {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: var(--white);
}

.admin-login-card .form-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}

.admin-login-card .form-input::placeholder { color: rgba(255,255,255,0.3); }

.btn-login {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: var(--transition);
  margin-top: 8px;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.admin-dashboard { min-height: 100vh; background: var(--gray-100); }

.admin-header {
  background: var(--navy);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.admin-header .logo { text-decoration: none; }

.admin-header-actions { display: flex; align-items: center; gap: 12px; }

.btn-logout {
  background: rgba(239, 68, 68, 0.15);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-logout:hover {
  background: var(--danger);
  color: var(--white);
}

.admin-content {
  padding: 32px 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.stat-icon.navy { background: rgba(10, 22, 40, 0.08); }
.stat-icon.gold { background: rgba(245, 158, 11, 0.1); }
.stat-icon.success { background: rgba(16, 185, 129, 0.1); }

.stat-info { flex: 1; }
.stat-info label {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-500);
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-number { font-size: 2rem; font-weight: 800; color: var(--navy); }

.admin-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  margin-bottom: 28px;
  overflow: hidden;
}

.admin-section-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.admin-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-add {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  padding: 9px 20px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.admin-table-wrap { overflow-x: auto; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  background: var(--gray-50);
  color: var(--gray-600);
  font-weight: 700;
  padding: 12px 16px;
  text-align: right;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--gray-100);
  white-space: nowrap;
}

.admin-table td {
  padding: 14px 16px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-50);
  vertical-align: middle;
}

.admin-table tr:hover td { background: rgba(245, 158, 11, 0.03); }
.admin-table tr:last-child td { border-bottom: none; }

.table-actions { display: flex; gap: 8px; }

.btn-edit {
  background: rgba(59, 130, 246, 0.08);
  color: var(--info);
  border: 1px solid rgba(59, 130, 246, 0.15);
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-edit:hover { background: var(--info); color: var(--white); }

.btn-delete {
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.15);
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-delete:hover { background: var(--danger); color: var(--white); }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge.completed { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.status-badge.pending { background: rgba(245, 158, 11, 0.1); color: var(--gold-dark); }
.status-badge.cancelled { background: rgba(239, 68, 68, 0.1); color: var(--danger); }

.status-select {
  padding: 5px 10px;
  border: 1px solid var(--gray-200);
  border-radius: 7px;
  font-size: 0.8rem;
  font-family: var(--font);
  background: var(--white);
  cursor: pointer;
  color: var(--gray-700);
  direction: rtl;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.modal-overlay.hidden { display: none; }

.modal {
  background: var(--white);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideInUp 0.3s ease;
}

.modal-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}

.modal-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); }

.modal-close {
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  color: var(--gray-600);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover { background: var(--danger); color: var(--white); }

.modal-body { padding: 28px; }

.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-cancel {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: var(--transition);
}

.btn-cancel:hover { background: var(--gray-200); }

.btn-save {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  padding: 10px 28px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  transition: var(--transition);
}

.btn-save:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.filter-bar {
  display: flex;
  gap: 12px;
  padding: 16px 24px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInLeft {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* No courses placeholder */
.no-courses {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
}

.no-courses-icon { font-size: 3.5rem; margin-bottom: 16px; }
.no-courses h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.no-courses p { font-size: 0.9rem; }

/* ============================================================
   RESPONSIVE - MOBILE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-grid { grid-template-columns: 1fr; }
  .order-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 60px 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; justify-content: center; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-content { padding: 20px 16px; }
  .cart-item { flex-wrap: wrap; }
  .about-story { padding: 28px 20px; }
  .contact-info-card { padding: 28px 20px; }
  .contact-form-card { padding: 28px 20px; }
  .modal { max-width: 100%; margin: 10px; }
  .courses-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .hero-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .navbar { padding: 0 12px; }
  .navbar-inner { gap: 8px; height: 62px; }
  .logo-text { font-size: 1.2rem; }
  .cart-btn { padding: 7px 10px; font-size: 0.8rem; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 16px; min-height: auto; }
  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .hero-stat-num { font-size: 1.4rem; }
  .search-filter-bar { flex-direction: column; }
  .search-input-wrap { min-width: unset; }
  .floating-whatsapp { bottom: 80px; left: 16px; }
  .scroll-top-btn { left: 16px; }
  .toast-container { left: 12px; right: 12px; }
  .toast { min-width: unset; }
  .courses-grid { grid-template-columns: 1fr; gap: 16px; }
  .course-card-footer { flex-direction: column; gap: 10px; align-items: stretch; }
  .btn-add-cart { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .container { padding: 0 14px; }
  section { padding: 48px 14px; }
  .section-header { margin-bottom: 36px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .modal { max-width: calc(100% - 24px); margin: 12px; }
}

/* Utility classes */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 16px; }
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 8px; }
.w-full { width: 100%; }

/* Confirmation Dialog */
.confirm-dialog {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.confirm-dialog.hidden { display: none; }

.confirm-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.confirm-icon { font-size: 2.5rem; margin-bottom: 16px; }
.confirm-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.confirm-text { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 24px; }

.confirm-actions { display: flex; gap: 12px; justify-content: center; }

.btn-confirm-delete {
  background: var(--danger);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  transition: var(--transition);
}

.btn-confirm-delete:hover { background: #DC2626; }

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
