/* ===== Henderson Group Development — Shared Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* VARIABLES */
:root {
  --navy: #0a1628;
  --blue: #1B365D;
  --gold: #C5A572;
  --gold-light: #d4b888;
  --white: #ffffff;
  --gray: #999999;
  --gray-light: #cccccc;
  --dark: #0d1117;
  --card: rgba(27, 54, 93, 0.25);
  --card-border: rgba(197, 165, 114, 0.1);
  --card-border-hover: rgba(197, 165, 114, 0.4);
}

/* BASE */
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--white);
  background: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }

/* UTILITY */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--dark); }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-sub {
  color: var(--gray);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 40px;
}
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }
.gold { color: var(--gold); }
.highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* BUTTONS */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 44px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif;
}
.btn:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 165, 114, 0.25);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 14px 40px;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-sm { padding: 10px 28px; font-size: 0.9rem; }
.btn-lg { padding: 18px 52px; font-size: 1.1rem; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197, 165, 114, 0.15);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}
.nav-logo span { color: var(--gold); font-weight: 300; }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-link {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s;
  margin-left: 24px;
  position: relative;
}
.nav-link:hover { color: var(--gold); }
.nav-link.active { color: var(--gold); }
.nav-link.cta-link { color: var(--gold); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(27, 54, 93, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(197, 165, 114, 0.08) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}
.hero .sub {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero .sub strong { color: var(--white); }

/* Trust row */
.trust-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-num { font-size: 2rem; font-weight: 800; color: var(--gold); }
.trust-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== CARDS ===== */
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 32px 24px;
  transition: all 0.3s;
}
.card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
}
.card-icon {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ===== PROJECT CARDS ===== */
.project-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.project-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.project-card-img {
  height: 220px;
  background: linear-gradient(135deg, var(--blue), rgba(197, 165, 114, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.project-card-img .badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.project-card-body { padding: 24px; }
.project-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }
.project-card-body .location {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.project-card-body p { font-size: 0.9rem; color: var(--gray); margin-bottom: 16px; }
.project-card-meta {
  display: flex;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--card-border);
}
.project-card-meta div { font-size: 0.8rem; color: var(--gray); }
.project-card-meta strong { color: var(--white); display: block; font-size: 1rem; }

/* ===== STATS / PROOF GRID ===== */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proof-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
}
.proof-card .num { font-size: 2.2rem; font-weight: 800; color: var(--gold); }
.proof-card .label { font-size: 0.8rem; color: var(--gray); margin-top: 4px; }

/* ===== SOLUTION COMPARE ===== */
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 0;
  align-items: stretch;
}
.sol-card { border-radius: 8px; padding: 36px 28px; }
.sol-old {
  background: rgba(100, 50, 50, 0.15);
  border: 1px solid rgba(200, 80, 80, 0.2);
}
.sol-new {
  background: rgba(197, 165, 114, 0.1);
  border: 1px solid rgba(197, 165, 114, 0.3);
}
.sol-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
}
.sol-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.sol-tag.old { background: rgba(200, 80, 80, 0.2); color: #e07070; }
.sol-tag.new { background: rgba(197, 165, 114, 0.2); color: var(--gold); }
.sol-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.sol-card ul { list-style: none; padding: 0; }
.sol-card li { padding: 6px 0; font-size: 0.9rem; color: var(--gray); }
.sol-card li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
.sol-old li::before { background: #e07070; }
.sol-new li::before { background: var(--gold); }
.sol-highlight { font-size: 1.8rem; font-weight: 800; color: var(--gold); margin-top: 16px; }

/* ===== PROCESS STEPS ===== */
.steps { position: relative; max-width: 700px; margin: 0 auto; }
.steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(197, 165, 114, 0.1));
}
.step { display: flex; gap: 24px; margin-bottom: 36px; position: relative; }
.step-num {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.step-content h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.step-content p { font-size: 0.9rem; color: var(--gray); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, rgba(197, 165, 114, 0.3) 100%);
  text-align: center;
  padding: 80px 24px;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--gray-light);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* ===== FOOTER ===== */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(197, 165, 114, 0.1);
  background: var(--dark);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: var(--gray); line-height: 1.7; }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--gray); font-size: 0.85rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(197, 165, 114, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--gray); }

/* ===== PRESS / MENTIONS ===== */
.press-grid { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.press-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 20px 32px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 600;
  letter-spacing: 1px;
  min-width: 180px;
}

