/* ==========================================================================
   ILM E TECH PAKISTAN
   Official Custom Design System & Core Stylesheet
   Domain: ilmetechpakistan.com
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Alex+Brush&family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Noto+Nastaliq+Urdu:wght@400;600;700;800&display=swap');
@import url('https://fonts.cdnfonts.com/css/jameel-noori-nastaleeq');

@font-face {
  font-family: 'Jameel Noori Nastaleeq';
  src: local('Jameel Noori Nastaleeq'),
       local('JameelNooriNastaleeq'),
       url('https://cdn.jsdelivr.net/gh/urdutext/jameel-noori-nastaleeq@master/JameelNooriNastaleeq.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/gh/urdutext/jameel-noori-nastaleeq@master/JameelNooriNastaleeq.woff') format('woff'),
       url('https://cdn.jsdelivr.net/gh/urdutext/jameel-noori-nastaleeq@master/JameelNooriNastaleeq.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* World #1 Award-Winning Tech Palette (Emerald + Obsidian + Tech Blue) */
  --primary-green: #046a38;
  --primary-green-hover: #024d27;
  --dark-green: #002b15;
  --emerald-accent: #10b981;
  --emerald-light: #ecfdf5;
  --tech-blue: #0284c7;
  --tech-blue-hover: #0369a1;
  --tech-blue-dark: #0f172a;
  --tech-blue-light: #f0f9ff;
  
  /* Neutral Colors */
  --bg-slate-50: #f8fafc;
  --bg-slate-100: #f1f5f9;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #475569; /* WCAG AA Compliant 7:1 Contrast Ratio */
  --border-light: #e2e8f0;
  --card-bg: #ffffff;
  
  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  
  /* Typography */
  --font-en: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ur: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', 'Urdu Typesetting', Tahoma, sans-serif;
  --font-ur-heading: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', 'Urdu Typesetting', Tahoma, sans-serif;
  --font-ur-body: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', 'Urdu Typesetting', Tahoma, sans-serif;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Layout */
  --container-max: 1280px;
  --nav-height: 80px;
}

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

/* Accessibility Utility for Screen Readers */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-en);
  background-color: var(--bg-slate-50);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Urdu Language Styling */
.font-urdu, [lang="ur"] {
  font-family: var(--font-ur);
  line-height: 1.9;
  direction: rtl;
}

.urdu-subtitle {
  font-family: var(--font-ur);
  color: var(--primary-green);
  font-weight: 600;
  direction: rtl;
  display: block;
}

/* General Layout Elements */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Header & Top Announcement Bar */
.top-bar {
  background: #00190a;
  color: #ffffff;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(52, 211, 153, 0.2);
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  white-space: nowrap;
}

.top-info a {
  color: #e2e8f0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  transition: color 0.2s;
}

.top-info a:hover {
  color: #34d399;
}

.top-announcement-text {
  color: #cbd5e1;
  font-weight: 500;
}

.top-quick-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.top-quick-link {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: opacity 0.2s;
}

.top-quick-link:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .top-bar {
    padding: 0.35rem 0;
    font-size: 0.75rem;
    line-height: 1.4;
  }
  .top-announcement-text {
    display: none !important;
  }
  .top-info {
    gap: 0.75rem;
    align-items: center;
  }
  .top-quick-actions {
    gap: 0.65rem;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .top-bar-inner {
    justify-content: center;
  }
  .top-quick-actions {
    display: none !important;
  }
  .top-info {
    gap: 1rem;
    justify-content: center;
    width: 100%;
  }
}

/* Main Navigation */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: max-content;
}

.brand-logo img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap !important;
}

.brand-name {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 900;
  color: var(--primary-green);
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap !important;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tech-blue);
  line-height: 1.2;
  white-space: nowrap !important;
}

.brand-urdu {
  font-family: var(--font-ur);
  font-size: 0.95rem;
  color: var(--tech-blue);
  line-height: 1.2;
  white-space: nowrap !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
  white-space: nowrap;
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.4rem 0.25rem;
  position: relative;
  transition: color 0.2s;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary-green);
  border-radius: 2px;
}

/* Breakpoint for 10-item menu: switch to drawer at <= 1240px so links NEVER wrap or break header height */
@media (max-width: 1240px) {
  .nav-menu {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
}

/* Mega Menu Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
  background-color: var(--emerald-light);
  color: var(--primary-green);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(4, 106, 56, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(4, 106, 56, 0.35);
}

.btn-secondary {
  background-color: var(--tech-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-secondary:hover {
  background-color: var(--tech-blue-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--primary-green);
  color: var(--primary-green);
  background: transparent;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline:hover {
  background-color: var(--primary-green);
  color: #ffffff !important;
}

.btn-outline-blue {
  border-color: var(--tech-blue);
  color: var(--tech-blue);
  background: transparent;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-blue:hover {
  background-color: var(--tech-blue);
  color: #ffffff !important;
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  min-height: 36px;
  min-width: 36px;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
  min-height: 46px;
}

/* Mobile Toggle - Meets WCAG 2.5.8 target size standard */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 2000;
  box-shadow: var(--shadow-xl);
  transition: right 0.3s ease;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

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

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.drawer-links {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.drawer-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.05rem;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Homepage NASA-Level Mission Telemetry Ticker / Aerospace Marquee
   ========================================================================== */
.ticker-wrapper {
  position: relative;
  z-index: 900;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #01140e 0%, #03251a 25%, #053324 50%, #03251a 75%, #01140e 100%);
  border-top: 1px solid rgba(52, 211, 153, 0.4);
  border-bottom: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  min-height: 52px;
  overflow: hidden;
  user-select: none;
}

/* NASA Scanning Laser Beam across the top */
.ticker-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #34d399, #38bdf8, transparent);
  animation: nasa-laser-scan 4s infinite linear;
  z-index: 20;
}

@keyframes nasa-laser-scan {
  0% { left: -50%; }
  100% { left: 150%; }
}

/* NASA Mission HUD Telemetry Badge */
.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, rgba(2, 28, 19, 0.98) 0%, rgba(5, 52, 36, 0.98) 100%);
  color: #34d399;
  padding: 0.55rem 1.35rem;
  font-family: var(--font-ur);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  z-index: 15;
  border-right: 2px solid #34d399;
  border-left: 1px solid rgba(52, 211, 153, 0.25);
  box-shadow: 6px 0 20px rgba(0, 0, 0, 0.5);
  position: relative;
}

.nasa-ticker-sys {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #38bdf8;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  text-transform: uppercase;
}

/* Cyber Radar Beacon with Pulse Rings */
.nasa-radar-beacon {
  position: relative;
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.radar-ping {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #34d399;
  opacity: 0.75;
  animation: radar-ping-anim 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.radar-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #34d399;
}

@keyframes radar-ping-anim {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.ticker-badge-text {
  letter-spacing: 0;
  font-weight: 800;
  color: #ffffff;
}

/* Marquee Scrolling Content Container */
.ticker-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0, black 30px, black calc(100% - 30px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 30px, black calc(100% - 30px), transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-marquee 36s linear infinite;
}

.ticker-wrapper.is-paused .ticker-track,
.ticker-wrapper:hover .ticker-track,
.ticker-track:hover,
.ticker-track:active {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.75rem;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  height: 52px;
  vertical-align: middle;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.ticker-text {
  font-family: var(--font-ur);
  font-size: 1.05rem;
  line-height: 1.4;
  color: #e2e8f0;
  font-weight: 600;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
}

.ticker-text-highlight {
  color: #6ee7b7;
  font-weight: 700;
}

/* NASA Aerospace Holographic Cyber CTA Button */
.nasa-ticker-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #059669 0%, #0d9488 50%, #0284c7 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.25rem 0.95rem;
  border-radius: 9999px;
  border: 1px solid rgba(110, 231, 183, 0.75);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: nasa-cta-pulse 2.5s infinite ease-in-out;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  vertical-align: middle;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.nasa-ticker-cta-btn:hover {
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  color: #ffffff !important;
  border-color: #ffffff;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.9), 0 0 8px rgba(56, 189, 248, 0.8);
  transform: translateY(-1px) scale(1.05);
}

.nasa-ticker-cta-btn i {
  font-size: 0.8rem;
  color: #a7f3d0;
}

@keyframes nasa-cta-pulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.75), 0 0 10px rgba(56, 189, 248, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  }
}

.ticker-separator {
  color: #38bdf8;
  font-size: 0.8rem;
  margin: 0 1.25rem;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.6));
}

/* NASA HUD Interactive Ticker Controls Toolbar */
.nasa-ticker-hud-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.85rem;
  background: rgba(2, 24, 16, 0.92);
  border-left: 1px solid rgba(52, 211, 153, 0.3);
  height: 100%;
  z-index: 15;
  flex-shrink: 0;
}

.nasa-ticker-hud-btn {
  background: rgba(6, 78, 59, 0.4);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #a7f3d0;
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nasa-ticker-hud-btn:hover {
  background: rgba(16, 185, 129, 0.3);
  color: #ffffff;
  border-color: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}

.nasa-ticker-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  color: #34d399;
  font-weight: 800;
  background: rgba(5, 150, 105, 0.15);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.status-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #34d399;
  animation: radar-ping-anim 2s infinite;
}

