/* =========================
   AL-NAJASH — Premium Theme
   ========================= */

:root{
  /* If your logo green differs, change --accent and --accent2 */
  --bg: #070b0a;
  --bg2: #0b1210;
  --surface: rgba(255,255,255,.06);
  --surface2: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.12);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);

  --accent: #6EE7A8;   /* light green */
  --accent2: #9CFFCC;  /* lighter highlight */
  --shadow: 0 24px 80px rgba(0,0,0,.48);

  --radius: 18px;
  --radius2: 26px;

  --max: 1120px;
  --maxWide: 1320px;

  --ease: cubic-bezier(.2,.85,.2,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
 font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--text);
  background: radial-gradient(1200px 600px at 15% 0%, rgba(110,231,168,.18), transparent 45%),
              radial-gradient(900px 500px at 85% 10%, rgba(156,255,204,.12), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button, input, select, textarea{ font:inherit; }

.container{
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

/* Wider container ONLY for navbar so items can sit closer to edges */
.header .container{
  width: min(1320px, calc(100% - 1.25rem));
}
.muted{ color: var(--muted); }
.tiny{ font-size:.85rem; }

/* =========================
   Intro / Preloader
   ========================= */
.intro{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none; /* shown by JS */
  place-items:center;
  padding: 1.25rem;

  opacity: 0;
  transition: opacity .45s var(--ease);
}
.intro.is-on{
  display:grid;
  opacity: 1;
}
.intro.is-hiding{
  opacity: 0;
}
.intro.is-on{ display:grid; }

.intro__bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(110,231,168,.20), transparent 50%),
    radial-gradient(800px 500px at 80% 20%, rgba(156,255,204,.14), transparent 55%),
    linear-gradient(180deg, rgba(7,11,10,.92), rgba(11,18,16,.98));
  backdrop-filter: blur(10px);
}

.intro__card{
  position:relative;
  width:min(560px, 100%);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.1rem;
  overflow:hidden;
}
.intro__card--spinner{
  width: min(360px, 92vw);
  padding: 2.2rem;
  display: grid;
  place-items: center;
}

.intro__spinner{
  width: 64px;
  height: 64px;
  border-radius: 999px;

  /* outer ring */
  border: 2px solid rgba(255,255,255,.14);

  /* spinning highlight */
  border-top-color: rgba(110,231,168,.95);
  border-right-color: rgba(156,255,204,.70);

  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  animation: introSpin .95s linear infinite;
}

@keyframes introSpin{
  to { transform: rotate(360deg); }
}
.intro__card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: conic-gradient(from 180deg, transparent, rgba(110,231,168,.65), transparent 35%, rgba(156,255,204,.45), transparent 70%);
  opacity:.22;
  filter: blur(20px);
  transform: translate3d(0,0,0);
  animation: spin 2.4s linear infinite;
  pointer-events:none;
}

@keyframes spin{ to{ transform: rotate(360deg); } }

.intro__brand{
  position:relative;
  display:flex;
  align-items:center;
  gap: .9rem;
}

.intro__logo{
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.12);
  padding: .45rem;
}

.intro__name{
  letter-spacing: .18em;
  font-weight: 800;
  font-size: 1.05rem;
}
.intro__sub{
  color: var(--muted);
  font-size: .9rem;
  letter-spacing: .12em;
}

.intro__line{
  position:relative;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110,231,168,.7), rgba(255,255,255,.12), transparent);
  margin: 1rem 0 .9rem;
}

.intro__tag{
  position:relative;
  margin: 0 0 1rem;
  color: rgba(255,255,255,.78);
  line-height: 1.5;
}

.intro__progress{
  position:relative;
  height: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
}

.intro__bar{
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(110,231,168,.95), rgba(156,255,204,.95));
  box-shadow: 0 10px 30px rgba(110,231,168,.25);
  transition: width 2.6s var(--ease);
}

.intro__skip{
  margin-top: .95rem;
  width: 100%;
}


/* =========================
   Header / Nav
   ========================= */
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}



/* transparent on top */
.header--transparent{
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
}


/* Force navbar area fully transparent on landing */
.header--transparent:not(.is-scrolled){
  background: transparent !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
}

/* Also remove any accidental "panel" feel from the nav row on landing */
.header--transparent:not(.is-scrolled) .nav{
  background: transparent !important;
}

