/* ============================================================
   LichtPfad – Master Stylesheet
   Brand: "Pathway of Light" — tech/consulting
   Primary: #3B3B98  CTA: #6C5CE7  Gradient end: #FFFBE0
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  /* Primary brand */
  --primary: #3b3b98;
  --primary-mid: #5d54a4;
  --primary-light: #9b59b6;

  /* Gradient */
  --grad-start: #bfbae2;
  --grad-end: #fffbe0;

  /* Backgrounds */
  --bg-main: #fcfaff;
  --bg-accent: #f4f2f7;
  --bg-callout: #eae8ef;

  /* CTA button */
  --cta: #6c5ce7;
  --cta-dark: #5a4bd1;
  --cta-light: #8a7eed;

  /* Text */
  --text-body: #4a4a63;
  --text-muted: #7a7a96;
  --text-on-dark: #fcfaff;

  /* Status */
  --success: #00bfa5;
  --warning: #ff9f43;
  --error: #e05d5d;

  /* Structural */
  --white: #ffffff;
  --border: #e0dcf0;
  --shadow-sm: 0 2px 8px rgba(59, 59, 152, 0.08);
  --shadow-md: 0 8px 30px rgba(59, 59, 152, 0.13);
  --shadow-lg: 0 20px 60px rgba(59, 59, 152, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --nav-height: 72px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-main);
  line-height: 1.65;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── Typography ────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--primary);
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
}
h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
}
h4 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--cta), var(--primary-mid));
  color: var(--white);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--cta-dark), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.38);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}
.btn-navy {
  background: var(--primary);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--primary-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ── Announcement Bar ──────────────────────────────────────── */
.announcement-bar {
  background: linear-gradient(90deg, var(--primary), var(--primary-mid));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 0.5rem 1rem;
  position: relative;
}
.announcement-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  transition: color 0.2s;
}
.announcement-close:hover {
  color: var(--white);
}

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(252, 250, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: box-shadow 0.3s;
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.logo-text-fallback {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.logo-licht {
  color: var(--primary);
}
.logo-pfad {
  color: var(--cta);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cta));
  transition: width 0.3s;
  border-radius: 1px;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
/* Dropdown container */
.nav-dropdown {
  position: relative;
}

/* Button */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 220px;
  padding: 0.5rem 0;
  display: none;
  z-index: 1000;
}

/* Items */
.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--text-body);
  transition: background 0.2s;
}

.dropdown-menu li a:hover {
  background: var(--bg-accent);
}

/* Show on hover */
.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.mobile-dropdown-title {
  font-weight: 500;
  display: block;
  padding: 0.8rem 1rem;
  color: var(--text-body);
  border-left: 3px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  margin-top: 0; /* IMPORTANT FIX */
}

.mobile-dropdown ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-dropdown.open ul {
  max-height: 500px;
}

