/* ==========================================================================
   Frankfurt Trading School — Global Stylesheet
   University-Grade Professional Design System
   ========================================================================== */

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

:root {
  /* Brand Palette */
  --navy-900: #0A1E3F;
  --navy-800: #0F2857;
  --navy-700: #14326F;
  --navy-600: #1A4192;
  --navy-500: #2454B7;
  --gold-500: #C9A961;
  --gold-400: #D4B876;
  --gold-300: #E0CA95;
  --gold-100: #F7F1E1;
  --grey-900: #1A1D24;
  --grey-700: #4A5160;
  --grey-500: #7B8598;
  --grey-300: #C5CBD6;
  --grey-200: #E2E6ED;
  --grey-100: #F5F7FA;
  --grey-50: #FAFBFC;
  --white: #FFFFFF;
  --success: #1F8E5A;
  --error: #C53B3B;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 30, 63, 0.05);
  --shadow-md: 0 4px 20px rgba(10, 30, 63, 0.08);
  --shadow-lg: 0 12px 48px rgba(10, 30, 63, 0.12);
  --shadow-xl: 0 24px 80px rgba(10, 30, 63, 0.16);

  /* Transitions */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grey-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy-700);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold-500);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h4 {
  font-size: 1.375rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;
  font-family: var(--font-sans);
  font-weight: 600;
}

p {
  color: var(--grey-700);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--grey-700);
  max-width: 720px;
  line-height: 1.75;
}

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-dark {
  background: var(--navy-900);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.75);
}

.section-light {
  background: var(--grey-50);
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 2rem;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--navy-800);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}

.btn-gold:hover {
  background: var(--gold-400);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}

.btn-outline:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn-link {
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-link .arrow {
  transition: transform var(--transition-base);
}

.btn-link:hover .arrow {
  transform: translateX(6px);
}

/* ---------- Navigation / Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-top {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-top a {
  color: rgba(255, 255, 255, 0.8);
  margin-left: 1.25rem;
  font-size: 0.8125rem;
}

.header-top a:hover {
  color: var(--gold-400);
}

.nav-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.125rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--grey-500);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--navy-900);
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width var(--transition-base);
}

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: all var(--transition-base);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/10_frankfurt_skyline_hero.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.hero:hover .hero-bg {
  transform: scale(1);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 30, 63, 0.95) 0%, rgba(10, 30, 63, 0.82) 45%, rgba(15, 40, 87, 0.7) 100%),
    radial-gradient(circle at 25% 30%, rgba(201, 169, 97, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 169, 97, 0.08) 0%, transparent 45%);
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 2rem;
}

.hero-eyebrow::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold-500);
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  line-height: 1.08;
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.hero h1 .accent {
  color: var(--gold-400);
  font-style: italic;
}

.hero-sub {
  font-size: 1.1875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2.75rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-crest {
  width: 100%;
  max-width: 440px;
  opacity: 0.95;
}

.hero-stats {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--gold-400);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: 3rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
}

.trust-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 2rem;
  font-weight: 600;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.5rem;
  align-items: center;
  justify-items: center;
}

.trust-logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--grey-500);
  text-align: center;
  opacity: 0.75;
  transition: opacity var(--transition-base);
  letter-spacing: 0.05em;
}

.trust-logo:hover {
  opacity: 1;
  color: var(--navy-900);
}

/* ---------- Section Heading Block ---------- */
.section-heading {
  max-width: 820px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-heading.left {
  text-align: left;
  margin-left: 0;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--gold-500);
  margin: 1.25rem 0 1.5rem;
}

.section-heading.text-center .section-divider {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Program Cards ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-300);
}

.program-card-image {
  height: 240px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.program-card:hover .program-card-image {
  transform: scale(1.02);
}

.program-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 30, 63, 0) 40%, rgba(10, 30, 63, 0.6) 100%);
  z-index: 1;
  transition: all var(--transition-base);
}

.program-card:hover .program-card-image::before {
  background: linear-gradient(to bottom, rgba(10, 30, 63, 0.1) 30%, rgba(10, 30, 63, 0.75) 100%);
}

.program-card-chart {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 2rem 1.5rem;
  opacity: 0.6;
  z-index: 2;
}

