/* -------------------------------------------------------------
   DESIGN SYSTEM & VARIABLES (Light / Dark Themes)
   ------------------------------------------------------------- */
:root, html[data-theme="light"] {
  color-scheme: light;
  --bg: #F8FAFC;
  --bg-pattern: rgba(15, 106, 149, 0.03);
  --surface: #FFFFFF;
  --surface-alt: #F1F5F9;
  --surface-glass: rgba(255, 255, 255, 0.75);
  --surface-glass-border: rgba(15, 106, 149, 0.08);
  --text: #0F172A;
  --text-muted: #475569;
  --primary: #0284C7;
  --primary-rgb: 2, 132, 199;
  --primary-strong: #0369A1;
  --accent: #F59E0B;
  --accent-rgb: 245, 158, 11;
  --border: rgba(15, 106, 149, 0.1);
  --border-focus: rgba(2, 132, 199, 0.4);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow: 0 20px 40px -15px rgba(15, 106, 149, 0.06);
  --shadow-lg: 0 35px 60px -15px rgba(15, 106, 149, 0.12);
  
  --orb-1-color: rgba(2, 132, 199, 0.12);
  --orb-2-color: rgba(56, 189, 248, 0.1);
  --orb-3-color: rgba(245, 158, 11, 0.06);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #030712;
  --bg-pattern: rgba(255, 255, 255, 0.02);
  --surface: #0B0F19;
  --surface-alt: #1F2937;
  --surface-glass: rgba(11, 15, 25, 0.75);
  --surface-glass-border: rgba(255, 255, 255, 0.06);
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --primary: #38BDF8;
  --primary-rgb: 56, 189, 248;
  --primary-strong: #0EA5E9;
  --accent: #FBBF24;
  --accent-rgb: 251, 191, 36;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.4);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 35px 60px -15px rgba(0, 0, 0, 0.6);
  
  --orb-1-color: rgba(3, 105, 161, 0.16);
  --orb-2-color: rgba(14, 165, 233, 0.12);
  --orb-3-color: rgba(120, 53, 15, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(var(--bg-pattern) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* -------------------------------------------------------------
   AMBIENT BACKGROUND ORBS & ANIMATIONS
   ------------------------------------------------------------- */
.ambient-orb {
  position: absolute;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  transition: background 0.6s ease;
}

.orb-1 {
  top: -150px;
  left: -200px;
  background: var(--orb-1-color);
  animation: floatOrb1 30s infinite alternate ease-in-out;
}

.orb-2 {
  top: 800px;
  right: -250px;
  background: var(--orb-2-color);
  animation: floatOrb2 25s infinite alternate ease-in-out;
}

.orb-3 {
  bottom: 200px;
  left: 15%;
  background: var(--orb-3-color);
  animation: floatOrb3 28s infinite alternate ease-in-out;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(100px, 80px) scale(1.15); }
}
@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-120px, -60px) scale(0.9); }
}
@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, -90px) scale(1.1); }
}

/* -------------------------------------------------------------
   TOPBAR NAVIGATION & HEADER
   ------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--surface-glass-border);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-logo {
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(var(--primary-rgb), 0.2));
}

.brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text) 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.controls-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.theme-toggle:hover {
  transform: scale(1.05);
  border-color: var(--primary);
}

.sun-icon, .moon-icon {
  position: absolute;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

html[data-theme="light"] .sun-icon { transform: translateY(0); opacity: 1; }
html[data-theme="light"] .moon-icon { transform: translateY(30px); opacity: 0; }
html[data-theme="dark"] .sun-icon { transform: translateY(-30px); opacity: 0; }
html[data-theme="dark"] .moon-icon { transform: translateY(0); opacity: 1; }

/* Language Switcher */
.lang-switch {
  display: flex;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  padding: 2px;
  border-radius: 12px;
  gap: 2px;
}

.lang-button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.lang-button.active {
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* -------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------- */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
}

.hero-tagline-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(var(--primary-rgb), 0.08);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.hero-tagline-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.hero-tagline-pulse::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulseRadius 1.8s infinite ease-out;
}

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

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--primary-strong);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

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

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s, background 0.3s;
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: white;
  border: none;
  box-shadow: 0 10px 25px -5px rgba(var(--primary-rgb), 0.35);
}

