/* ============================================
   TYROW TECHNOLOGIES — Complete Stylesheet
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

/* ============================================
   CSS Variables / Root
   ============================================ */
:root {
  --bg-primary: #000000;
  --bg-card: #111111;
  --bg-card-alt: #1a1a1a;
  --accent: #e63946;
  --accent-dark: #c12e3a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --border-subtle: #2a2a2a;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

::selection {
  background: var(--accent);
  color: white;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #111;
}

::-webkit-scrollbar-thumb {
  background: #e63946;
  border-radius: 4px;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #e63946 #111;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

a {
  color: inherit;
  text-decoration: none;
}

.section-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.section-heading {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.section-subtext {
  color: var(--text-secondary);
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   Section Dividers
   ============================================ */
section {
  padding: 100px 0;
  position: relative;
  background-color: var(--bg-primary);
  z-index: 1;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.8rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 0.4rem 1rem;
  border-radius: 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.nav-logo:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 200, 255, 0.2);
}

.navbar.scrolled .nav-logo {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.04);
  padding: 0.3rem 0.8rem;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: brightness(10) saturate(0.5) drop-shadow(0 0 8px rgba(0, 200, 255, 0.35));
}

.footer .nav-logo-img {
  height: 44px;
}

.footer .nav-logo {
  background: none;
  border: none;
  padding: 0;
  backdrop-filter: none;
}

.navbar.scrolled .nav-logo-img {
  height: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION — AppTex-Style
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: transparent;
  z-index: auto;
}

.hero::before {
  content: none;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.hero-bg canvas {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Hero Heading — Multi-line with rotating word */
.hero-heading {
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-line {
  display: block;
}

.hero-line--light {
  font-weight: 400;
}

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

/* Rotating word in a red pill box */
.rotating-word-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  padding: 0.05em 0.4em;
  border-radius: 12px;
  overflow: hidden;
  height: 1.15em;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotating-word {
  position: absolute;
  display: inline-block;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rotating-word.active {
  opacity: 1;
  transform: translateY(0);
}

.rotating-word.exit-up {
  opacity: 0;
  transform: translateY(-120%);
}

.hero-sub {
  font-size: clamp(14px, 2vw, 20px);
  color: #949494;
  margin-top: 1.5rem;
  letter-spacing: 1px;
  font-weight: 500;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ============================================
   WHO WE ARE SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content .section-heading span {
  color: var(--accent);
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-visual {
  display: flex;
  flex-direction: column;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.about-image-wrapper img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(0, 0, 0, 0.4));
}

.stats-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   TECH STACK SECTION
   ============================================ */
.tech-stack {
  padding: 60px 0;
  overflow: hidden;
}

.tech-stack::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.marquee-wrapper {
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(90deg, transparent, var(--bg-primary));
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  animation: marquee 30s linear infinite;
}

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

.tech-pill {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 12px 24px;
  background: var(--bg-card-alt);
  border-radius: 50px;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 500;
  flex-shrink: 0;
  transition: all 0.3s;
}

.tech-pill:hover {
  border-color: var(--accent);
  transform: scale(1.05);
}

.tech-pill svg,
.tech-pill span.tech-icon,
.tech-pill img.tech-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.tech-pill img.tech-icon {
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.05));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.tech-pill:hover img.tech-icon {
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.12));
  transform: scale(1.1);
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(230, 57, 70, 0.15);
  border-color: var(--accent);
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.service-icon svg {
  width: 44px;
  height: 44px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
}

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

/* ============================================
   IMPACT & SUCCESS METRICS SECTION
   ============================================ */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.impact-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #ff6b6b);
  opacity: 0;
  transition: opacity 0.4s;
}

.impact-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(230, 57, 70, 0.15);
}

.impact-card:hover::before {
  opacity: 1;
}

.impact-icon {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impact-icon svg {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}

.impact-card:hover .impact-icon svg {
  transform: scale(1.15);
}

.impact-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.impact-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

.impact-label span {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 0.85rem;
}

.impact-cta {
  margin-top: 3rem;
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.08), transparent);
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.impact-cta p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-weight: 500;
}


/* ============================================
   OUR PROCESS — Horizontal Timeline
   ============================================ */
.process-section {
  padding: 100px 0;
  overflow: hidden;
}

.process-timeline {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  gap: 0;
}

/* Thin gradient line spanning across all steps at badge level */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(230, 57, 70, 0.15));
  z-index: 0;
  pointer-events: none;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 1rem;
  z-index: 1;
}

.step-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff6b6b);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 20px rgba(230, 57, 70, 0.3);
  transition: all 0.4s ease;
}

.process-step:hover .step-badge {
  transform: scale(1.1);
  box-shadow: 0 0 0 4px var(--bg-primary), 0 0 30px rgba(230, 57, 70, 0.5);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 220px;
  margin: 0 auto;
}

/* Hover lift — quick transition (0.4s) */
.process-step:hover {
  transform: translateY(-4px);
  transition-duration: 0.4s;
}

/* Entrance uses our custom cascade (not the base .fade-up 'all 0.8s') */
.process-step.fade-up {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item.active {
  border-color: var(--accent);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-heading);
  transition: all 0.3s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 2rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   QUOTE FORM SECTION
   ============================================ */
.quote-section {
  background: var(--bg-card);
}

.quote-form-container {
  max-width: 600px;
  margin: 3rem auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select option {
  background: var(--bg-card);
}

/* ============================================
   CTA BANNER SECTION
   ============================================ */
.cta-banner {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-card), var(--bg-primary));
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?w=1400') center / cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 0.5rem;
}

.cta-banner .gradient-text {
  background: linear-gradient(135deg, var(--accent), #ff6b6b, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-banner .btn {
  margin-top: 2rem;
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 350px;
}

.footer-brand .contact-info {
  margin-top: 1.5rem;
}

.footer-brand .contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.footer-bottom a {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.newsletter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  padding: 10px 16px;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 250px;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 10px 24px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s;
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: white;
  transition: color 0.3s;
}

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

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-heading {
    font-size: clamp(40px, 10vw, 60px);
  }

  .rotating-word-wrapper {
    border-radius: 8px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  section {
    padding: 60px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .impact-number {
    font-size: 2.2rem;
  }

  .faq-question {
    padding: 1.2rem 1.5rem;
  }

  .cta-banner h2 {
    font-size: 2rem;
  }

  /* Process timeline: stack vertically on mobile */
  .process-timeline {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
    max-width: 500px;
    width: 100%;
    padding: 0;
    position: relative;
  }

  /* Vertical connector line */
  .process-step::before {
    content: '';
    position: absolute;
    left: 29px;
    top: 60px;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(230, 57, 70, 0.1));
    z-index: 0;
  }

  .process-step:last-child::before {
    display: none;
  }

  .step-badge {
    margin: 0;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
  }

  .step-content {
    flex: 1;
    padding-top: 12px;
  }

  .step-content p {
    max-width: 100%;
    margin: 0;
  }

  .process-step:hover {
    transform: none;
  }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    padding: 12px 24px;
  }

  .hero-heading {
    letter-spacing: -1px;
  }
}