/* ==========================================================================
   GO ALIVE — HOMEPAGE STYLES
   Same design system as /news and /go-alive-opportunities
   ========================================================================== */

/* ── Design Tokens (mirrors /style.css) ─────────────────────────────────── */
:root {
  --color-primary:        #E8392A;
  --color-orange:         #F2703C;
  --color-golden:         #F5A623;
  --color-pink:           #D95090;
  --color-violet:         #8B5BB5;
  --color-neutral:        #1E1E1E;
  --color-white:          #ffffff;

  --gradient-brand:       linear-gradient(135deg, #E8392A 0%, #F2703C 30%, #F5A623 55%, #D95090 80%, #8B5BB5 100%);
  --gradient-brand-alt:   linear-gradient(135deg, #8B5BB5 0%, #D95090 35%, #E8392A 65%, #F2703C 100%);
  --gradient-warm:        linear-gradient(135deg, #E8392A 0%, #F2703C 50%, #F5A623 100%);

  --color-bg-body:        #ffffff;
  --color-bg-alt:         #f8f8f8;
  --color-bg-dark:        #0e0e16;
  --color-text-primary:   #1E1E1E;
  --color-text-secondary: #5a5a5a;
  --color-text-muted:     #909090;
  --color-border:         #ede9ed;

  --font-main:            'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth:    all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm:            0 4px 12px rgba(30, 30, 30, 0.05);
  --shadow-md:            0 12px 30px rgba(30, 30, 30, 0.07);
  --shadow-lg:            0 22px 50px rgba(30, 30, 30, 0.10);
  --shadow-hover:         0 28px 56px rgba(232, 57, 42, 0.14);

  --radius-sm:            6px;
  --radius-md:            12px;
  --radius-lg:            20px;
  --radius-round:         50%;
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-body);
  color: var(--color-text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition-smooth); }
img { max-width: 100%; height: auto; display: block; }
button, input { font-family: inherit; font-size: inherit; border: none; background: none; outline: none; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ── Shared Section Label ───────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--color-neutral);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-title .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 620px;
  line-height: 1.7;
}

/* ==========================================================================
   HEADER / NAV  (identical to other pages)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  height: 72px;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo { display: flex; align-items: center; }

.logo-img {
  height: 72px;
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

.logo:hover .logo-img { transform: scale(1.04); }

.main-nav ul { display: flex; list-style: none; gap: 32px; align-items: center; }

.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-neutral);
  position: relative;
  padding: 8px 0;
}

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

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 16px; }

.btn-upcoming {
  background-color: var(--color-primary);
  color: var(--color-white) !important;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(217,64,62,0.2);
  transition: var(--transition-smooth);
}

.btn-upcoming:hover {
  background-color: var(--color-neutral);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38,38,38,0.2);
}

/* Hamburger */
.mobile-only-nav { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1100;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.hamburger:hover { background-color: rgba(232,57,42,0.06); }

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background-color: var(--color-neutral);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-backdrop.active { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   HERO — FULL-SCREEN PHOTO SLIDESHOW
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* Gradient top bar (brand) */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient-brand);
  z-index: 20;
}

/* ── Slides ─────────────────────────────────────────────────────────────── */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.slide.active { opacity: 1; }

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Ken-Burns zoom on active slide */
.slide.active img {
  animation: kenBurns 8s ease-in-out forwards;
}

@keyframes kenBurns {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.08); }
}

/* ── Dark gradient overlay ──────────────────────────────────────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(14,14,22,0.72) 0%, rgba(14,14,22,0.30) 60%, transparent 100%),
    linear-gradient(to top,   rgba(14,14,22,0.60) 0%, transparent 50%);
  z-index: 5;
}

/* ── Hero content ───────────────────────────────────────────────────────── */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 0 0 80px;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s ease forwards;
}

.hero-eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gradient-warm);
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 750px;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s 0.5s ease forwards;
}

.hero-title .accent {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 40px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s 0.7s ease forwards;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.9s 0.9s ease forwards;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--gradient-warm);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  box-shadow: 0 8px 28px rgba(232,57,42,0.35);
  transition: var(--transition-smooth);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(232,57,42,0.45);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-3px);
}

/* ── Slide navigation dots ──────────────────────────────────────────────── */
.slide-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  gap: 10px;
  align-items: center;
}

.slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.40);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.slide-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* ── Prev / Next arrows ─────────────────────────────────────────────────── */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.28);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.slide-arrow:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.08);
}

.slide-arrow.prev { left: 28px; }
.slide-arrow.next { right: 28px; }