/* becomes glass when scrolling */


.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: .9rem 0;
  gap: 1rem;
}

.brand{
  display:flex;
  align-items:center;
  gap: .75rem;
  min-width: 220px;
}
.brand__logo{
  width: 136px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(10,14,12,.10);
  padding: .38rem .62rem;
  flex: 0 0 auto;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* On landing, keep logo clean (no box background) */
.header--transparent:not(.is-scrolled) .brand__logo{
  background: #ffffff;
  border-color: rgba(10,14,12,.10);
}
.brand__text{ display:flex; flex-direction:column; line-height:1.05; }
.brand__name{
  font-weight: 900;
  letter-spacing: .12em;
  font-size: .98rem;
}
.brand--footer .brand__logo{
  width: 148px;
  max-height: 62px;
}

@media (max-width: 700px){
  .brand__logo{
    width: 112px;
    max-height: 50px;
    padding: .32rem .5rem;
  }

  .brand--footer .brand__logo{
    width: 122px;
    max-height: 52px;
  }
}
.nav__toggle{
  display:inline-flex;
  flex-direction:column;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  padding: .55rem .6rem;
  cursor:pointer;
}
.nav__toggleLine{
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 10px;
  transition: transform .25s var(--ease), opacity .2s ease;
}

.nav__links{
  display:none;
  align-items:center;
  gap: .2rem;
}
.nav__link{
  padding: .55rem .7rem;
  border-radius: 12px;
  color: rgba(255,255,255,.78);
  transition: background .2s ease, color .2s ease, transform .2s var(--ease);
}
.nav__link:hover{
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  /* no movement */
}
.nav__link.active{
  color: rgba(255,255,255,.95);
  /* green bar added below via ::after */
}


/* ===== Landing: absolutely no nav fills/tints ===== */
.header--transparent:not(.is-scrolled) .nav__link{
  background: transparent !important;
  border-color: transparent !important;
}

.header--transparent:not(.is-scrolled) .nav__link:hover{
  background: rgba(255,255,255,.06) !important; /* subtle hover only */
}

.header--transparent:not(.is-scrolled) .nav__toggle{
  background: transparent !important;
}

.header--transparent:not(.is-scrolled) .brand__logo{
  background: transparent !important;
}
/* Default CTA (works when scrolled) */
.nav__link--cta{
  margin-left: .25rem;
  background: linear-gradient(90deg, rgba(110,231,168,.22), rgba(156,255,204,.18));
  border: 1px solid rgba(110,231,168,.22);
  color: rgba(255,255,255,.92);
}

/* On top (transparent header): keep CTA minimal, no green fill */
.header--transparent:not(.is-scrolled) .nav__link--cta{
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
}

/* On top, hover should still feel premium */
.header--transparent:not(.is-scrolled) .nav__link--cta:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
}

@media (min-width: 980px){
  .nav__toggle{ display:none; }
  .nav__links{ display:flex; }
}

/* Mobile menu overlay-ish */
.nav__links.is-open{
  display:flex;
  flex-direction:column;
  position:absolute;
  left:1rem;
  right:1rem;
top: 74px; /* header height approximation */
  padding: .75rem;
  gap: .3rem;
  border-radius: var(--radius);
  background: rgba(11,18,16,.92);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}


/* ===== GREEN SLIDING BAR UNDER ACTIVE LINK ===== */
.nav__link{
  position: relative;
}

.nav__link::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;                 /* SPACE between text and bar */
  width: 0;
  height: 3.5px;
  background: var(--accent);
  border-radius: 999px;
  transition: width .4s cubic-bezier(.4,0,.2,1);
}

.nav__link.active::after{
  width: 68%;                   /* SHORTER bar length */
}

/* =========================
   Buttons
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .18s var(--ease), filter .2s ease, background .2s ease;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: linear-gradient(90deg, rgba(110,231,168,.95), rgba(156,255,204,.90));
  color: rgba(0,0,0,.85);
  font-weight: 800;
  border-color: rgba(255,255,255,.10);
}
.btn--primary:hover{ filter: brightness(1.02); }

.btn--secondary{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.9);
}
.btn--secondary:hover{ background: rgba(255,255,255,.08); }

.btn--ghost{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
}
.btn--ghost:hover{ background: rgba(255,255,255,.06); }

/* =========================
   Hero
   ========================= */