.mobile-dropdown a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.lang-toggle:hover {
  border-color: var(--primary);
  background: var(--bg-accent);
}
.lang-flag {
  font-size: 1rem;
}
.lang-arrow {
  font-size: 0.65rem;
  opacity: 0.6;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile drawer */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(59, 59, 152, 0.45);
  z-index: 1100;
}
.mobile-overlay.open {
  display: block;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(300px, 85vw);
  height: 100%;
  background: var(--white);
  z-index: 1200;
  padding: 1.5rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-drawer.open {
  right: 0;
}
.drawer-close {
  font-size: 1.5rem;
  color: var(--text-muted);
  align-self: flex-end;
  padding: 0.25rem;
}
.drawer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.mobile-nav-links a {
  display: block;
  padding: 0.8rem 1rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: var(--bg-accent);
  border-left-color: var(--primary);
  color: var(--primary);
}
.drawer-lang {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.drawer-lang .btn-outline {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ── Hero Slider ───────────────────────────────────────────── */
.hero-slider {
  position: relative;
  height: 630px;
  overflow: hidden;
  background: var(--primary);
}
@media (max-width: 1024px) {
  .hero-slider {
    height: 520px;
  }
}
@media (max-width: 768px) {
  .hero-slider {
    height: 420px;
  }
}
@media (max-width: 480px) {
  .hero-slider {
    height: 85vh;
  }
  .hero-content {
    padding: 1.5rem 1.25rem 2.5rem;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(59, 59, 152, 0.8) 0%,
    rgba(93, 84, 164, 0.45) 55%,
    transparent 100%
  );
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem clamp(1.5rem, 6vw, 6rem) 4rem;
  color: var(--white);
  max-width: 700px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
}
.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  display: flex;
  gap: 0.5rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  cursor: pointer;
}
.slider-dot.active {
  background: var(--grad-end);
  width: 24px;
  border-radius: 4px;
}

/* ── Stats Ribbon ──────────────────────────────────────────── */
.stats-ribbon {
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  padding: 2.5rem 2rem;
}
.stats-ribbon-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item {
  padding: 1rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--grad-end);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* ── Sections ──────────────────────────────────────────────── */
.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 6vw, 6rem);
}
.section-light {
  background: var(--bg-accent);
}
.section-dark {
  background: var(--primary);
  color: var(--text-on-dark);
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header h2 {
  margin-bottom: 0.75rem;
}
.section-header p {
  max-width: 600px;
  margin: 0 auto;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
}
.container-sm {
  max-width: 960px;
  margin: 0 auto;
}

/* Founder section */

.founder-card{
    text-align:center;
}

.founder-image{
    width:100%;
    height:480px;
    object-fit:cover;
    border-radius:var(--radius-md);
}

.founder-text{
    margin-top:1rem;
}

.founder-text h4{
    margin:0;
    color:var(--text-heading);
    font-weight:600;
}

.founder-text p{
    margin:4px 0 0;
    color:var(--text-muted);
    font-size:0.95rem;
}

/* ── Opportunity Box ───────────────────────────────────────── */
.opportunity-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 3rem;
  max-width: 900px;
  margin: -80px auto 0;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid var(--border);
  border-left: 4px solid var(--cta);
}
.opp-block h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.opp-block p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.opp-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ── Cards ─────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--cta);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-img:hover {
  transform: scale(1.05);
}
.card-body {
  padding: 1.5rem;
}
.card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.card-body p {
  font-size: 0.9rem;
}

/* ── Split Section ─────────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-text h2 {
  margin-bottom: 1.25rem;
}
.split-text p {
  margin-bottom: 1.5rem;
}

/* ── News Carousel ─────────────────────────────────────────── */
.news-carousel-wrap {
  position: relative;
  overflow: hidden;
}
.news-track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card {
  flex: 0 0 calc(33.333% - 1.2rem);
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card-body {
  padding: 1.25rem;
}
.news-card-body h4 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--primary);
}
.news-card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.news-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.news-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--primary);
}
.news-btn:hover {
  background: var(--cta);
  border-color: var(--cta);
  color: var(--white);
}

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--cta));
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.cta-banner .section-label {
  color: rgba(255, 255, 255, 0.7);
}

/* ── Why Us Page ───────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.why-card {
  padding: 2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cta));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.why-card:hover {
  border-color: var(--grad-start);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-card:hover::before {
  transform: scaleX(1);
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-callout), var(--grad-start));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.why-card h3 {
  margin-bottom: 0.75rem;
}

/* ── Focus Areas ───────────────────────────────────────────── */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.focus-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.focus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.focus-card:hover img {
  transform: scale(1.05);
}
.focus-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(59, 59, 152, 0.88) 0%,
    transparent 55%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.focus-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.focus-overlay p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-mid) 60%,
    var(--cta) 100%
  );
  padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 6vw, 6rem);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: var(--bg-main);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 {
  color: var(--white);
  position: relative;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  margin: 0.75rem auto 0;
  position: relative;
}
.page-hero .section-label {
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

/* ── Still Have Questions Strip ────────────────────────────── */
.questions-strip {
  background: var(--bg-accent);
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 2.25rem clamp(1.5rem, 6vw, 6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.questions-strip h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

/* ── Contact Form ──────────────────────────────────────────── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--border);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  background: var(--bg-accent);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cta);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-top: 1rem;
  display: none;
}
.form-message.success {
  background: rgba(0, 191, 165, 0.1);
  color: #005a4e;
  border: 1px solid var(--success);
  display: block;
}
.form-message.error {
  background: rgba(224, 93, 93, 0.1);
  color: #8b0000;
  border: 1px solid var(--error);
  display: block;
}
.map-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: 0;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── Search Pages ──────────────────────────────────────────── */
.search-hero {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-mid) 60%,
    var(--cta) 100%
  );
  padding: 4rem clamp(1.5rem, 6vw, 6rem);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.search-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.search-hero h1 {
  color: var(--white);
  position: relative;
  margin-bottom: 0.75rem;
}
.search-hero p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  position: relative;
}
.search-hero .section-label {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
}
.search-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.search-input-wrap {
  flex: 1;
  min-width: 180px;
  position: relative;
}
.search-input-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-accent);
  outline: none;
  transition: var(--transition);
  color: var(--text-body);
}
.search-input:focus {
  border-color: var(--cta);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}
