/* styles.css - ONLY added accessibility fixes at the top, original timeline CSS unchanged */

/* ============================================
   ACCESSIBILITY FIXES ONLY
   ============================================ */

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blue);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 10000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
}

/* Enhanced focus indicators */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.contact-btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(0, 169, 160, 0.2);
}

.overlay-close:focus-visible,
.mobile-menu-close:focus-visible,
.to-top:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.nav-links a:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 6px;
  border-radius: 2px;
}

/* Ensure sufficient color contrast for small text */
.section-label {
  color: #008B83; /* Darkened from #00A9A0 for WCAG AA compliance */
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  #hero-canvas {
    display: none;
  }
  
  .hero-glow {
    display: none;
  }
  
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Reduced data support - hide video for bandwidth-conscious users */
@media (prefers-reduced-data: reduce) {
  .hero-video {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --blue: #0000ff;
    --teal: #008080;
  }
  
  .btn-primary,
  .btn-secondary {
    border-width: 3px;
  }
  
  .benefit-item {
    border-left-width: 4px;
  }
}

/* Print styles */
@media print {
  .header,
  #hero-canvas,
  .to-top,
  .overlay,
  .mobile-menu-btn,
  .hero-video,
  .hero-glow {
    display: none !important;
  }
  
  section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .hero {
    min-height: auto;
    background: var(--white);
  }
  
  .hero-headline {
    color: var(--black);
    white-space: normal !important;
  }
  
  .hero-subhead {
    color: var(--blue);
  }
  
  .partner-card,
  .service-item,
  .sector-card {
    break-inside: avoid;
    border: 1px solid #ccc;
  }
}

/* Mobile menu accessibility fix */
.mobile-menu {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.4s, opacity 0.4s var(--transition-smooth), transform 0.4s var(--transition-smooth);
}

.mobile-menu.active {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.mobile-menu[hidden] {
  display: none;
}

/* Hero responsiveness fix - no overflow */
.hero-headline {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

@media (min-width: 1024px) {
  .hero-headline {
    white-space: nowrap;
  }
}

/* ============================================
   ORIGINAL CSS BELOW - COMPLETELY UNCHANGED
   ============================================ */

/* CSS Variables */
:root {
  --blue: #273C90;
  --teal: #00A9A0;
  --black: #000000;
  --white: #FFFFFF;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: auto;
  overflow-x: clip;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-800);
  overscroll-behavior-x: none;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s var(--transition-smooth);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header.scrolled .header-inner {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.header.scrolled .header-logo {
  height: 70px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s var(--transition-smooth);
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s var(--transition-smooth), transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

/* Desktop Navigation */
.header-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-800);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Language toggle removed — EN-only */

/* ============================================
   MOBILE MENU - FIXED
   ============================================ */

/* Mobile Menu Button (Hamburger) */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1100;
  flex-shrink: 0;
}

.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Mobile Menu Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 1050;
  padding: 5rem 2.5rem 2.5rem;
  transform: translateX(-100%);
  transition: transform 0.4s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Close button inside menu */
.mobile-menu-close {
  position: absolute;
  top: 1.25rem;
  right: 2.5rem;
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  transition: background 0.2s;
}

.mobile-menu-close:hover {
  background: rgba(0,0,0,0.12);
}

.mobile-menu .nav-links {
  flex-direction: column;
  gap: 1.5rem;
  display: flex;
  list-style: none;
}

/* Bottom info area */
.mobile-menu-footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.mobile-menu-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-menu-contact a {
  color: var(--gray-600);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu-contact a:hover {
  color: var(--blue);
}

.mobile-menu-socials {
  display: flex;
  gap: 1.5rem;
}

.mobile-menu-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu-socials a:hover {
  color: var(--blue);
}

/* Hamburger → X when menu open */
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu .nav-links a {
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--gray-800);
  font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 1023px) {
  .header-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }

  .header-logo {
    height: 75px; /* Increased from 65px */
  }

  .header.scrolled .header-logo {
    height: 60px; /* Increased from 40px */
  }

  .header-inner {
    padding: 0.75rem 1.25rem;
    gap: 0.5rem;
  }
  
  .hero-headline {
    font-size: 2.5rem;
  }
  
  section {
    padding: 4rem 1.25rem;
  }

  .container {
    width: 100%;
  }
  
  .partner-card {
    padding: 2rem;
  }

  /* Double stat: stack vertically on mobile */
  .acc-stat-double-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .acc-stat-divider {
    width: 100%;
    height: 1.5px;
    margin: 0;
  }

  .acc-stat-sub:last-child {
    padding-left: 0 !important;
  }

  /* Contact: full width, no overflow */
  .contact-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem;
  }

  .contact-left,
  .contact-right {
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
  }

  .contact-right {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
  }

  .contact-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
    transform: none !important;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

 .footer-nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

  .footer-mid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  /* To-top: keep inside viewport */
  .to-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Video Background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark Blue Overlay - 65% opacity (reduced for cleaner layering) */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 40, 0.65);
  z-index: 1;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Subtle glow accent behind headline */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 150px;
  background: radial-gradient(ellipse, rgba(0,169,160,0.08), transparent 70%);
  z-index: 3;
  opacity: 0;
  filter: blur(50px);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  max-width: 1000px;
}