/* ===== ABOUT PAGE ===== */
.about-inner { display: flex; gap: 40px; align-items: flex-start; }
.about-text { flex: 1; }
.about-text p { color: var(--gray); margin-bottom: 16px; font-size: 0.95rem; }
.about-text p strong { color: var(--white); }
.about-info {
  background: var(--card);
  border: 1px solid rgba(197, 165, 114, 0.15);
  border-radius: 8px;
  padding: 28px;
  min-width: 280px;
}
.about-info p { font-size: 0.85rem; color: var(--gray); margin-bottom: 8px; }
.about-info strong { color: var(--white); }

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.team-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.team-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.team-avatar {
  display: none;
}
.gold-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
}
.team-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.team-card .role { color: var(--gold); font-size: 0.85rem; font-weight: 500; margin-bottom: 12px; }
.team-card p { color: var(--gray); font-size: 0.85rem; }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.value-card { text-align: center; padding: 24px; }
.value-icon {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 12px;
}
.value-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.value-card p { color: var(--gray); font-size: 0.85rem; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 36px;
}
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 8px;
  background: rgba(197, 165, 114, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Poppins', sans-serif;
}
.contact-item h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.contact-item p { font-size: 0.9rem; color: var(--gray); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(27, 54, 93, 0.3);
  border: 1px solid rgba(197, 165, 114, 0.2);
  border-radius: 6px;
  color: var(--white);
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-consent {
  font-size: 0.75rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ===== PIPELINE TABLE ===== */
.pipeline-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}
.pipeline-table th,
.pipeline-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--card-border);
}
.pipeline-table th {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pipeline-table td { color: var(--gray); }
.pipeline-table td strong { color: var(--white); }
.pipeline-table tr:hover td { color: var(--white); }

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 90;
  transform: translateY(100%);
  transition: transform 0.3s;
  border-top: 1px solid rgba(197, 165, 114, 0.15);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-text { font-size: 0.9rem; color: var(--gray); display: none; }
.sticky-cta .btn { padding: 12px 32px; font-size: 0.9rem; }

/* ===== QUIZ OVERLAY ===== */
.quiz-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 22, 40, 1);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.quiz-overlay.active { display: flex; }
.quiz-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s;
}
.quiz-close:hover { color: var(--white); }
.quiz-progress {
  width: 100%;
  max-width: 500px;
  height: 4px;
  background: rgba(197, 165, 114, 0.15);
  border-radius: 4px;
  margin-bottom: 40px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 4px;
  transition: width 0.4s ease;
}
.quiz-step-count { font-size: 0.8rem; color: var(--gray); margin-bottom: 8px; }
.quiz-question {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  max-width: 600px;
}
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 500px;
  width: 100%;
}
.quiz-option {
  background: var(--card);
  border: 2px solid rgba(197, 165, 114, 0.15);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}
.quiz-option:hover {
  border-color: var(--gold);
  background: rgba(197, 165, 114, 0.1);
}
.quiz-option.selected {
  border-color: var(--gold);
  background: rgba(197, 165, 114, 0.15);
}
.quiz-form {
  max-width: 420px;
  width: 100%;
  display: none;
}
.quiz-form.active { display: block; }
.quiz-success {
  display: none;
  text-align: center;
  max-width: 500px;
}
.quiz-success.active { display: block; }
.quiz-success .icon { font-size: 1.6rem; margin-bottom: 16px; color: var(--gold); font-weight: 700; }
.quiz-success h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.quiz-success p { color: var(--gray); font-size: 1rem; }

/* ===== PAGE HEADER (internal pages) ===== */
.page-header {
  padding: 140px 0 60px;
  background: var(--dark);
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(27, 54, 93, 0.3) 0%, transparent 70%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.page-header p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ===== TIMELINE ===== */
.timeline { position: relative; max-width: 700px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(197, 165, 114, 0.1));
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy);
}
.timeline-item .year {
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.timeline-item h3 { font-size: 1.05rem; font-weight: 600; margin: 4px 0; }
.timeline-item p { font-size: 0.9rem; color: var(--gray); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 0;
    transition: right 0.3s;
    border-left: 1px solid rgba(197, 165, 114, 0.15);
  }
  .nav-links.open { right: 0; }
  .nav-link { margin-left: 0; padding: 12px 0; font-size: 1rem; }

  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: 1fr; gap: 16px; }
  .sol-arrow { transform: rotate(90deg); padding: 8px 0; }
  .about-inner { flex-direction: column; }
  .trust-row { gap: 24px; }
  .trust-num { font-size: 1.5rem; }
  .quiz-options { grid-template-columns: 1fr; }
  .sticky-text { display: none; }
  .steps::before { left: 23px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-header { padding: 120px 0 40px; }

  .project-cards-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  .sticky-text { display: block; }
  .project-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .project-cards-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-cards-grid {
  display: grid;
  gap: 24px;
}

/* ===== PAGE LOAD ANIMATION ===== */
body {
  animation: pageFadeIn 0.6s ease-out;
}
@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== SCROLL FADE-IN ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ENHANCED HOVER EFFECTS ===== */
.proof-card {
  transition: all 0.3s ease;
}
.proof-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.press-item {
  transition: all 0.3s ease;
}
.press-item:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: var(--gold);
}
.value-card {
  transition: all 0.3s ease;
  border-radius: 8px;
  border: 1px solid transparent;
}
.value-card:hover {
  border-color: var(--card-border-hover);
  background: var(--card);
  transform: translateY(-4px);
}
.step {
  transition: all 0.3s ease;
}
.step:hover .step-num {
  background: var(--gold);
  color: var(--navy);
}
.contact-info-card {
  transition: all 0.3s ease;
}
.timeline-item {
  transition: all 0.3s ease;
}
.timeline-item:hover {
  transform: translateX(6px);
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(197, 165, 114, 0.2);
  padding: 12px 24px;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible {
  transform: translateY(0);
}
.cookie-banner p {
  font-size: 0.82rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.5;
  margin: 0;
}
.cookie-banner p a {
  color: var(--gold);
  text-decoration: underline;
}
.cookie-banner .btn-cookie {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 28px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s;
  white-space: nowrap;
}
.cookie-banner .btn-cookie:hover {
  background: var(--gold-light);
}
.cookie-banner .btn-cookie-outline {
  background: transparent;
  border: 1px solid var(--gray);
  color: var(--gray);
}
.cookie-banner .btn-cookie-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== IMPROVED FOOTER — Social + Newsletter ===== */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  padding: 6px 14px;
  border-radius: 6px;
  background: rgba(197, 165, 114, 0.1);
  border: 1px solid rgba(197, 165, 114, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.footer-newsletter {
  margin-top: 20px;
}
.footer-newsletter h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-newsletter-form {
  display: flex;
  gap: 8px;
}
.footer-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(27, 54, 93, 0.3);
  border: 1px solid rgba(197, 165, 114, 0.2);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  min-width: 0;
}
.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
}
.footer-newsletter-form input::placeholder {
  color: var(--gray);
}
.footer-newsletter-form button {
  padding: 10px 18px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s;
  white-space: nowrap;
}
.footer-newsletter-form button:hover {
  background: var(--gold-light);
}