@keyframes ticker-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ticker-wrapper {
    min-height: 44px;
    height: 44px;
  }
  .ticker-badge {
    padding: 0.35rem 0.85rem;
    font-size: 0.82rem;
  }
  .nasa-ticker-sys {
    display: none;
  }
  .nasa-ticker-hud-controls {
    display: none;
  }
  .ticker-item {
    font-size: 0.88rem;
    padding: 0 0.95rem;
    line-height: 1.3;
    height: 44px;
  }
  .ticker-text {
    font-size: 0.92rem;
    line-height: 1.3;
  }
  .nasa-ticker-cta-btn {
    font-size: 0.75rem;
    padding: 0.15rem 0.65rem;
  }
  .ticker-track {
    animation-duration: 30s;
  }
}

@media (max-width: 480px) {
  .ticker-badge-text {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    overflow-x: auto;
  }
}

/* Hero Section - NASA Cosmic Telemetry Engine */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #00190a 0%, #012913 50%, #001207 100%);
  color: #ffffff;
  padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(4rem, 7vw, 6.5rem);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(16, 185, 129, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px;
  opacity: 0.65;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.nasa-gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #38bdf8 50%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
  filter: drop-shadow(0 0 16px rgba(52, 211, 153, 0.5));
}

.hero-urdu-title {
  font-family: var(--font-ur);
  font-size: 1.6rem;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 1.75rem;
  direction: rtl;
  text-align: right;
  border-right: 4px solid var(--emerald-accent);
  padding-right: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.hero-description {
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 0.85rem;
  padding: 0.85rem 0.5rem;
  text-align: center;
  transition: all 0.25s ease;
}

.stat-item:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #34d399;
  transform: translateY(-2px);
}

.stat-number {
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 900;
  color: #38bdf8;
  display: block;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.45);
}

.stat-item p {
  font-size: clamp(0.72rem, 1.8vw, 0.85rem);
  color: #cbd5e1;
  font-weight: 600;
  margin: 0;
}

.hero-visual {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-frame {
  position: relative;
  display: inline-block;
  padding: 1rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.25) 0%, rgba(4, 106, 56, 0.15) 70%);
  animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.3); }
  100% { box-shadow: 0 0 60px rgba(2, 132, 199, 0.5); }
}

.hero-logo-img {
  width: clamp(200px, 30vw, 320px);
  height: clamp(200px, 30vw, 320px);
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-badges-wrapper {
  position: relative;
  width: 100%;
}

.floating-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(52, 211, 153, 0.35);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.fb-1 { top: 15%; left: -20px; }
.fb-2 { bottom: 12%; right: -20px; }

.fb-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
}

.fb-text strong { display: block; font-size: 0.9rem; color: #ffffff; }
.fb-text span { font-size: 0.75rem; color: #94a3b8; }

/* Section Header */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-green);
  background-color: var(--emerald-light);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.section-urdu {
  font-family: var(--font-ur);
  font-size: 1.35rem;
  color: var(--tech-blue);
  margin-bottom: 0.75rem;
}

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

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--emerald-accent);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--emerald-light);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Course Card Design */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

/* ==========================================================================
   NASA-Grade World-Class Course Showcase System
   ========================================================================== */

/* Shimmer & Beacon Animations */
@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

@keyframes cyberShine {
  0% { transform: translateX(-150%); }
  100% { transform: translateX(150%); }
}

@keyframes cyberBorderScan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* NASA Hero Section */
.nasa-courses-hero {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(4, 106, 56, 0.45) 0%, rgba(2, 6, 23, 0.95) 60%, #010409 100%);
  color: #ffffff;
  padding: 5rem 0 4rem;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
}

.nasa-courses-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(16, 185, 129, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.nasa-courses-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.3) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.nasa-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 9999px;
  color: #a7f3d0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
  margin-bottom: 1.25rem;
}

.beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: beaconPulse 2s infinite ease-in-out;
  display: inline-block;
}

.nasa-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
  background: linear-gradient(135deg, #ffffff 30%, #a7f3d0 70%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(16, 185, 129, 0.25);
}

.nasa-hero-desc {
  max-width: 760px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.6;
}

.nasa-hero-stats {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.nasa-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  color: #e2e8f0;
  backdrop-filter: blur(8px);
}

.nasa-stat-pill i {
  color: #34d399;
}

/* Filter Bar */
.nasa-filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  padding: 1.1rem 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(4, 106, 56, 0.12);
  border-radius: 1.15rem;
  box-shadow: 0 10px 30px -10px rgba(2, 6, 23, 0.08);
}

.nasa-filter-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-pill-btn {
  background: var(--bg-slate-50);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-pill-btn:hover {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
}

.filter-pill-btn.active {
  background: linear-gradient(135deg, #046a38 0%, #059669 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(4, 106, 56, 0.35);
}

.nasa-search-wrapper {
  position: relative;
  min-width: 260px;
}

.nasa-search-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
}

.nasa-search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  border: 1.5px solid var(--border-light);
  border-radius: 9999px;
  font-size: 0.88rem;
  outline: none;
  transition: all 0.25s ease;
  background: var(--bg-slate-50);
}

.nasa-search-input:focus {
  border-color: #10b981;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* High-Tech NASA Course Card - Laser-Aligned Aerospace Grid */
.course-card.nasa-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(2, 6, 23, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  break-inside: avoid;
  page-break-inside: avoid;
}

.course-card.nasa-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #10b981, #0284c7, #8b5cf6, #10b981);
  background-size: 300% 100%;
  opacity: 0.7;
  transition: opacity 0.3s;
  z-index: 5;
}

.course-card.nasa-card:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow: 0 25px 50px -12px rgba(4, 106, 56, 0.22), 0 0 30px rgba(56, 189, 248, 0.16), 0 0 0 1.5px rgba(16, 185, 129, 0.45);
  border-color: transparent;
}

.course-card.nasa-card:hover::before {
  opacity: 1;
  animation: cyberBorderScan 3s linear infinite;
}

/* Card Header Banner & Interactive Zoom */
.course-card .course-header-banner {
  height: 190px;
  min-height: 190px;
  max-height: 190px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  color: #ffffff;
  flex-shrink: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-header-banner {
  background-size: 108%;
}

.course-card .course-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.15) 0%, rgba(2, 6, 23, 0.65) 45%, rgba(2, 6, 23, 0.96) 100%);
  z-index: 1;
}

/* Icon Orb Badge */
.course-icon-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  backdrop-filter: blur(10px);
  color: #38bdf8;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 3;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
  transition: all 0.3s ease;
}

.course-card:hover .course-icon-badge {
  transform: rotate(6deg) scale(1.08);
  border-color: #34d399;
  color: #34d399;
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.5);
}

/* Course Badges - NASA Standard */
.course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}

.course-badge.badge-free {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.55);
}

.course-badge.badge-free-launch {
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.55);
}

.course-badge.badge-discount {
  background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.55);
}

.course-badge.badge-demo {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.55);
}

.course-badge.badge-trending {
  background: linear-gradient(135deg, #0d9488 0%, #059669 100%);
  box-shadow: 0 0 14px rgba(13, 148, 136, 0.4);
}

.course-badge.badge-educational {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  box-shadow: 0 0 14px rgba(30, 41, 59, 0.4);
}

/* Card Header Content */
.course-header-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.course-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.2rem;
  line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-urdu-title {
  font-family: var(--font-ur);
  font-size: 1.05rem;
  color: #6ee7b7;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(110, 231, 183, 0.4);
  line-height: 1.3;
}

/* Card Body - Balanced Flex Container */
.course-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Telemetry Pills - Uniform Height Row */
.nasa-telemetry-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  min-height: 30px;
}

.nasa-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 0.25rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}

.nasa-meta-pill.pill-live {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.pulse-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  animation: beaconPulse 1.8s infinite ease-in-out;
}

/* Clamped Description for Exact Uniform Card Height */
.course-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1rem;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Features List - Standardized 3 Items with Fixed Height */
.course-features-list {
  list-style: none;
  margin: 0 0 1.15rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 90px;
}

