/**
 * MarketDope Theme - Global Styles
 * Design System extracted from MD-LandingPage 2
 * Version: 1.1.0
 *
 * DESIGN SYSTEM DOCUMENTATION:
 *
 * COLOR PALETTE:
 * - Primary Gradient: #5B21B6 to #7C3AED (Dark Purple gradient)
 * - Accent/CTA: #ff6b6b to #ee5a52 (Red/Coral gradient)
 * - Blue Accent: #4facfe to #00f2fe (Cyan gradient)
 * - Text Primary: #333
 * - Text Secondary: #666
 * - Heading Color: #2c3e50 (Dark blue-gray)
 * - Background Light: #f8f9fa
 * - White: #fff
 *
 * TYPOGRAPHY:
 * - Font Family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif
 * - Hero Heading: 3.5rem (56px), weight 800
 * - Hero Subheadline: 1.4rem (22.4px)
 * - Section Titles: 2.5rem (40px), weight 700
 * - Service Titles: 1.3rem (20.8px), weight 700
 * - Audience Titles: 1.5rem (24px), weight 700
 * - Body Text: 1rem (16px), line-height 1.6
 * - CTA Buttons: 1.1rem (17.6px), weight 700
 *
 * SPACING SYSTEM:
 * - Section Padding: 80px 20px
 * - Container Max Width: 1200px
 * - Grid Gaps: 15px (metrics), 30px (services/why), 40px (audience)
 * - Card Padding: 30px-40px
 * - Margin Bottom (headings): 20px-60px
 *
 * BORDER RADIUS:
 * - Small: 8px-12px
 * - Medium: 16px-20px
 * - Large (buttons): 50px (pill shape)
 * - Circle (icons): 50%
 *
 * ANIMATIONS:
 * - Transition Duration: 0.3s
 * - Easing: ease
 * - Hover Transform: translateY(-3px to -10px)
 *
 * ICON/EMOJI SIZES:
 * - Service Icons: 60px × 60px, font-size 1.5rem
 * - Audience Icons: 100px × 100px, font-size 2.5rem
 * - Why Icons: 80px × 80px, font-size 2rem
 */

/* ============================================
   1. CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
  /* Color System */
  --color-primary-start: #5B21B6;
  --color-primary-end: #7C3AED;
  --color-accent-start: #ff6b6b;
  --color-accent-end: #ee5a52;
  --color-blue-start: #4facfe;
  --color-blue-end: #00f2fe;
  --color-text-primary: #333;
  --color-text-secondary: #666;
  --color-heading: #2c3e50;
  --color-bg-light: #f8f9fa;
  --color-white: #fff;
  --color-black: #000;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-primary-start) 0%, var(--color-primary-end) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-accent-start) 0%, var(--color-accent-end) 100%);
  --gradient-blue: linear-gradient(45deg, var(--color-blue-start) 0%, var(--color-blue-end) 100%);

  /* Typography */
  --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-hero: 3.5rem;
  --font-size-hero-sub: 1.4rem;
  --font-size-h2: 2.5rem;
  --font-size-h3-large: 1.5rem;
  --font-size-h3: 1.3rem;
  --font-size-body: 1rem;
  --font-size-body-large: 1.2rem;
  --font-size-cta: 1.1rem;
  --font-size-small: 0.9rem;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --font-weight-extra-bold: 800;
  --line-height-base: 1.6;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 15px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --spacing-xl: 40px;
  --spacing-2xl: 50px;
  --spacing-3xl: 60px;
  --spacing-4xl: 80px;
  --section-padding: 80px 40px;
  --container-max-width: none;
  --container-padding: 0 40px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 50px;
  --radius-circle: 50%;

  /* Shadows */
  --shadow-sm: 0 5px 20px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.3);
  --shadow-cta: none;
  --shadow-cta-hover: none;

  /* Transitions */
  --transition-base: all 0.3s ease;
  --transition-fast: all 0.2s ease;

  /* Z-index */
  --z-base: 1;
  --z-header: 100;
  --z-dropdown: 1000;
  --z-modal: 2000;

  /* Icon Sizes */
  --icon-sm: 60px;
  --icon-md: 80px;
  --icon-lg: 100px;

  /* Breakpoints (for reference) */
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;

  /* Button Text Colors */
  --btn-text-color: #ffffff;
  --btn-text-color-hover: #ffffff; /* Can be adjusted if themed */
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-body);
  line-height: var(--line-height-base);
  color: var(--color-text-primary);
  overflow-x: hidden;
  background-color: var(--color-white);
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================================
   3. TYPOGRAPHY SYSTEM
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  color: var(--color-heading);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-extra-bold);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

