/* -------------------------------------------------------------
 * DESIGN SYSTEM & ROOT TOKENS
 * ------------------------------------------------------------- */
:root {
  /* Color Palette (Harmonious & Professional HSL tokens) */
  --color-primary: hsl(209, 89%, 29%);       /* Premium Deep Blue #054884 */
  --color-primary-light: hsl(209, 89%, 35%);
  --color-primary-dark: hsl(209, 90%, 20%);
  --color-accent-blue: hsl(212, 100%, 48%);
  
  --color-bg-hero: hsl(207, 95%, 12%);        /* Dark Navy for Hero */
  --color-bg-base: hsl(210, 40%, 98%);        /* Soft Slate White */
  --color-bg-card: hsl(0, 0%, 100%);          /* Crisp White */
  --color-bg-card-blue: hsl(210, 100%, 97%);  /* Tinted Light Blue for Corporate Card */
  
  --color-text-main: hsl(209, 60%, 15%);      /* Very Dark Slate */
  --color-text-muted: hsl(210, 20%, 45%);     /* Cool Slate Gray */
  --color-text-light: hsl(210, 20%, 95%);
  
  /* Domain-specific Colors */
  --color-corporate-bg: hsl(200, 96%, 95%);
  --color-corporate-text: hsl(200, 95%, 30%);
  --color-academic-bg: hsl(150, 80%, 95%);
  --color-academic-text: hsl(150, 84%, 25%);
  --color-research-bg: hsl(340, 80%, 96%);
  --color-research-text: hsl(340, 80%, 40%);
  
  /* Fonts */
  --font-family-headings: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  
  /* Shadows & Transitions */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(9, 79, 150, 0.05);
  --shadow-lg: 0 16px 40px rgba(9, 79, 150, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------------------------------------------------------------
 * BASE ELEMENTS & RESET
 * ------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

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

/* Custom premium scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
  background: hsl(209, 30%, 80%);
  border-radius: 5px;
  border: 2px solid var(--color-bg-base);
}
::-webkit-scrollbar-thumb:hover {
  background: hsl(209, 40%, 65%);
}

/* -------------------------------------------------------------
 * HEADER / NAVIGATION (Glassmorphism)
 * ------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(190%);
  -webkit-backdrop-filter: blur(12px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

/* Dark header variant for case study page */
.case-study-page .site-header {
  background-color: rgba(4, 22, 44, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.case-study-page .logo {
  color: #ffffff;
}

.case-study-page .btn-contact {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.case-study-page .btn-contact:hover {
  background-color: rgba(255, 255, 255, 0.2);
}


.header-container {
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-family-headings);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-primary);
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: invert(1) brightness(0.15) contrast(1.2);
}

.case-study-page .logo-img {
  filter: none;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: none;
  opacity: 0.95;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-main);
  opacity: 0.8;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  opacity: 1;
  color: var(--color-primary);
}

.nav-link.active {
  opacity: 1;
  color: var(--color-primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

.btn-contact {
  font-family: var(--font-family-headings);
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
}

.btn-contact:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 72, 132, 0.2);
}

/* -------------------------------------------------------------
 * HERO SECTION
 * ------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: var(--color-bg-hero);
  background-image: linear-gradient(135deg, hsl(207, 95%, 8%) 0%, hsl(209, 80%, 16%) 100%);
  padding: calc(var(--header-height) + 60px) 0 100px 0;
  color: #ffffff;
  overflow: hidden;
}

/* Styled diagonal wave effect in hero background */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle at 80% 20%, var(--color-accent-blue) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 580px;
}

.hero-title {
  font-family: var(--font-family-headings);
  font-size: clamp(36px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 36px;
  color: var(--color-text-light);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-family-headings);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.btn-icon {
  margin-right: 8px;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}

.btn-primary:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary:hover .btn-icon {
  transform: scale(1.1);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Laptop Video Mockup styling */
.hero-video-wrapper {
  position: relative;
  width: 100%;
}

.hero-video-card {
  position: relative;
  background-color: #0b0f19;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 16 / 10;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-video-card:hover .video-thumbnail {
  transform: scale(1.03);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.play-button {
  background-color: var(--color-accent-blue);
  color: #ffffff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  margin-top: auto;
  box-shadow: 0 8px 24px rgba(0, 71, 133, 0.4);
  transition: var(--transition-smooth);
}

.hero-video-card:hover .play-button {
  transform: scale(1.1);
  background-color: hsl(212, 100%, 55%);
  box-shadow: 0 12px 32px rgba(0, 71, 133, 0.6);
}

.video-meta {
  font-family: var(--font-family-headings);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.9;
  text-align: center;
  align-self: flex-start;
  margin-top: auto;
}

/* Angled separator curve transition */
.hero-separator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 60px;
  line-height: 0;
  z-index: 3;
}

.hero-separator svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
}

/* -------------------------------------------------------------
 * RESOURCE PORTFOLIO SECTION
 * ------------------------------------------------------------- */
.portfolio-section {
  padding: 100px 0;
  background-color: var(--color-bg-base);
}

.section-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  max-width: 680px;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-family-headings);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Beautiful custom portfolio grid matching layout */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.portfolio-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid rgba(9, 79, 150, 0.07);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(9, 79, 150, 0.15);
}

/* Card Badge Tags */
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.badge {
  font-family: var(--font-family-headings);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap !important;
  display: inline-block;
}

.badge-corporate {
  background-color: var(--color-corporate-bg);
  color: var(--color-corporate-text);
}

.badge-academic {
  background-color: var(--color-academic-bg);
  color: var(--color-academic-text);
}

