/* ============ BrickMe Constructions - Global Styles ============ */
:root {
  --blue: #2e3192;
  --blue-dark: #1f2266;
  --red: #e53e30;
  --red-dark: #c0392b;
  --light: #f7f8fc;
  --gray: #5a5f73;
  --dark: #1a1a2e;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(46, 49, 146, 0.1);
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 70px 0; }

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--blue);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

.section-title span { color: var(--red); }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-secondary:hover { background: var(--light); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-group { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

/* ============ Header / Navbar ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo .brick { color: var(--blue); }
.logo .me { color: var(--red); }
.logo-text {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
}
.logo-sub {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--red);
  font-weight: 700;
  margin-top: 2px;
}

.logo-img {
  height: 48px;
  width: auto;
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  color: var(--dark);
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--red); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}


/* ============ Marquee ============ */
.marquee {
  background: var(--red);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
.marquee-content {
  display: inline-flex;
  gap: 60px;
  padding-left: 60px;
  animation: marquee-scroll 22s linear infinite;
}
.marquee-content span {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.marquee-content span::before {
  content: "🏗️";
  font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif;
  margin-right: 8px;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Hero Banner Image Slideshow ============ */
.hero-banner-image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  margin: 16px auto;
  border-radius: var(--radius);
}
.hero-banner-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-banner-image img.active {
  opacity: 1;
}
.hero-banner-image + .hero {
  padding-top: 28px;
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  background: var(--red);
  opacity: 0.18;
  border-radius: 50%;
}
.hero-content { max-width: 720px; position: relative; z-index: 2; }
.hero-tag {
  display: inline-block;
  background: var(--red);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.8rem, 8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}
.hero h1 span { color: #ffd6d0; }
.hero p {
  font-size: 1.1rem;
  color: #e3e5f5;
  max-width: 600px;
}

/* ============ Pain Points ============ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.pain-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid #ececf6;
  transition: var(--transition);
}
.pain-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--red); }
.pain-card .icon { font-size: 2.2rem; margin-bottom: 14px; }
.pain-card h3 { color: var(--blue); font-size: 1.05rem; margin-bottom: 6px; }
.pain-card p { color: var(--gray); font-size: 0.92rem; }

/* ============ Highlight / GBA Banner ============ */
.highlight-banner {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.highlight-banner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.highlight-banner p { color: #ffe6e2; max-width: 520px; }
.highlight-banner .btn-secondary { color: var(--red); }

/* ============ Cards Grid (Values / Services / Who We Help) ============ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.card {
  background: var(--white);
  border: 1px solid #ececf6;
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue); }
.card .icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--light);
  font-size: 1.6rem;
  margin: 0 auto 18px;
}
.card h3 { color: var(--blue); margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--gray); font-size: 0.95rem; }
.card a.card-link { color: var(--red); font-weight: 700; font-size: 0.9rem; display: inline-block; margin-top: 12px; }

/* Alternate section background */
.bg-light { background: var(--light); }
.bg-blue { background: var(--blue); color: var(--white); }
.bg-blue .section-title { color: var(--white); }
.bg-blue .section-subtitle { color: #d8dbf2; }

/* ============ Stats / Infographic ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  text-align: center;
}
.stat-card { padding: 10px; }
.stat-number {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { color: var(--blue); font-weight: 600; font-size: 1rem; }
.stat-note { color: var(--gray); font-size: 0.85rem; margin-top: 8px; max-width: 240px; margin-left: auto; margin-right: auto; }

/* ============ Who We Help chips ============ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.who-card {
  text-align: center;
  padding: 30px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
}
.who-card:hover { background: var(--red); border-color: var(--red); }
.who-card .icon { font-size: 2rem; margin-bottom: 10px; }
.who-card h3 { font-size: 1rem; }

/* ============ Video Cards ============ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid #ececf6;
}
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%; border: 0;
}
.video-card-body { padding: 18px 20px; }
.video-card-body h3 { color: var(--blue); font-size: 1.05rem; margin-bottom: 4px; }
.video-card-body p { color: var(--gray); font-size: 0.9rem; }

/* ============ Client Reviews ============ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.review-card {
  background: var(--white);
  border: 1px solid #ececf6;
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue); }
.review-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
}
.review-avatar-placeholder {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
}
.review-stars { color: #e0a800; font-size: 1.1rem; margin-bottom: 10px; }
.review-text { color: var(--gray); font-size: 0.95rem; font-style: italic; margin-bottom: 12px; }
.review-name { color: var(--blue); font-size: 1rem; }

/* ============ Founder Banner ============ */
.founder-banner {
  display: flex;
  align-items: center;
  gap: 50px;
  background: var(--light);
  border-radius: var(--radius);
  padding: 50px;
  flex-wrap: wrap;
}
.founder-photo {
  flex: 0 0 260px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-photo {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}
.reveal.is-visible .founder-photo {
  opacity: 1;
  transform: translateY(0);
}
.founder-text { flex: 1 1 320px; }
.founder-text .role-tag {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.founder-text h2 { color: var(--blue); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.founder-text p { color: var(--gray); margin-bottom: 16px; }
.founder-quote {
  border-left: 4px solid var(--red);
  padding-left: 16px;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 18px;
}

.founder-cta {
  position: relative;
  display: inline-block;
}
.founder-cta-btn {
  padding: 12px 26px;
  font-size: 0.9rem;
  animation: cta-pop 2.6s ease-in-out infinite;
}
@keyframes cta-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.wave-badge {
  position: absolute;
  top: -34px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--white);
  color: var(--blue);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.85);
  animation: wave-pop 4s ease-in-out infinite;
}
.wave-emoji {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: wave-hand 0.6s ease-in-out infinite;
}
@keyframes wave-pop {
  0%, 45% { opacity: 0; transform: translateY(10px) scale(0.85); }
  55%, 85% { opacity: 1; transform: translateY(0) scale(1); }
  95%, 100% { opacity: 0; transform: translateY(10px) scale(0.85); }
}
@keyframes wave-hand {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(-15deg); }
}

/* ============ Footer ============ */
footer {
  background: var(--blue-dark);
  color: #cfd2ec;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}
.footer-grid h3 { color: var(--white); margin-bottom: 16px; font-size: 1.1rem; }
.footer-grid p, .footer-grid li { font-size: 0.92rem; margin-bottom: 8px; color: #b9bee0; }
.footer-grid a:hover { color: var(--red); }
.footer-logo { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.footer-logo .me { color: var(--red); }
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #8d92bb;
}
.seo-keywords {
  font-size: 0.75rem;
  color: #6d72a0;
  text-align: center;
  margin-top: 10px;
  line-height: 1.8;
}

/* ============ WhatsApp Floating Bubble ============ */
.whatsapp-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2.4s infinite;
}
.whatsapp-bubble:hover { transform: scale(1.08); }
.whatsapp-bubble svg { width: 32px; height: 32px; fill: #fff; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============ Page Header (for inner pages) ============ */
.page-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.page-header h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-header p { color: #d8dbf2; }

/* ============ Forms ============ */
.form-box {
  max-width: 640px;
  margin: 0 auto;
  background: var(--light);
  border-radius: var(--radius);
  padding: 40px;
}

.form-success-banner {
  max-width: 640px;
  margin: 0 auto;
  background: #e9f7ee;
  border: 1px solid #b6e3c6;
  border-radius: var(--radius);
  padding: 32px 40px;
  text-align: center;
  color: #1f8a3d;
  font-weight: 600;
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--blue); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6d9ee;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

/* ============ Street View / Project Cards ============ */
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #ececf6;
  background: var(--white);
}
.project-card .streetview-wrapper {
  position: relative;
  width: 100%;
  padding-top: 60%;
}
.project-card .streetview-wrapper iframe {
  position: absolute; top:0; left:0; width:100%; height:100%; border:0;
}
.project-card-body { padding: 20px; }
.project-card-body h3 { color: var(--blue); margin-bottom: 6px; }
.project-card-body p { color: var(--gray); font-size: 0.92rem; margin-bottom: 10px; }
.project-tag {
  display: inline-block;
  background: var(--light);
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
}

.project-gallery {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.project-gallery img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.project-gallery img:hover { transform: scale(1.06); box-shadow: var(--shadow); }

/* ============ Project Photo Lightbox ============ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 24px;
}
.lightbox-overlay[hidden] { display: none; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: none;
  background: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* ============ Cost Breakdown Bars (Services page) ============ */
.cost-bar-row { margin-bottom: 18px; }
.cost-bar-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-weight: 600; color: var(--blue); }
.cost-bar-track { background: var(--light); border-radius: 30px; height: 14px; overflow: hidden; }
.cost-bar-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--red)); border-radius: 30px; }

/* ============ Scroll Reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Staggered Card Reveal ============ */
.reveal-item {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-item.reveal-left { transform: translateX(-60px); }
.reveal-item.reveal-right { transform: translateX(60px); }
.reveal-item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============ Emoji Icon Animation ============ */
@keyframes icon-pop {
  0% { opacity: 0; transform: scale(0.4) rotate(-20deg); }
  60% { opacity: 1; transform: scale(1.15) rotate(6deg); }
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.pain-card .icon,
.card .icon,
.who-card .icon {
  transition: transform 0.3s ease;
}
.reveal-item .icon { opacity: 0; }
.reveal-item.is-visible .icon {
  animation: icon-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards;
}
.pain-card:hover .icon,
.card:hover .icon,
.who-card:hover .icon {
  transform: scale(1.2) rotate(-8deg);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    transform: translateY(-110%);
    visibility: hidden;
    transition: var(--transition), visibility 0s;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); visibility: visible; }
  .nav-cta { display: none; }
  .founder-banner { flex-direction: column; text-align: center; padding: 32px; }
  .founder-photo { flex: 0 0 auto; width: 220px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .marquee { padding: 8px 0; }
  .marquee-content { gap: 36px; padding-left: 36px; animation-duration: 16s; }
  .marquee-content span { font-size: 0.8rem; }

  section { padding: 40px 0; }
  .section-title { margin-bottom: 8px; }
  .section-subtitle { margin: 0 auto 24px; font-size: 0.95rem; }

  .page-header { padding: 32px 0; }
  .page-header h1 { font-size: clamp(1.4rem, 7vw, 2rem); margin-bottom: 6px; }
  .page-header p { font-size: 0.9rem; }

  .hero { padding: 24px 0 50px; }
  .hero h1 { font-size: clamp(1.5rem, 7vw, 2.4rem); margin-bottom: 12px; }
  .hero-tag { font-size: 0.65rem; padding: 4px 10px; margin-bottom: 12px; }
  .hero p { font-size: 0.95rem; }

  .founder-banner { padding: 20px; gap: 20px; }
  .founder-photo { width: 160px; }
  .founder-text .role-tag { font-size: 0.7rem; padding: 4px 12px; margin-bottom: 10px; }
  .founder-text h2 { font-size: 1.3rem; margin-bottom: 10px; }
  .founder-text p { font-size: 0.9rem; }
  .founder-quote { font-size: 0.9rem; padding-left: 12px; }
  .hero-banner-image { max-width: 260px; margin: 10px auto; }
  .btn-group { flex-wrap: nowrap; gap: 8px; }
  .btn-group .btn { flex: 1; padding: 12px 8px; font-size: 0.78rem; text-align: center; }

  .highlight-banner { padding: 24px 20px; gap: 16px; text-align: center; }
  .highlight-banner h2 { font-size: 1.25rem; margin-bottom: 8px; }
  .highlight-banner p { font-size: 0.85rem; max-width: none; }
  .highlight-banner .btn { width: 100%; padding: 12px; font-size: 0.85rem; }

  .pain-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    scrollbar-width: none;
  }
  .pain-grid::-webkit-scrollbar { display: none; }
  .pain-card {
    flex: 0 0 70%;
    scroll-snap-align: center;
    padding: 16px 10px;
  }
  .pain-card .icon { font-size: 1.6rem; margin-bottom: 8px; }
  .pain-card h3 { font-size: 0.9rem; margin-bottom: 4px; }
  .pain-card p { font-size: 0.8rem; }

  .card-grid,
  .who-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 8px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    scrollbar-width: none;
  }
  .card-grid::-webkit-scrollbar,
  .who-grid::-webkit-scrollbar { display: none; }

  .card-grid .card,
  .who-grid .who-card {
    flex: 0 0 70%;
    scroll-snap-align: center;
  }

  /* Project cards: stack vertically instead of horizontal carousel */
  .card-grid:has(.project-card) {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .card-grid .project-card {
    flex: 1 1 auto;
    scroll-snap-align: none;
  }

  .card { padding: 18px 14px; }
  .card .icon { width: 44px; height: 44px; font-size: 1.3rem; margin-bottom: 10px; }
  .card h3 { font-size: 1rem; margin-bottom: 4px; }
  .card p { font-size: 0.85rem; }

  .who-card { padding: 18px 12px; }
  .who-card .icon { font-size: 1.6rem; margin-bottom: 6px; }
  .who-card h3 { font-size: 0.9rem; }
}