/* ===== QUIZ TRANSITIONS (fade between steps) ===== */
.quiz-step {
  animation: quizFadeIn 0.35s ease-out;
}
@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-back {
  display: inline-block;
  background: none;
  border: none;
  color: var(--gray);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s;
}
.quiz-back:hover {
  color: var(--gold);
}

/* ===== MOBILE OVERLAY for hamburger menu ===== */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 768px) {
  .nav-links {
    z-index: 99;
  }
  .footer-newsletter-form {
    flex-direction: column;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 14px 16px;
  }
  .completed-projects-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== PROJECT CARD IMAGES ===== */
.project-card-image {
  overflow: hidden;
  height: 220px;
  position: relative;
}
.project-card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .project-card-image img {
  transform: scale(1.05);
}
.project-card-image .badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 14px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

/* ===== PRESS LOGOS ===== */
.press-logos {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
}
.press-logos img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.3s;
}
.press-logos img:hover {
  opacity: 0.9;
}

/* ===== TIMELINE IMAGES ===== */
.timeline-image {
  margin-top: 12px;
  border-radius: 8px;
  overflow: hidden;
}
.timeline-image img {
  max-width: 100%;
  border-radius: 8px;
  height: 180px;
  object-fit: cover;
}

/* ===== FOUNDER PHOTO ===== */
.founder-photo {
  margin: 0 auto 20px;
}
.founder-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: block;
  margin: 0 auto;
}

/* ===== HERO WITH BACKGROUND IMAGE ===== */
.hero-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 22, 40, 0.75) 0%,
    rgba(10, 22, 40, 0.85) 50%,
    rgba(10, 22, 40, 0.95) 100%
  );
  z-index: 0;
}
.hero-bg .hero-content {
  z-index: 1;
}

/* ===== PAGE HEADER WITH IMAGE ===== */
.page-header-bg {
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-header-bg::before {
  background: linear-gradient(to bottom, rgba(13, 17, 23, 0.7) 0%, rgba(13, 17, 23, 0.9) 100%);
}

/* ===== COMPLETED PROJECTS GRID ===== */
.completed-projects-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.completed-thumb {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
}
.completed-thumb:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.completed-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s;
}
.completed-thumb:hover img {
  transform: scale(1.05);
}
.completed-thumb-info {
  padding: 14px 16px;
}
.completed-thumb-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.completed-thumb-info p {
  font-size: 0.78rem;
  color: var(--gray);
}

/* ===== FOUNDER QUOTE ===== */
.founder-quote {
  font-style: italic;
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.8;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 20px 0;
  max-width: 600px;
}

/* ===== PRESS ARTICLES ===== */
.press-articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.press-article {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 24px;
  transition: all 0.3s;
}
.press-article:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.press-article h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.press-article p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.6;
}
.press-article a {
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== CONTACT BANNER ===== */
.contact-banner {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .completed-projects-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .press-articles {
    grid-template-columns: 1fr;
  }
  .founder-quote {
    font-size: 0.95rem;
  }
  .contact-banner {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .completed-projects-row {
    grid-template-columns: 1fr;
  }
}