a {
  color: var(--color-primary-start);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--color-primary-end);
}

/* ============================================
   HIGHLIGHT TEXT & CALLOUT STYLES
   ============================================ */

/* Problem/Highlight Statement Container */
.problem-statement {
  margin: var(--spacing-xl) auto;
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  max-width: 900px;
}

/* Highlight Text - Reusable class for emphasis statements */
.highlight-text {
  font-size: 1.35rem !important;
  font-weight: var(--font-weight-semibold) !important;
  line-height: 1.5 !important;
  color: var(--color-white) !important;
  margin: 0 auto !important;
  padding: var(--spacing-lg) var(--spacing-xl) !important;
  background: var(--gradient-primary) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  text-align: center !important;
  position: relative !important;
  max-width: 800px !important;
  border-left: 4px solid var(--color-accent-start) !important;
}

/* Alternative highlight styles for different contexts */
.highlight-text.style-subtle {
  background: rgba(255, 255, 255, 0.1) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.highlight-text.style-accent {
  background: var(--color-accent-start) !important;
  color: var(--color-white) !important;
  border-left: 4px solid var(--color-white) !important;
}

.highlight-text.style-light {
  background: var(--color-background-light) !important;
  color: var(--color-heading) !important;
  border-left: 4px solid var(--color-accent-start) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Quote-style highlight text */
.highlight-text.style-quote::before {
  content: '"';
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent-start);
  position: absolute;
  top: -10px;
  left: 20px;
  opacity: 0.7;
}

.highlight-text.style-quote::after {
  content: '"';
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-accent-start);
  position: absolute;
  bottom: -20px;
  right: 20px;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .problem-statement {
    margin: var(--spacing-lg) auto;
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .highlight-text {
    font-size: 1.2rem !important;
    padding: var(--spacing-md) var(--spacing-lg) !important;
  }
  
  .highlight-text.style-quote::before,
  .highlight-text.style-quote::after {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .highlight-text {
    font-size: 1.1rem !important;
    padding: var(--spacing-md) !important;
  }
}

/* Screen reader only text */
.screen-reader-text, .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   4. LAYOUT & GRID SYSTEM
   ============================================ */
.container {
  width: 100%;
  margin: 0;
  padding: var(--container-padding);
  position: relative;
  z-index: var(--z-base);
  display: flex;
  flex-direction: column;
}

.section {
  padding: var(--section-padding);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.section:nth-child(even) {
  background: var(--color-bg-light);
}

/* Full-width container for sections */
.container-full {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* Constrained content within full-width sections */
.container-content {
  width: 75% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Grid Layouts - Enhanced with Flexbox fallback */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  width: 70%;
  margin: 0 auto;
  justify-content: center;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  width: 100%;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  width: 100%;
}

/* Add top margin to story highlights section */
.story-highlights {
  margin-top: 60px;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--spacing-sm);
  width: 100%;
}

/* Flexbox layouts for better browser support */
.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  width: 100%;
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Main landing page wrapper */
.marketdope-landing {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Override WordPress core and plugin styles that might interfere with layout */
#error-page {
  margin-top: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Override WordPress core error page styles (wp-includes/css/wp-admin.css) */
body {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  width: 100% !important;
  background: var(--color-white) !important;
}

/* Force full width on all potential wrapper elements */
html,
body,
#page,
#content,
.site,
.site-content,
.content-area,
.site-main,
main {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Ensure WordPress block editor content uses full width */
.wp-site-blocks,
.wp-block-group,
.alignfull {
  max-width: none !important;
  width: 100% !important;
}

/* Override any theme or WordPress default width constraints */
body.marketdope {
  max-width: none !important;
  width: 100% !important;
}

/* Ensure all legacy container variants follow the new system */
.container,
.container-fluid,
.container-sm,
.container-md,
.container-lg,
.container-xl {
  max-width: 1400px !important;
  width: 75% !important;
  margin: 0 auto !important;
}

/* Container-content follows its responsive rules defined earlier */

/* Responsive container widths for optimal spacing */
@media (max-width: 1200px) {
  .container-content {
    width: 92% !important;
    padding: 0 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }
  
  .container-content {
    width: 95% !important;
    padding: 0 1rem !important;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .services-grid,
  .audience-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .container-content {
    width: 100% !important;
    padding: 0 1rem !important;
  }
  
  .academy-hero-image {
    width: 56px !important;
    max-height: 56px !important;
  }
}

/* ============================================
   5. COMPONENT STYLES
   ============================================ */

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: var(--section-padding);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="1000" height="1000" fill="url(%23grid)"/></svg>') center/cover;
  opacity: 0.3;
}

/* Enable click-through for hero overlay */
.hero { position: relative; z-index: 1; }
.hero::before { pointer-events: none; }
.hero .container-content, .hero .hero-content { position: relative; z-index: 2; }

/* Ensure hero CTA buttons are always clickable */
.hero .cta-button { position: relative; z-index: 10; pointer-events: auto; }

.hero h1 {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-extra-bold);
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: var(--color-white);
}

.hero .subheadline {
  font-size: var(--font-size-hero-sub);
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

/* Global Hero Subtext Utility
   Ensures consistent white subtext across all hero variants.
   Apply to any hero subtitle/subheadline element: <p class="md-hero-subtext"> ... */
.md-hero-subtext,
.hero .md-hero-subtext,
.hero .subheadline.md-hero-subtext,
.hero-subtitle.md-hero-subtext,
.hero .hero-subtitle.md-hero-subtext {
  color: var(--color-white) !important;
}

/* Section Titles */
.section-title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  color: var(--color-heading);
}

/* CTA Buttons */
.cta-button,
.btn-primary,
a.cta-button,
a.btn-primary {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--color-accent-start) !important;
  color: var(--color-white) !important;
  padding: 18px 40px !important;
  text-decoration: none !important;
  border-radius: var(--radius-pill) !important;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-cta);
  transition: var(--transition-base);
  box-shadow: var(--shadow-cta);
  border: none !important;
  cursor: pointer;
  text-align: center;
  width: auto !important;
  max-width: max-content !important;
  min-width: auto !important;
  white-space: nowrap;
  flex-shrink: 0 !important;
}

/* Global button text color enforcement */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn,
.btn-primary,
.btn-secondary,
.btn-accent,
.btn-outline:hover,
.cta-button,
a.cta-button,
a.btn,
a.btn-primary,
a.btn-secondary,
a.btn-accent,
.wp-block-button__link,
.wp-element-button {
  color: var(--btn-text-color) !important;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
.btn:hover,
.btn:focus,
.btn-primary:hover,
.btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-accent:hover,
.btn-accent:focus,
.cta-button:hover,
.cta-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus,
.wp-element-button:hover,
.wp-element-button:focus {
  color: var(--btn-text-color-hover) !important;
}

/* Readability utility: forces solid high-contrast background + white text */
.btn-readable,
button.btn-readable,
a.btn-readable,
.wp-block-button__link.btn-readable {
  background: var(--color-primary-end) !important;
  color: var(--btn-text-color) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Mobile (no hover) ensure states keep intended readable styling */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .cta-button,
  .wp-block-button__link,
  .wp-element-button {
    color: var(--btn-text-color) !important;
  }
  .btn:hover,
  .cta-button:hover,
  .wp-block-button__link:hover {
    transform: none; /* Avoid jumpy translate on tap */
  }
}

/* Button Size Variants */
.btn-small,
.cta-button.btn-small {
  padding: 12px 24px !important;
  font-size: 0.9rem;
}

.btn-medium,
.cta-button.btn-medium {
  padding: 16px 32px !important;
  font-size: 1rem;
}

.btn-large,
.cta-button.btn-large {
  padding: 20px 48px !important;
  font-size: 1.1rem;
}

/* Light Button Variant (semantic) */
.btn-light,
a.btn-light,
button.btn-light {
  background: #ffffff !important;
  color: var(--color-heading) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: none !important;
}

.btn-light:hover,
.btn-light:focus {
  background: #f5f7fa !important;
  color: var(--color-heading) !important;
  transform: translateY(-2px);
}

.btn-light:active {
  background: #eef1f4 !important;
  transform: translateY(0);
}

/* Ensure buttons don't stretch in flex containers */
.hero .cta-button,
.section .cta-button,
.final-cta .cta-button {
  align-self: center !important;
  margin: 0 auto !important;
  flex: none !important;
  width: auto !important;
  max-width: max-content !important;
}

/* Button alignment utilities */
.btn-center {
  display: block;
  margin: 0 auto;
}

.btn-left {
  align-self: flex-start;
  margin-right: auto;
}

/* Force white text color for specific CTA buttons - Book Free Strategy Call / Book Free Call buttons */
.md-white-text-button,
.cta-button.md-white-text,
.btn-primary.md-white-text,
.btn.md-white-text,
button.md-white-text,
a.md-white-text,
.wp-block-button__link.md-white-text {
  color: #ffffff !important;
  text-shadow: none !important;
}

.md-white-text-button:hover,
.md-white-text-button:focus,
.cta-button.md-white-text:hover,
.cta-button.md-white-text:focus,
.btn-primary.md-white-text:hover,
.btn-primary.md-white-text:focus,
.btn.md-white-text:hover,
.btn.md-white-text:focus,
button.md-white-text:hover,
button.md-white-text:focus,
a.md-white-text:hover,
a.md-white-text:focus,
.wp-block-button__link.md-white-text:hover,
.wp-block-button__link.md-white-text:focus {
  color: #ffffff !important;
  text-shadow: none !important;
}

/* White icons inside elements with md-white-text class */
.md-white-text svg,
.md-white-text .icon,
.cta-button.md-white-text svg,
.cta-button.md-white-text .icon {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.btn-right {
  align-self: flex-end;
  margin-left: auto;
}

/* Button container for proper centering */
.button-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin: var(--spacing-md) 0 !important;
}

/* Prevent buttons from stretching to container width */
.hero,
.section,
.final-cta {
  align-items: center !important;
}

.hero .cta-button,
.section .cta-button,
.final-cta .cta-button,
.container-content .cta-button {
  width: auto !important;
  max-width: max-content !important;
  min-width: auto !important;
  flex: none !important;
}

/* Enable click-through for hero decorative overlay */
.hero { position: relative; z-index: 1; }
.hero::before { pointer-events: none; }
.hero .container-content, .hero .hero-content { position: relative; z-index: 2; }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .cta-button,
  .wp-block-button__link,
  .wp-element-button {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .btn:hover,
  .cta-button:hover,
  .wp-block-button__link:hover,
  .btn:focus,
  .cta-button:focus,
  .wp-block-button__link:focus {
    transform: none !important;
  }
}

/* Override any WordPress core button stretching */
.wp-block-button__link,
.wp-element-button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  width: auto !important;
  max-width: max-content !important;
}

/* Specific overrides for custom buttons */
a.cta-button,
.cta-button {
  box-sizing: border-box !important;
  width: auto !important;
  min-width: fit-content !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
}

.cta-button:hover,
.btn-primary:hover,
a.cta-button:hover,
a.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-cta-hover);
  color: var(--color-white) !important;
}

