/* =========================
   Base / Reset
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
}

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

h1,
h2,
p {
  margin: 0;
}

/* =========================
   Layout Helpers
========================= */

.container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================
   Hero (NO white box now)
========================= */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("images/main.jpeg");

  background-size: cover; /* 🔥 this is the key */
  /* background-position: calc(20% + 270px) 0%; */
  /* background-position: calc(20% + 270px) 0%; */

  background-repeat: no-repeat;
  padding: 40px 20px;
}


/* subtle overlay across whole image */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25); /* lighter tint */
}

.hero-content {
  position: absolute;

  top: 180px;   /* move DOWN */
  left: 220px;  /* move RIGHT */

  max-width: 820px;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.25rem);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #0f172a;
}

.hero p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #334155;
  max-width: 720px;
  margin: 0 auto;
}

/* =========================
   Pillars
========================= */

.pillars {
  padding: 72px 0 84px;
  background: #ffffff;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.pillar-card {
  display: flex;
  flex-direction: column;
}

.pillar-card h2 {
  font-size: 1.22rem;
  line-height: 1.25;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 18px;
  min-height: 108px;
}

.pillar-image {
  overflow: hidden;
  border-radius: 10px;
  background: #e5e7eb;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   Lower Parallax Band (NO box)
========================= */

.parallax-band {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background-image: url("images/main.jpeg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
}

/* subtle overlay instead of white box */
.parallax-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
}

.parallax-overlay {
  position: relative;
  z-index: 1;
  padding: 0; /* removed box */
  background: none;
}

.parallax-overlay h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* =========================
   Footer
========================= */

.site-footer {
  padding: 28px 20px 38px;
  text-align: center;
  background: #ffffff;
}

.site-footer p {
  font-size: 0.95rem;
  color: #64748b;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1180px) {
  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar-card p {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1280px, calc(100% - 32px));
  }

  .hero {
    min-height: 68vh;
  }

  .pillars {
    padding: 56px 0 64px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .parallax-band {
    min-height: 260px;
    background-attachment: scroll;
  }

  .parallax-overlay {
    text-align: center;
  }
}
