/* ===== Rare Earth Engineers — Stylesheet ===== */

:root {
  --primary: #0F4C3A;
  --primary-dark: #0A332A;
  --accent: #2BA84A;
  --accent-light: #E8F5EC;
  --dark: #0A1F1A;
  --text: #1F2A26;
  --text-muted: #5A6B66;
  --light: #F5F7F4;
  --white: #FFFFFF;
  --border: #E2E7E4;
  --slate: #4A6275;
  --slate-dark: #3A4F61;
  --max-width: 1200px;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(10, 31, 26, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 31, 26, 0.12);
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { color: var(--text); }
.muted { color: var(--text-muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--accent); color: var(--white); }
.btn-light { background: var(--white); color: var(--primary); }
.btn-light:hover { background: var(--accent); color: var(--white); }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { padding: 10px 22px; font-size: 0.9rem; }
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,31,26,0.65), rgba(15,76,58,0.45)),
    url('images/hero-bg.png') center/cover;
  z-index: 0;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* Video file has ~190px black letterbox baked into bottom of frames.
     Sizing the video element to 1080/890 of hero height pushes the black bar
     below the hero's overflow:hidden boundary so it gets clipped. */
  height: calc(100% * 1080 / 890);
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,31,26,0.65), rgba(15,76,58,0.45));
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 24px;
  width: 100%;
}
.hero h1 { color: var(--white); margin-bottom: 24px; max-width: 800px; }
.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 36px;
  max-width: 640px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-windmills {
  position: absolute;
  right: 6%;
  bottom: 12%;
  display: flex;
  gap: 32px;
  align-items: flex-end;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}
.hero-windmills .windmill { color: rgba(255,255,255,0.9); }
.hero-windmills .windmill:nth-child(1) { width: 70px; height: 100px; }
.hero-windmills .windmill:nth-child(2) { width: 100px; height: 140px; }
.hero-windmills .windmill:nth-child(3) { width: 60px; height: 90px; }
.hero-sub { min-height: 50vh; }
.hero-sub .hero-bg {
  background: linear-gradient(135deg, rgba(10,31,26,0.88), rgba(15,76,58,0.78)),
    url('https://images.unsplash.com/photo-1466611653911-95081537e5b7?w=1920&q=80') center/cover;
}

/* ===== Wind turbine animation ===== */
.windmill {
  display: inline-block;
  width: 100px;
  height: 140px;
  color: var(--white);
}
.windmill-rotor {
  animation: windmill-spin 5s linear infinite;
  transform-origin: 0 0;
}
.windmill.slow .windmill-rotor { animation-duration: 7s; }
.windmill.fast .windmill-rotor { animation-duration: 3.5s; }
@keyframes windmill-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== Sections ===== */
section { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--primary); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.85); }
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section-header .eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); }

/* ===== Trust strip ===== */
.trust-strip {
  background: var(--accent-light);
  padding: 24px 0;
  text-align: center;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.02em;
}

/* ===== Split (about snippet) ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split h2 { margin-bottom: 20px; }
.split p { margin-bottom: 16px; font-size: 1.05rem; }

/* ===== Cards ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }
.card a { font-weight: 600; font-size: 0.9rem; }
.card a::after { content: ' →'; transition: var(--transition); }
.card a:hover::after { margin-left: 4px; }

/* ===== Why us pillars ===== */
.pillar { text-align: left; padding: 24px; }
.pillar-num {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}
.pillar h4 { margin-bottom: 10px; color: var(--white); }
.pillar p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