.cta-button:focus,
.btn-primary:focus {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.cta-button:link,
.cta-button:visited,
.btn-primary:link,
.btn-primary:visited {
  color: var(--color-white) !important;
}

/* Dashboard Mockup (Hero) */
.dashboard-mockup {
  margin-top: var(--spacing-3xl);
  perspective: 1000px;
}

.dashboard-screen {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  transform: rotateX(10deg);
  box-shadow: var(--shadow-xl);
}

.chart-placeholder {
  background: var(--gradient-blue);
  height: 200px;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--color-white);
  padding: var(--spacing-md);
}

.chart-image {
  width: 64px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* Academy hero image - larger and centered like homepage */
.academy-hero-image {
  width: 64px !important;
  max-height: 64px !important;
  margin: 0 auto var(--spacing-md) auto !important;
  display: block;
}

@media (max-width: 600px) {
  .academy-hero-image {
    width: 56px !important;
    max-height: 56px !important;
  }
}

.chart-label {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  text-align: center;
  color: var(--color-white);
}

/* Metrics Cards */
.metric-card {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text-primary);
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-primary-start);
}

.metric-label {
  font-size: var(--font-size-small);
  opacity: 0.7;
}

/* Service Cards */
.service-card {
  background: var(--color-white);
  padding: var(--spacing-xl) var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  border: 2px solid transparent;
  width: 70%;
  margin: 0 auto;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-start);
}

