/* ============================================================
   منصة سند التعليمية — CSS 2025 Premium Design System
   ============================================================ */

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

/* ==================== CSS VARIABLES ==================== */
:root {
  /* Brand Colors */
  --primary: #1a3a6b;
  --primary-light: #2554a0;
  --primary-dark: #0f2347;
  --secondary: #f4b942;
  --secondary-dark: #e8a320;
  --accent: #e8f0fe;

  /* UI Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Neutral */
  --white: #ffffff;
  --bg-light: #f8faff;
  --bg-gray: #f1f4f9;
  --text-dark: #0f1729;
  --text-body: #374151;
  --text-muted: #6b7280;
  --border: #e0e7ef;
  --border-light: #f0f4ff;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(26,58,107,0.08);
  --shadow-md: 0 4px 20px rgba(26,58,107,0.12);
  --shadow-lg: 0 8px 36px rgba(26,58,107,0.16);
  --shadow-xl: 0 16px 60px rgba(26,58,107,0.20);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Fonts */
  --font: 'Tajawal', 'Cairo', sans-serif;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #1a3a6b 0%, #2554a0 60%, #1a3a6b 100%);
  --grad-gold: linear-gradient(135deg, #f4b942, #e8a320);
  --grad-hero: linear-gradient(135deg, #0f2347 0%, #1a3a6b 40%, #2554a0 100%);
  --grad-glass: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  direction: rtl;
  background: var(--bg-light);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; }
input, textarea, select { font-family: var(--font); }

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-gray); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ==================== HEADER ==================== */
.site-header {
  background: var(--grad-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.header-announcement {
  background: var(--grad-gold);
  color: var(--primary-dark);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 20px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
}
.announcement-inner {
  display: inline-block;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(-100%); }
  to { transform: translateX(100vw); }
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  gap: 12px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-wrap img {
  height: 54px;
  width: auto;
  border-radius: 12px;
  background: white;
  padding: 4px;
  object-fit: contain;
  border: 2px solid rgba(244,185,66,0.4);
}
.logo-text .l-name {
  font-size: 19px;
  font-weight: 900;
  color: var(--secondary);
  display: block;
  line-height: 1.2;
}
.logo-text .l-sub {
  font-size: 11.5px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* DESKTOP NAV */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 7px 13px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 13.5px;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(244,185,66,0.15);
  border-color: rgba(244,185,66,0.3);
  color: var(--secondary);
}

/* NAV DROPDOWN */
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a { display: flex; align-items: center; gap: 5px; }
.nav-dropdown > a::after {
  content: '▾';
  font-size: 10px;
  opacity: 0.7;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  padding: 10px;
  min-width: 220px;
  z-index: 100;
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease);
  pointer-events: none;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.2s;
  border: 1px solid transparent;
}
.dropdown-menu a:hover {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--border);
  transform: translateX(-2px);
}
.dropdown-menu .d-icon {
  font-size: 18px;
  width: 32px;
  height: 32px;
  background: var(--bg-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cart-trigger {
  background: var(--grad-gold);
  color: var(--primary-dark);
  border: none;
  padding: 9px 18px;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 14px rgba(244,185,66,0.4);
  position: relative;
}
.cart-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(244,185,66,0.55);
}
.cart-badge {
  background: var(--danger);
  color: white;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  position: absolute;
  top: -7px;
  left: -7px;
  transition: transform 0.2s var(--ease-bounce);
  border: 2px solid var(--primary);
}
.cart-badge.pop { transform: scale(1.5); }

/* MOBILE MENU */
.mobile-menu-btn {
  display: none;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.2); }

.mobile-nav {
  display: none;
  background: var(--primary-dark);
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.85);
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-nav a:hover { background: rgba(244,185,66,0.15); color: var(--secondary); }
.mobile-nav .sep {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 4px 0;
}

/* ==================== HERO ==================== */
.hero {
  background: var(--grad-hero);
  color: white;
  padding: 80px 30px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.hero-bg-shapes .s1 {
  width: 500px; height: 500px;
  background: var(--secondary);
  top: -150px; right: -100px;
}
.hero-bg-shapes .s2 {
  width: 350px; height: 350px;
  background: #4f8ef7;
  bottom: -100px; left: -80px;
}
.hero-bg-shapes .s3 {
  width: 200px; height: 200px;
  background: var(--secondary);
  top: 40%; left: 30%;
  opacity: 0.04;
}
.hero-content { position: relative; z-index: 1; }

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244,185,66,0.15);
  border: 1px solid rgba(244,185,66,0.35);
  color: var(--secondary);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 22px;
  animation: fadeSlideDown 0.6s var(--ease) both;
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  animation: fadeSlideUp 0.7s 0.1s var(--ease) both;
}
.hero h1 .highlight { color: var(--secondary); }
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero p {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255,255,255,0.82);
  max-width: 660px;
  margin: 0 auto 32px;
  animation: fadeSlideUp 0.7s 0.2s var(--ease) both;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s 0.3s var(--ease) both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 60px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.7s 0.5s var(--ease) both;
}
.stat-item { text-align: center; }
.stat-item .s-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1;
}
.stat-item .s-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  margin-top: 4px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-full);
  font-size: 14.5px;
  font-weight: 700;
  border: none;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-gold);
  color: var(--primary-dark);
  box-shadow: 0 5px 18px rgba(244,185,66,0.45);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(244,185,66,0.55);
}
.btn-white {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.btn-white:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
}
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary-light);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  box-shadow: 0 5px 18px rgba(16,185,129,0.4);
}
.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(16,185,129,0.5);
}
.btn-wa {
  background: linear-gradient(135deg, #25d366, #1baa52);
  color: white;
  box-shadow: 0 5px 18px rgba(37,211,102,0.4);
}
.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37,211,102,0.5);
}
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ==================== FEATURES BAR ==================== */
.features-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 14px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}
.feat-icon {
  width: 34px;
  height: 34px;
  background: var(--accent);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid var(--border);
}