.hero{
  position: relative;
  min-height: 100vh;                  /* full screen */
  padding: 6.2rem 0 3.2rem;           /* space for navbar */
  display: flex;
  align-items: center;                /* vertically center text */
  overflow: hidden;
}
.hero__grid--single{
  grid-template-columns: 1fr !important;
  max-width: 760px;
  margin-left: 0;          /* push content to left */
}

.hero__copy{
  padding-left: 100px;   /* your requested spacing from left */
}

@media (max-width: 700px){
  .hero__copy{
    padding-left: 18px;  /* keep it nice on mobile */
  }
}


.hero__bg{
  position: absolute;
  inset: -2px;
  pointer-events: none;
  overflow: hidden;
}

.hero__bg::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(7,11,10,.50), rgba(7,11,10,.78));
}

.hero__bgLayer{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.15s ease,
    transform 7s cubic-bezier(.2,.85,.2,1);
  will-change: opacity, transform;
}

.hero__bgLayer.is-active{
  opacity: 1;
  transform: scale(1);
}
.hero__grid{
  position:relative;
  display:grid;
  gap: 1.5rem;
  align-items:center;
}

@media (min-width: 980px){
  .hero{ padding: 4.6rem 0 3.2rem; }
  .hero__grid{ grid-template-columns: 1.05fr .95fr; gap: 2rem; }
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
  margin-bottom: 1rem;
  width: fit-content;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(110,231,168,.15);
  animation: majesticBlink 2.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes majesticBlink{
  0%{
    opacity: .55;
    transform: scale(.92);
    box-shadow: 0 0 0 0 rgba(110,231,168,.30), 0 0 0 6px rgba(110,231,168,.10);
  }
  35%{
    opacity: 1;
    transform: scale(1.12);
    box-shadow: 0 0 0 8px rgba(110,231,168,.10), 0 0 18px rgba(110,231,168,.35);
  }
  70%{
    opacity: .7;
    transform: scale(.98);
    box-shadow: 0 0 0 3px rgba(110,231,168,.14), 0 0 8px rgba(110,231,168,.18);
  }
  100%{
    opacity: .55;
    transform: scale(.92);
    box-shadow: 0 0 0 0 rgba(110,231,168,.30), 0 0 0 6px rgba(110,231,168,.10);
  }
}

.hero__title{
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.06;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.accent{ color: var(--accent2); }

.hero__lead{
  margin: 0 0 1.35rem;
  color: rgba(255,255,255,.78);
  line-height: 1.65;
  font-size: 1.03rem;
}

.hero__cta{
  display:flex;
  gap: .8rem;
  flex-wrap:wrap;
  margin-bottom: 1.35rem;
}

.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .75rem;
}
.stat{
  padding: .85rem .9rem;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.stat__num{
  font-weight: 900;
  letter-spacing: .04em;
}
.stat__label{
  color: var(--muted);
  font-size: .88rem;
  margin-top: .2rem;
}

/* Glass hero card */
.glassCard{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.glassCard__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 1rem 1rem .8rem;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding: .35rem .55rem;
  border-radius: 999px;
  background: rgba(110,231,168,.12);
  border: 1px solid rgba(110,231,168,.20);
  color: rgba(255,255,255,.88);
  font-size: .9rem;
}
.chip__dot{
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--accent);
}
.glassCard__badge{
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}

.mosaic{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  grid-template-rows: 160px 160px;
  gap: .6rem;
  padding: 0 1rem 1rem;
}
.mosaic img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
}
.mosaic img:nth-child(1){
  grid-row: 1 / span 2;
}

.glassCard__bottom{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
}
.mini__title{ font-weight: 850; }
.mini__sub{ color: var(--muted); margin-top:.2rem; font-size:.95rem; }
.mini__link{
  color: var(--accent2);
  opacity:.9;
}
.mini__link:hover{ opacity:1; }


/* =========================
   Video Modal
   ========================= */
body.modal-open{
  overflow: hidden;
}

.videoModal{
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.videoModal.is-open{
  opacity: 1;
  pointer-events: auto;
}

.videoModal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(5,10,8,.72);
  backdrop-filter: blur(10px);
}

