/* ==========================================================================
   MOZ ACADEMY — PREMIUM DESIGN SYSTEM (css/main.css)
   Theme: Elite Vanilla & Vibrant Orange
   ========================================================================== */

/* ---- Core Design Tokens ---- */
:root {
  /* Colors */
  --bg-deep: #FAF9F6;
  /* Clean lab alabaster/vanilla */
  --bg-dark: #0E1630;
  /* Authoritative Midnight Royal Blue (Saturated twilight) */
  --bg-alt: #F4F3F0;
  /* Soft secondary vanilla */
  --bg-card: rgba(255, 255, 255, 0.75);
  /* Semi-transparent white for glassmorphic cards */

  --text-primary: #0E1630;
  /* Midnight Royal Blue for headings */
  --text-secondary: #334155;
  /* Slate for body */
  --text-muted: #64748B;

  --border-light: rgba(14, 22, 48, 0.08);
  /* Elegant semi-transparent navy 1px borders */
  --border-medium: rgba(197, 168, 104, 0.3);
  /* Prestige warm gold boundary borders */

  --accent-cyan: #10B981;
  /* Emerald Green for success/verified */
  --accent-gold: #C5A368;
  /* Prestige Warm Gold (Slightly warmer, metallic) */
  --accent-error: #EF4444;

  --cyan-start: #10B981;
  --cyan-end: #059669;

  --shadow-card: 0 4px 20px rgba(14, 22, 48, 0.03), 0 1px 3px rgba(14, 22, 48, 0.02);
  --shadow-float: 0 20px 40px rgba(14, 22, 48, 0.06);
  --shadow-glow: 0 0 20px rgba(16, 185, 129, 0.2);

  /* Typography */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'Roboto Serif', Georgia, serif;
  --font-urdu: 'Noto Naskh Urdu', system-ui, sans-serif;

  /* Transitions - Linear & Smooth, Hardware Accelerated */
  --t-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --t-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radius - Sharp, Technical */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
}

/* Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Roboto+Serif:ital,opsz,wght@0,8..144,300;0,8..144,400;0,8..144,500;0,8..144,600;0,8..144,700;1,8..144,400&family=Noto+Naskh+Urdu:wght@400;700&display=swap');

/* Global Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: rgba(14, 22, 48, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* ---- Reset & Base Styles ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-deep);
}

/* Ensure form controls inherit the premium heading/UI font */
input,
select,
textarea,
button {
  font-family: var(--font-heading);
}

/* ---- Layout & Utilities ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.grid {
  display: grid;
  gap: 32px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 20px;
  }
}

.section-dark {
  background-color: var(--bg-deep);
}

.app-section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
}

/* ---- Typography & Text ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan-start), var(--cyan-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-heading {
  margin-bottom: 72px;
  text-align: center;
}

.heading-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.meta-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  background: rgba(197, 168, 104, 0.06);
  border: 1px solid rgba(197, 168, 104, 0.2);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  display: inline-block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.65;
  margin: 16px auto 0 auto;
  text-align: center;
}

/* ---- Buttons & Interactive Elements ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  /* Sharp, technical button borders */
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
}

.btn-sm {
  padding: 10px 24px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
}

.btn-xs {
  padding: 6px 16px;
  border-radius: var(--r-sm);
  font-size: 0.8rem;
}

.btn-lg {
  padding: 18px 40px;
  border-radius: var(--r-sm);
  font-size: 1.05rem;
}