.hero-subhead {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
  opacity: 0;
}

.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.1;
  visibility: hidden;
}

/* Each char needs inline-block for transforms */
.hero-headline .char {
  display: inline-block;
  opacity: 0;
}

/* Preserve word spacing */
.hero-headline .word {
  display: inline-block;
  white-space: nowrap;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  margin-top: 2rem;
  opacity: 0;
}

/* Hero buttons - white text for dark background */
.hero .btn-primary {
  padding: 1rem 2.5rem;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 0.25rem;
  border: 2px solid var(--blue);
  transition: all 0.3s ease;
}

.hero .btn-primary:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.hero .btn-secondary {
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 0.25rem;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.3s ease;
}

.hero .btn-secondary:hover {
  border-color: var(--white);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary {
  padding: 1rem 2.5rem;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 0.25rem;
  transition: all 0.3s var(--transition-smooth);
  border: 2px solid var(--blue);
}

.btn-primary:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(39, 60, 144, 0.2);
}

.btn-secondary {
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 0.25rem;
  transition: all 0.3s var(--transition-smooth);
  border: 2px solid var(--blue);
}

.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
}

/* ============================================
   SECTION BASE
   ============================================ */

section {
  position: relative;
  padding: 8rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--black);
  margin-bottom: 1.5rem;
}

/* ============================================
   PARTNERSHIP SECTION
   ============================================ */

.partnership {
  background: var(--white);
}

.partnership-intro {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 800px;
  margin-top: 4rem;
  margin-bottom: 0;
  line-height: 1.8;
}


.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.partner-card {
  background: var(--gray-100);
  padding: 3rem;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--transition-smooth);
}

.partner-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--blue);
  transform: scaleY(0);
  transition: transform 0.4s var(--transition-smooth);
}

.partner-card:hover::before {
  transform: scaleY(1);
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.partner-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
}

.partner-name {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.partner-desc {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: gap 0.3s ease;
}

.read-more-btn:hover {
  gap: 1rem;
  color: var(--teal);
}

/* ============================================
   WHO WE ARE SECTION
   ============================================ */

.who-we-are {
  background: var(--black);
  color: var(--white);
}

.who-we-are h2,
.who-we-are h3 {
  color: var(--white);
}

.who-we-are .section-label {
  color: var(--teal);
}

.quote-section {
  margin-bottom: 4rem;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gray-200);
  line-height: 1.8;
  border-left: 3px solid var(--teal);
  padding-left: 2rem;
  margin-bottom: 2rem;
}

.phase-framework {
  margin-top: 4rem;
}

.phase-title {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

/* ==================================================
   DESKTOP: 4-column horizontal timeline - UNCHANGED
   ================================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto 1fr auto auto 1fr;
  gap: 1rem;
  position: relative;
}

/* Remove old pseudo spine */
.timeline::after {
  display: none;
}

/* Animated spine line - absolutely positioned, not a grid item */
.tl-spine {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.tl-spine.animated {
  transform: scaleX(1);
}

/* "Phase" label */
.tl-phase-label {
  position: absolute;
  left: -65px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-200);
  z-index: 3;
}

/* Track labels */
.tl-track-top {
  grid-column: 1 / -1;
  grid-row: 1;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 0.75rem;
}

.tl-track-bottom {
  grid-column: 1 / -1;
  grid-row: 4;
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding-top: 0.75rem;
}

/* Grid row assignments */
.tl-card-top { grid-row: 2; }
.tl-node { grid-row: 3; }
.tl-card-bottom { grid-row: 5; }

/* Card base */
.tl-card {
  padding: 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-200);
  transition: all 0.3s ease;
}