.videoModal__dialog{
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  border-radius: 28px;
  overflow: hidden;
  background: #08100d;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
  transform: translateY(18px) scale(.98);
  transition: transform .3s var(--ease);
}

.videoModal.is-open .videoModal__dialog{
  transform: translateY(0) scale(1);
}

.videoModal__media{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.videoModal__media video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.videoModal__close{
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(7,11,10,.72);
  color: rgba(255,255,255,.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform .2s var(--ease), background .2s ease;
}

.videoModal__close svg{
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.videoModal__close:hover{
  transform: scale(1.04);
  background: rgba(7,11,10,.92);
}

.videoModal__close:hover{
  transform: scale(1.04);
  background: rgba(7,11,10,.92);
}

/* =========================
   Sections
   ========================= */
.section{
  padding: 3.1rem 0;
}

/* =========================
   About (Light Mode Section)
   ========================= */
#about{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  color: rgba(10,14,12,.92);
}
/* About container wider (content spreads more) */
#about .container{
  width: min(var(--maxWide), calc(100% - 1.25rem));
}

#about .muted,
#about .section__sub{
  color: rgba(10,14,12,.66);
}

/* Slightly bolder title in light mode */
#about .section__title{
  color: rgba(10,14,12,.94);
}

/* About cards become bright/premium */
#about .aboutCard{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(10,14,12,.10);
  box-shadow: 0 18px 55px rgba(0,0,0,.12);
}

#about .aboutCard::before{
  opacity: .14;
}

/* Media layout */
.aboutCard--media{
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.aboutCard__media{
  width: 100%;
  height: 210px;
  overflow: hidden;
  padding: .9rem .9rem 0;  /* gives the image breathing space */
}

.aboutCard__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px; /* NOW rounded */
  border: 1px solid rgba(10,14,12,.10);
  transform: scale(1.02);
  transition: transform .8s var(--ease), filter .8s var(--ease);
  filter: saturate(1.02) contrast(1.02);
  will-change: transform;
}

/* Body spacing */
.aboutCard__body{
  padding: 1.15rem 1.15rem 1.25rem;
}

#about .aboutCard h3{
  color: rgba(10,14,12,.92);
}

#about .aboutCard p{
  color: rgba(10,14,12,.72);
}

/* When card enters view, image settles */
.aboutCard.in-view .aboutCard__media img{
  transform: scale(1);
}

/* Hover zoom (premium) */
.aboutCard:hover .aboutCard__media img{
  transform: scale(1.06);
}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}



/* =========================
   Light Mode Sections (Services + others)
   ========================= */

/* Widen all "light" sections like About */
.section--light .container{
  width: min(var(--maxWide), calc(100% - 1.25rem));
}

/* Light section base */
.section--light{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  color: rgba(10,14,12,.92);
}

/* Light headings + muted text */
.section--light .section__sub,
.section--light .muted{
  color: rgba(10,14,12,.66);
}
.section--light .section__title{
  color: rgba(10,14,12,.94);
}

/* Cards inside light sections */
.section--light .card,
.section--light .valueCard,
.section--light .teamCard,
.section--light .faq,
.section--light .quote,
.section--light .contactInfo__card,
.section--light .form,
.section--light .contactItem{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(10,14,12,.10);
  box-shadow: 0 18px 55px rgba(0,0,0,.10);
}

/* Text inside cards */
.section--light .card p,
.section--light .valueCard p,
.section--light .quote p{
  color: rgba(10,14,12,.72);
}

/* Icon container stays premium */
.section--light .card__icon,
.section--light .valueCard__icon,
.section--light .contactItem__icon,
.section--light .faq__icon{
  background: rgba(110,231,168,.14);
  border: 1px solid rgba(110,231,168,.22);
  color: rgba(10,14,12,.90);
}

/* Generic SVG UI icon */
.uiIcon{
  width: 22px;
  height: 22px;
  display:block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--accent);
}


/* ✅ Force readable text in LIGHT sections */
.section--light p,
.section--light li,
.section--light .section__sub{
  color: rgba(10,14,12,.72);
}

.section--light h3,
.section--light h4{
  color: rgba(10,14,12,.92);
}