.course-features-list li {
  font-size: 0.83rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.course-features-list li i {
  color: #10b981;
  font-size: 0.9rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.course-features-list li span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Footer - Laser-Locked Bottom Row */
.course-footer {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* Price Zone - Standardized Baseline Structure */
.course-price-zone {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 52px;
  width: 100%;
}

.price-meta-block {
  display: flex;
  flex-direction: column;
}

.price-dim-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.price-was-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.price-was-tag {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 700;
}

.price-was-val {
  font-size: 0.82rem;
  font-weight: 800;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 1.5px;
}

.price-main-block {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-val-hero-free {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1.5px solid #10b981;
  padding: 0.3rem 0.85rem;
  border-radius: 0.5rem;
  color: #047857;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.price-val-hero-free i {
  color: #10b981;
  font-size: 0.95rem;
}

.price-val-hero-discounted {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.price-number-big {
  font-size: 1.4rem;
  font-weight: 900;
  color: #046a38;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-curr-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #64748b;
}

.discount-glow-badge {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  line-height: 1;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

/* Action Buttons - 2 Column Clean Grid */
.course-actions-zone {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0.55rem;
  width: 100%;
}

.btn-nasa-details {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  padding: 0.55rem 0.75rem;
  border-radius: 0.65rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  text-decoration: none;
  height: 42px;
}

.btn-nasa-details:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.btn-nasa-free,
.btn-nasa-demo,
.btn-nasa-apply {
  height: 42px;
  border-radius: 0.65rem;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-nasa-free {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #047857 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-nasa-free:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55);
}

.btn-nasa-demo {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 50%, #0369a1 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-nasa-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55);
}

.btn-nasa-apply {
  background: linear-gradient(135deg, #046a38 0%, #034826 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(4, 106, 56, 0.3);
}

.btn-nasa-apply:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #059669 0%, #046a38 100%) !important;
  box-shadow: 0 6px 20px rgba(4, 106, 56, 0.45);
}

.btn-nasa-free::after,
.btn-nasa-demo::after,
.btn-nasa-apply::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  animation: cyberShine 3.5s infinite ease-in-out;
}

/* Subtle Interactive Certificate Cue on Course Cards */
.card-cert-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 0.5rem;
  background: rgba(248, 250, 252, 0.8);
  border: 1px dashed rgba(16, 185, 129, 0.4);
  border-radius: 0.5rem;
  font-size: 0.74rem;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
}

.card-cert-cue:hover {
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
}

.card-cert-cue .cue-fee {
  color: #047857;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.15);
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
}

/* ==========================================================================
   NASA ACADEMY CERTIFICATE BANNER & CLAIM POPUP ENGINE
   Official Rs. 1,500 Fee Protocol
   ========================================================================== */

/* NASA Certificate Launch Banner */
.nasa-cert-banner {
  background: radial-gradient(circle at 10% 20%, rgba(4, 106, 56, 0.15) 0%, rgba(2, 6, 23, 0.03) 60%), #ffffff;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 1.25rem;
  padding: 2rem;
  margin-bottom: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 15px 35px -10px rgba(4, 106, 56, 0.12), 0 0 25px rgba(56, 189, 248, 0.08);
  position: relative;
  overflow: hidden;
}

.nasa-cert-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #10b981, #0284c7);
}

.nasa-cert-banner-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.nasa-cert-icon-orb {
  width: 68px;
  height: 68px;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, #046a38 0%, #0f172a 100%);
  border: 2px solid rgba(52, 211, 153, 0.5);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.35);
  flex-shrink: 0;
}

.nasa-cert-banner-text {
  display: flex;
  flex-direction: column;
}

.cert-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #047857;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.cert-banner-heading {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.cert-banner-sub {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 0.85rem;
}

.cert-feature-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cert-feature-tags span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nasa-cert-banner-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  flex-shrink: 0;
}

.cert-fee-box {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 1.5px solid #10b981;
  padding: 0.85rem 1.4rem;
  border-radius: 1rem;
  text-align: right;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.cert-fee-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.cert-fee-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.35rem;
  margin: 0.15rem 0;
}

.cert-fee-unit {
  font-size: 0.95rem;
  font-weight: 800;
  color: #047857;
}

.cert-fee-number {
  font-size: 1.85rem;
  font-weight: 900;
  color: #046a38;
  line-height: 1;
}

.cert-fee-pkr {
  font-size: 0.85rem;
  font-weight: 800;
  color: #64748b;
}

.cert-fee-guarantee {
  font-size: 0.72rem;
  color: #059669;
  font-weight: 700;
  display: block;
}

.btn-cert-claim-launch {
  background: linear-gradient(135deg, #046a38 0%, #10b981 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.6rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px rgba(4, 106, 56, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-cert-claim-launch:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 28px rgba(4, 106, 56, 0.5);
}

.btn-cert-claim-launch::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  animation: cyberShine 3s infinite ease-in-out;
}

/* Floating Certificate Launcher Widget */
.floating-cert-launcher {
  position: fixed;
  bottom: 95px;
  right: 25px;
  z-index: 998;
  background: linear-gradient(135deg, #046a38 0%, #024d27 50%, #002b15 100%);
  color: #ffffff;
  border: 1.5px solid rgba(52, 211, 153, 0.6);
  border-radius: 9999px;
  padding: 0.55rem 1.15rem 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(4, 106, 56, 0.4), 0 0 20px rgba(52, 211, 153, 0.35);
  backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatLauncher 4s ease-in-out infinite;
}

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

.floating-cert-launcher:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 15px 35px rgba(4, 106, 56, 0.55), 0 0 30px rgba(52, 211, 153, 0.6);
  border-color: #34d399;
}

.floating-cert-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.25);
  border: 1.5px solid #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #a7f3d0;
  position: relative;
}

.beacon-dot-floating {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 9px;
  height: 9px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
  animation: beaconPulse 1.5s infinite;
}

.floating-cert-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.floating-cert-title {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  line-height: 1.2;
}

.floating-cert-fee {
  font-size: 0.72rem;
  font-weight: 800;
  color: #a7f3d0;
  letter-spacing: 0.04em;
}

/* NASA Claim Certificate Modal Dialog */
.nasa-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nasa-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.nasa-modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 1.5rem;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 25px 60px -15px rgba(2, 6, 23, 0.5), 0 0 40px rgba(16, 185, 129, 0.25);
  position: relative;
  transform: scale(0.92) translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nasa-modal-overlay.open .nasa-modal-container {
  transform: scale(1) translateY(0);
}

/* Modal Cyber Header */
.nasa-modal-header {
  background: radial-gradient(circle at 50% 0%, #064e29 0%, #022c17 60%, #01140b 100%);
  color: #ffffff;
  padding: 1.75rem 2rem 1.5rem;
  position: relative;
  border-bottom: 2px solid rgba(16, 185, 129, 0.35);
}

.nasa-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nasa-modal-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

.modal-telemetry-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #a7f3d0;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.nasa-modal-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.nasa-modal-urdu-title {
  font-family: var(--font-ur);
  font-size: 1.15rem;
  color: #6ee7b7;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.nasa-modal-sub {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* Modal Fee Spotlight - The 1500 PKR Highlight */
.modal-fee-spotlight {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #e0f2fe 100%);
  border: 2px solid #10b981;
  border-radius: 1.15rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 2rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.fee-spotlight-left {
  display: flex;
  flex-direction: column;
}

.spotlight-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.spotlight-amount-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.spotlight-unit {
  font-size: 1.1rem;
  font-weight: 800;
  color: #047857;
}

.spotlight-val {
  font-size: 2.25rem;
  font-weight: 900;
  color: #046a38;
  line-height: 1;
}

.spotlight-currency {
  font-size: 0.95rem;
  font-weight: 800;
  color: #64748b;
}

.spotlight-perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  text-align: right;
}

.spotlight-perks-list span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
}

.spotlight-perks-list i {
  color: #059669;
}

/* Modal Form Body */
.nasa-modal-body {
  padding: 0 2rem 2rem;
}

.claim-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.claim-form-full {
  grid-column: 1 / -1;
}

.claim-input-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 0.35rem;
}

.claim-input-group input,
.claim-input-group select,
.claim-input-group textarea {
  width: 100%;
  padding: 0.65rem 0.95rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.65rem;
  font-size: 0.88rem;
  color: #0f172a;
  outline: none;
  transition: all 0.25s ease;
  background: #f8fafc;
}

.claim-input-group input:focus,
.claim-input-group select:focus,
.claim-input-group textarea:focus {
  border-color: #10b981;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

/* Payment Channel Selector */
.payment-selector-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.85rem;
}

.pay-tab-btn {
  padding: 0.6rem 0.4rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  color: #475569;
}

.pay-tab-btn:hover {
  border-color: #10b981;
  color: #047857;
}

.pay-tab-btn.active {
  background: #ecfdf5;
  border-color: #10b981;
  color: #046a38;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.18);
}

