/* ==========================================================================
   SKYLOR INSTITUTE - DESIGN SYSTEM & STYLESHEET
   Luminous White Editorial Aesthetic • Prestigious Academic Positioning
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Surface & Canvas: Pristine White & Architectural Neutrals */
  --bg-canvas: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-muted: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-overlay: rgba(10, 25, 47, 0.6);

  /* Typography Colors: Deep Sovereign Navy & Slate */
  --text-headline: #0A192F;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;
  --text-white: #FFFFFF;

  /* Brand Accents: Academic Sovereign Blue & Skylor Brand Cerulean */
  --primary: #0A192F;
  --primary-light: #162B4D;
  --primary-soft: #EEF2F6;
  --accent: #145E91;             /* Official Brand Cerulean Blue from Skylor Logo */
  --accent-hover: #0D4872;       /* Deeper royal hover */
  --accent-light: #EBF4FA;       /* Soft crisp sky background tint */
  --accent-gold: #1A75B4;        /* Vibrant brand blue mid-tone */

  /* Borders & Dividers */
  --border-subtle: #E2E8F0;
  --border-focus: #CBD5E1;
  --border-accent: #BAE0F7;

  /* Shadows: Airy, Architectural, Non-Muddy */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 24px -4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 24px 48px -12px rgba(15, 23, 42, 0.12);

  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout Constants */
  --max-width: 1240px;
  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transition Curves */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-canvas);
  color: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-headline);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
}

p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.75;
}

.text-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
  max-width: 760px;
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  border: 1px solid rgba(10, 25, 47, 0.08);
}

.section-kicker.accent {
  background-color: var(--accent-light);
  color: var(--accent-hover);
  border-color: var(--border-accent);
}

.section-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--text-muted);
  margin-top: 14px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(10, 25, 47, 0.15);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 25, 47, 0.22);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-white);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(20, 94, 145, 0.25);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 94, 145, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-muted);
  color: var(--text-headline);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--primary);
  border-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--bg-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-gold {
  background-color: var(--accent-light);
  color: var(--accent-hover);
  border: 1px solid var(--border-accent);
}

.badge-blue {
  background-color: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(10, 25, 47, 0.1);
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(10, 25, 47, 0.08);
  border-bottom-color: rgba(226, 232, 240, 0.85);
}

.site-header .container {
  max-width: 1540px;
  padding-left: clamp(16px, 2.5vw, 36px);
  padding-right: clamp(16px, 2.5vw, 36px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 36px);
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-right: clamp(20px, 3vw, 56px);
}

.site-logo-img {
  height: 58px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-logo:hover .site-logo-img {
  opacity: 0.9;
}

.site-logo-footer {
  height: 66px;
  max-width: 250px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}

.footer-brand-logo:hover .site-logo-footer {
  opacity: 1;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary) 0%, #1E3A8A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  box-shadow: 0 4px 10px rgba(10, 25, 47, 0.2);
  flex-shrink: 0;
}

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

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-headline);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-top: 3px;
  white-space: nowrap;
}

.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 32px);
  white-space: nowrap;
  flex-grow: 1;
}

.nav-link {
  font-weight: 600;
  font-size: clamp(0.88rem, 0.95vw, 0.95rem);
  color: var(--text-headline);
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

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

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

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

/* Dropdown Menu */
.nav-item-has-dropdown {
  position: relative;
  white-space: nowrap;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 280px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-headline);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color var(--transition-fast);
  white-space: nowrap;
}

.dropdown-link:hover {
  background-color: var(--bg-subtle);
  color: var(--accent-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: clamp(20px, 3vw, 56px);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-headline);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-actions .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.header-counseling-btn .btn-text-short {
  display: none;
}

.header-counseling-btn .btn-text-full {
  display: inline;
}

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-headline);
  cursor: pointer;
  padding: 8px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 1000;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  padding: 30px 24px;
  transition: right var(--transition-smooth);
}

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

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-overlay);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

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

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

.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-grow: 1;
}

.drawer-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-headline);
}