/* FAQ fixes (was still white) */
.section--light .faq__q{
  color: rgba(10,14,12,.92);
  border-bottom: 1px solid rgba(10,14,12,.10);
}
.section--light .faq__q:hover{
  background: rgba(0,0,0,.03);
}
.section--light .faq__a{
  color: rgba(10,14,12,.72);
}

/* Form fixes (labels + inputs were still dark-theme) */
.section--light .field span{
  color: rgba(10,14,12,.78);
}
.section--light .field input,
.section--light .field select,
.section--light .field textarea{
  background: rgba(255,255,255,.88);
  color: rgba(10,14,12,.92);
  border: 1px solid rgba(10,14,12,.14);
}
.section--light .field input:focus,
.section--light .field select:focus,
.section--light .field textarea:focus{
  border-color: rgba(110,231,168,.55);
  box-shadow: 0 0 0 5px rgba(110,231,168,.18);
}

/* Contact small cards */
.section--light .contactItem{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(10,14,12,.12);
}

/* Social icons visibility (were white-on-white-ish) */
.section--light .social{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(10,14,12,.14);
  color: rgba(10,14,12,.88);
}
.section--light .social:hover{
  background: rgba(255,255,255,.96);
}








.section__head{
  display:flex;
  flex-direction:column;
  gap: .5rem;
  margin-bottom: 1.4rem;
}
.section__title{
  margin:0;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  letter-spacing: -0.01em;
}
.section__sub{
  margin:0;
  color: rgba(255,255,255,.74);
  line-height: 1.6;
  max-width: 64ch;
}

/* About cards */
.aboutGrid{
  display:grid;
  gap: 1rem;
}
@media (min-width: 980px){
  .aboutGrid{ grid-template-columns: 1fr 1fr; }
}
.aboutCard{
  padding: 1.2rem 1.15rem;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 55px rgba(0,0,0,.32);
  position:relative;
  overflow:hidden;
}
.aboutCard::before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(500px 240px at 20% 20%, rgba(110,231,168,.12), transparent 55%);
  pointer-events:none;
}
.aboutCard__icon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(110,231,168,.14);
  border: 1px solid rgba(110,231,168,.22);
  margin-bottom: .75rem;
  position:relative;
}

.aboutCard__icon .aboutIcon{
  width: 22px;
  height: 22px;
  display:block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: rgba(110,231,168,.95);
}
.aboutCard h3{
  margin: 0 0 .6rem;
  letter-spacing: .08em;
  font-size: 1rem;
}
.aboutCard p{
  margin:0;
  color: rgba(255,255,255,.76);
  line-height: 1.7;
  position:relative;
}

/* Services cards */
.cards3{
  display:grid;
  gap: 1rem;
}
@media (min-width: 980px){
  .cards3{ grid-template-columns: repeat(2, 1fr); }
}
.card{
  padding: 1.2rem 1.15rem;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .25s var(--ease), background .25s ease, border-color .25s ease;
  position:relative;
}
.card:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,.06);
  border-color: rgba(110,231,168,.22);
}
.card__icon{
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  background: rgba(110,231,168,.12);
  border: 1px solid rgba(110,231,168,.20);
  margin-bottom: .75rem;
  font-size: 1.25rem;
}
.card h3{ margin:0 0 .55rem; }
.card p{ margin:0 0 .85rem; color: rgba(255,255,255,.74); line-height:1.7; }
.card__meta{ color: var(--muted); font-size:.92rem; }

/* ✅ Force Services (light sections) card text to be dark */
.section--light .card h3{
  color: rgba(10,14,12,.92);
}
.section--light .card p{
  color: rgba(10,14,12,.72);
}
.section--light .card__meta{
  color: rgba(10,14,12,.60);
}

/* Listings */
.listings{
  display:grid;
  gap: 1rem;
}
@media (min-width: 980px){
  .listings{ grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
}
.listing{
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: transform .25s var(--ease), border-color .25s ease;
}
.listing:hover{
  transform: translateY(-4px);
  border-color: rgba(110,231,168,.22);
}
.listing__img{
  position:relative;
  height: 210px;
}
.listing__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter: saturate(1.02) contrast(1.02);
  transform: scale(1.01);
}
.tag{
  position:absolute;
  left: 14px;
  top: 14px;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-size: .9rem;
  backdrop-filter: blur(8px);
}
.tag--alt{ background: rgba(110,231,168,.18); border-color: rgba(110,231,168,.25); }