/* ==================== SECTION ==================== */
.section { padding: 70px 30px; }
.section-alt { background: white; }
.section-gray { background: var(--bg-gray); }

.section-header { text-align: center; margin-bottom: 48px; }
.section-chip {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 5px 16px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  border: 1px solid rgba(26,58,107,0.12);
}
.section-title {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ==================== SPECIALIZATION CARDS ==================== */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.spec-card {
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.spec-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.spec-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  border: 2px solid transparent;
  transition: border-color 0.3s;
  pointer-events: none;
}
.spec-card:hover::after { border-color: var(--primary-light); }

.spec-card-header {
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.spec-card-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 14px;
  transition: transform 0.3s var(--ease-bounce);
}
.spec-card:hover .spec-card-icon { transform: scale(1.12) rotate(-4deg); }

.spec-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.spec-card-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.spec-card-footer {
  padding: 14px 20px 18px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.spec-services-count {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}
.spec-go-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-light);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.spec-card:hover .spec-go-btn {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* SPEC CARD COLORS */
.spec-health .spec-card-icon { background: linear-gradient(135deg, #fee2e2, #fecaca); }
.spec-cs .spec-card-icon { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.spec-science .spec-card-icon { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.spec-business .spec-card-icon { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.spec-economics .spec-card-icon { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.spec-education .spec-card-icon { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.spec-prep .spec-card-icon { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.spec-english .spec-card-icon { background: linear-gradient(135deg, #f0fdf4, #dcfce7); }
.spec-school .spec-card-icon { background: linear-gradient(135deg, #fff7ed, #fed7aa); }

/* ==================== SERVICE CARDS ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
}

.svc-card {
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.35s var(--ease);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,84,160,0.2);
}
.svc-card-emoji-box {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 68px;
  position: relative;
  overflow: hidden;
}
.svc-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.svc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
  margin-bottom: 8px;
  background: var(--accent);
  color: var(--primary);
  border: 1px solid rgba(26,58,107,0.1);
}
.svc-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}
.svc-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}
.svc-tag {
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-gray);
  color: var(--text-body);
  padding: 3px 10px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
}
.svc-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.svc-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--primary);
}
.svc-price .unit { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.svc-delivery {
  font-size: 11.5px;
  color: var(--success);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.add-cart-btn {
  width: 100%;
  background: var(--grad-primary);
  color: white;
  border: none;
  padding: 12px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
}
.add-cart-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.add-cart-btn.added { background: linear-gradient(135deg, #10b981, #059669); }
.svc-ribbon {
  position: absolute;
  top: 14px;
  left: -4px;
  background: var(--danger);
  color: white;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px 0 0 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.svc-ribbon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  border: 4px solid transparent;
  border-top-color: #b91c1c;
  border-left-color: #b91c1c;
}

/* KSU Grid */
.ksu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.ksu-card {
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
}
.ksu-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.ksu-card-header {
  background: var(--grad-primary);
  color: white;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.ksu-card-icon {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.ksu-card-title { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.ksu-card-price { font-size: 17px; font-weight: 900; color: var(--secondary); }
.ksu-card-body { padding: 16px 18px; }
.ksu-delivery {
  color: var(--success);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.samples-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-light);
  background: var(--accent);
  padding: 7px 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(37,84,160,0.2);
  margin-bottom: 10px;
  transition: all 0.2s;
}
.samples-link:hover { background: var(--primary); color: white; }
.price-variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pv-btn {
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
  color: var(--text-body);
  font-family: var(--font);
}
.pv-btn.selected {
  border-color: var(--primary);
  background: var(--accent);
  color: var(--primary);
}

/* ==================== UNIVERSITIES ==================== */
.uni-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}
.uni-pill {
  background: white;
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 9px 20px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-xs);
}
.uni-pill:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ==================== HOW IT WORKS ==================== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.step-card {
  background: white;
  border-radius: var(--r-xl);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  position: relative;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.step-num {
  width: 46px; height: 46px;
  background: var(--grad-primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900;
  margin: 0 auto 14px;
}
.step-emoji { font-size: 34px; margin-bottom: 12px; }
.step-title { font-size: 15px; font-weight: 800; color: var(--primary); margin-bottom: 7px; }
.step-desc { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; }

/* ==================== TESTIMONIALS ==================== */
.testimonials-section {
  background: var(--grad-hero);
  color: white;
  padding: 70px 30px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.t-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
  padding: 24px;
  transition: all 0.3s var(--ease);
}
.t-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}
.t-stars { color: var(--secondary); font-size: 15px; margin-bottom: 12px; }
.t-text { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.88); margin-bottom: 16px; }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(244,185,66,0.2);
  border: 2px solid rgba(244,185,66,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.t-name { font-weight: 800; font-size: 13.5px; }
.t-uni { font-size: 12px; color: rgba(255,255,255,0.55); }

/* ==================== CTA BANNER ==================== */
.cta-banner {
  background: var(--grad-primary);
  border-radius: var(--r-xl);
  padding: 50px 40px;
  text-align: center;
  color: white;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(244,185,66,0.08);
  border-radius: 50%;
  top: -80px; right: -80px;
}
.cta-banner h2 { font-size: 28px; font-weight: 900; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 24px; position: relative; z-index: 1; }

/* ==================== CART SIDEBAR ==================== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; left: -440px;
  width: 440px;
  max-width: 95vw;
  height: 100vh;
  background: white;
  z-index: 2001;
  display: flex; flex-direction: column;
  box-shadow: 12px 0 50px rgba(0,0,0,0.2);
  transition: left 0.38s var(--ease);
}
.cart-drawer.open { left: 0; }

.cart-head {
  background: var(--grad-primary);
  color: white;
  padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between;
}
.cart-head h3 { font-size: 17px; font-weight: 800; }
.cart-close-btn {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
}
.cart-close-btn:hover { background: rgba(255,255,255,0.25); }

.cart-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 40px 20px; text-align: center; color: var(--text-muted);
}
.cart-empty-icon { font-size: 64px; opacity: 0.3; margin-bottom: 14px; }

.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-bottom: 9px;
  background: var(--bg-light);
  transition: all 0.2s;
}
.cart-item:hover { border-color: rgba(37,84,160,0.25); }
.ci-icon {
  width: 46px; height: 46px;
  background: var(--accent);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; flex-shrink: 0;
}
.ci-info { flex: 1; }
.ci-name { font-weight: 700; font-size: 13.5px; color: var(--text-dark); margin-bottom: 2px; }
.ci-price { font-size: 14px; font-weight: 800; color: var(--primary); }
.ci-remove {
  background: none; border: none;
  color: var(--danger); cursor: pointer;
  padding: 6px; border-radius: var(--r-sm);
  font-size: 16px;
  transition: background 0.2s;
}
.ci-remove:hover { background: #fef2f2; }

.cart-foot {
  padding: 18px 22px;
  border-top: 2px solid var(--border-light);
  background: white;
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  font-size: 16px; font-weight: 800; color: var(--text-dark);
}
.cart-total-amount { font-size: 22px; color: var(--primary); font-weight: 900; }
.cart-checkout-btn {
  width: 100%;
  background: var(--grad-gold);
  color: var(--primary-dark);
  border: none;
  padding: 14px;
  border-radius: var(--r-lg);
  font-size: 15.5px;
  font-weight: 900;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.3s var(--ease);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(244,185,66,0.4);
}
.cart-checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244,185,66,0.5);
}

/* ==================== CHECKOUT PAGE ==================== */
.checkout-wrap {
  max-width: 740px;
  margin: 40px auto;
  padding: 0 20px 60px;
}
.checkout-card {
  background: white;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.checkout-card-top {
  background: var(--grad-primary);
  color: white;
  padding: 32px;
  text-align: center;
}
.checkout-card-top h2 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.checkout-card-top p { font-size: 13px; color: rgba(255,255,255,0.78); }

.checkout-form-body { padding: 32px 30px; }

.order-summary-box {
  background: var(--bg-light);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-bottom: 26px;
  border: 1px solid var(--border);
}
.osb-title { font-size: 15px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.osb-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 13.5px;
}
.osb-item:last-of-type { border-bottom: none; }
.osb-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0 0;
  font-size: 16px; font-weight: 900; color: var(--primary);
  border-top: 2px solid var(--border);
  margin-top: 8px;
}

.form-label {
  display: block; font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px;
}
.form-label .req { color: var(--danger); }
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text-dark);
  background: white;
  outline: none;
  direction: rtl;
  transition: all 0.25s var(--ease);
}
.form-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(37,84,160,0.1);
}
textarea.form-input { resize: vertical; min-height: 100px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group.col-full { grid-column: 1 / -1; }

.section-divider {
  font-size: 15px; font-weight: 800; color: var(--primary);
  margin: 8px 0 18px; padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: flex; align-items: center; gap: 8px;
}

.bank-card {
  background: linear-gradient(135deg, #e8f0fe, #dde9ff);
  border: 1.5px solid rgba(26,58,107,0.14);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 22px;
}
.bank-card-title { font-size: 14px; font-weight: 800; color: var(--primary); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.bank-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(26,58,107,0.08);
  font-size: 13px;
}
.bank-row:last-child { border-bottom: none; }
.bank-lbl { color: var(--text-muted); font-weight: 600; }
.bank-val { font-weight: 800; color: var(--primary); direction: ltr; }
.copy-btn {
  background: white; border: 1px solid var(--border);
  color: var(--primary); padding: 3px 10px;
  border-radius: var(--r-full); font-size: 11px; cursor: pointer;
  font-family: var(--font); transition: all 0.2s;
}
.copy-btn:hover { background: var(--primary); color: white; }

.upload-zone {
  border: 2px dashed var(--primary-light);
  border-radius: var(--r-lg);
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: var(--accent);
  position: relative;
}
.upload-zone:hover { border-color: var(--primary); background: #dde9ff; }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-zone .uz-icon { font-size: 38px; margin-bottom: 8px; }
.upload-zone .uz-text { font-size: 14px; font-weight: 700; color: var(--primary); }
.upload-zone .uz-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.upload-zone .uz-preview { margin-top: 10px; font-size: 13px; color: var(--success); font-weight: 700; display: none; }

.submit-wa-btn {
  width: 100%;
  background: linear-gradient(135deg, #25d366, #1baa52);
  color: white;
  border: none;
  padding: 18px;
  border-radius: var(--r-lg);
  font-size: 17px; font-weight: 900;
  cursor: pointer;
  font-family: var(--font);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 6px 22px rgba(37,211,102,0.4);
  margin-top: 8px;
}
.submit-wa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 30px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 50px;
}
.footer-brand-col img {
  height: 62px; border-radius: 12px;
  background: white; padding: 6px;
  margin-bottom: 14px;
  object-fit: contain;
}
.footer-brand-col p { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,0.62); }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.social-icon {
  width: 40px; height: 40px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: white; transition: all 0.3s;
}
.social-icon.wa { background: #25d366; }
.social-icon.tg { background: #229ed9; }
.social-icon:hover { transform: translateY(-3px) scale(1.05); filter: brightness(1.1); }

.footer-col-title { color: var(--secondary); font-size: 15px; font-weight: 800; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 13px; transition: color 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--secondary); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}

/* ==================== AI ASSISTANT ==================== */
.ai-assistant-btn {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 998;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(118,75,162,0.5);
  border: none;
  transition: all 0.3s var(--ease-bounce);
  animation: aiBounce 3s ease-in-out infinite;
}
.ai-assistant-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(118,75,162,0.6);
}
@keyframes aiBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.ai-assistant-btn .ai-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.85);
  color: white;
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.ai-assistant-btn:hover .ai-tooltip { opacity: 1; }

.ai-chat-window {
  position: fixed;
  bottom: 170px;
  right: 28px;
  z-index: 999;
  width: 360px;
  max-width: calc(100vw - 40px);
  background: white;
  border-radius: 22px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.22);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
  max-height: 520px;
  transform-origin: bottom right;
  transform: scale(0);
  opacity: 0;
  transition: all 0.35s var(--ease-bounce);
  pointer-events: none;
}
.ai-chat-window.open {
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
}
.ai-chat-head {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
}
.ai-avatar {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  border: 2px solid rgba(255,255,255,0.3);
}
.ai-head-info .ai-name { font-weight: 800; font-size: 14.5px; }
.ai-head-info .ai-status {
  font-size: 11.5px; color: rgba(255,255,255,0.75);
  display: flex; align-items: center; gap: 5px;
}
.ai-status-dot {
  width: 7px; height: 7px;
  background: #4ade80; border-radius: 50%;
  animation: statusPulse 1.5s ease-in-out infinite;
}
@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.ai-chat-close {
  margin-right: auto;
  background: rgba(255,255,255,0.12);
  border: none; color: white;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.ai-chat-close:hover { background: rgba(255,255,255,0.25); }

.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8f9ff;
}
.ai-msg {
  display: flex;
  gap: 9px;
  align-items: flex-end;
}
.ai-msg.user { flex-direction: row-reverse; }
.ai-msg-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
}
.ai-msg.user .ai-msg-avatar { background: var(--grad-primary); }
.ai-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-dark);
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
}
.ai-msg.user .ai-bubble {
  background: var(--grad-primary);
  color: white;
  border-radius: 16px 16px 4px 16px;
  border: none;
  box-shadow: 0 2px 8px rgba(26,58,107,0.25);
}
.ai-bubble .q-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ai-chip {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid rgba(26,58,107,0.15);
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.ai-chip:hover { background: var(--primary); color: white; }

.ai-input-area {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  display: flex; gap: 8px; align-items: center;
  background: white;
}
.ai-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: 13.5px;
  font-family: var(--font);
  outline: none;
  direction: rtl;
  background: var(--bg-light);
  transition: border-color 0.2s;
}
.ai-input:focus { border-color: #764ba2; }
.ai-send-btn {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white; border: none;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  transition: all 0.2s var(--ease-bounce);
}
.ai-send-btn:hover { transform: scale(1.1); }

.ai-typing {
  display: flex; gap: 4px; align-items: center; padding: 4px 0;
}
.ai-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #764ba2; display: inline-block;
  animation: typing 1.2s infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 80%, 100% { transform: scale(1); opacity: 0.5; }
  40% { transform: scale(1.3); opacity: 1; }
}

/* ==================== WHATSAPP FLOAT ==================== */
.wa-float {
  position: fixed; bottom: 30px; right: 28px;
  z-index: 997;
  width: 58px; height: 58px;
  background: #25d366;
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; text-decoration: none;
  box-shadow: 0 6px 22px rgba(37,211,102,0.5);
  transition: all 0.3s var(--ease-bounce);
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(37,211,102,0.65); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 22px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.08); }
}

/* ==================== TOAST ==================== */
.toast-stack {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.toast {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 11px 22px;
  border-radius: var(--r-full);
  font-size: 13.5px; font-weight: 700;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  animation: toastIn 0.4s var(--ease), toastOut 0.35s var(--ease) 2.7s forwards;
}
.toast.error { background: linear-gradient(135deg, #ef4444, #dc2626); }
.toast.info { background: linear-gradient(135deg, #3b82f6, #2563eb); }
@keyframes toastIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes toastOut { from { opacity:1; transform:translateY(0); } to { opacity:0; transform:translateY(16px); } }

/* ==================== SPECIALTY PAGE HERO ==================== */
.spec-page-hero {
  padding: 60px 30px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: white;
}
.spec-page-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 900; margin-bottom: 12px; }
.spec-page-hero p { font-size: 15px; color: rgba(255,255,255,0.82); max-width: 580px; margin: 0 auto; }

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.65);
  margin-bottom: 20px; justify-content: center;
}
.breadcrumb a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb .sep { font-size: 10px; }

/* ==================== SCROLL ANIMATION ==================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-main { padding: 10px 16px; }
  .hero { padding: 50px 16px 60px; }
  .hero-stats { gap: 22px; }
  .section { padding: 46px 16px; }
  .spec-grid, .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ksu-grid { grid-template-columns: 1fr; padding: 0 16px; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .ai-chat-window { right: 16px; left: 16px; width: auto; bottom: 160px; }
  .cart-drawer { width: 100%; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .checkout-form-body { padding: 20px 16px; }
}

/* ==================== CART DRAWER ALIASES ==================== */
/* Aliases so checkout.html + components.js both work */
.cart-drawer-header { background: var(--grad-primary); color: white; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; }
.cart-drawer-header h3 { font-size: 17px; font-weight: 800; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px; }
.cart-drawer-total-bar { background: var(--accent); padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 700; color: var(--primary); border-bottom: 1px solid var(--border); }
.cart-drawer-footer { padding: 16px 20px; border-top: 2px solid var(--border-light); background: white; }

/* D-NONE / D-SM-INLINE */
.d-none { display: none !important; }
@media (min-width: 480px) { .d-sm-inline { display: inline !important; } }

/* ==================== SPEC PAGE DETAILS ==================== */
.spec-detail-list { list-style: none; padding: 0; }
.spec-detail-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  font-size: 13.5px; color: var(--text-body);
  background: white; margin-bottom: 8px;
  border: 1px solid var(--border); transition: all 0.2s;
}
.spec-detail-list li:hover { border-color: rgba(26,58,107,0.2); background: var(--accent); }
.spec-detail-list li .li-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.spec-detail-list li strong { display: block; font-size: 13.5px; color: var(--text-dark); margin-bottom: 1px; }
.spec-detail-list li span { font-size: 12.5px; color: var(--text-muted); }

/* INFO CARDS */
.info-card {
  background: white; border-radius: var(--r-xl);
  border: 1.5px solid var(--border); padding: 24px;
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.info-card-title {
  font-size: 16px; font-weight: 800; color: var(--primary);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.info-card-title .ic-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}

@media (max-width: 480px) {
  .spec-grid, .services-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 300px; }
  .how-grid { grid-template-columns: 1fr; }
  .logo-text .l-name { font-size: 15px; }
  .wa-float, .ai-assistant-btn { width: 50px; height: 50px; font-size: 22px; }
  .wa-float { right: 16px; bottom: 20px; }
  .ai-assistant-btn { right: 16px; bottom: 80px; }
}