.btn-full {
  display: flex;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1b264f 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(14, 22, 48, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #1b264f 0%, var(--bg-dark) 100%);
  box-shadow: 0 8px 24px rgba(14, 22, 48, 0.25);
}

.btn-secondary {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(197, 163, 104, 0.12);
  color: var(--accent-gold);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #a2824e 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(197, 163, 104, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-accent:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #d2b683 0%, var(--accent-gold) 100%);
  box-shadow: 0 8px 24px rgba(197, 163, 104, 0.35);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline:hover {
  background-color: rgba(14, 22, 48, 0.03);
  border-color: var(--text-primary);
  transform: translateY(-3px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-secondary);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-ghost:hover {
  background-color: rgba(14, 22, 48, 0.04);
  color: var(--text-primary);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.5);
}

/* ---- Unified Navigation Header ---- */
.app-navbar {
  position: sticky;
  top: 20px;
  margin: 0 auto;
  width: calc(100% - 48px);
  max-width: 1240px;
  background-color: rgba(250, 249, 246, 0.75);
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  border: 1px solid rgba(14, 22, 48, 0.05);
  border-bottom: 1.5px solid rgba(197, 168, 104, 0.25); /* Gold outline bottom */
  border-radius: 100px; /* Perfect rounded capsule pill */
  z-index: 1000;
  padding: 8px 32px; /* Sleeker, wider padding */
  box-shadow: 0 8px 30px rgba(14, 22, 48, 0.03), 0 0 15px rgba(197, 163, 104, 0.04);
  transition: all var(--t-medium);
}

.app-navbar.scrolled {
  background-color: rgba(250, 249, 246, 0.92);
  box-shadow: 0 16px 40px rgba(14, 22, 48, 0.06), 0 0 20px rgba(197, 163, 104, 0.06);
  border-color: rgba(197, 168, 104, 0.35);
  padding: 6px 32px;
  transform: translateY(2px);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-symbol {
  width: 38px;
  height: 38px;
  border-radius: 50%; /* Perfect Circle */
  background: var(--bg-dark);
  /* Authoritative deep blue */
  border: 1px solid var(--accent-gold);
  /* Muted gold border */
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  transition: all var(--t-fast);
}

.brand-logo:hover .brand-symbol {
  transform: translateY(-1px);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 10px rgba(197, 163, 104, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 850;
  color: var(--text-primary);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.68rem;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar-navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: color var(--t-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: all var(--t-fast);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ---- Hero Header Section ---- */
.app-header {
  padding: 140px 0 100px;
  background: radial-gradient(circle at 100% 0%, rgba(255, 90, 31, 0.05) 0%, var(--bg-deep) 100%);
}

.header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .header-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.authority-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  animation: badgePulse 2s infinite;
}

.header-title {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .header-title {
    font-size: 2.8rem;
  }
}

.header-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

.header-button-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* System cards (mock screen elements) - Redesigned to remove AI vibe */
.system-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  transition: all var(--t-medium);
  position: relative;
  overflow: hidden;
}

.glass-panel {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  border-radius: var(--r-md);
}

.urdu-text {
  font-family: var(--font-urdu);
  direction: rtl;
  font-size: 1.15rem;
  line-height: 1.8;
}

.system-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border-light);
  transition: all var(--t-medium);
}

.system-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
}

.system-card:hover::before {
  background: var(--accent-cyan);
}

.system-card-body {
  padding: 32px;
}

.instructor-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.instructor-profile .profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-cyan);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

.instructor-profile .profile-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  display: block;
}

.instructor-profile .profile-role {
  font-size: 0.85rem;
  color: var(--text-secondary);
}


/* ---- Switchboard Tabs & chapters list ---- */
.switchboard-toolbar {
  display: flex;
  background-color: var(--bg-alt);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-sm);
  padding: 6px;
  margin-bottom: 48px;
  max-width: 580px;
}

.toolbar-btn {
  flex: 1;
  background-color: transparent;
  border: none;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--t-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.toolbar-btn-code {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.toolbar-btn-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-secondary);
}

.toolbar-btn:hover {
  background-color: rgba(10, 25, 47, 0.02);
}

.toolbar-btn.active {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-card);
}

.toolbar-btn.active .toolbar-btn-code {
  color: var(--accent-gold);
}

.toolbar-btn.active .toolbar-btn-label {
  color: var(--text-primary);
}

/* Directory cards grid */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.directory-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  position: relative;
  transition: all var(--t-fast);
}

