@media (max-width: 900px){
  .hero-content{
    grid-template-columns: 1fr;
  }

  .hero-logo{
    justify-self: start;
    margin-top: 12px;
  }
}

/* ============================================================
   4) HOME HERO
   ============================================================ */

.hero{
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.03);
  filter: contrast(1.05) saturate(1.05);
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 24% 40%, rgba(5,11,20,0.18) 0%, rgba(5,11,20,0.72) 58%, rgba(5,11,20,0.92) 100%),
    radial-gradient(1200px 900px at 50% 50%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(5,11,20,0.35) 0%, rgba(5,11,20,0.78) 70%, rgba(5,11,20,0.92) 100%);
}

.hero-content{
  position: relative;
  width: 100%;
  max-width: var(--max);
  padding: 64px 18px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 24px;
}

.hero-content::before{
  content: "";
  position: absolute;
  left: 12px;
  top: 44px;
  width: min(560px, 92%);
  height: 360px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(5,11,20,0.72) 0%, rgba(5,11,20,0.35) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 22px 60px rgba(0,0,0,0.55);
  backdrop-filter: blur(8px);
  z-index: -1;
}

.hero-copy{
  position: relative;
  z-index: 1;
}

.hero-logo{
  justify-self: end;
  align-self: start;
  width: auto;
  margin-top: 4px;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.55));
  opacity: 0.98;
}

.hero-logo img{
  height: calc(clamp(42px, 6vw, 86px) * 2.8);
  width: auto;
  display: block;
}

.hero h1{
  margin: 0;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: clamp(42px, 6vw, 86px);
  text-shadow: 0 14px 30px rgba(0,0,0,0.55);
}

.hero h1 span{
  color: rgba(85,185,255,0.95);
  text-shadow:
    0 18px 34px rgba(0,0,0,0.60),
    0 0 60px rgba(85,185,255,0.18);
}

.hero-sub{
  margin: 16px 0 22px;
  max-width: 520px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(234,242,255,0.80);
  text-shadow: 0 12px 22px rgba(0,0,0,0.55);
}

.hero-sub strong{
  color: rgba(234,242,255,0.95);
  letter-spacing: 0.3px;
}

.hero-buttons{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   FEATURED IMAGE STRIP — SINGLE (HOME)
   ============================================================ */

:root{
  --page-pad: 18px; /* matches the padding you use across sections */
}

.featured-strip-single{
  position: relative;
  max-width: var(--max);
  margin: -40px auto 14px;   /* pulls it into the hero (keep this if you like the overlap) */
  padding: 0 var(--page-pad);
  z-index: 2;
}

.featured-strip-single img{
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 34px rgba(0,0,0,0.42);
}

/* IMPORTANT: align overlay to the image edges, not the padded container */
.featured-strip-overlay{
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--page-pad);
  right: var(--page-pad);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 24px;
  gap: 6px;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(5,11,20,0.06) 0%,
    rgba(5,11,20,0.45) 55%,
    rgba(5,11,20,0.88) 100%
  );

  border-radius: var(--radius);
}

.featured-strip-overlay h2{
  margin: 0 0 6px;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.featured-strip-overlay p{
  margin: 0;
  max-width: 520px;
  color: var(--muted);
}

@media (max-width: 780px){
  .featured-strip-single{
    margin: -24px auto 12px; /* slightly less overlap on mobile */
  }

  .featured-strip-single img{
    height: 220px;
  }

  .featured-strip-overlay{
    padding: 20px;
  }
}
/* ============================================================
   HOME INTRO (CENTERED TEXT ABOVE FEATURE CARDS)
   ============================================================ */

.home-intro{
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 18px 10px;
  text-align: center;
}

.home-intro-inner{
  max-width: 820px;
  margin: 0 auto;
}

.home-intro h2{
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 14px 30px rgba(0,0,0,0.55);
}

.home-intro p{
  margin: 0 auto;
  color: var(--muted);
  max-width: 72ch;
  text-shadow: 0 10px 22px rgba(0,0,0,0.45);
}
/* ============================================================
   5) FEATURES (HOME)
   ============================================================ */

.features{
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 18px 18px;
}

.feature-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card{
  padding: 18px 18px 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
  box-shadow: 0 16px 38px rgba(0,0,0,0.45);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover{
  transform: translateY(-2px);
  border-color: rgba(85,185,255,0.35);
  background: linear-gradient(180deg, rgba(85,185,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
}

.feature-card h3{
  margin: 0 0 6px;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.feature-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.feature-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,11,20,0.3) 0%, rgba(5,11,20,0.75) 100%);
  opacity: 0;
  transition: opacity 160ms ease;
  z-index: 0;
}

.feature-card > *{
  position: relative;
  z-index: 1;
}

.feature-card-training{
  background-image: url("../../assets/images/hero/hero-skillsrefresh.png");
  background-size: cover;
  background-position: center 35%;
  border-color: rgba(255,255,255,0.16);
}

.feature-card-training::before{
  opacity: 1;
}

.feature-card-travel{
  background-image: url("../../assets/images/hero/hero-tr.png");
  background-size: cover;
  background-position: center;
  border-color: rgba(255,255,255,0.16);
}

.feature-card-travel::before{
  opacity: 1;
}

.feature-card-media{
  background-image: url("../../assets/images/hero/hero-fullface.png");
  background-size: cover;
  background-position: center;
  border-color: rgba(255,255,255,0.16);
}

.feature-card-media::before{
  opacity: 1;
}

/* ============================================================
   6) SECTIONS (WHY / CTA)
   ============================================================ */

.why-dmz{
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 18px 6px;
  text-align: center;
}
/* ============================================================
   WHY SECTION — FULL-WIDTH BACKGROUND IMAGE
   ============================================================ */

.why-bg{
  position: relative;
  width: 100%;
  margin-top: 18px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.why-bg-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  filter: brightness(1.18) contrast(1.05) saturate(1.10);
  z-index: 0;
}

/* This controls readability */
/* This controls readability (and brightness) */
.why-bg-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 50% 35%,
      rgba(5,11,20,0.22) 0%,
      rgba(5,11,20,0.62) 70%,
      rgba(5,11,20,0.76) 100%
    ),
    linear-gradient(180deg,
      rgba(5,11,20,0.50) 0%,
      rgba(5,11,20,0.72) 100%
    );
  z-index: 1;
}


.why-bg-inner{
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 54px 18px 54px; /* height of the background section */
}

/* Keep your existing why text styling, but ensure it stays crisp */
.why-bg .why-dmz{
  padding: 0;
  text-align: center;
}

.why-bg .why-dmz h2{
  text-shadow: 0 14px 30px rgba(0,0,0,0.55);
}

.why-bg .why-tagline{
  text-shadow: 0 10px 22px rgba(0,0,0,0.45);
}


.why-dmz h2{
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.why-tagline{
  margin: 0 auto;
  color: var(--muted);
  max-width: 720px;
}

.cta{
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 34px 18px 54px;
  text-align: center;
}

.cta h2{
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cta p{
  margin: 0 0 16px;
  color: var(--muted);
}
/* CTA when placed on background image */
.cta-on-bg{
  padding-top: 36px;
}

.cta-on-bg h2,
.cta-on-bg p{
  text-shadow: 0 14px 30px rgba(0,0,0,0.55);
}