.service-icon {
  width: var(--icon-sm);
  height: var(--icon-sm);
  background: var(--gradient-primary);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.service-icon .icon {
  width: 32px;
  height: 32px;
  color: white;
}

/* Timeline number text color - make numbers white while keeping circle background */
.timeline-number,
.service-icon.timeline-number,
div.timeline-number {
  color: white !important;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: none !important;
}

/* Global white icon class - Keep outline style */
.md-white-icon .icon,
.md-white-icon svg,
.service-icon.md-white-icon .icon,
.audience-icon.md-white-icon .icon,
.why-icon.md-white-icon .icon {
  color: white !important;
  fill: none !important;
  stroke: white !important;
  stroke-width: 1.5 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

/* Audience and Why section icons */
.audience-icon,
.why-icon {
  width: var(--icon-lg);
  height: var(--icon-lg);
  background: var(--gradient-primary);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.audience-icon .icon,
.why-icon .icon {
  width: 48px;
  height: 48px;
  color: white;
}

/* Services template hero overlap and card sizing */
.page-template-page-services .hero {
  position: relative;
  padding-bottom: 240px;
}

.page-template-page-services #packages .container-content {
  position: relative;
  z-index: 2;
}

.page-template-page-services #packages .md-service-grid {
  margin-top: -240px;
  position: relative;
  z-index: 3;
  max-width: 1100px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.page-template-page-services #packages .md-service-grid > * {
  justify-self: center;
}

.page-template-page-services .md-service-card {
  max-width: 340px;
  width: 100%;
}

.page-template-page-services #packages .highlight-text {
  margin-top: 60px;
}

