/* ===========================
   WISDOM WINGS HEALTHCARE
   Professional Medical Coding Institute
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ========= CSS VARIABLES ========= */
:root {
  --navy: #0a1628;
  --blue-deep: #0d2b5e;
  --blue-mid: #1a4a9e;
  --blue-bright: #2563eb;
  --blue-light: #3b82f6;
  --cyan: #06b6d4;
  --cyan-light: #67e8f9;
  --white: #ffffff;
  --off-white: #f8faff;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-400: #94a3b8;
  --grey-600: #475569;
  --grey-800: #1e293b;
  --gold: #f59e0b;
  --green: #10b981;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;

  --shadow-sm: 0 1px 3px rgba(10,22,40,0.08), 0 1px 2px rgba(10,22,40,0.06);
  --shadow-md: 0 4px 16px rgba(10,22,40,0.12), 0 2px 8px rgba(10,22,40,0.08);
  --shadow-lg: 0 20px 48px rgba(10,22,40,0.18), 0 8px 24px rgba(10,22,40,0.1);
  --shadow-xl: 0 32px 64px rgba(10,22,40,0.22);
  --shadow-glow: 0 0 40px rgba(37,99,235,0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========= RESET & BASE ========= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ========= TYPOGRAPHY ========= */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { color: var(--text-mid); font-size: 1rem; }

/* ========= LAYOUT ========= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 90px 0;
}

.section-pad-sm {
  padding: 60px 0;
}

/* ========= SECTION LABELS ========= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.15);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue-bright);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

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

.section-header p {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1.05rem;
  color: var(--text-light);
}

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-bright);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37,99,235,0.35);
}

.btn-primary:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-bright);
  border: 2px solid var(--blue-bright);
}

.btn-outline:hover {
  background: var(--blue-bright);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ========= NAVBAR ========= */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(10,22,40,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

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

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  transition: var(--transition);
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--blue-bright);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#navbar:not(.scrolled) .logo-name { color: var(--white); }
#navbar:not(.scrolled) .logo-sub { color: rgba(255,255,255,0.75); }

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

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

#navbar.scrolled .nav-links a {
  color: var(--text-mid);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}

#navbar.scrolled .nav-links a:hover,
#navbar.scrolled .nav-links a.active {
  color: var(--blue-bright);
  background: rgba(37,99,235,0.08);
}

.nav-cta {
  background: var(--blue-bright) !important;
  color: var(--white) !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 3px 12px rgba(37,99,235,0.3) !important;
}

.nav-cta:hover {
  background: var(--blue-mid) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4) !important;
}

#navbar:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.2) !important;
  border: 1.5px solid rgba(255,255,255,0.5) !important;
}

#navbar:not(.scrolled) .nav-cta:hover {
  background: var(--white) !important;
  color: var(--blue-bright) !important;
}

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: var(--transition);
}

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

#navbar.scrolled .hamburger span { background: var(--navy); }

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

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 16px 24px 24px;
  box-shadow: 0 8px 32px rgba(10,22,40,0.12);
  border-top: 1px solid var(--grey-200);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--grey-100);
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--blue-bright); padding-left: 8px; }
.mobile-menu a:last-child { border-bottom: none; }

/* ========= HERO ========= */
.hero {
  min-height: 100vh;
  background: linear-gradient(155deg, var(--navy) 0%, var(--blue-deep) 40%, var(--blue-mid) 75%, #1e5fad 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(6,182,212,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(37,99,235,0.2) 0%, transparent 60%);
}

/* Animated grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

/* DNA / medical SVG floating elements */
.hero-decor {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.06;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-float 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px; height: 300px;
  background: rgba(6,182,212,0.18);
  top: 10%; right: 15%;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px; height: 200px;
  background: rgba(37,99,235,0.2);
  bottom: 20%; left: 5%;
  animation-delay: 3s;
}

.orb-3 {
  width: 150px; height: 150px;
  background: rgba(245,158,11,0.1);
  top: 60%; right: 30%;
  animation-delay: 5s;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fade-up 0.6s ease both;
}

.hero-badge span {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--cyan-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(74,222,128,0.6);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 12px;
  animation: fade-up 0.6s ease 0.1s both;
}

.hero-sub-headline {
  font-family: 'DM Mono', monospace;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--cyan-light);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  animation: fade-up 0.6s ease 0.2s both;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin-bottom: 40px;
  animation: fade-up 0.6s ease 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fade-up 0.6s ease 0.4s both;
}