.drawer-link:hover {
  color: var(--accent);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(40px, 6vw, 70px);
  padding-bottom: clamp(60px, 8vw, 90px);
  background: radial-gradient(circle at 100% 0%, rgba(186, 224, 247, 0.35) 0%, rgba(255, 255, 255, 0) 50%),
              radial-gradient(circle at 0% 100%, rgba(238, 242, 246, 0.6) 0%, rgba(255, 255, 255, 0) 50%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-kicker-wrap {
  margin-bottom: 20px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.4vw, 1.28rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

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

.metric-value {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-headline);
  line-height: 1.1;
  font-family: var(--font-mono);
}

.metric-value.accent {
  color: var(--accent);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.hero-visual {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.hero-image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.hero-image-frame:hover img {
  transform: scale(1.02);
}

.hero-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  max-width: 280px;
}

.hero-badge-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-headline);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* ==========================================================================
   COHORT GUARANTEE SECTION (40 SEATS)
   ========================================================================== */
.cohort-banner {
  background-color: var(--primary);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cohort-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 94, 145, 0.25) 0%, rgba(20, 94, 145, 0) 70%);
  pointer-events: none;
}

.cohort-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cohort-banner h2 {
  color: var(--text-white);
  margin-bottom: 16px;
}

.cohort-banner p {
  color: #CBD5E1;
  font-size: 1.1rem;
}

.cohort-stats-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cohort-stat-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cohort-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ==========================================================================
   COURSE CARDS & DIRECTORY
   ========================================================================== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.course-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-smooth);
  position: relative;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-focus);
}

.course-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.course-icon-wrap {
  width: 52px;
  height: 52px;
  background-color: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.course-card h3 {
  margin-bottom: 10px;
}

.course-card h3 a:hover {
  color: var(--accent);
}

.course-target-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-hover);
  margin-bottom: 14px;
  display: block;
}

.course-card p {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.course-features-list {
  list-style: none;
  margin-top: auto;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.course-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-headline);
}

.course-features-list li svg {
  color: var(--accent);
  flex-shrink: 0;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   3-STEP METHODOLOGY
   ========================================================================== */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.method-step {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.method-step:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--bg-muted);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition-fast);
}

.method-step:hover .step-num {
  color: var(--accent-light);
}

.method-step h3 {
  margin-bottom: 12px;
}

/* ==========================================================================
   SPLIT STORY / ABOUT SECTION
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 1025px) {
  .story-grid.story-grid-reversed > :first-child {
    order: 2;
  }
  .story-grid.story-grid-reversed > :last-child {
    order: 1;
  }
}

.story-visual-wrap {
  position: relative;
}

.story-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.story-card-floater {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
}

/* ==========================================================================
   EXAM PATTERN TABLES & ACCORDIONS
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  margin: 24px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.data-table th {
  background-color: var(--bg-subtle);
  color: var(--text-headline);
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background-color: rgba(248, 250, 252, 0.8);
}

/* Accordions */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.accordion-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-headline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.accordion-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.accordion-body {
  padding: 0 24px 20px 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ==========================================================================
   FORMS & CONSULTATION MODULE
   ========================================================================== */
.form-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-subtle);
  color: var(--text-headline);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(10, 25, 47, 0.1);
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-overlay);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

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

.modal-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 36px;
  box-shadow: var(--shadow-hover);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-fast);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary);
  color: #94A3B8;
  padding-top: 80px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: #CBD5E1;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #64748B;
}

/* ==========================================================================
   ANIMATIONS & DYNAMIC MICRO-INTERACTIONS
   ========================================================================== */

/* Reading Scroll Progress Bar */
.scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-gold) 50%, #38BDF8 100%);
  z-index: 101;
  transition: width 0.08s ease-out;
  box-shadow: 0 0 10px rgba(20, 94, 145, 0.4);
}

/* Shimmer Light Reflection on Accent Buttons */
.btn-accent {
  position: relative;
  overflow: hidden;
}

.btn-accent::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 35%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  pointer-events: none;
  animation: btnShimmer 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes btnShimmer {
  0% { left: -60%; }
  22%, 100% { left: 140%; }
}

/* Pulsing Status Dot */
.pulsing-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  margin-right: 6px;
  position: relative;
}

.pulsing-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: inherit;
  animation: pulseAura 2s infinite ease-out;
  z-index: -1;
}

@keyframes pulseAura {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.2); opacity: 0; }
}

/* Floating Card Animation */
.hero-badge-overlay, .story-card-floater {
  animation: floatSubtle 5s ease-in-out infinite;
}

.story-card-floater {
  animation-delay: -2.5s;
}

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

/* Ambient Background Breathing Effect on Hero */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 243, 199, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  animation: auraFloat 8s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes auraFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.12); }
}

/* Enhanced Course Card Micro-Interactions */
.course-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(10, 25, 47, 0.1), 0 0 0 1px rgba(20, 94, 145, 0.25);
}