.page-template-page-services #contact-methods .section-subtitle {
  text-align: center;
}

@media (max-width: 1024px) {
  .page-template-page-services .hero {
    padding-bottom: 200px;
  }

  .page-template-page-services #packages .md-service-grid {
    margin-top: -200px;
  }
}

@media (max-width: 768px) {
  .page-template-page-services .hero {
    padding-bottom: 120px;
  }

  .page-template-page-services #packages .md-service-grid {
    margin-top: 0;
  }

  .page-template-page-services .md-service-card {
    max-width: none;
  }

  .page-template-page-services #contact-methods .section-subtitle {
    text-align: center;
  }
}

.service-title {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  color: var(--color-heading);
}

.service-description {
  color: var(--color-text-secondary);
  line-height: var(--line-height-base);
}

/* Audience Cards */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.audience-card {
  text-align: center;
  padding: var(--spacing-lg);
}

.audience-icon {
  width: var(--icon-lg);
  height: var(--icon-lg);
  background: var(--gradient-accent);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2.5rem;
}

.audience-title {
  font-size: var(--font-size-h3-large);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-sm);
  color: var(--color-heading);
}

/* Why Us Cards */
.why-card {
  background: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: var(--icon-md);
  height: var(--icon-md);
  background: var(--gradient-blue);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: 2rem;
}

/* Testimonial Section */
.testimonial-section {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 80px 0;
}