/* Stats bar */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fade-up 0.6s ease 0.5s both;
  flex-wrap: wrap;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* ========= ANIMATIONS ========= */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-triggered */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========= FEATURES STRIP ========= */
.features-strip {
  background: var(--navy);
  padding: 28px 0;
  overflow: hidden;
}

.features-strip-inner {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.strip-item .strip-icon {
  color: var(--cyan);
  font-size: 1.1rem;
}

/* ========= INTRO SECTION ========= */
.intro-section {
  background: var(--off-white);
}

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

.intro-visual {
  position: relative;
}

.intro-card-stack {
  position: relative;
  height: 380px;
}

.intro-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-200);
}

.intro-card-main {
  top: 0; left: 0; right: 0;
  z-index: 3;
}

.intro-card-accent {
  bottom: 0; right: -20px;
  width: 240px;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  color: var(--white);
  z-index: 2;
  padding: 20px;
}

.intro-card-float {
  bottom: 40px; left: -20px;
  width: 160px;
  z-index: 4;
  padding: 16px;
  text-align: center;
}

.intro-card-accent h4,
.intro-card-float h4 { color: inherit; }

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37,99,235,0.1);
  color: var(--blue-bright);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.intro-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--grey-100);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.intro-feature:hover {
  background: rgba(37,99,235,0.05);
  transform: translateX(4px);
}

.intro-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(37,99,235,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.intro-feature-text h4 { font-size: 0.85rem; font-family: 'DM Sans', sans-serif; color: var(--navy); }
.intro-feature-text p { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }

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

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

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-bright);
}

.course-card-header {
  padding: 28px 28px 20px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  position: relative;
  overflow: hidden;
}

.course-card-header::before {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.course-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.course-card-header h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.course-card-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.15);
  color: var(--cyan-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  margin-top: 8px;
  letter-spacing: 0.05em;
}

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

.course-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 18px;
  flex: 1;
}

.course-topics {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
}

.topic-item::before {
  content: '✦';
  color: var(--blue-bright);
  font-size: 0.55rem;
  flex-shrink: 0;
}

/* ========= HIGHLIGHTS ========= */
.highlights-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-deep) 100%);
  position: relative;
  overflow: hidden;
}

.highlights-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(6,182,212,0.1) 0%, transparent 60%);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  position: relative;
}

.highlight-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.highlight-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(6,182,212,0.3);
}

.highlight-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.highlight-card h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.highlight-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  margin-top: 6px;
}

/* ========= AAPC SECTION ========= */
.aapc-section {
  background: var(--off-white);
}

.aapc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.aapc-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--grey-200);
  border-left: 4px solid var(--blue-bright);
  transition: var(--transition);
}

.aapc-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.aapc-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.aapc-card h3 { font-size: 1.05rem; font-family: 'DM Sans', sans-serif; margin-bottom: 8px; }
.aapc-card p { font-size: 0.88rem; color: var(--text-light); }

/* ========= TESTIMONIALS ========= */
.testimonials-section {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--grey-200);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--grey-200);
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-bright);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
}

.author-info p {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ========= DEMO FORM ========= */
.demo-section {
  background: linear-gradient(135deg, var(--blue-mid), var(--navy));
  position: relative;
  overflow: hidden;
}

.demo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(6,182,212,0.12) 0%, transparent 60%);
}

.demo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}

.demo-content h2 { color: var(--white); }
.demo-content p { color: rgba(255,255,255,0.7); margin-top: 16px; font-size: 1rem; }

.demo-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.demo-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}

.demo-bullet .check {
  width: 22px;
  height: 22px;
  background: rgba(16,185,129,0.2);
  border: 1.5px solid rgba(16,185,129,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.demo-form {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 28px;
  text-align: center;
}

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

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 7px;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--white);
  outline: none;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
}

.form-group select option { background: var(--navy); color: var(--white); }