.listing__body{ padding: 1rem 1rem 1.1rem; }
.listing__body h3{ margin:0 0 .3rem; }
.listing__row{
  display:flex;
  flex-wrap:wrap;
  gap: .45rem;
  margin-top: .75rem;
}
.listing__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top: .95rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.price{
  font-weight: 900;
  color: rgba(255,255,255,.88);
}
.link{
  color: var(--accent2);
  opacity:.95;
}
.link:hover{ opacity:1; }

/* Values */
.valueGrid{
  display:grid;
  gap: 1rem;
}
@media (min-width: 980px){
  .valueGrid{ grid-template-columns: repeat(3, 1fr); }
}
.valueCard{
  padding: 1.15rem 1.05rem;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .25s var(--ease), border-color .25s ease;
}
.valueCard:hover{
  transform: translateY(-4px);
  border-color: rgba(110,231,168,.22);
}
.valueCard__icon{
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  background: rgba(110,231,168,.12);
  border: 1px solid rgba(110,231,168,.20);
  margin-bottom: .75rem;
  font-size: 1.25rem;
}
.valueCard h3{ margin:0 0 .4rem; }
.valueCard p{ margin:0; color: rgba(255,255,255,.74); line-height:1.7; }

.ctaBand{
  margin-top: 1.2rem;
  padding: 1.1rem 1.1rem;
  border-radius: var(--radius2);
  background: radial-gradient(700px 300px at 20% 0%, rgba(110,231,168,.14), transparent 55%),
              rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  display:flex;
  gap:1rem;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.ctaBand h3{ margin:0 0 .2rem; }
.ctaBand p{ margin:0; }




/* Team */
.teamGrid{
  display:grid;
  gap: 1rem;
}

.teamCard{
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease;
}

.teamCard:hover{
  transform: translateY(-4px);
  border-color: rgba(110,231,168,.22);
  box-shadow: 0 20px 60px rgba(0,0,0,.10);
}

/* ===== PERFECT TEAM IMAGE FIT (NO CROPPING) ===== */

/* ===== TEAM IMAGE BLEND FIX (NO “SITTING ON TOP”) ===== */

.teamCard{
  overflow: hidden; /* ensures image respects top border radius */
}

/* ===== TEAM IMAGES: square for members, wide for family ===== */

/* keep radius clipping perfect */
.teamCard{
  overflow: hidden;
}

/* ✅ ONLY normal team member cards become square */
.teamCard:not(.teamCard--family):not(.teamCard--lead) img{
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  padding: 0;
  display: block;
}

/* ✅ Family card goes back to a normal photo crop (fills the top area nicely) */
.teamCard--family img{
  width: 100%;
  height: 320px;          /* desktop look */
  object-fit: cover;      /* fills nicely */
  object-position: center;
  background: transparent;
  padding: 0;
  display: block;
}

/* ✅ Mobile adjustment (matches your earlier family height) */
@media (max-width: 979px){
  .teamCard--family img{
    height: 260px;
  }
}

.teamCard__body{
  padding: 1rem 1.05rem 1.1rem;
}

.teamCard__body h3{
  margin:0 0 .25rem;
}

.teamCard__bio{
  margin: 0;
  color: rgba(10,14,12,.72);
  line-height: 1.75;
  font-size: .98rem;
}

.teamCard__bioWrap{
  margin-top: .85rem;
}

.teamBioToggle{
  margin-top: .75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(9,110,67,.95);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.teamBioToggle:hover{
  color: rgba(6,92,55,.95);
}

.teamCard--lead{
  display:flex;
  flex-direction:column;
}

.teamCard--lead img{
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
  padding: 16px;
}
.teamCard--lead .teamCard__body{
  display:block;
  padding: 1.2rem 1.15rem 1.25rem;
}

.teamCard--lead .teamCard__body h3{
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.teamCard--family img{
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  padding: 12px;
}

.teamCard--family .teamCard__body{
  text-align:center;
}

@media (min-width: 980px){
  .teamGrid{
    grid-template-columns: repeat(4, 1fr);
  }

  .teamCard--lead,
  .teamCard--family{
    grid-column: 1 / -1;
  }

  .teamCard--lead{
    display:grid;
    grid-template-columns: 360px 1fr;
    align-items: stretch;
  }

.teamCard--lead img{
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
}

  .teamCard--lead .teamCard__body{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding: 1.5rem 1.45rem;
  }

  .teamBioToggle{
    display: none;
  }

  .teamCard__bioWrap{
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 979px){
  .teamCard--lead{
    display:flex;
    flex-direction:column;
  }

  .teamCard--lead img{
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,248,246,.96));
    padding: .7rem;
  }

  .teamCard--lead .teamCard__body{
    position: static;
    background: rgba(255,255,255,.92);
  }

  .teamCard__bioWrap{
    display: none;
  }

  .teamCard__bioWrap.is-open{
    display: block;
  }

  .teamCard--family img{
    height: 260px;
  }
}




/* FAQ accordion */
.faq{
  border-radius: var(--radius2);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.faq__q{
  width:100%;
  text-align:left;
  padding: 1rem 1rem;
  background: transparent;
  border:0;
  color: rgba(255,255,255,.90);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  cursor:pointer;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.faq__q:hover{ background: rgba(255,255,255,.03); }
.faq__icon{
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(110,231,168,.10);
  border: 1px solid rgba(110,231,168,.18);
  color: rgba(255,255,255,.9);
  transition: transform .25s var(--ease);
}
.faq__q[aria-expanded="true"] .faq__icon{ transform: rotate(45deg); }

.faq__a{
  max-height: 0;
  overflow:hidden;
  transition: max-height .35s var(--ease);
  padding: 0 1rem;
  color: rgba(255,255,255,.74);
  line-height: 1.7;
}
.faq__a.is-open{
  padding: 0 1rem 1rem;
}

/* Testimonials */
.testGrid{
  display:grid;
  gap: 1rem;
}
@media (min-width: 980px){
  .testGrid{ grid-template-columns: repeat(3, 1fr); }
}
.quote{
  padding: 1.1rem 1.05rem;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.quote__stars{
  color: var(--accent2);
  letter-spacing: .12em;
  margin-bottom: .6rem;
}
.quote p{ margin:0 0 1rem; color: rgba(255,255,255,.74); line-height: 1.7; }
.quote__who{
  display:flex;
  align-items:center;
  gap: .75rem;
}
.quote__who img{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  object-fit:cover;
  border: 1px solid rgba(255,255,255,.12);
}
.quote__name{ font-weight: 850; }

/* Contact */
.contactGrid{
  display:grid;
  gap: 1rem;
}
@media (min-width: 980px){
  .contactGrid{ grid-template-columns: .95fr 1.05fr; gap: 1.25rem; }
}
.contactInfo__card{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  padding: 1.2rem 1.1rem;
}
.contactInfo__items{
  margin-top: 1rem;
  display:grid;
  gap: .75rem;
}
.contactItem{
  display:flex;
  gap: .75rem;
  align-items:flex-start;
  padding: .8rem .85rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.10);
}

.contactItem--link{
  text-decoration: none;
  color: inherit;
  transition: transform .18s var(--ease), border-color .2s ease, background .2s ease;
}

.contactItem--link:hover{
  transform: translateY(-2px);
  border-color: rgba(110,231,168,.28);
  background: rgba(255,255,255,.04);
}
.contactItem__icon{
  width: 38px;
  height: 38px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(110,231,168,.12);
  border: 1px solid rgba(110,231,168,.20);
}
.contactItem__label{ font-weight: 850; }

.socialRow{
  margin-top: 1rem;
  display:flex;
  gap: .55rem;
  flex-wrap:wrap;
}
.social{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.88);
  transition: transform .18s var(--ease), background .2s ease;
  overflow: hidden;
}

.social__img,
.social__svg{
  width: 20px;
  height: 20px;
  display: block;
}

.social__img{
  object-fit: contain;
  display: none;
}

.social__svg{
  fill: currentColor;
}

.social.has-image .social__img{
  display: block;
}

.social.has-image .social__svg{
  display: none;
}

.social:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
}

/* Form */
.form{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  padding: 1.2rem 1.1rem;
}
.form__row{
  display:grid;
  gap: .75rem;
}
@media (min-width: 720px){
  .form__row{ grid-template-columns: 1fr 1fr; }
}
.field{
  display:grid;
  gap: .35rem;
  margin-bottom: .75rem;
}
.field span{
  color: rgba(255,255,255,.78);
  font-size: .95rem;
}
.field input,
.field select,
.field textarea{
  width:100%;
  padding: .85rem .9rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
  outline:none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(110,231,168,.35);
  box-shadow: 0 0 0 5px rgba(110,231,168,.14);
}
.field textarea{ resize: vertical; min-height: 130px; }

/* Footer */
.footer{
  padding: 2.6rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.10);
}
.footer__grid{
  display:grid;
  gap: 1.2rem;
}
@media (min-width: 980px){
  .footer__grid{
    grid-template-columns: 1.4fr .8fr .8fr .8fr;
    gap: 1.4rem;
  }
}
.footer__col h4{
  margin: 0 0 .7rem;
  color: rgba(255,255,255,.9);
}
.footer__col a{
  display:block;
  color: rgba(255,255,255,.72);
  padding: .25rem 0;
}
.footer__col a:hover{ color: rgba(255,255,255,.92); }

.footer__bottom{
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  flex-wrap:wrap;
}
.toTop{
  color: rgba(255,255,255,.78);
}
.toTop:hover{ color: rgba(255,255,255,.92); }

/* Toast */
.toast{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 5000;
  min-width: 240px;
  max-width: 340px;
  padding: .9rem 1rem;
  border-radius: 16px;
  background: rgba(11,18,16,.92);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  color: rgba(255,255,255,.92);
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s var(--ease);
}
.toast.is-on{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Scroll reveal
   ========================= */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view{
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ transition:none; opacity:1; transform:none; }
  .intro__card::before{ animation:none; }
}


/* ===== Header behavior ===== */
/* Default: transparent ONLY at very top */
#header{
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

/* Always active once user scrolls - MINIMAL opacity as requested */
#header.is-scrolled{
  background: rgba(7,11,10,.78); /* darker tint */
  border-bottom-color: rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
}