.directory-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(26, 25, 22, 0.06);
  border-color: rgba(255, 94, 0, 0.15);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.chapter-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  background-color: rgba(255, 94, 0, 0.05);
  border: 1px solid rgba(255, 94, 0, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
}

.chapter-urdu {
  font-family: 'Noto Nastaliq Urdu', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.chapter-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}

.chapter-meta {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 600;
}

.card-highlight-pulse {
  animation: pulseHighlight 2.5s ease;
}

@keyframes pulseHighlight {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 94, 0, 0);
  }

  50% {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 94, 0, 0.25);
    border-color: var(--accent-cyan);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(255, 94, 0, 0);
  }
}

/* ---- Modal & Sliding Drawer ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 25, 22, 0.4);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-medium);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  width: 100%;
  max-width: 520px;
  height: 100%;
  background-color: var(--bg-deep);
  border-left: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-medium);
}

.modal-overlay.open .modal-container {
  transform: translateX(0);
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-subtitle {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.modal-close:hover {
  color: var(--accent-cyan);
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
}

.modal-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-alt);
}

.modal-footer-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.topic-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast);
}

.topic-row:hover {
  border-color: var(--accent-cyan);
}

.topic-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topic-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--accent-cyan);
}

.topic-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ---- Cards System ---- */
.video-card {
  background-color: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-fast);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(26, 25, 22, 0.06);
  border-color: rgba(255, 94, 0, 0.15);
}

.video-thumb {
  height: 135px;
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.play-overlay {
  position: absolute;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 94, 0, 0.1);
  border: 1px solid rgba(255, 94, 0, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  padding-left: 3px;
  opacity: 0.85;
  transition: all var(--t-fast);
}

.video-card:hover .play-overlay {
  transform: scale(1.1);
  background-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 4px;
}

.badge-free {
  background-color: rgba(26, 25, 22, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border-medium);
}

.badge-paid {
  background-color: rgba(255, 94, 0, 0.05);
  color: var(--accent-cyan);
  border: 1px solid rgba(255, 94, 0, 0.15);
}

/* Feature card */
.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: all var(--t-fast);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.feature-code {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 800;
}

.feature-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA portal promo banner */
.portal-cta-box {
  background: radial-gradient(circle at 100% 0%, rgba(255, 94, 0, 0.03) 0%, rgba(255, 255, 255, 0.8) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-lg);
  padding: 48px;
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
  .portal-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
}

.cta-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .cta-actions {
    justify-content: center;
  }
}

/* Awareness explorer cards */
.awareness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.awareness-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  box-shadow: var(--shadow-card);
  transition: all var(--t-fast);
}

.awareness-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}

.awareness-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.awareness-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.awareness-symbol {
  font-size: 1.5rem;
}

.awareness-title {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
}

.awareness-title-ur {
  font-family: 'Noto Nastaliq Urdu', 'Segoe UI', Tahoma, sans-serif;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 12px;
}

.awareness-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* Profile executive grid layout */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.credential-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.credential-symbol {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--cyan-start), var(--cyan-end));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-glow);
}

.credential-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.credential-title {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.credential-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
  margin-bottom: 32px;
}

.credential-matrix {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.matrix-cell {
  padding: 12px 16px;
  background-color: rgba(26, 25, 22, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
}

.matrix-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.matrix-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.biography-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 20px;
}

.trust-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  padding: 16px;
  background-color: rgba(217, 119, 6, 0.05);
  border: 1px solid rgba(217, 119, 6, 0.15);
  border-radius: var(--r-sm);
}

.trust-code {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--accent-bronze);
  background-color: rgba(217, 119, 6, 0.08);
  padding: 3px 6px;
  border-radius: 4px;
}

.trust-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Testimonials section */
.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  width: 100%;
}

.testimonial-header .avatar {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 94, 0, 0.06);
  border: 1px solid rgba(255, 94, 0, 0.15);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