/* White variant form */
.form-white .form-group label { color: var(--text-mid); }
.form-white .form-group input,
.form-white .form-group select,
.form-white .form-group textarea {
  background: var(--white);
  border-color: var(--grey-200);
  color: var(--text-dark);
}
.form-white .form-group input::placeholder { color: var(--grey-400); }
.form-white .form-group input:focus,
.form-white .form-group select:focus {
  border-color: var(--blue-bright);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* ========= FOOTER ========= */
footer {
  background: var(--navy);
  padding: 72px 0 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.5), rgba(6,182,212,0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  color: rgba(255,255,255,0.6);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-contact-item a {
  color: var(--cyan);
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

/* ========= FLOATING WHATSAPP ========= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  animation: bounce-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both;
}

@keyframes bounce-in {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 18px;
  border-radius: 50px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

.whatsapp-float a:hover {
  background: #1da851;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.5);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.whatsapp-float .pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50px;
  border: 2px solid rgba(37,211,102,0.5);
  animation: pulse-ring 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

/* ========= BANNER STRIP ========= */
.cta-banner {
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
  padding: 16px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.03) 20px,
    rgba(255,255,255,0.03) 40px
  );
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.cta-banner p {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ========= PAGE HERO (inner pages) ========= */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue-mid));
  padding: 140px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero h1 { color: var(--white); position: relative; }
.page-hero p { color: rgba(255,255,255,0.65); position: relative; max-width: 560px; margin: 14px auto 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
}

.breadcrumb span, .breadcrumb a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a { color: var(--cyan); }
.breadcrumb a:hover { color: var(--cyan-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.25); }

/* ========= COURSES DETAIL (courses.html) ========= */
.course-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.course-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.course-detail-header {
  padding: 32px;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  position: relative;
  overflow: hidden;
}

.course-detail-header::after {
  content: '';
  position: absolute;
  right: -30px; bottom: -30px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.course-detail-header h3 { color: var(--white); font-size: 1.4rem; }
.course-detail-header p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 6px; }

.course-meta {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.meta-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
}

.course-detail-body {
  padding: 28px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.topics-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

.topics-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin-bottom: 24px;
}

.topics-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.topics-list li::before {
  content: '→';
  color: var(--blue-bright);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ========= AAPC SERVICES PAGE ========= */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--grey-200);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-slow);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
  border: 1.5px solid rgba(37,99,235,0.15);
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  border-color: transparent;
  transform: scale(1.05);
}

.service-card h3 { font-size: 1.15rem; font-family: 'DM Sans', sans-serif; margin-bottom: 12px; }
.service-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

/* ========= ABOUT PAGE ========= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrapper {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  border-radius: var(--radius-xl);
  padding: 3px;
}

.about-img-inner {
  background: linear-gradient(155deg, var(--navy) 0%, var(--blue-deep) 50%, #1e5fad 100%);
  border-radius: calc(var(--radius-xl) - 3px);
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
}

.about-img-inner h3 {
  color: var(--white);
  font-size: 1.8rem;
}

.about-img-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-top: 8px;
}

.exp-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 28px;
  gap: 4px;
}

.exp-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.exp-badge .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}

.certs-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cert-chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--cyan-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: 'DM Mono', monospace;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
  transition: var(--transition);
}

.why-item:hover {
  border-color: var(--blue-bright);
  background: rgba(37,99,235,0.04);
  transform: translateY(-2px);
}

.why-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.why-item h4 { font-size: 0.9rem; font-family: 'DM Sans', sans-serif; color: var(--navy); }
.why-item p { font-size: 0.8rem; color: var(--text-light); margin-top: 3px; }

/* ========= CONTACT PAGE ========= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
}

.contact-detail {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--grey-100);
}

.contact-detail:last-of-type { border-bottom: none; }

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(6,182,212,0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  border: 1px solid rgba(37,99,235,0.12);
}

.contact-detail-text h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.contact-detail-text a:hover { color: var(--blue-bright); }

.enquiry-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
}

.enquiry-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.map-section { background: var(--off-white); }

.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-200);
}

/* ========= DIVIDER ========= */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--grey-200), transparent);
}

/* ========= SCROLL TO TOP ========= */
#scrollTop {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: none;
  z-index: 998;
}

#scrollTop.show { display: flex; }
#scrollTop:hover { background: var(--blue-bright); transform: translateY(-3px); }

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

@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  #navbar { position: fixed; }

  .hero { min-height: 100vh; padding: 120px 0 80px; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 1.5rem; }

  .intro-grid { grid-template-columns: 1fr; }
  .intro-card-stack { height: 280px; }
  .intro-card-accent { display: none; }
  .intro-features { grid-template-columns: 1fr; }

  .demo-inner { grid-template-columns: 1fr; gap: 40px; }
  .demo-form { padding: 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .whatsapp-float a { padding: 14px; border-radius: 50%; }
  .whatsapp-float .wa-text { display: none; }

  .course-detail-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }

  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stats .stat-item { flex-direction: row; align-items: center; gap: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .courses-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .aapc-grid { grid-template-columns: 1fr; }
  .service-cards-grid { grid-template-columns: 1fr; }
  .cta-banner-inner { flex-direction: column; gap: 12px; }
  .features-strip-inner { flex-direction: column; gap: 16px; }
}