.program-card-chart .bar {
  width: 14%;
  background: linear-gradient(to top, var(--gold-500), var(--gold-300));
  border-radius: 2px 2px 0 0;
}

.program-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.3rem 0.75rem;
  background: rgba(10, 30, 63, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 97, 0.3);
  color: var(--gold-400);
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.program-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--gold-100);
  color: var(--navy-800);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.program-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy-900);
  margin-bottom: 0.875rem;
  font-weight: 500;
}

.program-desc {
  font-size: 0.9375rem;
  color: var(--grey-700);
  margin-bottom: 1.5rem;
  flex: 1;
}

.program-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--grey-200);
  font-size: 0.8125rem;
  color: var(--grey-500);
}

.program-meta strong {
  color: var(--navy-900);
  font-weight: 600;
}

.program-card-footer {
  padding: 1rem 2rem;
  border-top: 1px solid var(--grey-200);
  background: var(--grey-50);
}

/* ---------- Features / Why ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.feature {
  position: relative;
  padding: 2rem 0;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--navy-900);
}

.feature h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.feature p {
  font-size: 0.9375rem;
  color: var(--grey-700);
  line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
  position: relative;
  transition: all var(--transition-base);
}

.testimonial:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--navy-900);
  margin-bottom: 2rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.005em;
}

.testimonial-quote::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-300);
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  line-height: 1;
  opacity: 0.5;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-200);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  flex-shrink: 0;
}

.author-info h5 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-900);
  margin: 0;
}

.author-info span {
  font-size: 0.8125rem;
  color: var(--grey-500);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--navy-900);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(201, 169, 97, 0.12), transparent 60%);
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0625rem;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 0;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .brand {
  margin-bottom: 1.25rem;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand .brand-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-2px);
}

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.875rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
}

.footer-bottom-links a:hover {
  color: var(--gold-400);
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 11rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.9;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(10, 30, 63, 0.92) 0%, rgba(10, 30, 63, 0.78) 50%, rgba(15, 40, 87, 0.68) 100%);
  z-index: 1;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
  color: var(--gold-400);
}

.breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ---------- About Sections ---------- */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.mission-image {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.mission-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(10, 30, 63, 0.6) 100%);
}

.mission-image-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(10, 30, 63, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.75rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold-500);
  color: var(--white);
}

.mission-image-badge strong {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-400);
  display: block;
  margin-bottom: 0.25rem;
}

.mission-image-badge span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-align: center;
}

.value-card:hover {
  border-color: var(--gold-400);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--gold-500);
  margin-bottom: 1rem;
  line-height: 1;
}

/* ---------- Faculty ---------- */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.faculty-card {
  text-align: left;
}

.faculty-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  background-size: cover;
  background-position: center top;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  transition: transform var(--transition-base);
}

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

.faculty-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,63,0.85), transparent 50%);
}

.faculty-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.faculty-title {
  font-size: 0.875rem;
  color: var(--gold-500);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
}

.faculty-bio {
  font-size: 0.9375rem;
  color: var(--grey-700);
  line-height: 1.7;
}

/* ---------- Featured Dean Card ---------- */
.dean-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-bottom: 4rem;
}

.dean-feature-photo {
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center top;
  position: relative;
}

.dean-feature-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 70%, rgba(10, 30, 63, 0.1) 100%);
}

.dean-feature-body {
  padding: 3rem 3rem 3rem 0;
}

.dean-feature-body .eyebrow {
  margin-bottom: 1rem;
}

.dean-feature-body h3 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.dean-feature-body .dean-title {
  font-size: 0.875rem;
  color: var(--gold-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.dean-feature-body blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--navy-900);
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold-500);
  margin-bottom: 1.5rem;
}

.dean-feature-body p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.dean-credentials {
  display: flex;
  gap: 1.5rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--grey-200);
  font-size: 0.875rem;
  color: var(--grey-700);
}

.dean-credentials strong {
  display: block;
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
}

/* ---------- Trading lab feature strip ---------- */
.feature-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  min-height: 480px;
}

.feature-strip-image {
  background-size: cover;
  background-position: center;
  position: relative;
}

.feature-strip-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 30, 63, 0.2), transparent 50%);
}