.tl-card-top {
  background: rgba(39, 60, 144, 0.1);
  border: 3px solid rgba(39, 60, 144, 0.5);
  display: flex;
  align-items: flex-end;
}

.tl-card-bottom {
  background: rgba(0, 169, 160, 0.1);
  border: 3px solid rgba(0, 169, 160, 0.5);
  display: flex;
  align-items: flex-start;
}

.tl-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Node styling */
.tl-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  position: relative;
  z-index: 2;
}

.tl-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 169, 160, 0.25), 0 0 0 4px rgba(0, 0, 0, 0.8);
  transition: transform 0.3s ease;
}

.tl-node:hover .tl-num {
  transform: scale(1.15);
}

.tl-label {
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hide mobile pseudos on desktop */
.tl-card::before,
.tl-card::after,
.tl-track-top::after,
.tl-track-bottom::after {
  display: none;
}

/* ==================================================
   MOBILE: two vertical sections with T-junctions - UNCHANGED
   Child order (16 total):
   1  = tl-track-top
   2  = card-top Entry
   3  = card-top Structure
   4  = card-top Delivery
   5  = card-top Growth
   6  = tl-phase-label (hidden)
   7  = tl-spine (hidden)
   8  = node 01 (hidden)
   9  = node 02 (hidden)
   10 = node 03 (hidden)
   11 = node 04 (hidden)
   12 = tl-track-bottom
   13 = card-bottom Entry
   14 = card-bottom Structure
   15 = card-bottom Delivery
   16 = card-bottom Growth
   ================================================== */
@media (max-width: 1023px) {
  .timeline {
    display: flex;
    flex-direction: column;
  }

  .timeline::after { display: none; }

  .tl-node,
  .tl-phase-label,
  .tl-spine {
    display: none;
  }

  /* Section 1: Strategic */
  .tl-track-top              { order: 1; }
  .timeline > :nth-child(2)  { order: 2; }
  .timeline > :nth-child(3)  { order: 3; }
  .timeline > :nth-child(4)  { order: 4; }
  .timeline > :nth-child(5)  { order: 5; }

  /* Section 2: Execution */
  .tl-track-bottom             { order: 10; }
  .timeline > :nth-child(13)   { order: 11; }
  .timeline > :nth-child(14)   { order: 12; }
  .timeline > :nth-child(15)   { order: 13; }
  .timeline > :nth-child(16)   { order: 14; }

  /* Track labels */
  .tl-track-top,
  .tl-track-bottom {
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.7rem;
    margin-bottom: 0;
  }

  /* No "Phase" pseudo on track labels anymore */
  .tl-track-top::after,
  .tl-track-bottom::after {
    display: none;
  }

  .tl-track-bottom {
    margin-top: 3rem;
  }

  /* Cards */
  .tl-card {
    display: block;
    position: relative;
    padding: 1.25rem;
    border-radius: 0.5rem;
    margin-top: 3.5rem;
    margin-bottom: 0;
  }

  /* First card in each section - tighter top margin */
  .timeline > :nth-child(2),
  .timeline > :nth-child(13) {
    margin-top: 2.5rem;
  }

  /* "Phase" + phase name above every card */
  .tl-card::before {
    content: 'Phase\A' attr(data-phase);
    display: block;
    position: absolute;
    top: -3rem;
    right: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--white);
    text-align: right;
    white-space: pre;
    line-height: 1.4;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  /* Connector line below each card */
  .tl-card::after {
    content: '';
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3.5rem;
  }

  /* Blue for strategic */
  .timeline > :nth-child(2)::after,
  .timeline > :nth-child(3)::after,
  .timeline > :nth-child(4)::after {
    background: rgba(39, 60, 144, 0.7);
  }

  /* Teal for execution */
  .timeline > :nth-child(13)::after,
  .timeline > :nth-child(14)::after,
  .timeline > :nth-child(15)::after {
    background: rgba(0, 169, 160, 0.7);
  }

  /* No connector on last card of each section */
  .timeline > :nth-child(5)::after,
  .timeline > :nth-child(16)::after {
    display: none;
  }
}

/* ============================================
   SERVICES SECTION — NUMBERED GROUPED CARDS
   ============================================ */

.services {
  background: var(--gray-100);
}

.services-group-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-200);
}