.search-results {
  padding: 2.5rem clamp(1.5rem, 6vw, 6rem);
}
.results-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.job-card,
.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.job-card:hover {
  border-left: 3px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.course-card:hover {
  border-left: 3px solid var(--primary);
  box-shadow: var(--shadow-sm);
}
.job-card-info h3,
.course-card-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.job-card-meta,
.course-card-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.job-card-meta span,
.course-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.job-badge {
  background: var(--bg-callout);
  color: var(--primary-mid);
  border: 1px solid var(--border);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}
.job-badge:hover {
  background: var(--grad-start);
  border-color: var(--primary);
  color: var(--primary);
}
.search-loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  display: none;
}
.search-loading i {
  font-size: 2rem;
  color: var(--cta);
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  transition: var(--transition);
  color: var(--primary);
}
.page-btn:hover,
.page-btn.active {
  background: var(--cta);
  border-color: var(--cta);
  color: var(--white);
  font-weight: 600;
}

/* ── Login Gate Modal ──────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(59, 59, 152, 0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s;
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
.modal-box::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--cta));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}
.modal-box h2 {
  margin-bottom: 0.5rem;
  text-align: center;
}
.modal-box > p {
  margin-bottom: 1.75rem;
  text-align: center;
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 2rem 0;
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.footer-logo-text {
  color: var(--white);
  font-size: 1.5rem;
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin: 1rem 0;
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: var(--transition);
  color: rgba(255, 255, 255, 0.7);
}
.footer-social a:hover {
  background: var(--cta);
  border-color: var(--cta);
  color: var(--white);
}
.footer-heading {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links li + li {
  margin-top: 0.5rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--grad-start);
}
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-list li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  align-items: flex-start;
}
.footer-contact-list i {
  color: var(--grad-start);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact-list a:hover {
  color: var(--grad-start);
}
.footer-cta-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  width: 100%;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  width: 100%;
  text-align: center;
}

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.7s ease both;
}
.fade-delay-1 {
  animation-delay: 0.1s;
}
.fade-delay-2 {
  animation-delay: 0.2s;
}
.fade-delay-3 {
  animation-delay: 0.3s;
}
.fade-delay-4 {
  animation-delay: 0.4s;
}

/* Page-load shimmer bar */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--cta),
    var(--grad-start),
    var(--cta),
    var(--primary)
  );
  background-size: 300% 100%;
  animation: shimmerBar 2.5s ease-in-out forwards;
  z-index: 9999;
  pointer-events: none;
}
@keyframes shimmerBar {
  0% {
    background-position: 100% 0;
    opacity: 1;
  }
  80% {
    background-position: 0% 0;
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* ── Utilities ─────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--cta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-accent);
}
::-webkit-scrollbar-thumb {
  background: var(--grad-start);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-mid);
}
::selection {
  background: var(--grad-start);
  color: var(--primary);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .focus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  .stats-ribbon-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .opportunity-box {
    grid-template-columns: 1fr;
    margin: -40px 1rem 0;
    padding: 1.75rem;
  }
  .opp-divider {
    width: 100%;
    height: 1px;
  }
  .split-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    flex: 0 0 calc(85vw);
  }
   .cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .search-box {
    flex-direction: column;
  }
  .job-card,
  .course-card {
    flex-direction: column;
  }
  .questions-strip {
    flex-direction: column;
    text-align: center;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-form-wrap {
    padding: 1.5rem;
  }
  .map-wrap iframe {
    height: 220px;
  }
  .form-group input,
  .form-group textarea {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .stats-ribbon-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn-lg {
    width: 100%;
    justify-content: center;
  }
  .contact-form-wrap .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Course Detail Modal overrides ────────────────────────── */
#courseDetailModal .modal-box {
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
#courseDetailModal .modal-box::before {
  display: none;
}

/* ── Cookie Banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: var(--white);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 9000;
  box-shadow: 0 -4px 20px rgba(59, 59, 152, 0.25);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.cookie-banner a {
  color: var(--grad-start);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.cookie-accept {
  background: var(--cta);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-accept:hover {
  background: var(--cta-dark);
}
.cookie-decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-decline:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ── Reviews / Testimonials ────────────────────────────────── */
.reviews-carousel-wrap {
  overflow: hidden;
  position: relative;
}

.reviews-track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.4s ease;
  will-change: transform;
}