.feature-strip-content {
  background: var(--navy-900);
  color: var(--white);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.feature-strip-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201, 169, 97, 0.12), transparent 55%);
}

.feature-strip-content > * {
  position: relative;
  z-index: 1;
}

.feature-strip-content h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 2.75vw, 2.5rem);
  margin-bottom: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}

.feature-strip-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.feature-strip-content .section-divider {
  background: var(--gold-500);
}

/* ---------- Campus / Global ---------- */
.campus-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.campus-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

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

.campus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

.campus-flag {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.campus-country {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.campus-city {
  font-size: 0.875rem;
  color: var(--grey-500);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.campus-info {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-200);
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--grey-700);
}

.campus-info strong {
  color: var(--navy-900);
  display: block;
  font-size: 1rem;
  font-family: var(--font-display);
}

/* ---------- World Map ---------- */
.world-map {
  width: 100%;
  height: 480px;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.world-map svg {
  width: 100%;
  height: 100%;
}

.map-dot {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.5); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---------- Certification Cards ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.cert-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.cert-card:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cert-seal {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.cert-seal::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
}

.cert-seal span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-400);
  font-weight: 500;
  z-index: 1;
}

.cert-content h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.cert-code {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold-500);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
}

.cert-content p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.cert-meta {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-200);
  font-size: 0.8125rem;
  color: var(--grey-700);
}

.cert-meta-item strong {
  color: var(--navy-900);
  display: block;
  font-weight: 600;
}

/* ---------- Curriculum ---------- */
.curriculum-list {
  max-width: 900px;
  margin: 0 auto;
}

.curriculum-module {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.curriculum-module:hover {
  border-color: var(--gold-300);
  box-shadow: var(--shadow-md);
}

.module-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  cursor: pointer;
  align-items: center;
}

.module-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-500);
  font-weight: 500;
  min-width: 60px;
}

.module-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy-900);
  font-weight: 500;
  margin: 0;
}

.module-weeks {
  font-size: 0.8125rem;
  color: var(--grey-500);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.module-body {
  padding: 0 2rem 2rem 7.5rem;
}

.module-body ul {
  list-style: none;
  margin-top: 0.5rem;
}

.module-body li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.625rem;
  font-size: 0.9375rem;
  color: var(--grey-700);
}

.module-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--navy-900);
  background: var(--white);
  transition: all var(--transition-base);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(20, 50, 111, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

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

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

/* ---------- Admissions Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold-300), transparent);
  z-index: 0;
}

.step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold-500);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 0 6px var(--gold-100);
}

.step h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--navy-900);
  font-weight: 500;
}

.step p {
  font-size: 0.875rem;
  color: var(--grey-700);
}

/* ---------- Alumni / Outcomes ---------- */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.outcome-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
}

.outcome-number {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.outcome-number .unit {
  color: var(--gold-500);
}

.outcome-label {
  font-size: 0.875rem;
  color: var(--grey-700);
  letter-spacing: 0.02em;
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.alumni-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: all var(--transition-base);
}

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

.alumni-photo {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 500;
  position: relative;
}

.alumni-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 30, 63, 0.3), transparent 60%);
}

.alumni-content {
  padding: 2rem;
}

.alumni-role {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold-500);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.alumni-content h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--navy-900);
}

.alumni-content p {
  font-size: 0.9375rem;
  color: var(--grey-700);
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-300);
}

.blog-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base);
}

.blog-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 30, 63, 0.05) 50%, rgba(10, 30, 63, 0.55) 100%);
  z-index: 1;
}

.blog-card:hover .blog-image {
  transform: scale(1.03);
}

.blog-content {
  padding: 1.75rem;
}

.blog-category {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--gold-500);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.blog-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--navy-900);
  font-weight: 500;
}

.blog-content p {
  font-size: 0.9375rem;
  color: var(--grey-700);
  margin-bottom: 1.25rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-200);
  font-size: 0.8125rem;
  color: var(--grey-500);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
}

.contact-info {
  padding-right: 2rem;
}

.contact-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--grey-200);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  flex-shrink: 0;
}

.contact-item h5 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-500);
  margin-bottom: 0.375rem;
  font-weight: 600;
}