.testimonial-header .profile-meta {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.testimonial-header .profile-grade {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.result-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-green);
  background-color: rgba(22, 163, 74, 0.06);
  border: 1px solid rgba(22, 163, 74, 0.15);
  padding: 3px 6px;
  border-radius: 4px;
  margin-left: auto;
}

.testimonial-body {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
}

/* Off-line tuition campuses grid */
.campus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.campus-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  transition: transform var(--t-medium), border-color var(--t-medium), box-shadow var(--t-medium);
}

.campus-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-float);
}

.campus-card.card-highlight {
  background-color: var(--bg-dark);
  /* Authoritative Oxford Blue */
  border-color: var(--accent-gold);
  color: #ffffff;
}

.campus-card.card-highlight:hover {
  border-color: var(--accent-cyan);
}

.campus-header {
  margin-bottom: 20px;
}

.campus-code {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

.campus-card.card-highlight .campus-code {
  color: var(--accent-gold);
}

.campus-title {
  font-size: 1.15rem;
  font-weight: 800;
}

.campus-body {
  flex: 1;
}

.campus-address {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.campus-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-bottom: 24px;
}

.meta-item {
  display: block;
}

/* ---- Pricing Table Cards ---- */
.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 520px;
  transition: all var(--t-fast);
}

.pricing-card.featured {
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(250, 247, 239, 0.95) 100%);
  border-color: rgba(217, 119, 6, 0.35);
  box-shadow: var(--shadow-bronze);
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--accent-bronze), #B45309);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.pricing-currency {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-muted);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.pricing-feature {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-feature-icon {
  font-weight: 800;
  font-size: 0.9rem;
}

.pricing-feature-icon.yes {
  color: var(--accent-green);
}

.pricing-feature-icon.no {
  color: var(--accent-error);
}

/* ---- Form controls & input panels ---- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
}

.input-suffix {
  position: absolute;
  right: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
}

.form-control {
  width: 100%;
  padding: 12px 16px 12px 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-medium);
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  outline: none;
  transition: all var(--t-fast);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 94, 0, 0.08);
}

.form-control.invalid {
  border-color: var(--accent-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.validation-error-msg {
  font-size: 0.72rem;
  color: var(--accent-error);
  font-weight: 700;
  margin-top: 6px;
}

.form-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.checkbox-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 3px;
}

/* ---- Dashboard layout ---- */
.progress {
  height: 5px;
  background-color: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-start), var(--cyan-end));
  border-radius: 4px;
  transition: width var(--t-medium);
}

.avatar {
  background-color: rgba(255, 94, 0, 0.06);
  border: 1px solid rgba(255, 94, 0, 0.15);
  color: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Accordion FAQs */
.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-header {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: color var(--t-fast);
}

.accordion-header:hover {
  color: var(--accent-cyan);
}

.accordion-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform var(--t-fast);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-medium);
}

.accordion-body p {
  padding-bottom: 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.accordion-item.open .accordion-body {
  max-height: 160px;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

/* ---- Footer ---- */
.app-footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 40px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-navigation {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-navigation a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.footer-navigation a:hover {
  color: var(--accent-cyan);
}

.footer-divider {
  height: 1px;
  background-color: var(--border-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.system-tag {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- Mobile Navigation Drawer (Fix) ---- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 24px 24px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateY(0);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.drawer-divider {
  height: 1px;
  background-color: var(--border-medium);
  margin: 12px 0;
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 900px) {

  .navbar-navigation,
  .navbar-actions {
    display: none;
  }

  .navbar-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
  }

  .navbar-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s;
  }

  .navbar-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .navbar-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .navbar-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

@media (min-width: 901px) {
  .navbar-toggle {
    display: none;
  }

  .mobile-drawer {
    display: none;
  }
}

/* ---- Multi-Column Premium Footer ---- */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.footer-col-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-links a {
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--t-fast);
}

.footer-col-links a:hover {
  color: var(--accent-cyan);
}

.footer-accreditation {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}