/* Slightly stronger glass when scrolling UP (premium feel) */
#header.is-glass{
  background: rgba(7,11,10,.86); /* even darker when scrolling up */
  backdrop-filter: blur(14px);
}
/* Keep nav row clean */
#header .nav{
  background: transparent;
}


/* Footer light */
.footer--light{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  border-top: 1px solid rgba(10,14,12,.10);
  color: rgba(10,14,12,.92);
}
.footer--light .container{
  width: min(var(--maxWide), calc(100% - 1.25rem));
}
.footer--light .muted{
  color: rgba(10,14,12,.66);
}

/* ✅ Fix headings + links + bottom text to be dark */
.footer--light .footer__col h4{
  color: rgba(10,14,12,.92);
}
.footer--light .footer__col a{
  color: rgba(10,14,12,.72);
}
.footer--light .footer__col a:hover{
  color: rgba(10,14,12,.92);
}
.footer--light .footer__bottom{
  border-top-color: rgba(10,14,12,.10);
}
.footer--light .toTop{
  color: rgba(10,14,12,.72);
}
.footer--light .toTop:hover{
  color: rgba(10,14,12,.92);
}


/* =========================
   FIX: Family card = same layout as MD card
   (put this at the VERY END of your CSS)
   ========================= */

/* Desktop: Family should span full width like MD card */


/* Mobile: stack like normal card */
@media (max-width: 979px){
  .teamCard--family{
    display: flex;
    flex-direction: column;
  }

  .teamCard--family img{
    width: 100%;
    height: 260px;          /* same “feel” as MD card top area */
    object-fit: cover;
    object-position: center;
    padding: 0;
    background: transparent;
  }

  .teamCard--family .teamCard__body{
    text-align: center;
  }
}


/* =========================
   FAMILY CARD: Landscape image on top + text below
   (put at the VERY END of your CSS)
   ========================= */

/* keep it full width like a special card */
@media (min-width: 980px){
  .teamCard--family{
    grid-column: 1 / -1;
  }
}

/* image on top, landscape, blends with card */
.teamCard--family img{
  width: 100%;
  height: 340px;          /* desktop */
  object-fit: cover;
  object-position: center;
  padding: 0;
  background: transparent;
  display: block;
}

/* mobile height */
@media (max-width: 979px){
  .teamCard--family img{
    height: 260px;
  }
}

/* center the label nicely */
.teamCard--family .teamCard__body{
  text-align: center;
}