/* ═══════════════════════════════════════════════════════
   AIREV Emerging Center — course.airev.pk
   Blue & White Tech-Clean Theme
   ═══════════════════════════════════════════════════════ */

:root {
  --blue-primary: #0F62FE;
  --blue-dark:    #0043CE;
  --blue-light:   #EEF4FF;
  --blue-mid:     #4589FF;
  --accent:       #00C2FF;
  --text-dark:    #0F172A;
  --text-muted:   #64748B;
  --border:       #E2E8F0;
  --white:        #FFFFFF;
  --section-bg:   #F8FAFC;
  --gold:         #D4A017;
  --gold-light:   #FFF8E1;
  --radius:       14px;
  --radius-sm:    8px;
  --shadow:       0 4px 24px rgba(15,98,254,.10);
  --shadow-lg:    0 8px 48px rgba(15,98,254,.16);
  --transition:   all .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p  { line-height: 1.7; color: var(--text-muted); }

a { text-decoration: none; color: var(--blue-primary); }

/* ── Section helpers ── */
.section-light  { background: var(--section-bg); padding: 90px 0; }
.section-white  { background: var(--white);      padding: 90px 0; }

.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-light);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

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

.section-title  { color: var(--text-dark); margin-bottom: 14px; }

.section-sub    { font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
#mainNav {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  transition: var(--transition);
  z-index: 1000;
}

#mainNav.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

.navbar-brand { font-weight: 800; font-size: 1.1rem; }
.brand-airev  { color: var(--blue-primary); }
.brand-ec     { color: var(--text-dark); }

.nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 6px 12px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover { background: var(--blue-light); color: var(--blue-primary) !important; }

.navbar-toggler { border: none; outline: none; box-shadow: none !important; }

/* ════════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  position: relative;
  background: linear-gradient(135deg, #EEF4FF 0%, #DBEAFE 50%, #EFF6FF 100%);
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; padding: 80px 0 60px; }

.min-vh-hero { min-height: 70vh; }

.hero-eyebrow { margin-bottom: 20px; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-dark);
  font-size: .78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.hero-title {
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.4;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tagline-text {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .02em;
}

/* Agent visual */
.hero-visual {
  width: 360px;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-card {
  position: relative;
  width: 320px;
  height: 320px;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.agent-center-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: .08em;
  text-transform: uppercase;
  z-index: 2;
}

.agent-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 2px 12px rgba(15,98,254,.10);
  min-width: 62px;
  text-align: center;
  animation: floatNode 4s ease-in-out infinite;
}

.agent-node i { font-size: 1.1rem; color: var(--blue-primary); }

.ceo-node  { top: 20px;  left: 50%; transform: translateX(-50%); border-color: var(--blue-primary); animation-delay: 0s; }
.sales-node { bottom: 40px; right: 16px; animation-delay: .5s; }
.hr-node   { bottom: 40px; left: 16px;  animation-delay: 1s; }
.ops-node  { top: 80px;  right: 10px;  animation-delay: 1.5s; }
.mkt-node  { top: 80px;  left: 10px;   animation-delay: 2s; }

/* ════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════ */
.stats-bar {
  background: var(--blue-primary);
  padding: 44px 0;
}

.stat-item {
  color: var(--white);
}

.stat-num {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--white);
}

.stat-plus {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
}

.stat-item p {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  font-weight: 500;
  margin-top: 4px;
}

/* ════════════════════════════════════════
   PROGRAM CARDS
═══════════════════════════════════════ */
.program-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-primary);
}

.program-card.featured { border-color: var(--blue-primary); box-shadow: var(--shadow); }
.program-card.premium  { border-color: var(--gold); }