.button-primary:hover {
  box-shadow: 0 15px 30px -5px rgba(var(--primary-rgb), 0.5);
}

.button-secondary {
  background: var(--surface-glass);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.button-secondary:hover {
  background: var(--surface);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

/* Floating Glassmorphic Hero Card */
.hero-card {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle at bottom right, rgba(var(--accent-rgb), 0.15), transparent 60%);
  border-radius: 36px;
  z-index: 0;
  pointer-events: none;
}

.hero-card-inner {
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--surface-glass-border);
  border-radius: 32px;
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  animation: floatHeroCard 6s infinite alternate ease-in-out;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
}

@keyframes floatHeroCard {
  0% { transform: translateY(0px) rotate(0.5deg); }
  100% { transform: translateY(-12px) rotate(-0.5deg); }
}

.hero-card-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

.hero-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.4rem 0;
}

.bullet-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* -------------------------------------------------------------
   SECTIONS GENERAL DESIGN
   ------------------------------------------------------------- */
.section {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  max-width: 760px;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text);
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text) 30%, var(--primary-strong) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-box {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-glass-border);
  box-shadow: var(--shadow);
  border-radius: 28px;
  padding: 3rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}

/* -------------------------------------------------------------
   ABOUT SECTION
   ------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
}

.about-bio {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.paragraph-lead {
  font-size: 1.18rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text);
}

.about-bio p {
  color: var(--text-muted);
}

.bio-badge-row {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.bio-badge {
  display: flex;
  flex-direction: column;
}

.badge-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.badge-text {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Feature Cards */
.feature-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateX(6px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.feature-icon {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, color 0.3s;
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
}

.feature-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.feature-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   SERVICES SECTION
   ------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s, border-color 0.4s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(20px, -20px);
  transition: transform 0.4s, background 0.4s;
}

.service-card-header {
  margin-bottom: 1.5rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(var(--primary-rgb), 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.service-svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Service Card Hover States */
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: translate(10px, -10px) scale(1.5);
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%);
}

.service-card:hover .service-icon-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  color: white;
  transform: scale(1.08) rotate(3deg);
}

/* -------------------------------------------------------------
   INTERACTIVE SCOUT WIDGET (TROVA-BANDO)
   ------------------------------------------------------------- */
.scout-widget {
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.scout-intro {
  color: var(--text-muted);
  font-size: 1.15rem;
}

.scout-filters {
  display: flex;
  gap: 2rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.filter-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background: var(--text-muted);
  clip-path: polygon(100% 0, 0 0, 50% 100%);
  pointer-events: none;
  transition: background 0.3s;
}

.select-wrapper:focus-within::after {
  background: var(--primary);
}

.scout-select {
  width: 100%;
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.9rem 2.5rem 0.9rem 1.25rem;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.scout-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--border-focus);
}

.scout-btn {
  height: 52px;
  min-width: 180px;
  margin-top: 1rem;
}

/* Scout Results Output Container */
.scout-results-wrapper {
  margin-top: 3rem;
  transition: opacity 0.5s ease;
}

.scout-results-wrapper.hidden {
  display: none;
  opacity: 0;
}

.results-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 2.5rem;
}

.scout-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  animation: fadeInUp 0.5s ease forwards;
}

/* Dynamic Result Card */
.program-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.program-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
}

.program-card h4 {
  font-size: 1.35rem;
  color: var(--text);
}

.program-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.program-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
  border-top: 1px dashed var(--border);
  padding-top: 1rem;
}

.program-spec-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.spec-bullet {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
}

.program-cta {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  transition: gap 0.2s;
}

.program-cta:hover {
  color: var(--primary-strong);
  gap: 0.6rem;
}

/* Widget No Results alert */
.widget-no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* -------------------------------------------------------------
   CLIENTS / WHO I SUPPORT SECTION
   ------------------------------------------------------------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
}

.client-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.client-icon {
  background: rgba(var(--primary-rgb), 0.05);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s, color 0.3s;
}