.pay-account-display-box {
  background: #0f172a;
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pay-acc-details {
  display: flex;
  flex-direction: column;
}

.pay-acc-title {
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
}

.pay-acc-number {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #34d399;
  font-family: monospace;
}

.pay-acc-holder {
  font-size: 0.78rem;
  color: #cbd5e1;
}

.btn-copy-account {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-copy-account:hover {
  background: #10b981;
  border-color: #10b981;
}

.btn-submit-cert-claim {
  width: 100%;
  background: linear-gradient(135deg, #046a38 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px rgba(4, 106, 56, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-submit-cert-claim:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(4, 106, 56, 0.5);
}

.claim-success-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.claim-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 2px solid #10b981;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  animation: beaconPulse 2s infinite;
}

@media (max-width: 768px) {
  .nasa-cert-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
  }
  .nasa-cert-banner-right {
    align-items: stretch;
  }
  .nasa-cert-banner-left {
    flex-direction: column;
    text-align: center;
  }
  .cert-fee-box {
    text-align: center;
  }
  .cert-fee-price {
    justify-content: center;
  }
  .modal-fee-spotlight {
    flex-direction: column;
    text-align: center;
  }
  .spotlight-perks-list {
    text-align: center;
  }
  .spotlight-perks-list span {
    justify-content: center;
  }
  .claim-form-grid {
    grid-template-columns: 1fr;
  }
  .payment-selector-tabs {
    grid-template-columns: 1fr 1fr;
  }
  .floating-cert-launcher {
    bottom: 85px;
    right: 15px;
    padding: 0.45rem 0.85rem;
  }
  .floating-cert-title {
    font-size: 0.78rem;
  }
}

/* E-Services Portal Banner */
.services-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 5rem 0;
  border-y: 1px solid var(--border-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  border: 1px solid #bae6fd;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--tech-blue);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-lg);
  background: var(--tech-blue-light);
  color: var(--tech-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Verification Tool Box */
.verify-widget-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
  max-width: 700px;
  margin: 0 auto;
}

.verify-input-group {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(4, 106, 56, 0.15);
}

/* Form Styling */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-label .required {
  color: var(--danger);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.25em 1.25em;
  padding-right: 2.5rem;
}

/* Modal Windows */
.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 3001;
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal.active .modal-dialog {
  transform: scale(1);
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-body {
  padding: 1.5rem;
}

/* Fixed Floating Stack Container - Bottom Right Corner */
#ilmTechFloatingStack {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.chatbot-toggle, .whatsapp-toggle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  font-size: 1.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  position: relative;
  user-select: none;
}

.chatbot-toggle {
  background: var(--primary-green);
}

.chatbot-toggle:hover {
  transform: scale(1.08);
  background-color: var(--primary-green-hover);
}

.whatsapp-toggle {
  background: #25d366;
  font-size: 1.9rem;
}

.whatsapp-toggle:hover {
  transform: scale(1.08);
  background: #128c7e;
}

.pulse-call-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: pulseCallAnim 2s infinite;
  pointer-events: none;
}

@keyframes pulseCallAnim {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.chatbot-window {
  position: fixed !important;
  bottom: 30px !important;
  right: 105px !important;
  left: auto !important;
  top: auto !important;
  width: 410px !important;
  max-width: calc(100vw - 125px) !important;
  height: 590px !important;
  background: #ffffff !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28) !important;
  border: 1px solid var(--border-light) !important;
  display: none;
  flex-direction: column !important;
  overflow: hidden !important;
  z-index: 999999 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif !important;
  direction: rtl !important;
  text-align: right !important;
}

.chatbot-window.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
}

.chatbot-header {
  background: linear-gradient(135deg, #022c22 0%, #046a38 100%);
  color: #ffffff;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #10b981;
  direction: rtl;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.chatbot-header-info img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #10b981;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.chatbot-header-info strong {
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif !important;
  font-size: 1.15rem !important;
  line-height: 1.4 !important;
  color: #ffffff !important;
  letter-spacing: 0.01em;
}

.chatbot-header-info span {
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif !important;
  font-size: 0.88rem !important;
  color: #a7f3d0 !important;
}

.chatbot-messages {
  flex-grow: 1;
  padding: 1.1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: #f8fafc;
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif !important;
  direction: rtl;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.chatbot-messages::-webkit-scrollbar {
  width: 5px;
}
.chatbot-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.chat-bubble {
  max-width: 88%;
  padding: 0.9rem 1.25rem;
  border-radius: 1rem;
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif !important;
  font-size: 1.1rem !important;
  line-height: 2.2 !important;
  direction: rtl !important;
  text-align: right !important;
  letter-spacing: 0.01em;
  position: relative;
  word-break: break-word;
}

.chat-bubble.bot {
  background: #ffffff !important;
  color: #0f172a !important;
  border-bottom-right-radius: 0.25rem !important;
  border-bottom-left-radius: 1rem !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #e2e8f0 !important;
}

.chat-bubble.bot strong {
  color: #046a38;
}

.chat-bubble.user {
  background: linear-gradient(135deg, #046a38 0%, #024d27 100%) !important;
  color: #ffffff !important;
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem !important;
  border-bottom-right-radius: 1rem !important;
  box-shadow: 0 4px 12px rgba(4, 106, 56, 0.25) !important;
}

.chatbot-quick-prompts {
  padding: 0.55rem 0.85rem !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  gap: 0.5rem !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
  direction: rtl !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.chatbot-quick-prompts::-webkit-scrollbar {
  display: none !important;
}

.quick-prompt {
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif !important;
  font-size: 0.98rem !important;
  line-height: 1.8 !important;
  border-radius: 2rem !important;
  padding: 0.35rem 0.95rem !important;
  border: 1.5px solid #10b981 !important;
  color: #046a38 !important;
  background: #f0fdf4 !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.quick-prompt:hover {
  background: #046a38 !important;
  color: #ffffff !important;
  border-color: #046a38 !important;
}

.chatbot-input-area {
  padding: 0.75rem 1rem !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  display: flex !important;
  gap: 0.6rem !important;
  align-items: center !important;
  direction: rtl !important;
}

.chatbot-input-area input {
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  direction: rtl !important;
  text-align: right !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 0.6rem !important;
  padding: 0.6rem 0.9rem !important;
}

.chatbot-input-area input:focus {
  border-color: #046a38 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(4, 106, 56, 0.15) !important;
}

.chatbot-input-area button {
  font-family: 'Jameel Noori Nastaleeq', 'JameelNooriNastaleeq', 'Noto Nastaliq Urdu', serif !important;
  border-radius: 0.6rem !important;
}

@media (max-width: 576px) {
  #ilmTechFloatingStack {
    bottom: 15px !important;
    right: 15px !important;
    gap: 10px;
  }
  .chatbot-toggle, .whatsapp-toggle {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }
  .chatbot-window {
    width: calc(100vw - 30px) !important;
    right: 15px !important;
    bottom: 140px !important;
    left: auto !important;
  }
}

/* Footer */
.site-footer {
  background-color: var(--dark-green);
  color: #cbd5e1;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 3px solid var(--primary-green);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: #cbd5e1;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
  touch-action: manipulation;
}

.social-icon:hover {
  background: var(--emerald-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: none;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom a:hover {
  color: var(--emerald-accent);
}

/* Certificate Printable Styling */
.certificate-frame {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background: #ffffff;
  border: 12px solid var(--primary-green);
  outline: 4px double var(--tech-blue);
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.certificate-header {
  margin-bottom: 2rem;
}

.certificate-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.certificate-student {
  font-size: 2rem;
  font-weight: 800;
  color: var(--tech-blue-dark);
  margin: 1.5rem 0;
  border-bottom: 2px dashed var(--border-light);
  display: inline-block;
  padding: 0 2rem 0.5rem;
}

.certificate-details {
  display: flex;
  justify-content: space-around;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   HIGH-PRECISION RESPONSIVE ENGINE (MOBILE & TABLET EXCELLENCE)
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-menu {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 992px) {
  .hero-grid { 
    grid-template-columns: 1fr; 
    text-align: center;
    gap: 2.5rem;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-urdu-title { 
    text-align: center; 
    border-right: none; 
    border-bottom: 3px solid var(--emerald-accent); 
    padding-right: 0; 
    padding-bottom: 0.5rem; 
  }
  .hero-ctas { 
    justify-content: center; 
  }
  .hero-visual {
    width: 100%;
    margin-top: 1rem;
  }
  .hero-badges-wrapper {
    position: static;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
  }
  .floating-badge {
    position: static !important;
    transform: none !important;
    animation: none !important;
    margin: 0 !important;
    padding: 0.65rem 1rem !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
    background: rgba(15, 23, 42, 0.95) !important;
  }
  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
  }
}

@media (max-width: 768px) {
  .header-nav {
    height: 64px;
  }
  .brand-logo img {
    width: 40px !important;
    height: 40px !important;
  }
  .brand-name {
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
  }
  .brand-subtitle {
    font-size: 0.68rem !important;
    display: block !important;
    line-height: 1.1 !important;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-actions .btn-outline-blue {
    display: none !important;
  }
  .nav-actions .btn-primary {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.8rem !important;
  }
  .mobile-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .hero-section {
    padding: 3.5rem 0 4rem;
  }
  .hero-title {
    font-size: clamp(2rem, 7vw, 2.6rem);
    line-height: 1.2;
  }
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5rem !important;
    padding-top: 1.25rem !important;
  }
  .stat-item {
    padding: 0.65rem 0.35rem !important;
  }
  .stat-number {
    font-size: 1.35rem !important;
  }
  .stat-item p {
    font-size: 0.7rem !important;
    white-space: normal !important;
  }
  .footer-grid { 
    grid-template-columns: 1fr; 
  }
  .verify-input-group { 
    flex-direction: column; 
  }
  .about-ceo-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center;
  }
  .contact-main-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  #courseLayoutGrid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 480px) {
  .brand-subtitle {
    display: none !important;
  }
  .brand-name {
    font-size: 0.98rem !important;
  }
  .nav-actions .btn-primary {
    display: none !important;
  }
  .hero-section {
    padding: 2.75rem 0 3.25rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .nasa-badge {
    font-size: 0.76rem;
    padding: 0.35rem 0.75rem;
  }
}

/* ==========================================================================
   NASA-GRADE COSMIC DESIGN SYSTEM & RTL PURE URDU FORMATTING ENGINE
   Ilm E Tech Pakistan (ilmetechpakistan.com)
   ========================================================================== */

/* NASA High-Tech Glowing Borders & Glassmorphism */
.nasa-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(4, 106, 56, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px -10px rgba(4, 106, 56, 0.12), 0 4px 6px -2px rgba(2, 132, 199, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.nasa-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--emerald-accent), var(--tech-blue));
  opacity: 0.8;
  transition: opacity 0.3s;
}

.nasa-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 40px -15px rgba(4, 106, 56, 0.25), 0 8px 16px -4px rgba(2, 132, 199, 0.15);
  border-color: var(--emerald-accent);
}

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

/* NASA Cosmic Glow Badge - WCAG AA & AAA Compliant High Contrast */
.nasa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  min-height: 28px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-full);
  color: #a7f3d0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: nasaPulse 3s infinite ease-in-out;
}

.hero-section .nasa-badge {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.5);
}

@keyframes nasaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}



/* Metallic Shimmer Buttons */
.btn-nasa {
  background: linear-gradient(135deg, var(--primary-green) 0%, #03522b 50%, var(--dark-green) 100%);
  color: #ffffff !important;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(4, 106, 56, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-nasa::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.25) 50%, transparent 70%);
  transform: rotate(30deg);
  animation: nasaShimmer 4s infinite;
}

@keyframes nasaShimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.btn-nasa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(4, 106, 56, 0.45);
}

/* Gradient Text Effect */
.nasa-gradient-text {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--emerald-accent) 50%, var(--tech-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 900;
}

/* Floating Animations */
.nasa-float {
  animation: floatAnim 4s ease-in-out infinite;
}

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

/* ==========================================================================
   RTL FORMATTING ENGINE (INTERNATIONAL SUPPORT)
   ========================================================================== */

html[dir="rtl"], html[lang="ur"], body.font-urdu {
  direction: rtl;
  text-align: right;
  font-family: var(--font-ur-body);
  line-height: 2.1;
}

/* Headline Typography in Urdu (Bombay Black Font) */
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, 
html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
body.font-urdu h1, body.font-urdu h2, body.font-urdu h3,
body.font-urdu .hero-title, body.font-urdu .section-title,
body.font-urdu .brand-urdu, body.font-urdu .card-title,
.urdu-heading, .bombay-font {
  font-family: var(--font-ur-heading) !important;
  line-height: 1.5;
  text-align: right;
  letter-spacing: 0;
}

/* Header & Nav Layout for RTL (Zero Overlap) */
html[dir="rtl"] .header-nav, body.font-urdu .header-nav {
  height: auto;
  min-height: 85px;
  padding: 0.5rem 0;
}

html[dir="rtl"] .nav-container, body.font-urdu .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-direction: row;
}

html[dir="rtl"] .brand-logo, body.font-urdu .brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: right;
  text-decoration: none;
  flex-shrink: 0;
}