.testimonial-section .section-title {
  color: var(--color-white);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.testimonial-icon {
  margin-bottom: 25px;
}

.testimonial-icon img {
  max-width: 80px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.testimonial-text {
  font-size: var(--font-size-body-large);
  font-style: italic;
  margin-bottom: 25px;
}

.testimonial-author {
  font-weight: bold;
}

/* Testimonials Slider */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-container {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.nav-btn {
  background: var(--color-accent-start);
  color: var(--color-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-base);
}

.nav-btn:hover {
  background: var(--color-accent-end);
  transform: scale(1.1);
}

.nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}

/* Academy testimonials section - add extra padding for title and dots */
.academy-testimonials-section {
  padding: 100px 0 !important;
}

.academy-testimonials-section .section-header {
  margin-bottom: var(--spacing-xl);
}

.academy-testimonials-section .slider-dots {
  margin-bottom: var(--spacing-md);
}

/* Academy testimonials - larger navigation for better visibility */
.academy-testimonials-section .nav-btn {
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
}

.academy-testimonials-section .dot {
  width: 16px;
  height: 16px;
}

/* Academy Final CTA Section - redesigned to follow theme patterns */
.academy-final-cta {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 100px 0;
}

.academy-final-cta h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  font-size: 2.5rem;
  font-weight: 700;
}

.academy-final-cta p {
  color: var(--color-white);
  opacity: 0.9;
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xl);
}

/* Academy Pricing Box */
.academy-pricing-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin: var(--spacing-xl) auto;
  max-width: 600px;
}

.academy-pricing-box .pricing-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.academy-pricing-box .price-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  opacity: 0.9;
}

.academy-pricing-box .price-display {
  margin-bottom: var(--spacing-sm);
}

.academy-pricing-box .currency {
  font-size: 1.5rem;
  font-weight: 600;
  vertical-align: top;
}

.academy-pricing-box .price-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.academy-pricing-box .price-details {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

/* Course Features */
.course-features {
  margin: var(--spacing-lg) 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
}

.feature-item.bonus-feature {
  background: rgba(255, 107, 107, 0.2);
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Guarantee Section */
.guarantee-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.guarantee-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.guarantee-text {
  text-align: left;
}

.guarantee-text strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}

.guarantee-text span {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Urgency Message */
.urgency-message {
  margin-top: var(--spacing-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  opacity: 0.9;
}

/* Booking page hero CTA button - ensure it's clickable and has white text */
.booking-hero-cta {
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 10;
  position: relative;
}

.booking-hero-cta,
.booking-hero-cta:link,
.booking-hero-cta:visited {
  color: white !important;
}

.booking-hero-cta .icon-text-wrapper,
.booking-hero-cta .icon-text-wrapper .icon,
.booking-hero-cta .icon-text-wrapper .text {
  color: white !important;
}

/* Booking hero image styling */
.booking-hero-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .academy-final-cta h2 {
    font-size: 2rem;
  }
  
  .academy-pricing-box {
    padding: var(--spacing-lg);
    margin: var(--spacing-lg) 20px;
  }
  
  .academy-pricing-box .price-amount {
    font-size: 2.5rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
  }
  
  .guarantee-section {
    flex-direction: column;
    text-align: center;
  }
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-base);
}

.dot.active {
  background: var(--color-white);
}

/* Legacy grid fallback - hide when slider is active */
.testimonials-grid {
  display: none;
}

/* Final CTA Section */
.final-cta {
  background: var(--color-heading);
  color: var(--color-white);
  text-align: center;
  padding: var(--section-padding);
}

.final-cta h2 {
  font-size: var(--font-size-h2);
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

.final-cta p {
  font-size: var(--font-size-body-large);
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
  color: var(--color-white);
}

/* ============================================
   6. UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

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

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

/* ============================================
   7. ANIMATIONS & TRANSITIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.slide-in {
  animation: slideIn 0.6s ease forwards;
}

.scale-in {
  animation: scaleIn 0.6s ease forwards;
}

/* ============================================
   8. RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 768px) {
  /* Typography adjustments */
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subheadline {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Dashboard transform reset */
  .dashboard-screen {
    transform: none;
  }

  /* Spacing adjustments */
  .section {
    padding: 60px 20px;
  }

  /* Grid adjustments */
  .services-grid,
  .audience-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    width: 90%;
  }

  .service-card {
    width: 100%;
    height: auto;
  }

  /* Button adjustments */
  .cta-button,
  .btn-primary {
    padding: 15px 30px !important;
    font-size: 1rem;
    width: auto !important;
    max-width: fit-content;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section {
    padding: 40px 15px;
  }

  .container {
    padding: 0 15px;
  }

  .chart-image {
    width: 48px;
    max-height: 48px;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 85%;
  }

  .service-card {
    width: 85%;
    height: auto;
  }

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

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

/* ============================================
   9. TYPEFORM & POPUP INTEGRATION
   ============================================ */
.tf-v1-popover,
.tf-v1-widget {
  z-index: 2147483647 !important;
}

html,
body {
  overscroll-behavior: auto;
}

/* ============================================
   10. ACCESSIBILITY ENHANCEMENTS
   ============================================ */
/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 2px solid var(--color-primary-start);
  outline-offset: 2px;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero,
  .testimonial-section {
    border: 2px solid var(--color-white);
  }

  .service-card,
  .audience-card,
  .why-card {
    border: 2px solid var(--color-text-primary);
  }
}

/* ===== CLIENT PORTAL - COURSE MATERIALS ===== */

/* Course modules grid layout */
.course-modules-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 2rem;
}

/* Module card styling */
.module-card {
  padding: 25px 30px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.module-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Module row layout - content left, actions right */
.module-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.module-info {
  flex: 1;
}

.module-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Module header styling */
.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 15px;
}

.module-card .service-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-white);
}