/* ── Scroll cue ─────────────────────────────────────────────────────────── */
.scroll-cue {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.55));
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50%       { transform: scaleY(0.6); opacity: 1; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PARTNERS STRIP
   ========================================================================== */
.partners-strip {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 30px 0;
  overflow: hidden;
}

.partners-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.partners-track-wrap {
  overflow: hidden;
}

.partners-track {
  display: flex;
  gap: 60px;
  align-items: center;
  width: max-content;
  animation: marqueScroll 20s linear infinite;
}

.partners-track:hover { animation-play-state: paused; }

.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  opacity: 0.85;
  transition: var(--transition-smooth);
}

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

.partner-logo img {
  max-height: 46px;
  max-width: 160px;
  object-fit: contain;
  width: auto;
}

.partner-logo--large {
  height: 70px;
}

.partner-logo--large img {
  max-height: 65px;
  max-width: 220px;
}

.partner-logo--inedivim {
  height: 84px;
}

.partner-logo--inedivim img {
  max-height: 80px;
  max-width: 260px;
}

@keyframes marqueScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   ABOUT / MISSION SECTION
   ========================================================================== */
.about-section {
  padding: 110px 0;
  background: var(--color-bg-body);
  position: relative;
  overflow: hidden;
}

/* subtle dot-pattern background */
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(232,57,42,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.about-text { }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.about-tag {
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(232,57,42,0.07);
  color: var(--color-primary);
  border: 1.5px solid rgba(232,57,42,0.18);
  transition: var(--transition-smooth);
}

.about-tag:hover {
  background: var(--gradient-warm);
  color: #fff;
  border-color: transparent;
}

/* CTA link */
.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.about-cta svg { transition: transform 0.3s ease; }
.about-cta:hover svg { transform: translateX(4px); }

/* Right visual card stack */
.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition-smooth);
}

.about-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232,57,42,0.15);
}

.about-card:nth-child(2) { margin-left: 24px; }
.about-card:nth-child(3) { margin-left: 12px; }

.about-card-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  background: var(--gradient-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.about-card-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-neutral);
  margin-bottom: 2px;
}

.about-card-text p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   STATS / IMPACT SECTION
   ========================================================================== */
.stats-section {
  background: var(--color-bg-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient-brand);
}

/* Decorative blobs */
.stats-section::after {
  content: '';
  position: absolute;
  right: -200px; bottom: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,91,181,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stats-header {
  text-align: center;
  margin-bottom: 64px;
}

.stats-header .section-eyebrow { color: rgba(255,255,255,0.5); }
.stats-header .section-title   { color: #fff; }
.stats-header .section-subtitle {
  color: rgba(255,255,255,0.55);
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.stat-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-6px); }
.stat-card:hover::before { transform: scaleX(1); }

.stat-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(232,57,42,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

.stat-number {
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 800;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  line-height: 1.4;
}

/* ==========================================================================
   FEATURED PROJECTS SECTION
   ========================================================================== */
.projects-section {
  padding: 110px 0;
  background: var(--color-bg-alt);
}

.projects-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 20px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  border: 2px solid rgba(232,57,42,0.25);
  border-radius: 50px;
  padding: 10px 22px;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.btn-view-all:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}

.projects-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.proj-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.proj-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(232,57,42,0.18);
}

.proj-img-wrap {
  position: relative;
  padding-top: 58%;
  overflow: hidden;
}

.proj-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,1,0.5,1);
}

.proj-card:hover .proj-img-wrap img { transform: scale(1.08); }

.proj-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--gradient-warm);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 50px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(232,57,42,0.3);
}

.proj-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.proj-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-neutral);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}

.proj-card:hover .proj-title { color: var(--color-primary); }

.proj-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 22px;
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-neutral);
  transition: var(--transition-smooth);
}

.proj-link svg { transition: transform 0.3s ease; }
.proj-card:hover .proj-link { color: var(--color-primary); }
.proj-card:hover .proj-link svg { transform: translateX(4px); }

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 110px 0;
  background: var(--color-bg-body);
  position: relative;
  overflow: hidden;
}

/* Decorative gradient blob */
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,57,42,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 20px;
}

.testimonials-header .section-subtitle { margin: 0 auto; }

.google-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 10px 20px;
  margin: 18px auto 56px;
  display: flex;
  width: fit-content;
}

.google-rating-g {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #4285F4 0%, #EA4335 33%, #FBBC05 66%, #34A853 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.google-rating-score {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-neutral);
}