.client-card:hover .client-icon {
  background: var(--primary);
  color: white;
}

.client-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.client-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   METHOD TIMELINE SECTION
   ------------------------------------------------------------- */
.timeline {
  position: relative;
  max-width: 860px;
  margin: 3rem auto 0;
  padding: 2rem 0;
}

.timeline-bar {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--border) 0%, var(--primary) 20%, var(--primary) 80%, var(--border) 100%);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  width: 100%;
  margin-bottom: 4rem;
  display: flex;
  justify-content: flex-end; /* Even elements float right by default */
}

.timeline-item:nth-child(even) {
  justify-content: flex-start; /* Odd elements float left */
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 15px;
  transform: translate(-50%, -20%);
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 4px solid var(--primary);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, background 0.3s, color 0.3s, box-shadow 0.3s;
}

.timeline-item:hover .timeline-marker {
  transform: translate(-50%, -20%) scale(1.15);
  background: var(--primary);
  color: white;
  box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
}

.timeline-panel {
  width: 44%;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.timeline-item:hover .timeline-panel {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.timeline-item:nth-child(even) .timeline-panel {
  transform: translateX(-10px);
}

.timeline-item:nth-child(odd) .timeline-panel {
  transform: translateX(10px);
}

.timeline-item:nth-child(even):hover .timeline-panel {
  transform: translateX(-16px);
}

.timeline-item:nth-child(odd):hover .timeline-panel {
  transform: translateX(16px);
}

.timeline-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.timeline-panel p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   VALUES SECTION (WHY CHOOSE ME)
   ------------------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.75rem;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

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

.value-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(var(--primary-rgb), 0.15);
  margin-bottom: 1.25rem;
  transition: color 0.3s;
}

.value-card:hover .value-number {
  color: var(--primary);
}

.value-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-lead-text {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.info-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.info-icon {
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-details {
  display: flex;
  flex-direction: column;
}

.info-details span {
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.info-details a, .info-details p {
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.contact-link {
  color: var(--primary) !important;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--primary-strong) !important;
}

/* Contact Form Container */
.contact-form-container {
  padding: 2.5rem;
}

.form-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--border-focus);
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23475569' d='M10 0L0 0L5 6L10 0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding-right: 2.5rem !important;
}

.form-btn {
  margin-top: 0.5rem;
  height: 50px;
}

/* -------------------------------------------------------------
   FOOTER SECTION
   ------------------------------------------------------------- */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
  position: relative;
  z-index: 10;
}

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

.footer-inner p {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
}

/* -------------------------------------------------------------
   TOAST NOTIFICATION
   ------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  background: var(--surface);
  border: 1.5px solid #10B981;
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.75rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 200;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
  pointer-events: none;
}

.toast.hidden {
  transform: translateY(30px) scale(0.9);
  opacity: 0;
}

.toast-icon {
  background: #10B981;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

#toast-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

/* -------------------------------------------------------------
   KEYFRAMES & UTILITIES
   ------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-text {
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-grid, 
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .timeline-panel {
    width: 42%;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 1.5rem;
  }
  
  .controls-wrapper {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .section {
    padding: 5rem 0;
  }
  
  /* Timeline Responsive (Single-Sided Left) */
  .timeline-bar {
    left: 20px;
    transform: none;
  }
  
  .timeline-item {
    justify-content: flex-start !important;
    padding-left: 50px;
    margin-bottom: 3rem;
  }
  
  .timeline-marker {
    left: 20px;
    top: 0;
    transform: translate(-50%, 0);
  }
  
  .timeline-item:hover .timeline-marker {
    transform: translate(-50%, 0) scale(1.15);
  }
  
  .timeline-panel {
    width: 100%;
    transform: none !important;
  }
  
  .scout-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  
  .filter-group {
    min-width: 100%;
  }
  
  .scout-btn {
    width: 100%;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .glass-box, 
  .contact-form-container {
    padding: 1.5rem;
    border-radius: 20px;
  }
  
  .timeline-panel {
    padding: 1.5rem;
  }
  
  .toast {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    justify-content: center;
  }
}