.module-number {
  color: var(--color-accent);
  font-weight: 700;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge.completed {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-badge.current {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-badge.locked {
  background: rgba(158, 158, 158, 0.2);
  color: #9e9e9e;
  border: 1px solid rgba(158, 158, 158, 0.3);
}

/* Module description */
.module-card .service-description {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* Locked message styling */
.locked-message {
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  font-size: 0.9rem;
}

/* Module states */
.module-card.completed {
  border-color: rgba(76, 175, 80, 0.3);
}

.module-card.current {
  border-color: rgba(255, 193, 7, 0.4);
  background: rgba(255, 193, 7, 0.05);
}

.module-card.locked {
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.05);
}

.module-card.locked .module-info {
  opacity: 0.6;
}

/* Responsive design */
@media (max-width: 768px) {
  .module-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .module-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .module-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .module-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .module-actions {
    justify-content: center;
  }
  
  .module-actions .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

/* ===== DOWNLOADS SECTION ===== */

.resources-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 2rem;
}

.resource-category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.resource-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.resource-item:hover:not(.locked) {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.resource-item.locked {
  opacity: 0.6;
  background: rgba(255, 255, 255, 0.02);
}

.resource-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.resource-details strong {
  display: block;
  color: var(--color-text-primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.resource-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.resource-item .status-badge {
  font-size: 0.75rem;
  padding: 3px 8px;
}

.resource-item .status-badge.new {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.locked-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.resource-actions {
  flex-shrink: 0;
}

/* ===== SCHEDULE SECTION ===== */

.schedule-overview {
  margin-bottom: 40px;
}

.cohort-info-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  gap: 30px;
}

.cohort-details h3 {
  color: var(--color-text-primary);
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.info-label {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.info-value {
  color: var(--color-text-primary);
  font-weight: 600;
}

.cohort-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* Enhanced Timeline */
.timeline-item {
  position: relative;
  padding: 20px 0;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  margin-left: 20px;
  padding-left: 40px;
}

.timeline-item.completed {
  border-left-color: #4caf50;
}

.timeline-item.next {
  border-left-color: #ff6b6b;
}

.timeline-marker {
  position: absolute;
  left: -21px;
  top: 25px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.timeline-item.completed .timeline-marker {
  background: #4caf50;
  color: white;
}

.timeline-item.next .timeline-marker {
  background: #ff6b6b;
  color: white;
}

.timeline-item.upcoming .timeline-marker {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-secondary);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.marker-icon {
  font-size: 1.1rem;
}

.marker-number {
  font-size: 0.9rem;
}

.session-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 20px;
}

.session-info h4 {
  color: var(--color-text-primary);
  font-size: 1.2rem;
  margin: 5px 0;
}

.timeline-date {
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--color-text-primary);
  font-weight: 600;
}

.full-date {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.attendance-badge {
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.attendance-badge.present {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.next-session-badge {
  background: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.session-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.upcoming-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cohort-info-card {
    flex-direction: column;
    gap: 25px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .cohort-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .session-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .session-actions {
    flex-wrap: wrap;
  }
  
  .resource-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .resource-info {
    width: 100%;
  }
  
  .resource-actions {
    align-self: flex-end;
  }
}
