/* =========================================
   WHO WE ARE — Hero section (full CSS)
   - Full viewport on load
   - Background cover
   - Text overlay (desktop/laptop consistent)
   - Mobile reflow only on <= 768px
   ========================================= */

/* Optional (recommended) reset for full-bleed sections */
html, body{
  margin: 0;
  padding: 0;
}

/* HERO */
.who-we-are-hero{
  /* full viewport on load */
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;

  background-image: url("../../img/who_we_are.5e3fca5fc2e0.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
}

/* Use safer mobile viewport height where supported (prevents URL bar jump) */
.who-we-are-hero__overlay{
  min-height: 100vh;
  width: 100%;
  position: relative;

  /* Right-side fade to support text legibility */
  background: linear-gradient(
    to left,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.22) 35%,
    rgba(0,0,0,0.00) 70%
  );
}

@supports (height: 100svh){
  .who-we-are-hero{ min-height: 100svh; }
  .who-we-are-hero__overlay{ min-height: 100svh; }
}

/* =========================================
   Desktop/Laptop: lock the layout so it matches across screens
   ========================================= */
.who-we-are-hero__content{
  position: absolute;

  /* lock these so monitor + laptop look the same */
  top: 90px;
  right: 100px;

  width: 900px;
  max-width: 900px;

  color: #fff;
  text-align: left;

  z-index: 2;
}

.who-we-are-hero__title{
  margin: 0 0 12px;
  font-size: 64px;         /* locked */
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.who-we-are-hero__rule{
  width: 420px;
  max-width: 80%;
  height: 3px;
  background: rgba(255,255,255,0.70);
  margin: 0 0 16px;
}

/* Paragraphs: lock size so it doesn't change between monitor & laptop */
.who-we-are-hero__content p{
  margin: 0 0 14px;
  font-size: 20px;          /* locked */
  line-height: 1.9;
  color: rgba(255,255,255,1);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}


/* Bottom shadow fade */
.who-we-are-hero{
  position: relative; /* already set, keep it */
}

.who-we-are-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: clamp(60px, 10vh, 140px);
  pointer-events: none;
  z-index: 1; /* below content (z=2), above background */

  /* fade to your page/next-section color */
  /* background: linear-gradient(
    to bottom,
    rgba(47,57,64,0) 0%,
    rgba(47,57,64,0.55) 55%,
    rgba(47,57,64,0.95) 100%
  ); */
    background: linear-gradient(
    to bottom,
    rgba(220, 226, 203, 0) 50%,
    rgba(220, 226, 203, 0.98) 95%,
    rgba(220, 226, 203, 0.95) 100%
  );
}


/* =========================================
   Tablets (still keep desktop feel)
   - only slight tightening, not a redesign
   ========================================= */
@media (max-width: 1100px){
  .who-we-are-hero__content{
    right: 60px;
    top: 80px;
    width: 820px;
    max-width: 820px;
  }

  .who-we-are-hero__title{
    font-size: 56px;
  }

  .who-we-are-hero__content p{
    font-size: 18px;
  }

  .who-we-are-hero__rule{
    width: 380px;
  }
}

/* =========================================
   Mobile: reflow content so title never hides under navbar
   ========================================= */
@media (max-width: 768px){
  /* make room if navbar is fixed; adjust if needed */
  .who-we-are-hero{
    padding-top: 110px;
  }

  /* strengthen overlay on mobile for readability */
  .who-we-are-hero__overlay{
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.35) 55%,
      rgba(0,0,0,0.10) 100%
    );
  }

  .who-we-are-hero{
    background-position: 35% center;
  }

  /* stop absolute positioning on mobile */
  .who-we-are-hero__content{
    position: relative;
    top: auto;
    right: auto;
    left: auto;

    width: min(760px, 92%);
    max-width: 760px;
    margin: 0 auto;
    padding: 18px 14px;

    text-align: left;
  }

  .who-we-are-hero__title{
    font-size: clamp(28px, 7vw, 40px);
    margin-bottom: 10px;
  }

  .who-we-are-hero__rule{
    width: min(260px, 85%);
    margin-bottom: 14px;
  }

  .who-we-are-hero__content p{
    font-size: 14.5px;
    line-height: 1.75;
  }
}

/* Very small phones */
@media (max-width: 360px){
  .who-we-are-hero{
    padding-top: 120px;
  }

  .who-we-are-hero__content p{
    font-size: 14px;
  }
}