html[dir="rtl"] .brand-text, body.font-urdu .brand-text {
  text-align: right;
}

html[dir="rtl"] .nav-menu, body.font-urdu .nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

html[dir="rtl"] .nav-link, body.font-urdu .nav-link {
  font-family: var(--font-ur-heading);
  font-size: 1.05rem;
  padding: 0.4rem 0.5rem;
  white-space: nowrap;
}

html[dir="rtl"] .nav-actions, body.font-urdu .nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

html[dir="rtl"] .dropdown-menu, body.font-urdu .dropdown-menu {
  right: 0;
  left: auto;
  text-align: right;
  font-family: var(--font-ur-body);
}

html[dir="rtl"] .dropdown-item, body.font-urdu .dropdown-item {
  font-family: var(--font-ur-body);
  font-size: 1rem;
  text-align: right;
}

html[dir="rtl"] .top-bar-inner, body.font-urdu .top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

html[dir="rtl"] .top-info, body.font-urdu .top-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Flex Icon Margins in RTL */
html[dir="rtl"] i, body.font-urdu i {
  margin-right: 0 !important;
  margin-left: 0.4rem;
}

/* Form Inputs & Labels RTL */
html[dir="rtl"] .form-group label, body.font-urdu .form-group label {
  text-align: right;
  display: block;
  font-family: var(--font-ur-heading);
  font-size: 1.05rem;
}

html[dir="rtl"] .form-control, body.font-urdu .form-control,
html[dir="rtl"] select, body.font-urdu select,
html[dir="rtl"] textarea, body.font-urdu textarea {
  text-align: right;
  direction: rtl;
  font-family: var(--font-ur-body);
  font-size: 1.05rem;
}

html[dir="rtl"] .input-group, body.font-urdu .input-group {
  flex-direction: row;
}

/* Hero Section RTL Layout */
html[dir="rtl"] .hero-grid, body.font-urdu .hero-grid {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .hero-urdu-title, body.font-urdu .hero-urdu-title {
  text-align: right;
  border-right: 4px solid var(--emerald-accent);
  border-left: none;
  padding-right: 1rem;
  padding-left: 0;
  font-family: var(--font-ur-body);
}

html[dir="rtl"] .hero-ctas, body.font-urdu .hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

html[dir="rtl"] .card, body.font-urdu .card {
  text-align: right;
}

html[dir="rtl"] .card-header, body.font-urdu .card-header,
html[dir="rtl"] .card-footer, body.font-urdu .card-footer {
  text-align: right;
}

html[dir="rtl"] .badge, body.font-urdu .badge {
  direction: rtl;
  font-family: var(--font-ur-heading);
}

/* Table RTL */
html[dir="rtl"] table, body.font-urdu table {
  text-align: right;
  direction: rtl;
  font-family: var(--font-ur-body);
}

html[dir="rtl"] th, body.font-urdu th {
  text-align: right;
  font-family: var(--font-ur-heading);
}

html[dir="rtl"] td, body.font-urdu td {
  text-align: right;
  font-family: var(--font-ur-body);
}

/* Footer RTL */
html[dir="rtl"] .footer-grid, body.font-urdu .footer-grid {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .footer-bottom, body.font-urdu .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Toast Notifications RTL */
html[dir="rtl"] #toastContainer, body.font-urdu #toastContainer {
  right: auto;
  left: 20px;
  direction: rtl;
}

/* Mobile Drawer RTL */
html[dir="rtl"] .mobile-drawer, body.font-urdu .mobile-drawer {
  right: auto;
  left: -320px;
  text-align: right;
}

html[dir="rtl"] .mobile-drawer.open, body.font-urdu .mobile-drawer.open {
  transform: translateX(320px);
}

/* ==========================================================================
   VIP 1-on-1 Session Styling & Spotlight Card (NASA Aerospace Grade)
   ========================================================================== */
.badge-vip {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.3) 100%) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.6) !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3) !important;
}

.vip-spotlight-card {
  position: relative;
  background: linear-gradient(135deg, #022016 0%, #043826 40%, #032b1e 100%);
  border: 1.5px solid rgba(52, 211, 153, 0.4);
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 35px rgba(16, 185, 129, 0.15);
  overflow: hidden;
  margin: 3rem 0;
  color: #ffffff;
}

.vip-spotlight-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.vip-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0f172a;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
  margin-bottom: 1rem;
}

.vip-spotlight-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.vip-spotlight-title {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.vip-spotlight-urdu {
  font-family: var(--font-ur);
  font-size: 1.35rem;
  color: #6ee7b7;
  font-weight: 700;
  margin-bottom: 1rem;
}

.vip-spotlight-desc {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.vip-perks-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
}

.vip-perks-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #e2e8f0;
  font-size: 0.92rem;
}

.vip-perks-list li i {
  color: #34d399;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.vip-price-box {
  background: rgba(1, 24, 16, 0.85);
  border: 1.5px solid rgba(52, 211, 153, 0.4);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 25px rgba(0, 0, 0, 0.4);
}

.vip-price-tag-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.vip-price-amount {
  font-size: 2.6rem;
  font-weight: 900;
  color: #34d399;
  line-height: 1.1;
  margin: 0.25rem 0;
  text-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
}

.vip-price-sub {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.btn-vip-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.05rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(110, 231, 183, 0.8);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-vip-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.8);
  background: linear-gradient(135deg, #34d399 0%, #047857 100%);
}

@media (max-width: 900px) {
  .vip-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .vip-perks-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Marketing & Creative Agency Services Page Styles (NASA Aero Suite)
   ========================================================================== */
.services-hero-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, #063d2b 0%, #021a11 50%, #01120b 100%);
  color: #ffffff;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(52, 211, 153, 0.25);
}

.services-cosmic-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.services-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 78, 59, 0.6);
  border: 1px solid rgba(52, 211, 153, 0.5);
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.services-hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: #ffffff;
}

.services-hero-urdu {
  font-family: var(--font-ur);
  font-size: 1.6rem;
  color: #6ee7b7;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.services-hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 780px;
  line-height: 1.65;
  margin: 0 auto 2rem;
}

/* 4 Core Services Grid */
.agency-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin: 3.5rem 0;
}

.agency-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.agency-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px rgba(4, 106, 56, 0.15);
  border-color: rgba(16, 185, 129, 0.6);
}

.service-card-top-accent {
  height: 5px;
  background: linear-gradient(90deg, #10b981 0%, #38bdf8 100%);
}

.service-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-icon-orb {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 182, 212, 0.15) 100%);
  color: #047857;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(52, 211, 153, 0.3);
  transition: all 0.3s ease;
}

.agency-service-card:hover .service-icon-orb {
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  color: #ffffff;
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
}

.service-number-tag {
  font-family: monospace;
  font-size: 0.78rem;
  color: #0284c7;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.service-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.service-card-urdu {
  font-family: var(--font-ur);
  font-size: 1.15rem;
  color: #047857;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.service-features-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.service-features-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.4;
}

.service-features-checklist li i {
  color: #10b981;
  font-size: 0.95rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.service-card-action {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.btn-service-inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #046a38 0%, #034b75 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0.65rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-service-inquire:hover {
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  box-shadow: 0 6px 18px rgba(4, 106, 56, 0.3);
  transform: translateY(-2px);
}

/* Service Booking / Quotation Form Section */
.agency-inquiry-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1.5px solid #cbd5e1;
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 4rem auto 0;
}