.services-group + .services-group {
  margin-top: 3rem;
}

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

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.service-item:hover {
  border-color: var(--gray-200);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Gradient bar — animated by GSAP on scroll */
.service-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 5;
}

.service-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  opacity: 0.4;
  flex-shrink: 0;
  min-width: 2.5rem;
}

.service-body h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.service-body p {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   SECTORS SECTION - IMAGE CARD REVEAL
   ============================================ */

.sectors {
  background: var(--white);
}

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

@media (max-width: 1023px) {
  .sectors-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

.sector-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  border-radius: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  cursor: default;
}

.sector-card > * {
  z-index: 2;
}

.sector-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
  z-index: 0;
  will-change: transform;
}

/* Dark overlay — two halves that wipe in from the left */
.sector-overlay {
  position: absolute;
  width: 100%;
  height: 50%;
  left: 0;
  background: rgba(0, 0, 0, 0.55);
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1;
  will-change: transform;
}

.sector-overlay-top { top: 0; }
.sector-overlay-bottom { top: calc(50% - 1px); }

/* Text container — hidden until animation triggers */
.sector-text {
  position: absolute;
  inset: 1.5rem;
  top: auto;
  z-index: 2;
  opacity: 0;
}

.sector-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.sector-text p {
  font-size: clamp(0.75rem, 1.1vw, 0.875rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
}

/* Split-text animation base (set by GSAP, these ensure no FOUC) */
.sector-text .char,
.sector-text .word {
  display: inline-block;
}

/* ============================================
   ACCOMPLISHMENTS SECTION — SPLIT PANEL
   ============================================ */

.accomplishments {
  background: var(--gray-100);
}

.accomplishments-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1023px) {
  .accomplishments-split {
    grid-template-columns: 1fr;
  }
}

/* Panels */
.acc-panel {
  padding: 3rem;
  will-change: transform, opacity;
}

.acc-panel-synergia {
  background: var(--black);
}

.acc-panel-magna {
  background: var(--white);
}

/* Group name */
.acc-group-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid;
}

.acc-panel-synergia .acc-group-name {
  color: var(--teal);
  border-bottom-color: rgba(0, 169, 160, 0.3);
}

.acc-panel-magna .acc-group-name {
  color: var(--blue);
  border-bottom-color: rgba(39, 60, 144, 0.2);
}

/* Stats stack */
.acc-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.acc-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 2rem 0;
  will-change: transform, opacity;
}

.acc-stat:first-child {
  padding-top: 0;
}

.acc-stat:last-child {
  padding-bottom: 0;
}

/* Divider lines between stats — animated via GSAP */
.acc-stat + .acc-stat {
  border-top: 2px solid;
}

.acc-panel-synergia .acc-stat + .acc-stat {
  border-top-color: rgba(255, 255, 255, 0.80);
}

.acc-panel-magna .acc-stat + .acc-stat {
  border-top-color: rgba(0, 0, 0, 0.15);
}

/* Divider after double-stat */
.acc-stat-double + .acc-stat {
  border-top: 2px solid;
}

.acc-panel-synergia .acc-stat-double + .acc-stat {
  border-top-color: rgba(255, 255, 255, 0.80);
}

.acc-panel-magna .acc-stat-double + .acc-stat {
  border-top-color: rgba(0, 0, 0, 0.15);
}

/* Values */
.acc-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
}

.acc-panel-synergia .acc-stat-value {
  color: var(--teal);
}

.acc-panel-magna .acc-stat-value {
  color: var(--blue);
}

/* Labels */
.acc-stat-label {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 0.25rem;
}

/* Double stat — two sub-stats side by side in one box */
.acc-stat-double {
  padding: 2rem 0;
  will-change: transform, opacity;
}

.acc-stat-double:first-child {
  padding-top: 0;
}