.course-card:hover .course-icon-wrap {
  transform: scale(1.1) rotate(4deg);
  background-color: var(--accent-light);
  color: var(--accent-hover);
}

.course-icon-wrap {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.3s ease,
              color 0.3s ease;
}

/* Method Step Hover Lift */
.method-step {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.method-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

/* Scroll-Triggered Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.revealed {
  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; }

/* ==========================================================================
   TYPEWRITER COMPONENT
   ========================================================================== */
.typewriter-container {
  display: inline-flex;
  align-items: baseline;
  position: relative;
  vertical-align: baseline;
}

.typewriter-text {
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  border-bottom: 2.5px solid rgba(20, 94, 145, 0.4);
  padding-bottom: 2px;
  position: relative;
  white-space: pre-wrap;
  transition: border-color 0.2s ease;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--accent);
  font-weight: 300;
  font-style: normal;
  font-family: var(--font-sans);
  margin-left: 3px;
  animation: blinkTypewriterCursor 0.85s infinite ease-in-out;
  transform: translateY(-2px);
  user-select: none;
  opacity: 1;
}

@keyframes blinkTypewriterCursor {
  0%, 45% {
    opacity: 1;
  }
  50%, 95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero-break {
  display: block;
}

/* ==========================================================================
   RESPONSIVENESS & BREAKPOINTS
   ========================================================================== */
@media (max-width: 1320px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid, .story-grid, .cohort-grid {
    grid-template-columns: 1fr;
  }
  .hero-image-frame {
    max-width: 600px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .methodology-grid {
    grid-template-columns: 1fr;
  }
  .nav-desktop, .header-phone {
    display: none !important;
  }
  .site-header {
    background-color: #FFFFFF;
  }
  .site-header.scrolled {
    box-shadow: 0 2px 10px rgba(10, 25, 47, 0.08);
  }
  .site-header .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-inner {
    gap: 12px;
  }
  .brand-logo {
    margin-right: 0;
    gap: 10px;
  }
  .header-actions {
    margin-left: auto;
    gap: 10px;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    background-color: var(--bg-subtle);
    color: var(--text-headline);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition-fast);
  }
  .mobile-nav-toggle:hover {
    background-color: #E2E8F0;
    color: var(--accent);
    border-color: var(--accent);
  }
}

@media (max-width: 768px) {
  .site-header .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand-logo {
    gap: 8px;
  }
  .site-logo-img {
    height: 48px;
    max-width: 190px;
  }
  .site-logo-footer {
    height: 56px;
    max-width: 220px;
  }
  .brand-symbol {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }
  .brand-name {
    font-size: 1.15rem;
  }
  .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }
  .header-actions {
    gap: 8px;
  }
  .header-counseling-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
  .hero::before {
    width: 260px;
    height: 260px;
    top: -5%;
    right: -15%;
    opacity: 0.45;
  }
  .hero-content {
    position: relative;
    z-index: 2;
  }
  .hero-metrics-bar {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .header-counseling-btn .btn-text-full {
    display: none;
  }
  .header-counseling-btn .btn-text-short {
    display: inline;
  }
  .header-counseling-btn {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 380px) {
  .site-header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .brand-logo {
    gap: 6px;
  }
  .site-logo-img {
    height: 40px;
    max-width: 155px;
  }
  .brand-symbol {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .brand-name {
    font-size: 1.02rem;
  }
  .brand-sub {
    font-size: 0.54rem;
    letter-spacing: 0.05em;
  }
  .header-counseling-btn {
    padding: 6px 9px;
    font-size: 0.74rem;
  }
  .mobile-nav-toggle {
    width: 34px;
    height: 34px;
  }
  .mobile-nav-toggle svg {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   BLOG ARCHIVE & FEATURED CARD RESPONSIVENESS
   ========================================================================== */
.featured-blog-card {
  margin-bottom: 48px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}

.featured-blog-card:hover {
  box-shadow: var(--shadow-md);
}

.featured-blog-content {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-blog-visual {
  background: var(--bg-muted);
  position: relative;
  min-height: 280px;
}

.featured-blog-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-filter-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 820px) {
  .featured-blog-card {
    grid-template-columns: 1fr !important;
  }
  .featured-blog-visual {
    order: -1;
    min-height: 220px;
    max-height: 260px;
  }
  .featured-blog-content {
    padding: 24px 20px !important;
  }
}

@media (max-width: 768px) {
  .blog-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 6px 4px 12px 4px;
    scrollbar-width: thin;
  }
  .blog-filter-bar .btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
}