.service-choice-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.service-chip-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.65rem;
  background: #ffffff;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s ease;
}

.service-chip-label:hover {
  border-color: #10b981;
  background: #f0fdf4;
}

.service-chip-label input[type="radio"]:checked + span,
.service-chip-label:has(input[type="radio"]:checked) {
  border-color: #059669;
  background: #ecfdf5;
  color: #065f46;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
  .services-hero-title {
    font-size: 2.2rem;
  }
  .services-hero-urdu {
    font-size: 1.3rem;
  }
  .agency-inquiry-box {
    padding: 2rem 1.25rem;
  }
}

/* ==========================================================================
   OFFICIAL ACADEMIC CERTIFICATE & CREDENTIAL VERIFICATION SYSTEM
   Iso-Grade Security Design with Guilloché Borders & Golden Foil Seal
   ========================================================================== */
.official-cert-stage {
  perspective: 1000px;
  margin: 2rem auto;
  max-width: 960px;
  width: 100%;
}

.official-cert-card {
  position: relative;
  background: radial-gradient(circle at center, #ffffff 0%, #fefdf9 60%, #fbf6ec 100%);
  border: 4px solid #c59b27;
  border-radius: 6px;
  padding: 3rem 3.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(197, 155, 39, 0.5);
  color: #0f172a;
  overflow: hidden;
  font-family: var(--font-en);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Double Navy & Gold Frame Inlay (Screenshot 5 Match) */
.official-cert-card::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 2.5px solid #1e3a5f;
  outline: 1px solid rgba(197, 155, 39, 0.7);
  outline-offset: 4px;
  pointer-events: none;
  z-index: 1;
}

/* Hanging Navy Ribbon Medal Badge (Screenshot 5 Top-Left) */
.cert-ribbon-badge {
  position: absolute;
  top: 0;
  left: 55px;
  width: 72px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.cert-ribbon-tail {
  width: 54px;
  height: 96px;
  background: #1e3a5f;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%);
}

.cert-ribbon-medal {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a 0%, #ca8a04 70%, #854d0e 100%);
  border: 2px solid #fef08a;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px;
}

.cert-ribbon-medal span {
  font-size: 0.38rem;
  font-weight: 900;
  color: #422006;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.cert-ribbon-medal i {
  font-size: 0.65rem;
  color: #713f12;
  margin-bottom: 1px;
}

/* Corner Filigree Accents (Screenshot 5 Match) */
.cert-corner-ornament {
  position: absolute;
  width: 58px;
  height: 58px;
  pointer-events: none;
  z-index: 2;
  color: #c59b27;
}
.cert-corner-tl { top: 16px; left: 16px; }
.cert-corner-tr { top: 16px; right: 16px; transform: scaleX(-1); }
.cert-corner-bl { bottom: 16px; left: 16px; transform: scaleY(-1); }
.cert-corner-br { bottom: 16px; right: 16px; transform: scale(-1); }

/* Watermark Insignia */
.cert-watermark-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: url('../images/logo.jpg') no-repeat center center;
  background-size: contain;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(100%);
}

.cert-content-layer {
  position: relative;
  z-index: 3;
}

/* Certificate Top Header */
.cert-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.cert-emblem-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cert-crest-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #b45309;
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.2);
  object-fit: cover;
}

.cert-institution-name {
  font-family: 'Cinzel', serif, Georgia;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #046a38;
  line-height: 1.1;
  text-transform: uppercase;
}

.cert-institution-sub {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #b45309;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.cert-security-badge-top {
  text-align: right;
  font-size: 0.75rem;
  color: #475569;
  font-family: monospace;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid #cbd5e1;
  border-radius: 0.4rem;
  padding: 0.5rem 0.75rem;
}

.cert-security-badge-top strong {
  color: #0f172a;
  display: block;
  font-size: 0.82rem;
}

/* Certificate Titles */
.cert-headings-zone {
  text-align: center;
  margin-bottom: 1.5rem;
}

.cert-urdu-title {
  font-family: 'Jameel Noori Nastaleeq', 'Noto Nastaliq Urdu', serif;
  font-size: 2rem;
  color: #046a38;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.cert-main-title {
  font-family: 'Cinzel', serif, Georgia;
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #1e293b;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  display: inline-block;
}

.cert-main-title::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #b45309, #046a38, #b45309, transparent);
}

.cert-conferral-text {
  text-align: center;
  font-size: 0.95rem;
  font-style: italic;
  color: #475569;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* Student Recipient Display */
.cert-student-box {
  text-align: center;
  margin: 1.25rem 0 1.5rem;
}

.cert-student-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #046a38;
  letter-spacing: 0.02em;
  display: inline-block;
  padding: 0 2rem 0.4rem;
  border-bottom: 2px solid #ca8a04;
  min-width: 320px;
}

.cert-student-meta {
  font-size: 0.92rem;
  color: #475569;
  margin-top: 0.5rem;
}

.cert-student-meta strong {
  color: #0f172a;
}

/* Course Achievement Statement */
.cert-achievement-text {
  text-align: center;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #334155;
  max-width: 780px;
  margin: 0 auto 1.25rem;
}

.cert-course-pill {
  display: inline-block;
  background: linear-gradient(135deg, #046a38 0%, #034b75 100%);
  color: #ffffff;
  font-family: 'Cinzel', serif, Georgia;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0.6rem 2rem;
  border-radius: 2rem;
  box-shadow: 0 4px 15px rgba(4, 106, 56, 0.25);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.cert-grade-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cert-grade-tag {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 1rem;
}

/* Bottom Verification & Signatures Layer */
.cert-bottom-signatures {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1.5px dashed #cbd5e1;
  margin-top: 1.5rem;
}

.cert-sign-col {
  text-align: center;
}

.cert-signature-img-text {
  font-family: 'Alex Brush', cursive;
  font-size: 2.4rem;
  color: #046a38;
  line-height: 1;
  margin-bottom: 0.35rem;
  user-select: none;
}

.cert-sign-line {
  border-top: 1.5px solid #64748b;
  width: 170px;
  margin: 0 auto 0.4rem;
}

.cert-sign-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
}

.cert-sign-role {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* 3D Gold Foil Medallion Seal */
.cert-medallion-seal {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fef08a 0%, #eab308 30%, #ca8a04 70%, #854d0e 100%);
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.45), inset 0 2px 4px rgba(255, 255, 255, 0.8), inset 0 -3px 6px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  text-align: center;
  border: 3px double #fef08a;
}

.cert-medallion-seal::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1.5px dashed rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.seal-icon {
  font-size: 1.4rem;
  color: #713f12;
  margin-bottom: 0.15rem;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.4));
}

.seal-text-top {
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #713f12;
  text-transform: uppercase;
}

.seal-text-center {
  font-size: 0.65rem;
  font-weight: 900;
  color: #422006;
  text-transform: uppercase;
  line-height: 1;
  margin: 0.15rem 0;
}

.seal-text-bottom {
  font-size: 0.48rem;
  font-weight: 800;
  color: #713f12;
  letter-spacing: 0.04em;
}

/* Certificate Footer Security Strip */
.cert-footer-security {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.72rem;
  color: #64748b;
  font-family: monospace;
}

.cert-qr-mini {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cert-qr-box {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #0f172a;
}

/* Certificate Action Bar */
.cert-action-bar {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-cert-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 0.65rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
  text-decoration: none;
}

.btn-cert-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.5);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.btn-cert-share {
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.65rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-cert-share:hover {
  transform: translateY(-2px);
  background: #1eb956;
}

/* Interactive Certificate Generator Sandbox Form */
.cert-sandbox-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2.5rem;
}

.cert-sandbox-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;
}

.cert-tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cert-tab-btn.active {
  background: var(--emerald-light);
  color: var(--primary-green);
  box-shadow: 0 0 0 1px rgba(4, 106, 56, 0.2);
}

/* Print Rules - Isolates Certificate into Pure Landscape A4 Page */
@media print {
  body * {
    visibility: hidden;
  }
  .official-cert-card,
  .official-cert-card * {
    visibility: visible;
  }
  .official-cert-card {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 2.5rem;
    box-shadow: none;
    border-width: 8px;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .cert-action-bar,
  .header-nav,
  .site-footer,
  #certVerificationForm,
  .cert-sandbox-card,
  .ticker-wrapper {
    display: none !important;
  }
}

/* ==========================================================================
   BRANDS & ENTERPRISE PARTNERS SHOWCASE SECTION
   "Multiple Brands We Have Worked With"
   ========================================================================== */
.brands-showcase-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 5rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.brands-grid-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

/* Compact Client Logos Strip (Single Clean Row / Marquee) */
.compact-client-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 2.25rem 0 1.5rem;
  padding: 0.5rem;
}

.compact-logo-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  padding: 0.4rem 1.25rem 0.4rem 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  max-width: 100%;
}

.compact-logo-card:hover {
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

.compact-logo-img {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  border-radius: 50%;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 2px;
  flex-shrink: 0;
}

.compact-logo-text {
  display: flex;
  flex-direction: column;
}

.compact-logo-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
}

.compact-logo-tag {
  font-size: 0.7rem;
  color: #047857;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-showcase-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.brand-showcase-card:hover {
  transform: translateY(-5px);
  border-color: #10b981;
  box-shadow: 0 15px 30px -5px rgba(4, 106, 56, 0.15);
}