.review-card {
  min-width: 340px;
  flex: 0 0 340px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--cta);
}
.review-stars {
  display: flex;
  gap: 0.25rem;
  color: #f5a623;
  font-size: 0.9rem;
}
.review-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.review-text::before {
  content: "\201C";
  font-size: 1.5rem;
  color: var(--cta);
  line-height: 0;
  vertical-align: -0.4rem;
  margin-right: 0.2rem;
}
.review-text::after {
  content: "\201D";
  font-size: 1.5rem;
  color: var(--cta);
  line-height: 0;
  vertical-align: -0.4rem;
  margin-left: 0.2rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cta));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.review-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  font-family: var(--font-body);
}
.review-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* Responsive card width */
@media (max-width: 1024px) {
  .review-card {
    min-width: 300px;
    flex: 0 0 300px;
  }
}
@media (max-width: 640px) {
  .review-card {
    min-width: calc(100vw - 3rem);
    flex: 0 0 calc(100vw - 3rem);
  }
}

/* ── Hero New Badge ────────────────────────────────────────── */
.hero-new-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--grad-end);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 0.85rem;
}

/* ── No Fees Banner ────────────────────────────────────────── */
.no-fees-banner {
  background: linear-gradient(135deg, #f0eeff, #fffbe0);
  border: 2px solid var(--cta);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.no-fees-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  flex-shrink: 0;
}
.no-fees-content {
  flex: 1;
  min-width: 220px;
}
.no-fees-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 0.75rem;
}
.no-fees-content p {
  margin-bottom: 1rem;
}
.no-fees-note {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: rgba(108, 92, 231, 0.08);
  border-left: 3px solid var(--cta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}
.no-fees-note i {
  color: var(--cta);
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.no-fees-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .no-fees-banner {
    flex-direction: column;
  }
  .no-fees-cta {
    width: 100%;
  }
  .no-fees-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── News Popup ────────────────────────────────────────────── */
.news-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(59, 59, 152, 0.6);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.news-popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.news-popup-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-height: 85vh;
  overflow-y: auto;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(30px);
  transition: transform 0.35s ease;
  border-top: 5px solid var(--cta);
}
.news-popup-overlay.open .news-popup-box {
  transform: translateY(0);
}
.news-popup-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.news-popup-close:hover {
  color: var(--primary);
}
.news-popup-tag {
  display: inline-block;
  background: var(--bg-callout);
  color: var(--cta);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.85rem;
}
.news-popup-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  padding-right: 2rem;
}
.news-popup-box p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* ── How It Works Steps ────────────────────────────────────── */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.steps-list::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--cta));
  border-radius: 2px;
}
.step-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0 2rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step-item:last-child {
  border-bottom: none;
}
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cta));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(59, 59, 152, 0.25);
}
.step-content {
  padding-top: 0.75rem;
}
.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.step-content p {
  font-size: 0.95rem;
}
@media (max-width: 600px) {
  .steps-list::before {
    left: 28px;
  }
  .step-number {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }
  .step-item {
    gap: 1.25rem;
  }
  .news-popup-box {
    padding: 1.5rem;
    max-width: 95%;
  }
  .map-wrap iframe {
    height: 220px;
  }
}