.google-rating-stars { color: #F5A623; font-size: 13px; }

.google-rating-count {
  font-size: 13px;
  color: var(--color-text-muted);
}

.trustindex-widget-container,
.reviews-widget-container {
  max-width: 1000px;
  margin: 40px auto 0;
  width: 100%;
}

.leave-review-cta {
  text-align: center;
  margin-top: 36px;
}

.btn-write-review {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: var(--color-white);
  color: var(--color-neutral);
  font-weight: 700;
  font-size: 14px;
  border-radius: 50px;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-write-review svg {
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

.btn-write-review:hover {
  background: var(--gradient-warm);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(232,57,42,0.28);
  transform: translateY(-2px);
}

.btn-write-review:hover svg {
  color: #ffffff;
  transform: rotate(-8deg) scale(1.1);
}

/* Carousel */
.testimonial-carousel {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.testimonial-track {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.testimonial-slide {
  display: none;
  animation: fadeIn 0.5s ease;
}

.testimonial-slide.active { display: block; }

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

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 50px 56px;
  position: relative;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-quote-icon {
  font-size: 72px;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-stars {
  color: #F5A623;
  font-size: 18px;
  margin-bottom: 22px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-author {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-neutral);
}

.testimonial-project {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Carousel nav */
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.carousel-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-neutral);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.carousel-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--color-primary);
  width: 22px;
  border-radius: 4px;
}

/* ==========================================================================
   CTA / CLOSING SECTION
   ========================================================================== */
.cta-section {
  padding: 110px 0;
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* animated gradient blob */
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(232,57,42,0.16) 0%, rgba(139,91,181,0.10) 50%, transparent 80%);
  pointer-events: none;
  animation: pulseCTA 5s ease-in-out infinite alternate;
}

@keyframes pulseCTA {
  0%   { transform: translate(-50%, -50%) scale(1);    opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1;   }
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--gradient-brand);
}

.cta-inner {
  position: relative;
  z-index: 5;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}

.cta-title {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.cta-title .accent {
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--gradient-warm);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  box-shadow: 0 8px 28px rgba(232,57,42,0.35);
  transition: var(--transition-smooth);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(232,57,42,0.5);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: var(--transition-smooth);
}

.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
  transform: translateY(-3px);
}

/* ==========================================================================
   FOOTER  (matches news / opportunities pages)
   ========================================================================== */
.site-footer {
  background-color: #181818;
  background-image: linear-gradient(160deg, rgba(232,57,42,0.04) 0%, rgba(139,91,181,0.04) 100%);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  border-top: 3px solid transparent;
  border-image: var(--gradient-brand) 1;
  font-family: var(--font-main);
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.6fr;
  gap: 50px;
  padding: 80px 24px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  max-width: 1240px;
  margin: 0 auto;
}

.site-footer a { color: rgba(255,255,255,0.6); transition: var(--transition-smooth); }
.site-footer a:hover { color: var(--color-primary); }

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 70px;
  width: auto;
  display: block;
  opacity: 0.95;
  transition: var(--transition-smooth);
}

.footer-brand p {
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 24px;
  margin-top: 0;
}

.footer-contact {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact svg { color: var(--color-primary); flex-shrink: 0; }

.footer-heading {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 22px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover { color: var(--color-primary); padding-left: 4px; }

.social-icons { display: flex; gap: 12px; margin-bottom: 24px; }

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232,57,42,0.3);
  color: #fff;
}

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

.nl-email {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition-smooth);
}

.nl-email::placeholder { color: rgba(255,255,255,0.38); }
.nl-email:focus { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.45); }

.btn-newsletter-footer {
  width: 100%;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-newsletter-footer:hover {
  background: #fff;
  color: var(--color-neutral);
  border-color: #fff;
}

.footer-bottom {
  padding: 26px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   SCROLL-REVEAL UTILITY
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-cards { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-only-nav { display: block; }

  /* ---- Mobile Drawer -------------------------------------------- */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    height: 100dvh; /* dynamic viewport height for iOS */
    background-color: #ffffff;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: right 0.42s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.15);
    border-left: none;
  }

  /* Brand gradient accent strip at top of drawer */
  .main-nav::before {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background: var(--gradient-brand);
    flex-shrink: 0;
  }

  .main-nav.active {
    right: 0;
  }

  /* ---- Nav list inside drawer ---- */
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 28px 0 24px;
  }

  .main-nav > ul > li > a {
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-neutral);
    padding: 14px 28px;
    border-radius: 0;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
  }

  .main-nav > ul > li > a:hover,
  .main-nav > ul > li > a.active {
    background: rgba(232, 57, 42, 0.06);
    color: var(--color-primary);
    padding-left: 34px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-title { letter-spacing: -1px; }
  .slide-arrow { display: none; }
  .scroll-cue { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card:nth-child(2),
  .about-card:nth-child(3) { margin-left: 0; }

  .projects-cards { grid-template-columns: 1fr; }
  .projects-section-header { flex-direction: column; align-items: flex-start; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .stat-card  { padding: 28px 18px; }

  .testimonial-card { padding: 36px 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 50px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .logo-img { height: 52px; }

  .partners-track { gap: 36px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn-hero-primary,
  .btn-hero-secondary { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