/* ===== Sectors ===== */
.sectors {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.sector {
  flex: 1;
  min-width: 140px;
  padding: 32px 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.sector:hover { border-color: var(--accent); transform: translateY(-2px); }
.sector-icon { font-size: 2rem; margin-bottom: 12px; }
.sector h4 { font-size: 1rem; }

/* ===== CTA band ===== */
.cta-band {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== Comprehensive Solutions Split (diagonal tiles) ===== */
.split-solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.split-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.6rem;
  min-height: 460px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  letter-spacing: 0.02em;
  overflow: hidden;
  cursor: pointer;
}
.split-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform 0.7s ease;
  z-index: 0;
}
.split-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,31,26,0.35), rgba(10,31,26,0.5));
  z-index: 1;
  transition: background 0.4s ease;
}
.split-tile span {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, color 0.3s ease;
}
.split-tile:hover::before { transform: scale(1.08); }
.split-tile:hover::after {
  background: linear-gradient(135deg, rgba(43,168,74,0.25), rgba(15,76,58,0.45));
}
.split-tile:hover span { transform: scale(1.06); color: #fff; }

.split-tile.renewable {
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  margin-right: -4%;
  z-index: 2;
}
.split-tile.renewable::before {
  background-image: url('https://images.unsplash.com/photo-1466611653911-95081537e5b7?w=1200&q=80');
}
.split-tile.infra {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  margin-left: -4%;
}
.split-tile.infra::before {
  background-image: url('images/infra.jpg');
}

/* ===== Sustainable Commitment ===== */
.commitment {
  position: relative;
  padding: 120px 0;
  color: white;
  background: #1a3140;
  overflow: hidden;
}
.commitment-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.commitment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,31,26,0.5), rgba(74,98,117,0.45));
  z-index: 1;
}
.commitment .container { position: relative; z-index: 2; }
.commitment::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}
.commitment-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.commitment .eyebrow {
  display: inline-block;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.commitment h2 { color: white; margin-bottom: 16px; max-width: 600px; }
.commitment p.lead { color: rgba(255,255,255,0.92); font-size: 1.1rem; margin-bottom: 28px; max-width: 560px; }
.commitment-windmills {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  padding: 24px 0;
}
.commitment-windmills .windmill { color: rgba(255,255,255,0.95); }
.commitment-windmills .windmill:nth-child(1) { width: 90px; height: 130px; }
.commitment-windmills .windmill:nth-child(2) { width: 110px; height: 160px; }
.commitment-windmills .windmill:nth-child(3) { width: 75px; height: 110px; }
.commitment-windmills .windmill:nth-child(4) { width: 95px; height: 140px; }
.feature-circle {
  width: 280px;
  height: 280px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  margin: 0 auto;
}
.feature-circle h4 { color: var(--slate); font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.feature-circle p { color: var(--text); font-size: 0.95rem; }
.feature-orb {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--slate);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.feature-orb.top { top: -28px; left: 50%; transform: translateX(-50%); }
.feature-orb.right { right: -28px; top: 50%; transform: translateY(-50%); }
.feature-orb.bottom { bottom: -28px; left: 50%; transform: translateX(-50%); }
.feature-orb.left { left: -28px; top: 50%; transform: translateY(-50%); background: var(--accent); }

/* ===== Focused Areas (image cards) ===== */
.focused-areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.focused-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.focused-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.focused-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.focused-card-body { padding: 28px 20px; text-align: center; }
.focused-card h4 { margin-bottom: 12px; color: var(--dark); font-size: 1.1rem; }
.focused-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* ===== What We Offer (numbered list) ===== */
.offer-list {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.offer-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.offer-row:hover { padding-left: 16px; background: var(--light); }
.offer-row:last-child { border-bottom: none; }
.offer-num { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; }
.offer-title { font-size: 1.3rem; font-weight: 700; color: var(--dark); }
.offer-arrow { color: var(--accent); font-size: 1.4rem; font-weight: 700; transition: var(--transition); }
.offer-row:hover .offer-arrow { transform: translateX(4px); }

/* ===== Trusted Name / Who We Are ===== */
.trusted {
  background: linear-gradient(135deg, var(--slate), var(--slate-dark));
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.trusted::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(43,168,74,0.15), transparent 40%);
  pointer-events: none;
}
.trusted-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.trusted .eyebrow {
  display: inline-block;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.trusted h2 { color: white; margin-bottom: 24px; }
.trusted p { color: rgba(255,255,255,0.85); margin-bottom: 16px; line-height: 1.7; }
.trusted-stats {
  display: flex;
  gap: 48px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.trusted-stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 8px;
}
.trusted-stat-num span { color: var(--accent); }
.trusted-stat-label { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.trusted-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.trusted-illustration img { max-width: 100%; border-radius: var(--radius); }

/* ===== Recent Projects ===== */
.projects-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 280px;
  cursor: pointer;
  transition: var(--transition);
}
.project-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.project-tile:hover img { transform: scale(1.05); }
.project-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.project-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}
.project-dots span.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ===== Progress Section ===== */
.progress-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.progress-bars { display: flex; flex-direction: column; gap: 28px; }
.progress-row { }
.progress-label-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--dark);
  font-size: 1.05rem;
}
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  animation: progress-grow 2s ease-out forwards;
  width: 0;
}
@keyframes progress-grow {
  to { width: var(--w, 80%); }
}
.india-map {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.india-map svg,
.india-map img { max-width: 100%; height: auto; filter: drop-shadow(0 8px 20px rgba(0,0,0,0.1)); }

/* ===== Form ===== */
.form-card {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-card .btn { width: 100%; }

.contact-info { padding: 32px 0; }
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 8px; color: var(--text-muted); }
.contact-info strong { color: var(--text); }

/* ===== Service detail ===== */
.service-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.service-block .eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}
.service-block h2 { margin-bottom: 20px; }
.service-block ul { margin: 16px 0 24px; padding-left: 0; list-style: none; }
.service-block li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text);
}
.service-block li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.service-block img { border-radius: var(--radius); box-shadow: var(--shadow); position: sticky; top: 100px; }

.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 32px 0;
}
.process-step {
  text-align: center;
  padding: 20px 12px;
  background: var(--accent-light);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
}
.process-step strong { display: block; font-size: 1.4rem; color: var(--accent); margin-bottom: 4px; }

/* ===== Footer ===== */
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 80px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a { color: rgba(255,255,255,0.7); }
.footer-grid a:hover { color: var(--accent); }
.footer-brand { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .grid-4, .focused-areas { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .projects-row { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .split, .service-block-inner, .commitment-grid, .progress-grid, .trusted-grid, .split-solutions { grid-template-columns: 1fr; gap: 40px; }
  .split-tile { clip-path: none !important; margin: 0 !important; min-height: 280px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  section { padding: 64px 0; }
  .hero { min-height: 70vh; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-card { padding: 28px; }
  .hero-windmills { display: none; }
  .commitment-windmills .windmill { width: 70px !important; height: 100px !important; }
}

@media (max-width: 540px) {
  .grid-4, .focused-areas { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero p { font-size: 1.05rem; }
  .feature-circle { width: 240px; height: 240px; }
  .trusted-stats { gap: 24px; }
  .trusted-stat-num { font-size: 2.4rem; }
}

/* ===== Footer with video background ===== */
.footer-with-video {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.footer-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.85;
}
.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,26,0.55) 0%, rgba(10,31,26,0.75) 50%, rgba(10,31,26,0.85) 100%);
  z-index: 1;
}
.footer-with-video .container {
  position: relative;
  z-index: 2;
}
.footer-with-video .footer-grid h4 { color: #fff; }
.footer-with-video .footer-grid a { color: rgba(255,255,255,0.9); }
.footer-with-video .footer-grid a:hover { color: var(--accent); }
.footer-with-video .footer-tagline,
.footer-with-video .footer-grid li { color: rgba(255,255,255,0.85); }
.footer-with-video .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
}