.brand-logo-emblem {
  width: 58px;
  height: 58px;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #046a38;
  margin-bottom: 1rem;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
}

.brand-logo-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 0.85rem;
  padding: 0.35rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 0.85rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-showcase-card:hover .brand-logo-emblem {
  transform: scale(1.1);
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.brand-showcase-card:hover .brand-logo-img {
  transform: scale(1.08);
  border-color: #10b981;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.22);
}

.brand-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.brand-card-sector {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.brand-card-scope {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.4;
}

.brand-verified-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  border: 1px solid #a7f3d0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Impact Telemetry Row */
.brand-impact-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, #002b15 0%, #034b75 100%);
  border-radius: 1.25rem;
  color: #ffffff;
}

.brand-stat-box {
  text-align: center;
}

.brand-stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: #6ee7b7;
  line-height: 1;
  font-family: var(--font-en);
}

.brand-stat-lbl {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 600;
  margin-top: 0.4rem;
}

/* ==========================================================================
   INTERACTIVE AI COURSE & CAREER MATCHER WIZARD
   Beats Competitor Course Finder in 30 Seconds
   ========================================================================== */
.career-matcher-card {
  background: linear-gradient(135deg, #00190a 0%, #032b45 100%);
  border: 2px solid rgba(16, 185, 129, 0.35);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  margin: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.career-matcher-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.matcher-grid-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.matcher-option-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.85rem;
  padding: 1.25rem 1rem;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.matcher-option-btn:hover,
.matcher-option-btn.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.matcher-opt-icon {
  font-size: 1.5rem;
  color: #6ee7b7;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.matcher-opt-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.matcher-opt-desc {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.35;
}

.matcher-result-display {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(110, 231, 183, 0.4);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  animation: fadeIn 0.4s ease;
}

/* ==========================================================================
   NATIONAL TALENT SCHOLARSHIP BATCH #14 FLOATING NOTIFICATION & MODAL
   ========================================================================== */
.scholarship-float-badge {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 998;
  background: linear-gradient(135deg, #046a38 0%, #0f172a 100%);
  color: #ffffff;
  border: 2px solid #10b981;
  border-radius: 2rem;
  padding: 0.65rem 1.25rem;
  box-shadow: 0 10px 30px rgba(4, 106, 56, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  animation: floatPulse 3s infinite ease-in-out;
  transition: transform 0.25s ease;
}

.scholarship-float-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.5);
}

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

.scholarship-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.scholarship-modal-overlay.active {
  display: flex;
}

.scholarship-modal-content {
  background: linear-gradient(135deg, #00190a 0%, #032b45 100%);
  border: 2px solid #10b981;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 620px;
  color: #ffffff;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  0% { transform: scale(0.92); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.scholarship-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.scholarship-modal-close:hover {
  background: rgba(239, 68, 68, 0.8);
}

.scholarship-countdown-strip {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 0.65rem;
  padding: 0.75rem 0.5rem;
  min-width: 70px;
  text-align: center;
}

.countdown-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: #6ee7b7;
  line-height: 1;
  font-family: monospace;
}

/* ==========================================================================
   SIMPLIFIED FREE COURSES LEAD MODAL (HIGH CONTRAST & CLEAN DESIGN)
   "ابھی اپنا ٹیکنالوجی کا سفر شروع کریں اور فری میں جوائن کریں!"
   ========================================================================== */
.lead-quick-modal-content {
  background: #ffffff !important;
  border: 2px solid #059669 !important;
  border-radius: 1.25rem !important;
  width: 100% !important;
  max-width: 520px !important;
  color: #0f172a !important;
  padding: 2.25rem 2rem 2rem !important;
  position: relative !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), 0 0 40px rgba(5, 150, 105, 0.15) !important;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
}

.lead-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  color: #047857 !important;
  padding: 0.35rem 0.95rem;
  border-radius: 1.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.lead-title-urdu {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  font-size: 1.55rem !important;
  color: #046a38 !important;
  line-height: 1.8 !important;
  margin: 0.2rem 0 0.3rem !important;
  text-shadow: none !important;
}

.lead-title-en {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0284c7 !important;
  margin-bottom: 0.4rem !important;
}

.lead-desc {
  font-size: 0.88rem !important;
  color: #475569 !important;
  line-height: 1.5 !important;
  margin-bottom: 1.25rem !important;
}

/* Reusable 2-Column Responsive Form Row */
.form-row-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* Admissions Category Filter Tabs */
.adm-tabs-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  background: #f1f5f9;
  padding: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.adm-tab-btn {
  flex: 1;
  min-width: 140px;
  background: transparent;
  border: none;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
}

.adm-tab-btn:hover {
  color: #046a38;
  background: rgba(255, 255, 255, 0.6);
}

.adm-tab-btn.active {
  background: #046a38;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(4, 106, 56, 0.25);
}

.adm-fee-badge-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 0.4rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
}


/* ==========================================================================
   MOBILE-FIRST PERFECTION FOR CERTIFICATES, BRANDS, MATCHER & TELEMETRY
   ========================================================================== */