.contact-item p,
.contact-item a {
  color: var(--navy-900);
  font-size: 1.0625rem;
  font-weight: 500;
  font-family: var(--font-display);
  margin: 0;
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ---------- Accreditation ---------- */
.accred-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
  padding: 3rem;
  background: var(--grey-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200);
}

.accred-item {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--grey-200);
}

.accred-item:last-child {
  border-right: none;
}

.accred-logo {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.accred-label {
  font-size: 0.75rem;
  color: var(--grey-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Chatbot ---------- */
.chatbot-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 64px;
  height: 64px;
  background: var(--navy-900);
  color: var(--gold-400);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(10, 30, 63, 0.25);
  z-index: 999;
  transition: all var(--transition-base);
}

.chatbot-trigger:hover {
  transform: scale(1.1);
  background: var(--navy-800);
}

.chatbot-panel {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 520px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 1001;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--grey-200);
}

.chatbot-panel.open {
  display: flex;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-header {
  background: var(--navy-900);
  color: var(--white);
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h5 {
  color: var(--white);
  margin: 0;
  font-size: 1rem;
}

.chatbot-header span {
  font-size: 0.75rem;
  color: var(--gold-400);
}

.chatbot-close {
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.chatbot-body {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  background: var(--grey-50);
}

.chat-message {
  margin-bottom: 1rem;
  max-width: 85%;
}

.chat-bot {
  background: var(--white);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.chat-user {
  background: var(--navy-900);
  color: var(--white);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  margin-left: auto;
}

.chatbot-input {
  padding: 1rem;
  border-top: 1px solid var(--grey-200);
  display: flex;
  gap: 0.5rem;
}

.chatbot-input input {
  flex: 1;
  padding: 0.625rem 1rem;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-family: var(--font-sans);
}

.chatbot-input input:focus {
  outline: none;
  border-color: var(--navy-700);
}

.chatbot-input button {
  padding: 0.625rem 1rem;
  background: var(--gold-500);
  color: var(--navy-900);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-base);
}

.chatbot-input button:hover {
  background: var(--gold-400);
}

/* ---------- Newsletter ---------- */
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--white);
  font-family: var(--font-sans);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ---------- Responsive Design ---------- */
@media (max-width: 1100px) {
  .grid-4,
  .trust-logos,
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
  }
  .faculty-grid,
  .outcome-grid,
  .values-grid,
  .hero-stats,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .accred-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .steps-grid::before { display: none; }
}

@media (max-width: 900px) {
  .grid-3,
  .programs-grid,
  .testimonials-grid,
  .blog-grid,
  .alumni-grid,
  .campus-list,
  .features-grid,
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-inner,
  .mission-grid,
  .contact-grid,
  .cta-inner,
  .dean-feature,
  .feature-strip {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .dean-feature {
    gap: 0;
  }
  .dean-feature-body {
    padding: 2rem;
  }
  .feature-strip-content {
    padding: 3rem 2rem;
  }
  .feature-strip-image {
    min-height: 280px;
  }
  .hero-visual { display: none; }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
  .trust-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--grey-200);
    gap: 0;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-menu li {
    border-bottom: 1px solid var(--grey-200);
  }
  .nav-menu a {
    display: block;
    padding: 1rem 0;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-actions .btn:not(.btn-gold) {
    display: none;
  }
  .header-top {
    display: none;
  }
  .module-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .programs-grid,
  .testimonials-grid,
  .blog-grid,
  .alumni-grid,
  .campus-list,
  .features-grid,
  .cert-grid,
  .faculty-grid,
  .outcome-grid,
  .values-grid,
  .hero-stats,
  .steps-grid,
  .trust-logos,
  .footer-top,
  .form-row {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 4rem 0;
  }
  .hero {
    padding: 8rem 0 4rem;
    min-height: auto;
  }
  .cert-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .cert-seal {
    margin: 0 auto;
  }
  .module-header {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .module-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }
  .accred-row {
    grid-template-columns: 1fr 1fr;
  }
  .accred-item {
    border: none;
    padding: 1rem 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .contact-form {
    padding: 2rem;
  }
  .chatbot-panel {
    right: 1rem;
    bottom: 5rem;
  }
  .chatbot-trigger {
    bottom: 1rem;
    right: 1rem;
  }
}