.acc-stat-double-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.acc-stat-sub {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.acc-stat-sub:last-child {
  padding-left: 1.5rem;
}

.acc-stat-divider {
  width: 1.5px;
  background: rgba(255,255,255,0.25);
  margin: 0 1.5rem 0 0;
  flex-shrink: 0;
}

.acc-panel-synergia .acc-stat-label {
  color: rgba(255, 255, 255, 0.75);
}

.acc-panel-magna .acc-stat-label {
  color: var(--gray-600);
}

/* Partnership bar */
.partnership-bar {
  text-align: center;
  margin-top: 3rem;
}

.partnership-bar .bar-text {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  padding: 0.5rem 2rem;
  border: 2px solid var(--gray-200);
  border-radius: 2rem;
  background: transparent;
}

/* ============================================
   WHY GREECE SECTION — DARK WITH BG IMAGE
   ============================================ */

.why-greece {
  position: relative;
  overflow: hidden;
}

.why-greece-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.why-greece-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 40, 0.82);
  z-index: 1;
}

.why-greece .container {
  position: relative;
  z-index: 2;
}

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

.why-greece-intro {
  font-size: 1.25rem;
  color: var(--gray-200);
  max-width: 900px;
  margin-bottom: 3.5rem;
  line-height: 1.8;
  opacity: 0.85;
}

.greece-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .greece-benefits {
    grid-template-columns: 1fr;
  }
}

.benefit-item {
  padding: 2rem;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0 0.5rem 0.5rem 0;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--white);
}

.benefit-item h4 {
  font-size: 1.125rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

/* ============================================
   CONTACT SECTION — REDESIGN
   ============================================ */

.contact {
  background: var(--black);
  color: var(--white);
}

.contact h2 {
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact-subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-top: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Info list */
.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-info-item .ci-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--teal);
  fill: var(--teal);
}

.contact-info-item a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-item a:hover {
  color: var(--teal);
}

/* CTAs column */
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.1rem 2rem;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.45);
  border-radius: 0.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.3s var(--transition-smooth);
}

.contact-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateX(6px);
}

.contact-btn.primary {
  background: var(--blue);
  border-color: var(--blue);
}

.contact-btn.primary:hover {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.contact-btn-whatsapp:hover {
  border-color: #25D366;
  color: #25D366;
}

/* ============================================
   FOOTER — REDESIGN
   ============================================ */

.footer {
  background: #0a0a0a;
  color: var(--gray-600);
  padding: 4rem 2rem 2rem;
  font-size: 0.875rem;
  border-top: 2px solid var(--teal);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: flex;
  align-items: center; /* Changed: centers nav with logos vertically */
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.footer-logo {
  height: 69px;
  width: auto;
  opacity: 0.55;
  filter: brightness(2);
  transition: opacity 0.2s;
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem; /* Increased vertical gap slightly */
  justify-content: flex-end; /* Aligns to right on desktop */
  align-items: center;
}
.footer-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--teal);
}

.footer-mid {
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-address {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
}

.footer-address svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.footer-socials a svg {
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-socials a:hover {
  color: var(--teal);
}

.footer-socials a.magna-social:hover {
  color: var(--blue);
}

.footer-socials a:hover svg {
  opacity: 1;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
}

/* ============================================
   OVERLAYS
   ============================================ */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--transition-smooth);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

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

.overlay-content {
  min-height: 100vh;
  padding: 6rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
  color: var(--white);
}

.overlay-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2001;
}

.overlay-close:hover {
  background: var(--teal);
  transform: rotate(90deg);
}

.overlay h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.overlay-logo {
  height: 60px;
  width: auto;
  margin-bottom: 2rem;
  filter: brightness(0) invert(1);
}

.overlay-content p {
  color: var(--gray-200);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.overlay-illustration {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin-top: 3rem;
  opacity: 0.5;
  display: block;
}

.overlay.active .overlay-content {
  animation: slideUp 0.6s var(--transition-smooth) forwards;
}

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

/* ============================================
   TO TOP BUTTON
   ============================================ */

.to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.to-top.visible {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: var(--teal);
  transform: translateY(-3px);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
}

/* ============================================
   LENIS SMOOTH SCROLL
   ============================================ */

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}