@media (max-width: 768px) {
  /* Official Certificate Mobile Scaling & Landscape Perfection */
  .official-cert-stage {
    padding: 0;
    margin: 1rem auto;
    width: 100%;
  }

  .official-cert-card {
    padding: 1.5rem 0.85rem !important;
    border-width: 6px double #b45309 !important;
    border-radius: 6px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  }

  .official-cert-card::before {
    top: 5px !important;
    left: 5px !important;
    right: 5px !important;
    bottom: 5px !important;
  }

  .cert-corner-ornament {
    width: 26px !important;
    height: 26px !important;
  }

  .cert-top-header {
    flex-direction: column !important;
    gap: 0.75rem !important;
    text-align: center !important;
    padding-bottom: 0.75rem !important;
  }

  .cert-emblem-group {
    flex-direction: column !important;
    gap: 0.5rem !important;
    text-align: center !important;
  }

  .cert-crest-logo {
    width: 56px !important;
    height: 56px !important;
  }

  .cert-institution-name {
    font-size: 1.2rem !important;
  }

  .cert-institution-sub {
    font-size: 0.7rem !important;
  }

  .cert-security-badge-top {
    text-align: center !important;
    width: 100% !important;
    font-size: 0.7rem !important;
    padding: 0.35rem 0.6rem !important;
  }

  .cert-headings-zone {
    margin-bottom: 1rem !important;
  }

  .cert-urdu-title {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
  }

  .cert-main-title {
    font-size: 1.1rem !important;
    letter-spacing: 0.05em !important;
  }

  .cert-student-box {
    margin: 1rem 0 !important;
  }

  .cert-student-name {
    font-size: 1.45rem !important;
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 0.5rem 0.25rem !important;
  }

  .cert-achievement-text {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1rem !important;
  }

  .cert-course-pill {
    font-size: 0.92rem !important;
    padding: 0.5rem 1rem !important;
    white-space: normal !important;
    border-radius: 1rem !important;
  }

  .cert-grade-row {
    margin-bottom: 1.25rem !important;
    gap: 0.5rem !important;
  }

  .cert-grade-tag {
    font-size: 0.75rem !important;
    padding: 0.25rem 0.75rem !important;
  }

  .cert-bottom-signatures {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center !important;
    padding-top: 1rem !important;
  }

  .cert-medallion-seal {
    margin: 0 auto !important;
    order: -1 !important;
    width: 90px !important;
    height: 90px !important;
  }

  .cert-signature-img-text {
    font-size: 2rem !important;
  }

  .cert-sign-line {
    width: 130px !important;
  }

  .cert-footer-security {
    flex-direction: column !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }

  .cert-qr-mini {
    justify-content: center !important;
  }

  .cert-action-bar {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }

  .btn-cert-gold,
  .btn-cert-share,
  .cert-action-bar .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.75rem 1rem !important;
  }

  /* Brands Wall Mobile Grid */
  .brands-grid-wall {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .brand-showcase-card {
    padding: 1rem 0.75rem !important;
  }

  .brand-logo-emblem {
    width: 46px !important;
    height: 46px !important;
    font-size: 1.35rem !important;
    margin-bottom: 0.6rem !important;
  }

  .brand-card-title {
    font-size: 0.88rem !important;
  }

  .brand-card-sector {
    font-size: 0.68rem !important;
  }

  .brand-card-scope {
    font-size: 0.72rem !important;
    line-height: 1.3 !important;
  }

  .brand-impact-stats-row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    padding: 1.25rem 1rem !important;
    margin-top: 2rem !important;
  }

  .brand-stat-num {
    font-size: 1.8rem !important;
  }

  .brand-stat-lbl {
    font-size: 0.76rem !important;
  }

  /* Career Matcher Mobile Padding */
  .career-matcher-card {
    padding: 1.5rem 1rem !important;
    border-radius: 1.15rem !important;
    margin: 2rem 0 !important;
  }

  .career-matcher-card h3 {
    font-size: 1.3rem !important;
  }

  .matcher-grid-options {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .matcher-option-btn {
    padding: 0.85rem !important;
  }

  .matcher-result-display {
    padding: 1.25rem 1rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .matcher-result-display .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Floating Scholarship Badge Collision Fix (Floats above WhatsApp & Chatbot) */
  .scholarship-float-badge {
    bottom: 85px !important;
    right: 15px !important;
    font-size: 0.8rem !important;
    padding: 0.45rem 0.95rem !important;
  }

  .scholarship-modal-content {
    padding: 1.75rem 1.25rem !important;
    border-radius: 1.15rem !important;
  }

  .scholarship-modal-content h2 {
    font-size: 1.45rem !important;
  }

  .scholarship-countdown-strip {
    gap: 0.4rem !important;
  }

  .countdown-box {
    min-width: 58px !important;
    padding: 0.5rem 0.35rem !important;
  }

  .countdown-num {
    font-size: 1.4rem !important;
  }

  /* VIP Spotlight Card Mobile Stacking */
  .vip-spotlight-card {
    padding: 1.5rem 1rem !important;
  }

  .vip-spotlight-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .vip-price-box {
    margin-top: 0 !important;
  }

  /* Official Certificate Card Mobile Fluidity & Zero Horizontal Overflow */
  .official-cert-card {
    padding: 1.6rem 1.1rem !important;
    border-width: 6px !important;
  }

  .cert-top-header {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .cert-emblem-group {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.5rem !important;
  }

  .cert-crest-logo {
    width: 58px !important;
    height: 58px !important;
  }

  .cert-institution-name {
    font-size: 1.25rem !important;
  }

  .cert-security-badge-top {
    text-align: center !important;
  }

  .cert-student-name {
    font-size: 1.7rem !important;
  }

  .cert-course-pill {
    font-size: 1rem !important;
    padding: 0.5rem 1.2rem !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  .cert-bottom-signatures {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .cert-medallion-seal {
    order: -1 !important;
    margin: 0 auto !important;
    width: 90px !important;
    height: 90px !important;
  }

  .cert-footer-security {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }

  .cert-qr-mini {
    justify-content: center !important;
  }

  /* Universal 2-Col Form Collapse to 1-Col on Mobile */
  .form-row-2col {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Free Courses Lead Modal Mobile Fit */
  .lead-quick-modal-content {
    padding: 1.75rem 1.25rem 1.5rem !important;
    max-height: 92vh !important;
    border-radius: 1rem !important;
  }

  .lead-title-urdu {
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
  }

  .lead-title-en {
    font-size: 0.92rem !important;
  }
}

/* Service Client Proof Badges & Specimen Highlights */
.service-client-proof-box {
  margin-top: 1.25rem;
  padding: 0.65rem 0.95rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 0.65rem;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.45;
}

.service-client-proof-box strong {
  color: #046a38;
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.service-client-proof-box .proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.3rem;
}

.service-client-proof-box .proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.35rem;
  padding: 0.15rem 0.45rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f172a;
}

.cert-specimen-banner {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  border: 1.5px solid #facc15;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(202, 138, 4, 0.08);
}

.cert-specimen-banner-title {
  color: #854d0e;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cert-specimen-banner-urdu {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  color: #713f12;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.cert-specimen-banner-text {
  color: #78350f;
  font-size: 0.92rem;
  max-width: 760px;
  margin: 0 auto;
}








/* ==========================================================================
   ENTERPRISE VERIFIED STUDENT TESTIMONIALS & SUCCESS STORIES
   NASA-Grade Cybernetic Testimonials Showcase & Lightbox Preview
   ========================================================================== */

.testimonials-showcase-section {
  position: relative;
  background: radial-gradient(circle at 15% 20%, rgba(4, 106, 56, 0.12) 0%, transparent 40%),
              radial-gradient(circle at 85% 80%, rgba(2, 132, 199, 0.10) 0%, transparent 40%),
              linear-gradient(180deg, #0b1329 0%, #060d1f 50%, #030712 100%);
  color: #f8fafc;
  padding: 6rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.testimonials-showcase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.6;
}

.testi-header-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 2;
}

.testi-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.4rem 1.25rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.testi-main-title {
  font-size: 2.35rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.testi-urdu-title {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  font-size: 1.5rem;
  color: #34d399;
  line-height: 2;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.testi-sub-desc {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto;
}

/* Category Filter Tabs */
.testi-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.testi-tab-btn {
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.55rem 1.2rem;
  border-radius: 2rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  backdrop-filter: blur(8px);
}

.testi-tab-btn:hover {
  background: rgba(51, 65, 85, 0.9);
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.testi-tab-btn.active {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  color: #ffffff;
  border-color: #34d399;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Testimonial Card */
.testi-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.testi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981 0%, #0284c7 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testi-card:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.15);
}

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

.testi-card-featured {
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(180deg, rgba(6, 78, 59, 0.25) 0%, rgba(15, 23, 42, 0.85) 100%);
  box-shadow: 0 12px 35px rgba(4, 106, 56, 0.25);
}

/* Student Profile Top Row */
.testi-student-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.testi-avatar-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.testi-meta-info {
  flex: 1;
  min-width: 0;
}

.testi-student-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}

.testi-badge-verified {
  color: #10b981;
  font-size: 0.95rem;
}

.testi-student-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testi-student-loc {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Stars Rating */
.testi-stars-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.testi-rating-pill {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  margin-left: 0.4rem;
}

/* Testimonial Quote Text */
.testi-quote-urdu {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  font-size: 1.05rem;
  color: #f1f5f9;
  line-height: 2.1;
  text-align: right;
  direction: rtl;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.2rem;
  border-radius: 0.75rem;
  border-right: 3px solid #10b981;
}

.testi-quote-en {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.9rem 1.1rem;
  border-radius: 0.75rem;
  border-left: 3px solid #0284c7;
  font-style: italic;
}

.testi-highlight-banner {
  background: rgba(16, 185, 129, 0.12);
  border: 1px dashed rgba(16, 185, 129, 0.35);
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6ee7b7;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Card Bottom Proof Bar */
.testi-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.testi-channel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #94a3b8;
}

.testi-proof-view-btn {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.testi-proof-view-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
  transform: translateY(-1px);
}

/* Lightbox Modal */
.testi-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.testi-lightbox-overlay.active {
  display: flex;
  opacity: 1;
}

.testi-lightbox-box {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  animation: zoomTesti 0.25s ease;
}

@keyframes zoomTesti {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.testi-lightbox-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testi-lightbox-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.testi-lightbox-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.testi-lightbox-close:hover {
  color: #ef4444;
}

.testi-lightbox-body {
  padding: 1rem;
  overflow-y: auto;
  text-align: center;
}

.testi-lightbox-img {
  max-width: 100%;
  max-height: 72vh;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}


/* ==========================================================================
   ILM E TECH PAKISTAN — NATIONAL MISSION ANTHEM & COMPACT ADMISSION FORM
   NASA-Grade High-Aesthetic Bilingual Presentation
   ========================================================================== */

/* 1. National Mission Anthem Poetry Banner */
.mission-anthem-banner {
  background: radial-gradient(circle at 50% 25%, rgba(16, 185, 129, 0.22) 0%, rgba(6, 78, 59, 0.5) 75%),
              linear-gradient(135deg, #022c22 0%, #064e3b 50%, #022c22 100%);
  border: 1.5px solid rgba(250, 204, 21, 0.5);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 900px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(16, 185, 129, 0.2);
}

.mission-anthem-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(250, 204, 21, 0.12) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.6;
}

.mission-anthem-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(250, 204, 21, 0.15);
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 0.35rem 1.15rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
}

.mission-anthem-verse {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', serif;
  font-size: 1.75rem;
  color: #ffffff;
  line-height: 2.3;
  margin-bottom: 1rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8);
  direction: rtl;
  position: relative;
  z-index: 2;
  font-weight: 700;
}

.mission-anthem-verse .verse-highlight {
  color: #6ee7b7;
  text-shadow: 0 0 15px rgba(110, 231, 183, 0.4);
}

.mission-anthem-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #cbd5e1;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.mission-anthem-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* 2. Compact High-Aesthetic Admission Card */
.compact-adm-wrapper {
  max-width: 780px;
  margin: 0 auto;
}

.compact-adm-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 1.25rem;
  padding: 2.25rem 2.25rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(4, 106, 56, 0.06);
  position: relative;
}

.compact-adm-header {
  text-align: center;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 1.25rem;
}

.compact-adm-title-urdu {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #046a38;
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

.compact-adm-title-en {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.compact-adm-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

/* Compact Grid & Controls */
.compact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.15rem;
}

@media (max-width: 640px) {
  .compact-form-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .compact-adm-card {
    padding: 1.5rem 1.25rem;
  }
  .mission-anthem-verse {
    font-size: 1.35rem;
    line-height: 2.1;
  }
}

.compact-group {
  display: flex;
  flex-direction: column;
}

.compact-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.compact-label .urdu-sub {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 0.82rem;
  color: #047857;
  font-weight: 600;
}

.compact-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.55rem;
  font-size: 0.9rem;
  color: #0f172a;
  background-color: #f8fafc;
  transition: all 0.2s ease;
  font-family: inherit;
}

.compact-input:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.compact-select {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.55rem;
  font-size: 0.9rem;
  color: #0f172a;
  background-color: #f8fafc;
  cursor: pointer;
}

.compact-select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.compact-badge-required {
  color: #ef4444;
  font-weight: 800;
  margin-left: 0.2rem;
}

/* Secondary Google Form Banner */
.gform-alt-box {
  margin-top: 1.75rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
}

.gform-alt-link {
  color: #0284c7;
  font-weight: 700;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.gform-alt-link:hover {
  color: #0369a1;
}