.badge-research {
  background-color: var(--color-research-bg);
  color: var(--color-research-text);
}

/* Color-coded project tags with border and background */
.badge-pathway { background-color: rgba(16, 185, 129, 0.06) !important; color: #10b981 !important; border: 1.5px solid rgba(16, 185, 129, 0.25) !important; }
.badge-blended { background-color: rgba(236, 72, 153, 0.06) !important; color: #ec4899 !important; border: 1.5px solid rgba(236, 72, 153, 0.25) !important; }
.badge-rise { background-color: rgba(245, 158, 11, 0.06) !important; color: #f59e0b !important; border: 1.5px solid rgba(245, 158, 11, 0.25) !important; }
.badge-compliance { background-color: rgba(239, 68, 68, 0.06) !important; color: #ef4444 !important; border: 1.5px solid rgba(239, 68, 68, 0.25) !important; }
.badge-storyline { background-color: rgba(14, 165, 233, 0.06) !important; color: #0ea5e9 !important; border: 1.5px solid rgba(14, 165, 233, 0.25) !important; }
.badge-award { background-color: rgba(234, 179, 8, 0.06) !important; color: #eab308 !important; border: 1.5px solid rgba(234, 179, 8, 0.25) !important; }
.badge-lms { background-color: rgba(99, 102, 241, 0.06) !important; color: #6366f1 !important; border: 1.5px solid rgba(99, 102, 241, 0.25) !important; }
.badge-education { background-color: rgba(139, 92, 246, 0.06) !important; color: #8b5cf6 !important; border: 1.5px solid rgba(139, 92, 246, 0.25) !important; }
.badge-ai { background-color: rgba(59, 130, 246, 0.06) !important; color: #3b82f6 !important; border: 1.5px solid rgba(59, 130, 246, 0.25) !important; }
.badge-video { background-color: rgba(244, 63, 94, 0.06) !important; color: #f43f5e !important; border: 1.5px solid rgba(244, 63, 94, 0.25) !important; }
.badge-leadership { background-color: rgba(100, 116, 139, 0.06) !important; color: #64748b !important; border: 1.5px solid rgba(100, 116, 139, 0.25) !important; }

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.badge-solid-corporate {
  background-color: #ffffff;
  color: var(--color-primary);
}

.card-icon-badge {
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* Custom Grid Positioning */
.card-wide {
  grid-column: span 4;
}

.corporate-card {
  background-color: var(--color-bg-card-blue);
  border-color: rgba(9, 79, 150, 0.1);
}

.academic-card {
  grid-column: span 2;
}

.podcast-card {
  grid-column: span 2;
  border-top: 4px solid var(--color-academic-text);
  background-color: var(--color-bg-card-blue);
}



.research-card {
  grid-column: span 2;
}

/* Card Content typography */
.card-title {
  font-family: var(--font-family-headings);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-description {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.card-link {
  font-family: var(--font-family-headings);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-blue);
  display: inline-flex;
  align-items: center;
  margin-top: auto;
}

.card-link svg {
  transition: var(--transition-smooth);
}

.card-link:hover {
  color: var(--color-primary-light);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* Special Podcast Image Mockup */
.podcast-img-container {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.podcast-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.podcast-card:hover .podcast-image {
  transform: scale(1.05);
}

/* Leadership Progress Bar styling */
.progress-container {
  margin-top: auto;
}

.progress-bar-wrapper {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar-fill {
  height: 100%;
  background-color: #ffffff;
  border-radius: 3px;
  width: 0; /* Animated dynamically or defined via inline */
  transition: width 1.2s ease-out;
}

.progress-text {
  font-family: var(--font-family-headings);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}

/* -------------------------------------------------------------
 * YOUR LEARNING JOURNEY
 * ------------------------------------------------------------- */
.journey-section {
  padding: 100px 0;
  background-color: hsl(210, 40%, 95%);
  border-top: 1px solid rgba(9, 79, 150, 0.05);
}

.journey-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.journey-title {
  font-family: var(--font-family-headings);
  font-size: clamp(26px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 64px;
  letter-spacing: -0.5px;
}

.journey-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  gap: 20px;
}

.journey-step-card {
  background-color: var(--color-bg-card-blue);
  border-radius: var(--radius-md);
  padding: 30px 40px;
  width: 250px;
  border: 1px solid rgba(9, 79, 150, 0.05);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.journey-step-card.white-bg {
  background-color: var(--color-bg-card);
}

.journey-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.journey-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 20px;
}

.bg-blue {
  background-color: var(--color-accent-blue);
}

.bg-green {
  background-color: var(--color-academic-text);
}

.bg-pink {
  background-color: hsl(340, 80%, 50%);
}

.journey-number {
  font-family: var(--font-family-headings);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.1;
  margin-bottom: 4px;
}

.journey-label-main {
  font-family: var(--font-family-headings);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.journey-label-sub {
  font-family: var(--font-family-headings);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

/* Connecting Line pipeline style */
.journey-line {
  flex-grow: 1;
  height: 2px;
  background-color: hsl(210, 20%, 80%);
  position: relative;
  z-index: 1;
  max-width: 100px;
}

/* -------------------------------------------------------------
 * INTERACTIVE VIDEO MODAL
 * ------------------------------------------------------------- */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(9, 15, 30, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  background-color: #0b0f19;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .modal-content-wrapper {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.video-frame-container {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Beautiful Interactive Simulated Video Player Interface */
.interactive-video-player {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.session-header-overlay {
  padding: 20px 24px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: #ffffff;
  z-index: 3;
}

.session-header-overlay h4 {
  font-family: var(--font-family-headings);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.session-header-overlay span {
  font-size: 12px;
  color: var(--color-text-light);
  opacity: 0.8;
}

.video-simulation {
  flex-grow: 1;
  position: relative;
  background-color: #000;
  overflow: hidden;
}

.video-simulation img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.simulation-play-state {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
}

.simulation-play-state p {
  margin-top: 16px;
  font-family: var(--font-family-headings);
  font-size: 14px;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.session-footer-controls {
  padding: 16px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.progress-track {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
  position: relative;
}

.progress-playhead {
  height: 100%;
  background-color: var(--color-accent-blue);
  border-radius: 2px;
}

.controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-size: 12px;
}

.live-tag {
  background-color: hsl(340, 80%, 50%);
  font-family: var(--font-family-headings);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 10px;
}

/* -------------------------------------------------------------
 * SITE FOOTER
 * ------------------------------------------------------------- */
.site-footer {
  background-color: hsl(209, 90%, 9%);
  height: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  font-family: var(--font-family-headings);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-link {
  font-family: var(--font-family-headings);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

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

/* -------------------------------------------------------------
 * RESPONSIVE ADJUSTMENTS
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .card-wide {
    grid-column: span 4;
  }
  .academic-card, .podcast-card, .solid-blue-card, .research-card {
    grid-column: span 2;
  }
  .journey-pipeline {
    flex-direction: column;
    gap: 12px;
  }
  .journey-line {
    width: 2px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .card-wide, .academic-card, .podcast-card, .solid-blue-card, .research-card {
    grid-column: span 1;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-links {
    justify-content: center;
    gap: 16px;
  }
}

/* -------------------------------------------------------------
 * CASE STUDY PAGE - CORE HERO
 * ------------------------------------------------------------- */
/* =============================================================
 * CASE STUDY PAGE - REDESIGNED DARK HERO
 * ============================================================= */
.case-study-page {
  background-color: var(--color-bg-base);
}

.cs-hero-section {
  position: relative;
  background-color: var(--color-bg-hero);
  background-image: linear-gradient(135deg, hsl(207, 95%, 8%) 0%, hsl(209, 80%, 16%) 100%);
  padding: calc(var(--header-height) + 60px) 0 0 0;
  color: #ffffff;
  overflow: hidden;
}

/* Two-column layout */
.cs-hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

/* ── LEFT COLUMN ── */
.cs-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Breadcrumb row */
.cs-breadcrumb-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cs-pill-badge {
  background-color: var(--color-accent-magenta);
  color: #ffffff;
  font-family: var(--font-family-headings);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.cs-breadcrumb-label {
  font-family: var(--font-family-headings);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* Title */
.cs-hero-title {
  font-family: var(--font-family-headings);
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #ffffff;
  margin: 0;
}

/* Subtitle */
.cs-hero-subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin: 0;
  max-width: 480px;
}

/* 2×2 meta grid */
.cs-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cs-meta-card {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-meta-label {
  font-family: var(--font-family-headings);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.4);
}

.cs-meta-value {
  font-family: var(--font-family-headings);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

/* Highlight stat bar */
.cs-stat-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 18px 22px;
}

.cs-stat-number {
  font-family: var(--font-family-headings);
  font-size: 36px;
  font-weight: 800;
  color: var(--color-accent-blue);
  white-space: nowrap;
  line-height: 1;
}

.cs-stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-stat-text strong {
  font-family: var(--font-family-headings);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.cs-stat-text span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* ── RIGHT COLUMN: Device mockup card ── */
.cs-hero-visual-card {
  position: relative;
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  overflow: visible;
  padding: 20px;
}

.cs-hero-device-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* "Visit Live Site" button — top right of card */
.cs-visit-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  background-color: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  font-family: var(--font-family-headings);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cs-visit-btn:hover {
  background-color: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.35);
}

/* Floating stat badge — bottom of the image */
.cs-floating-badge {
  position: absolute;
  bottom: -18px;
  left: 24px;
  background-color: hsl(207, 95%, 10%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  min-width: 260px;
}

.cs-floating-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.cs-floating-badge-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3px;
}

.cs-floating-badge-value {
  display: block;
  font-family: var(--font-family-headings);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

/* ── TOOLS USED STRIP ── */
.cs-tools-strip {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0 28px;
  margin-top: 40px;
}

.cs-tools-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.cs-tools-label {
  font-family: var(--font-family-headings);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-right: 8px;
  white-space: nowrap;
}

.cs-tool-tag {
  background-color: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cs-tool-tag strong {
  font-weight: 700;
  color: #ffffff;
}

.cs-tool-tag span {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {
  .cs-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cs-hero-visual-card {
    order: -1;
  }
  .cs-floating-badge {
    bottom: -14px;
    left: 16px;
  }
}



/* -------------------------------------------------------------
 * INTERACTIVE MODULE SHOWCASE
 * ------------------------------------------------------------- */
.cs-showcase-section {
  padding: 100px 0 60px 0;
  background-color: var(--color-bg-base);
}

.cs-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.cs-section-header.no-margin {
  margin: 0;
  text-align: left;
}

.cs-showcase-title {
  font-family: var(--font-family-headings);
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cs-showcase-subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
}

.cs-showcase-wrapper {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.cs-showcase-mockup {
  position: relative;
  background-color: #0b0f19;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(9, 79, 150, 0.08);
  aspect-ratio: 16 / 11;
  cursor: pointer;
}

.cs-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.cs-showcase-mockup:hover .cs-showcase-img {
  transform: scale(1.02);
}

.cs-showcase-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 60%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.cs-play-btn {
  background-color: var(--color-primary);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  margin-top: auto;
  box-shadow: 0 8px 24px rgba(5, 72, 132, 0.3);
  transition: var(--transition-smooth);
}

.cs-showcase-mockup:hover .cs-play-btn {
  transform: scale(1.08);
  background-color: var(--color-accent-blue);
  box-shadow: 0 12px 30px rgba(0, 71, 133, 0.5);
}

.cs-showcase-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  color: #ffffff;
}

.cs-showcase-tag {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-family: var(--font-family-headings);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
}

.cs-showcase-label {
  font-family: var(--font-family-headings);
  font-size: 15px;
  font-weight: 700;
}

/* -------------------------------------------------------------
 * THE CHALLENGE & THE APPROACH SPLIT CARDS
 * ------------------------------------------------------------- */
.cs-challenge-approach-section {
  padding: 60px 0 80px 0;
  background-color: var(--color-bg-base);
}

.cs-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.cs-split-card {
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.cs-challenge-card {
  background-color: #ffffff;
  border: 1px solid rgba(9, 79, 150, 0.06);
}

.cs-approach-card {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(5, 72, 132, 0.15);
}

.cs-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.cs-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-challenge-card .cs-card-icon {
  background-color: hsl(360, 80%, 96%);
}

.cs-approach-card .cs-card-icon {
  background-color: rgba(255, 255, 255, 0.12);
}

.text-red {
  color: hsl(360, 75%, 45%);
}

.text-white {
  color: #ffffff;
}

.cs-card-heading {
  font-family: var(--font-family-headings);
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
}

.cs-card-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.cs-card-text.text-light {
  color: rgba(255, 255, 255, 0.85);
}

.cs-challenge-stats {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

.cs-mini-stat {
  flex: 1;
  background-color: var(--color-bg-base);
  border: 1px solid rgba(9, 79, 150, 0.05);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: left;
}

.cs-stat-num {
  font-family: var(--font-family-headings);
  font-size: 24px;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}

.cs-stat-desc {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cs-approach-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.cs-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-family-headings);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.cs-list-item svg {
  color: hsl(150, 80%, 45%);
}

/* -------------------------------------------------------------
 * DECORATIVE BLURRED IMAGE STRIP
 * ------------------------------------------------------------- */
.cs-blurred-strip {
  height: 280px;
  background-image: url('assets/laptop_dashboard.png');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.cs-strip-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(9, 15, 30, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* -------------------------------------------------------------
 * SOLUTION ARCHITECTURE SECTION
 * ------------------------------------------------------------- */
.cs-architecture-section {
  padding: 100px 0;
  background-color: var(--color-bg-base);
}

.cs-architecture-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.cs-architecture-title {
  font-family: var(--font-family-headings);
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.cs-architecture-subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
}

.cs-carousel-controls {
  display: flex;
  gap: 12px;
}

.cs-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--color-primary);
  border: 1px solid rgba(9, 79, 150, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.cs-arrow-btn:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.cs-architecture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.cs-arch-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(9, 79, 150, 0.06);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.cs-arch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(9, 79, 150, 0.15);
}

.cs-arch-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bg-blue-tint {
  background-color: var(--color-bg-card-blue);
}

.text-blue {
  color: var(--color-accent-blue);
}

.cs-arch-heading {
  font-family: var(--font-family-headings);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.cs-arch-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------
 * MEASURABLE IMPACT SECTION (Dark Theme)
 * ------------------------------------------------------------- */
.cs-impact-section {
  padding: 100px 0;
  background-color: hsl(209, 90%, 9%);
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.cs-impact-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.cs-impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.cs-impact-content {
  max-width: 520px;
}

.cs-impact-title {
  font-family: var(--font-family-headings);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

.cs-impact-metrics {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.cs-metric-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.cs-metric-number {
  font-family: var(--font-family-headings);
  font-size: 40px;
  font-weight: 800;
  color: var(--color-accent-magenta) !important;
  line-height: 1;
  min-width: 90px;
}

.cs-metric-details {
  flex-grow: 1;
}

.cs-metric-label {
  font-family: var(--font-family-headings);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.cs-metric-desc {
  font-size: 13px;
  color: var(--color-text-light);
  opacity: 0.75;
  line-height: 1.5;
}

.cs-impact-visual {
  position: relative;
  width: 100%;
}

.cs-impact-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(0, 149, 255, 0.25) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.cs-impact-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

/* -------------------------------------------------------------
 * READY TO SCALE CTA BANNER
 * ------------------------------------------------------------- */
.cs-cta-section {
  padding: 100px 0;
  background-color: var(--color-bg-base);
  text-align: center;
  border-bottom: 1px solid rgba(9, 79, 150, 0.05);
}

.cs-cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.cs-cta-heading {
  font-family: var(--font-family-headings);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cs-cta-subheading {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cs-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cs-btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}

.cs-btn-primary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(5, 72, 132, 0.15);
}

.cs-btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: rgba(9, 79, 150, 0.3);
}

.cs-btn-secondary:hover {
  background-color: rgba(9, 79, 150, 0.04);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* -------------------------------------------------------------
 * RESPONSIVE CASE STUDY RULES
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .cs-hero-container, .cs-split-grid, .cs-impact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cs-hero-content, .cs-impact-content {
    max-width: 100%;
    text-align: center;
  }

  .cs-hero-badges {
    justify-content: center;
  }

  .cs-metric-item {
    text-align: left;
  }

  .cs-architecture-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cs-architecture-header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .cs-section-header.no-margin {
    text-align: center;
  }
}

/* -------------------------------------------------------------
 * REDESIGNED HOMEPAGE - CORE VARIABLES & HERO
 * ------------------------------------------------------------- */
:root {
  --color-accent-magenta: hsl(335, 75%, 45%);
}

.redesign-hero-section {
  padding: var(--header-height) 0 60px 0; /* Remove top offset to slide seamlessly flush under glass header */
  background-color: var(--color-bg-base);
}

.hero-banner-container {
  max-width: 100%;
  padding: 0;
}

.hero-banner-card {
  position: relative;
  border-radius: 0; /* Full bleed edge flush */
  overflow: hidden;
  background-color: var(--color-bg-hero);
  /* Highly visual linear gradient overlay running seamlessly into B&W portrait visual */
  background-image: linear-gradient(90deg, hsl(207, 95%, 6%) 0%, hsl(209, 85%, 11%) 45%, rgba(9, 21, 38, 0.5) 75%, rgba(9, 21, 38, 0.1) 100%), url('assets/strategist_portrait.png');
  background-size: cover;
  background-position: right center;
  height: 75vh;
  min-height: 520px; /* Cinematic elevation fallback */
  display: flex;
  align-items: center;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
}

.hero-banner-visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(0, 149, 255, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
}

.hero-tag-red {
  display: inline-block;
  background-color: var(--color-accent-magenta);
  color: #ffffff;
  font-family: var(--font-family-headings);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-title-large {
  font-family: var(--font-family-headings);
  font-size: clamp(32px, 4.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.85;
  color: var(--color-text-light);
  margin-bottom: 36px;
}

.btn-hero-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-magenta);
  color: #ffffff;
  font-family: var(--font-family-headings);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.btn-hero-red:hover {
  background-color: hsl(335, 75%, 38%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(186, 28, 93, 0.35);
}

/* -------------------------------------------------------------
 * STRATEGIC FRAMEWORK GRID
 * ------------------------------------------------------------- */
.framework-section {
  padding: 60px 0 80px 0;
  background-color: var(--color-bg-base);
}

.framework-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px auto;
}

.framework-title {
  font-family: var(--font-family-headings);
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.framework-subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.framework-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid rgba(9, 79, 150, 0.06);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  min-height: 360px;
}

.framework-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(9, 79, 150, 0.12);
}

.card-wide-2-3 {
  grid-column: span 2;
}

.card-narrow-1-3 {
  grid-column: span 1;
}

.solid-crimson-bg {
  background-color: var(--color-accent-magenta);
  color: #ffffff;
  border: none;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.solid-crimson-bg:hover {
  background-color: hsl(335, 75%, 38%);
  box-shadow: 0 16px 40px rgba(186, 28, 93, 0.25);
}

.crimson-stat-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.crimson-stat-num {
  font-family: var(--font-family-headings);
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
}

.crimson-stat-label {
  font-family: var(--font-family-headings);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.9;
  max-width: 220px;
}

.light-gray-bg {
  background-color: hsl(210, 20%, 96%);
  border-color: rgba(9, 79, 150, 0.03);
}

.text-crimson {
  background-color: hsl(335, 80%, 96%);
  color: var(--color-accent-magenta);
}

.framework-card-heading {
  font-family: var(--font-family-headings);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.framework-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.margin-bottom-sm {
  margin-bottom: 16px;
}

/* Feature tags grid inside first card */
.framework-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  border-top: 1px solid rgba(9, 79, 150, 0.08);
  padding-top: 24px;
  margin-top: auto;
}

.feature-item {
  font-family: var(--font-family-headings);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  color: var(--color-accent-blue);
  flex-shrink: 0;
}

/* Flex Row featured insight layout */
.flex-row-card {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.flex-row-content {
  flex: 1;
}

.featured-insight-tag {
  font-family: var(--font-family-headings);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--color-accent-magenta);
  margin-bottom: 16px;
  display: inline-block;
}

.flex-row-visual {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(9, 79, 150, 0.08);
}

.framework-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: var(--transition-smooth);
}

.flex-row-card:hover .framework-portrait-img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.framework-link-blue {
  font-family: var(--font-family-headings);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-blue);
  display: inline-flex;
  align-items: center;
}

.framework-link-blue svg {
  transition: var(--transition-smooth);
}

.framework-link-blue:hover {
  color: var(--color-primary-light);
}

.framework-link-blue:hover svg {
  transform: translateX(4px);
}

/* -------------------------------------------------------------
 * ADVANCED ANALYTICS DASHBOARD
 * ------------------------------------------------------------- */
.analytics-section {
  padding: 60px 0 100px 0;
  background-color: var(--color-bg-base);
}

.border-top-green {
  border-top: 4px solid var(--color-academic-text);
  padding-top: 60px;
}

.analytics-dual-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.analytics-content-side {
  max-width: 560px;
}

.analytics-heading {
  font-family: var(--font-family-headings);
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.analytics-subheading {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.analytics-rows-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.analytics-row-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid rgba(9, 79, 150, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.analytics-row-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(9, 79, 150, 0.12);
}

.row-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.bg-royal-blue {
  background-color: var(--color-accent-blue);
}

.bg-emerald {
  background-color: var(--color-academic-text);
}

.row-text h4 {
  font-family: var(--font-family-headings);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.row-text p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.analytics-visual-side {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* CSS Rendered Bar Chart Mockup Card */
.dashboard-chart-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(9, 79, 150, 0.06);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
}

.chart-bars-container {
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  border-bottom: 2px solid hsl(210, 20%, 90%);
  padding-bottom: 6px;
}

.chart-bar-wrapper {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.chart-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  transition: height 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Height styling variables for charts */
.bar-h-35 {
  height: 35%;
  background-color: hsl(209, 30%, 80%);
}

.bar-h-60 {
  height: 60%;
  background-color: hsl(209, 45%, 70%);
}

.bar-h-50 {
  height: 50%;
  background-color: hsl(209, 60%, 60%);
}

.bar-h-80 {
  height: 80%;
  background-color: hsl(209, 75%, 45%);
}

.bar-h-95 {
  height: 95%;
  background-color: var(--color-primary);
}

.chart-metrics-row {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.mini-metric-item {
  flex: 1;
  background-color: var(--color-bg-base);
  border: 1px solid rgba(9, 79, 150, 0.04);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.mini-label {
  font-family: var(--font-family-headings);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  display: block;
}

.mini-val {
  font-family: var(--font-family-headings);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

/* -------------------------------------------------------------
 * ELEVATE YOUR STRATEGY - NEWSLETTER SIGNUP
 * ------------------------------------------------------------- */
.newsletter-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid rgba(9, 79, 150, 0.05);
}

.newsletter-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.newsletter-content-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.newsletter-text-side {
  flex: 1.2;
  max-width: 500px;
}

.newsletter-heading {
  font-family: var(--font-family-headings);
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.newsletter-subheading {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.newsletter-form-side {
  flex: 0.8;
  min-width: 320px;
  max-width: 460px;
  width: 100%;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  width: 100%;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(9, 79, 150, 0.15);
  font-size: 14px;
  outline: none;
  background-color: var(--color-bg-base);
  transition: var(--transition-smooth);
}

.newsletter-input:focus {
  border-color: var(--color-accent-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 71, 133, 0.08);
}

.newsletter-btn {
  background-color: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-family-headings);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 72, 132, 0.15);
}

/* -------------------------------------------------------------
 * REDESIGN RESPONSIVE ADJUSTMENTS
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .framework-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-wide-2-3 {
    grid-column: span 2;
  }
  .card-narrow-1-3 {
    grid-column: span 1;
  }
  .flex-row-card {
    grid-column: span 2;
  }
  .analytics-dual-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .analytics-content-side {
    max-width: 100%;
    text-align: center;
  }
  .analytics-rows-list {
    align-items: center;
  }
  .analytics-row-item {
    max-width: 500px;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .hero-banner-card {
    background-image: linear-gradient(180deg, hsl(207, 95%, 6%) 0%, hsl(209, 85%, 11%) 60%, rgba(9, 21, 38, 0.8) 100%), url('assets/strategist_portrait.png');
    background-position: center top;
    min-height: 520px;
    text-align: center;
    align-items: flex-end;
  }

  .hero-banner-content {
    padding: 40px 24px;
  }

  .framework-grid {
    grid-template-columns: 1fr;
  }

  .card-wide-2-3, .card-narrow-1-3, .flex-row-card {
    grid-column: span 1;
  }

  .flex-row-card {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
  }

  .newsletter-content-split {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .newsletter-text-side {
    max-width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }
}

/* -------------------------------------------------------------
 * HOMEPAGE CINEMATIC VIDEO BANNER
 * ------------------------------------------------------------- */
.home-video-section {
  padding: 0 0 60px 0;
  background-color: var(--color-bg-base);
}

.video-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.home-video-card {
  position: relative;
  background-color: #0b0f19;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(9, 79, 150, 0.08);
  aspect-ratio: 16 / 9;
  width: 100%;
}

.home-video-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.home-video-card .video-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.home-video-card.playing .video-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.home-video-card.playing {
  cursor: default;
}

.home-video-card .video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.home-video-card:not(.playing):hover .video-thumbnail {
  transform: scale(1.02);
}

.home-video-card .play-button {
  background-color: var(--color-accent-blue);
  color: #ffffff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 71, 133, 0.4);
  transition: var(--transition-smooth);
}

.home-video-card:hover .play-button {
  transform: scale(1.08);
  background-color: hsl(212, 100%, 55%);
  box-shadow: 0 12px 32px rgba(0, 71, 133, 0.6);
}

.video-fallback-link {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-family-base);
  font-size: 13px;
  color: var(--color-text-muted);
  opacity: 0.85;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-fallback-link a {
  color: var(--color-accent-blue);
  text-decoration: none;
  font-weight: 500;
  margin-left: 4px;
  border-bottom: 1px dashed rgba(0, 113, 219, 0.4);
  transition: var(--transition-smooth);
}

.video-fallback-link a:hover {
  color: hsl(212, 100%, 55%);
  border-bottom-style: solid;
}

@media (max-width: 768px) {
  .home-video-card {
    aspect-ratio: 16 / 9; /* Default widescreen on mobile to avoid squeezing */
  }
}

/* -------------------------------------------------------------
 * MY PROCESS (ADDIE FRAMEWORK) TIMELINE
 * ------------------------------------------------------------- */
.process-section {
  padding: 100px 0;
  background-color: var(--color-bg-base);
}

.process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px auto;
}

.process-meta {
  font-family: var(--font-family-headings);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-accent-blue);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.process-title {
  font-family: var(--font-family-headings);
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.process-subtitle {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.process-timeline-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.process-step-card {
  flex: 1;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(9, 79, 150, 0.06);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
  min-height: 300px;
}

.process-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(9, 79, 150, 0.12);
}

.step-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.letter-badge {
  font-family: var(--font-family-headings);
  font-size: 16px;
  font-weight: 800;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.bg-navy {
  background-color: var(--color-primary);
}

.step-icon {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.process-step-card:hover .step-icon {
  color: var(--color-accent-blue);
  opacity: 1;
}

.step-title {
  font-family: var(--font-family-headings);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.process-connector {
  height: 2px;
  background-color: rgba(9, 79, 150, 0.1);
  flex-grow: 1;
  min-width: 20px;
  max-width: 40px;
  transition: var(--transition-smooth);
}

.process-step-card:hover + .process-connector {
  background-color: var(--color-accent-blue);
}

/* -------------------------------------------------------------
 * RESPONSIVE TIMELINE REFLOWS
 * ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .process-timeline-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .process-connector {
    width: 2px;
    height: 36px;
    min-width: auto;
    max-width: none;
    margin: 0 auto;
    background-color: rgba(9, 79, 150, 0.15);
  }
}

/* -------------------------------------------------------------
 * SPLIT LAYOUT WIDE CARD WITH HERO IMAGE
 * ------------------------------------------------------------- */
.split-layout-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 0 !important;
  min-height: 380px;
}

.card-left-content {
  flex: 1.25;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-right-visual {
  flex: 1;
  background: radial-gradient(circle at 100% 100%, var(--color-primary-light), var(--color-primary));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.card-right-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.card-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.3));
}

.split-layout-card:hover .card-visual-img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .split-layout-card {
    flex-direction: column !important;
    min-height: auto;
  }
  .card-left-content {
    padding: 36px;
  }
  .card-right-visual {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    height: 240px;
    min-height: auto;
    padding: 30px;
  }
}

/* -------------------------------------------------------------
 * SOLID BLUE AND SOLID PINK PORTFOLIO CARDS
 * ------------------------------------------------------------- */
.solid-blue-card {
  background-color: var(--color-accent-blue) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(0, 71, 133, 0.15);
}

.solid-blue-card:hover {
  box-shadow: 0 14px 40px rgba(0, 71, 133, 0.25);
}

.solid-blue-card .card-title {
  color: #ffffff !important;
}

.solid-blue-card .card-description {
  color: rgba(255, 255, 255, 0.88) !important;
}

.solid-blue-card .card-link {
  color: #ffffff !important;
}

.solid-blue-card .card-link:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

.solid-pink-card {
  background-color: var(--color-accent-magenta) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(186, 28, 93, 0.15);
}

.solid-pink-card:hover {
  box-shadow: 0 14px 40px rgba(186, 28, 93, 0.25);
}

.solid-pink-card .card-title {
  color: #ffffff !important;
}

.solid-pink-card .card-description {
  color: rgba(255, 255, 255, 0.9) !important;
}

.solid-pink-card .badge,
.solid-blue-card .badge {
  background-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.solid-pink-card .card-icon-badge {
  color: #ffffff !important;
  opacity: 0.9 !important;
}

.solid-pink-card .card-link {
  color: #ffffff !important;
}

.solid-pink-card .card-link:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

.full-width-video {
  max-width: 100% !important;
}

/* -------------------------------------------------------------
 * CASE STUDY PAGINATION SECTION
 * ------------------------------------------------------------- */
.cs-pagination-section {
  padding: 60px 0;
  background-color: var(--color-bg-base);
  border-top: 1px solid rgba(9, 79, 150, 0.08);
}

.cs-pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cs-pagination-link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: var(--color-primary);
  flex: 1;
  max-width: 45%;
  transition: var(--transition-smooth);
}

.cs-pagination-link.next-link {
  justify-content: flex-end;
  text-align: right;
}

.pagination-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid rgba(9, 79, 150, 0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-blue);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.cs-pagination-link:hover .pagination-arrow {
  background-color: var(--color-accent-blue);
  color: #ffffff;
  border-color: var(--color-accent-blue);
  box-shadow: var(--shadow-md);
}

.cs-pagination-link.prev-link:hover .pagination-arrow {
  transform: translateX(-4px);
}

.cs-pagination-link.next-link:hover .pagination-arrow {
  transform: translateX(4px);
}

.pagination-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pagination-label {
  font-family: var(--font-family-headings);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

.pagination-title {
  font-family: var(--font-family-headings);
  font-size: 18px;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.cs-pagination-link:hover .pagination-title {
  color: var(--color-accent-blue);
}

@media (max-width: 768px) {
  .cs-pagination-container {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  .cs-pagination-link {
    max-width: 100%;
  }
}

/* -------------------------------------------------------------
 * PREMIUM INTERACTIVE PROJECT GALLERY STYLES
 * ------------------------------------------------------------- */
.cs-gallery-section {
  padding: 80px 0;
  background-color: var(--color-bg-base);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cs-gallery-title {
  font-family: var(--font-family-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 8px;
}

.cs-gallery-title span.text-green {
  color: #10b981 !important;
}

.cs-gallery-title span.text-pink {
  color: var(--color-accent-magenta) !important;
}

.cs-gallery-title span.text-blue {
  color: var(--color-primary) !important;
}

.cs-gallery-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin-top: 10px;
  line-height: 1.6;
}

.cs-gallery-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.cs-gallery-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .cs-gallery-grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .cs-gallery-grid-3x2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cs-gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #0b1320;
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: zoom-in;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-gallery-card:hover {
  transform: translateY(-4px);
  border-color: #10b981;
  box-shadow: 0 12px 24px -10px rgba(16, 185, 129, 0.25);
}

.cs-gallery-card:hover img {
  transform: scale(1.05);
}

.cs-gallery-expand-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 19, 34, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  pointer-events: none;
}

.cs-gallery-card:hover .cs-gallery-expand-btn {
  opacity: 1;
  transform: scale(1);
  background-color: var(--color-accent-magenta);
  border-color: var(--color-accent-magenta);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(186, 28, 93, 0.4);
}

/* Lightbox Premium Glassmorphism UI */
.cs-featured-image-wrapper {
  cursor: zoom-in;
}

.cs-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.cs-lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(9, 15, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cs-lightbox-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 90%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-lightbox.active .cs-lightbox-content-wrapper {
  transform: scale(1);
}

.cs-lightbox-img-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.cs-lightbox-details {
  margin-top: 16px;
  text-align: center;
  max-width: 600px;
}

.cs-lightbox-caption {
  font-family: 'Inter', sans-serif;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.cs-lightbox-counter {
  font-family: 'Outfit', sans-serif;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lightbox Buttons */
.cs-lightbox-btn {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.cs-lightbox-btn:hover {
  background: var(--color-accent-magenta);
  border-color: var(--color-accent-magenta);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(186, 28, 93, 0.4);
}

.cs-lightbox-close {
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.cs-lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.cs-lightbox-arrow.prev {
  left: 40px;
}

.cs-lightbox-arrow.next {
  right: 40px;
}

@media (max-width: 768px) {
  .cs-lightbox-arrow {
    width: 44px;
    height: 44px;
  }
  
  .cs-lightbox-arrow.prev {
    left: 15px;
  }
  
  .cs-lightbox-arrow.next {
    right: 15px;
  }
  
  .cs-lightbox-close {
    top: 20px;
    right: 20px;
  }
}

/* -------------------------------------------------------------
 * CONTACT PAGE
 * ------------------------------------------------------------- */

/* Hero */
.contact-hero-section {
  background-color: var(--color-bg-hero);
  background-image: linear-gradient(135deg, hsl(207, 95%, 8%) 0%, hsl(209, 80%, 16%) 100%);
  padding: calc(var(--header-height) + 80px) 0 80px 0;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 30% 50%, var(--color-accent-blue) 0%, transparent 60%);
  pointer-events: none;
}

.contact-hero-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.contact-hero-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-hero-title {
  font-family: var(--font-family-headings);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-top: 16px;
  margin-bottom: 20px;
  color: #ffffff;
}

.contact-hero-subtitle {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin: 0 auto;
}

/* Cards Grid */
.contact-cards-section {
  padding: 80px 0 100px 0;
  background-color: var(--color-bg-base);
}

.contact-cards-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
}

/* Shared card base */
.contact-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(9, 79, 150, 0.08);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

/* Portfolio card — has image + body stacked */
.contact-card-portfolio {
  display: flex;
  flex-direction: column;
}

.contact-card-visual {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, hsl(210, 40%, 96%) 0%, hsl(210, 30%, 92%) 100%);
}

.contact-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card-portfolio:hover .contact-portrait-img {
  transform: scale(1.03);
}

/* Email card — body only */
.contact-card-email {
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, hsl(207, 95%, 10%) 0%, hsl(209, 80%, 18%) 100%);
  border-color: rgba(255, 255, 255, 0.06);
  max-width: 600px;
  width: 100%;
}

.contact-card-email .contact-card-heading {
  color: #ffffff;
}

.contact-card-email .contact-card-text {
  color: rgba(255, 255, 255, 0.65);
}

.contact-card-email .contact-card-link {
  color: #10b981;
}

.contact-card-email .contact-card-link:hover {
  color: #34d399;
}

/* Card body shared */
.contact-card-body {
  padding: 36px 40px 40px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Icon wrap */
.contact-card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bg-green-tint {
  background-color: hsla(150, 80%, 40%, 0.1);
}

.bg-blue-tint {
  background-color: hsla(212, 100%, 48%, 0.15);
}

.text-green {
  color: #10b981;
}

.text-pink {
  color: var(--color-accent-magenta);
}

.text-blue {
  color: var(--color-accent-blue);
}

/* Typography */
.contact-card-heading {
  font-family: var(--font-family-headings);
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.25;
}

.contact-card-text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
  flex-grow: 1;
}

.contact-card-link {
  font-family: var(--font-family-headings);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  margin-top: auto;
}

.contact-card-link:hover {
  color: var(--color-primary-light);
}

.contact-card-link:hover svg {
  transform: translateX(4px);
}

.contact-card-link svg {
  transition: var(--transition-smooth);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-body {
    padding: 28px 24px 32px;
  }

  .contact-card-visual {
    height: 260px;
  }

  .contact-hero-section {
    padding: calc(var(--header-height) + 48px) 0 56px 0;
  }
}

/* SCORM Player Embed Window */
.cs-scorm-player-section {
  padding: 80px 0;
  background-color: var(--color-bg-base);
}

.scorm-mockup-window {
  background-color: #0b0f19;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.scorm-mockup-header {
  background-color: #161b26;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
  display: flex;
  gap: 8px;
  margin-right: 24px;
}

.mockup-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.mockup-dots .dot.red { background-color: #ef4444; }
.mockup-dots .dot.yellow { background-color: #f59e0b; }
.mockup-dots .dot.green { background-color: #10b981; }

.mockup-address-bar {
  flex-grow: 1;
  background-color: #090d16;
  border-radius: 6px;
  padding: 6px 16px;
  color: var(--color-text-muted);
  font-size: 12px;
  font-family: monospace;
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.scorm-player-frame-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.scorm-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background-color: #ffffff;
}

@keyframes scormSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