.program-card-top {
  position: relative;
  padding: 28px 24px 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.program-card-top.students     { background: linear-gradient(135deg, #EEF4FF, #DBEAFE); }
.program-card-top.engineers    { background: linear-gradient(135deg, #0F62FE, #0043CE); }
.program-card-top.professionals{ background: linear-gradient(135deg, #ECFDF5, #D1FAE5); }
.program-card-top.ceo          { background: linear-gradient(135deg, #FFF8E1, #FFF3CD); }

.program-badge {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(255,255,255,.9);
  color: var(--text-dark);
  padding: 4px 10px;
  border-radius: 100px;
}

.program-badge.popular { background: var(--blue-primary); color: var(--white); }
.program-badge.recommended { background: #059669; color: var(--white); }
.program-badge.gold { background: var(--gold); color: var(--white); }

.program-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.9);
  border-radius: 12px;
  font-size: 1.5rem;
  color: var(--blue-primary);
}

.program-card-top.engineers .program-icon { color: var(--blue-primary); }
.program-card-top.ceo .program-icon { color: var(--gold); }

.program-card-body { padding: 20px 24px 24px; }

.program-tag {
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue-primary);
  letter-spacing: .04em;
  display: block;
  margin-bottom: 8px;
}

.program-card-body h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-dark); }
.program-card-body p  { font-size: .9rem; margin-bottom: 14px; }

.program-highlights {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.program-highlights li {
  font-size: .85rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.program-highlights li i { color: #059669; font-size: .9rem; }

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.program-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-primary);
}

/* ════════════════════════════════════════
   MID CTA BAR
═══════════════════════════════════════ */
.mid-cta-bar {
  background: linear-gradient(135deg, #0F62FE, #0043CE);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.mid-cta-bar h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 10px; }
.mid-cta-bar p  { color: rgba(255,255,255,.8); margin-bottom: 28px; }

.btn-outline-light {
  border-color: rgba(255,255,255,.5);
  color: var(--white) !important;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

/* ════════════════════════════════════════
   WHY CARDS
═══════════════════════════════════════ */
.why-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  transition: var(--transition);
}

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

.why-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--blue-primary);
  margin-bottom: 16px;
}

.why-card h4 { font-size: 1rem; margin-bottom: 8px; color: var(--text-dark); }
.why-card p  { font-size: .875rem; }

/* ════════════════════════════════════════
   JOURNEY TRACK
═══════════════════════════════════════ */
.journey-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.journey-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.journey-num {
  width: 48px; height: 48px;
  min-width: 48px;
  background: var(--blue-primary);
  color: var(--white);
  font-size: .85rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(15,98,254,.3);
  position: relative;
  z-index: 1;
}

.journey-content {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  flex: 1;
  margin-bottom: 0;
}

.journey-content h5 { font-size: 1rem; margin-bottom: 4px; }
.journey-content p  { font-size: .85rem; margin-bottom: 8px; }

.journey-program {
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue-primary);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .04em;
}

.journey-connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, var(--blue-primary), var(--border));
  margin-left: 23px;
}

/* ════════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.pricing-card:hover { border-color: var(--blue-primary); box-shadow: var(--shadow-lg); }
.pricing-card.recommended { border-color: var(--blue-primary); box-shadow: var(--shadow); }

.pricing-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--blue-primary);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.pricing-badge.popular { background: #059669; }

.pricing-card h4 { font-size: 1.1rem; margin-bottom: 6px; }

.pricing-meta { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; }

.pricing-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-primary);
  margin-bottom: 20px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 24px;
}

.pricing-features li {
  font-size: .875rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
}

.pricing-features li:last-child { border: none; }
.pricing-features li i { color: #059669; }

/* ════════════════════════════════════════
   FACULTY
═══════════════════════════════════════ */
.faculty-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

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

.faculty-avatar {
  font-size: 3.5rem;
  color: var(--blue-primary);
  margin-bottom: 14px;
  opacity: .7;
}

.faculty-card h5 { font-size: 1rem; margin-bottom: 4px; }

.faculty-role {
  display: block;
  font-size: .78rem;
  color: var(--blue-primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.faculty-card p { font-size: .85rem; margin-bottom: 14px; }

.faculty-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

.faculty-tags span {
  font-size: .7rem;
  font-weight: 600;
  background: var(--blue-light);
  color: var(--blue-primary);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin: 10px;
}

.stars { color: #F59E0B; margin-bottom: 14px; font-size: 1rem; }

.testimonial-card p {
  font-size: .95rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar { font-size: 2.2rem; color: var(--text-muted); }
.testimonial-author strong { display: block; font-size: .9rem; }
.testimonial-author span   { font-size: .78rem; color: var(--text-muted); }

.swiper-pagination-bullet-active { background: var(--blue-primary) !important; }

/* ════════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.faq-item {
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item .accordion-button {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  box-shadow: none !important;
}

.faq-item .accordion-button:not(.collapsed) {
  color: var(--blue-primary);
  background: var(--blue-light);
}

.faq-item .accordion-button::after {
  filter: none;
}

.accordion-body {
  font-size: .9rem;
  color: var(--text-muted);
  background: var(--white);
  border-top: 1px solid var(--border);
}

/* ════════════════════════════════════════
   APPLY FORM
═══════════════════════════════════════ */
.apply-form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.apply-form-card h4 { color: var(--text-dark); }

.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  padding: 10px 14px;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(15,98,254,.1);
}

.form-label { font-size: .875rem; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; }

.contact-info-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--text-dark);
}

.contact-info-item i { color: var(--blue-primary); font-size: 1.1rem; width: 20px; }
.contact-info-item a { color: var(--blue-primary); font-weight: 500; }

/* ════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */
.btn-primary {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(15,98,254,.3);
}

.btn-outline-primary {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--blue-primary);
  color: var(--white);
}

/* ════════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.7);
  padding: 70px 0 0;
}

.footer-brand { font-size: 1.2rem; font-weight: 800; }
.footer-brand .brand-airev { color: var(--blue-mid); }
.footer-brand .brand-ec    { color: var(--white); }

.footer-tagline { color: var(--white); font-weight: 600; font-size: .9rem; }
.footer-sub     { font-size: .82rem; line-height: 1.6; }

.site-footer h6 {
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .875rem; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--blue-primary); border-color: var(--blue-primary); color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
}

.footer-bottom-right { color: rgba(255,255,255,.4); }

/* ════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .section-light, .section-white { padding: 60px 0; }
  #hero { min-height: auto; }
  .hero-content { padding: 60px 0 40px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .apply-form-card { padding: 24px 18px; }
  .journey-track { padding: 0 8px; }
  .pricing-toggle .btn-group { flex-wrap: wrap; gap: 4px; }
  .mid-cta-bar .btn { display: block; width: 100%; margin-bottom: 12px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .stat-num { font-size: 1.8rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
