/* =========================================================
   Salaams Holding — stylesheet
   ========================================================= */

:root{
  --teal: #11ab92;
  --teal-dark: #0b8571;
  --gold: #e2a323;
  --navy: #0a1220;
  --navy-soft: #101b2d;
  --cream: #faf8f4;
  --ink: #1c2430;
  --ink-soft: #5b6472;
  --line: #e7e3da;
  --max: 1180px;
  --radius: 14px;
  --shadow: 0 20px 50px -25px rgba(10, 18, 32, .35);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
section[id]{ scroll-margin-top: 132px; }
.subnav-wrap ~ section[id]{ scroll-margin-top: 196px; }
body{
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ margin: 0 0 .5em; font-weight: 600; line-height: 1.2; }
p{ margin: 0 0 1em; }
.container{ max-width: var(--max); margin: 0 auto; padding: 0 28px; }

.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 600; color: var(--teal-dark);
  margin-bottom: 14px;
}
.eyebrow::before{ content:""; width: 26px; height: 2px; background: var(--gold); display:inline-block; }

.quote-font{ font-family: "Roboto Slab", Georgia, serif; }

.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--primary{ background: var(--teal); color: #fff; }
.btn--primary:hover{ background: var(--teal-dark); transform: translateY(-2px); }
.btn--ghost{ border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover{ background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn--outline{ border-color: var(--teal); color: var(--teal-dark); }
.btn--outline:hover{ background: var(--teal); color: #fff; }

/* ---------- Header ---------- */
.site-header{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(10,18,32,.85), rgba(10,18,32,0));
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled{
  background: rgba(10,18,32,.96);
  padding: 12px 0;
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
}
.site-header .container{ display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand{ display: flex; align-items: center; }
.brand img{ height: 88px; width: auto; }

.nav-toggle{
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span{ width: 26px; height: 2px; background: #fff; border-radius: 2px; }

.main-nav{ display: flex; align-items: center; gap: 6px; }
.main-nav a{
  padding: 10px 16px; font-size: .95rem; font-weight: 500; color: #f1f1f1;
  border-radius: 999px; transition: background .2s ease, color .2s ease;
}
.main-nav a:hover, .main-nav a.is-active{ background: rgba(255,255,255,.12); color: #fff; }
.header-actions{ display: flex; align-items: center; gap: 14px; }

/* ---------- Hero ---------- */
.hero{
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; color: #fff; overflow: hidden;
}
.hero::after{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,15,26,.1) 0%, rgba(9,15,26,.02) 45%, rgba(9,15,26,.4) 100%);
}
.hero-inner{ position: relative; z-index: 2; padding-bottom: 90px; }
.hero-home{ min-height: 100vh; align-items: center; }
.hero-home .hero-inner{ padding-bottom: 0; }
.hero-panel{
  display: inline-block; max-width: 100%;
  background: rgba(6,10,18,.32); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 34px 38px;
}
.hero h1{
  font-size: clamp(2.4rem, 5vw, 3.9rem); margin-bottom: .3em; max-width: 850px;
  letter-spacing: -.01em;
}
.hero .lede-brand{
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; color: var(--gold);
  letter-spacing: .02em; margin-bottom: .35em;
}
.hero .lede{ font-size: 1.3rem; color: #fff; max-width: 600px; margin-bottom: 0; }
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-quote{ max-width: 780px; }
.hero-quote p.quote-font{
  font-size: clamp(1.35rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.4;
  margin-bottom: .5em;
}
.hero-quote .attribution{ color: var(--gold); letter-spacing: .05em; font-size: .95rem; }
.hero-crumb{ font-size: .85rem; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.hero-crumb a{ color: #fff; }
.hero-crumb span{ opacity: .55; margin: 0 8px; }

.scroll-cue{
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.75); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
}
.scroll-cue .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(10px); } }

/* ---------- Sections ---------- */
.section{ padding: 110px 0; }
.section--tight{ padding: 80px 0; }
.section--alt{ background: #fff; }
.section-head{ max-width: 720px; margin-bottom: 56px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.section-head p{ color: var(--ink-soft); font-size: 1.05rem; }

/* About / icon split */
.split{
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center;
}
.split .figure{ position: relative; }
.figure-frame{
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.2;
}
.figure-frame img{ width: 100%; height: 100%; object-fit: cover; }
.icon-portrait{
  width: 100%; aspect-ratio: 1/1; border-radius: 50%; overflow: hidden;
  border: 10px solid #fff; box-shadow: var(--shadow); max-width: 380px; margin: 0 auto;
}
.icon-portrait img{ width: 100%; height: 100%; object-fit: cover; }
.split .copy p{ color: var(--ink-soft); }
.split .copy p:first-of-type{ color: var(--ink); font-weight: 500; font-size: 1.08rem; }

/* Group cards */
.cards-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card{
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); }
.card-photo{ aspect-ratio: 4/3; overflow: hidden; }
.card-photo img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-photo img{ transform: scale(1.06); }
.card-body{ padding: 30px 32px 34px; }
.card .tag{ text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; color: var(--gold); }
.card h3{ margin: 8px 0 12px; font-size: 1.3rem; }
.card p{ color: var(--ink-soft); font-size: .96rem; margin-bottom: 0; }

/* Quote band */
.quote-band{
  background: var(--navy); color: #fff; padding: 70px 0; text-align: center;
  background-image: linear-gradient(160deg, rgba(17,171,146,.18), rgba(10,18,32,0) 55%);
  background-size: cover; background-position: center;
}
.quote-band--photo{
  background-image: linear-gradient(160deg, rgba(10,18,32,.88), rgba(10,18,32,.82)), url('../images/countryside.jpg');
}
.quote-band p{
  max-width: 780px; margin: 0 auto; font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 300; color: rgba(255,255,255,.92);
}
.quote-band strong{ color: var(--gold); font-weight: 600; }

/* Sub navigation (Corporate Profile page) */
.subnav-wrap{
  position: sticky; top: 112px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line);
}
.subnav{ display: flex; gap: 6px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.subnav::-webkit-scrollbar{ display: none; }
.subnav a{
  white-space: nowrap; padding: 9px 18px; border-radius: 999px; font-size: .88rem; font-weight: 500;
  color: var(--ink-soft); border: 1px solid var(--line);
}
.subnav a:hover, .subnav a.is-active{ background: var(--teal); border-color: var(--teal); color: #fff; }

.profile-block{ display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; margin-bottom: 40px;}
.profile-block .figure-frame{ position: sticky; top: 150px; }
.stat-row{ display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
.stat{ text-align: center; padding: 26px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat b{ display: block; font-size: 2rem; font-family: "Roboto Slab", serif; color: var(--teal-dark); }
.stat span{ font-size: .82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }

.logo-showcase{
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 48px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 44px; box-shadow: var(--shadow);
}
.logo-showcase img{ width: 100%; max-width: 340px; height: auto; }
.color-row{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.color-card{ border-radius: var(--radius); padding: 30px 26px; color: #fff; }
.color-card h4{ text-transform: uppercase; letter-spacing: .08em; font-size: 1rem; margin-bottom: 10px; }
.color-card p{ font-size: .92rem; opacity: .92; margin: 0; }
.color-saffron{ background: linear-gradient(150deg,#f0972c,#d9701a); }
.color-white{ background: linear-gradient(150deg,#3a4658,#232c3a); }
.color-green{ background: linear-gradient(150deg,#1c9d6f,#0f7a55); }

.mv-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.mv-card{ background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.mv-card .num{ font-family: "Roboto Slab", serif; font-size: 1.6rem; color: var(--gold); margin-bottom: 10px; display: block; }
.mv-card h3{ font-size: 1.15rem; }
.mv-card p{ color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* Timeline */
.timeline{ position: relative; margin-top: 20px; }
.timeline::before{
  content: ""; position: absolute; left: 90px; top: 0; bottom: 0; width: 2px;
  background: var(--line);
}
.tl-item{ position: relative; padding: 0 0 44px 140px; }
.tl-item:last-child{ padding-bottom: 0; }
.tl-year{
  position: absolute; left: 0; top: -2px; width: 76px; text-align: right;
  font-family: "Roboto Slab", serif; font-weight: 700; color: var(--teal-dark); font-size: 1.15rem;
}
.tl-dot{
  position: absolute; left: 86px; top: 6px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--line);
}
.tl-item h4{ margin: 0 0 6px; font-size: 1.08rem; }
.tl-item p{ color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* Appreciation */
.appreciation-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.appreciation-grid .full{ grid-column: 1 / -1; }
.thanks-card{ background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.thanks-card h4{ color: var(--teal-dark); font-size: 1.02rem; margin-bottom: 8px; }
.thanks-card p{ color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* Team profiles */
.team-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 10px; }
.person-card{ background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.person-photo{ aspect-ratio: 4/5; overflow: hidden; background: linear-gradient(150deg, var(--navy), var(--navy-soft)); }
.person-photo img{ width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback{ width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.avatar-fallback span{ font-family: "Roboto Slab", serif; font-size: 3.4rem; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.15); }
.avatar-fallback.avatar--teal{ background: linear-gradient(150deg, #16c79e, var(--gold)); }
.avatar-fallback.avatar--gold{ background: linear-gradient(150deg, var(--gold), #e8556f); }
.person-body{ padding: 26px 24px 30px; }
.person-body .role{ text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; color: var(--gold); }
.person-body h3{ margin: 6px 0 14px; font-size: 1.25rem; }
.person-body p{ color: var(--ink-soft); font-size: .9rem; margin-bottom: .9em; }
.person-body p:last-child{ margin-bottom: 0; }

/* Contact page */
.contact-grid{ display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: stretch; }
.info-card{
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 44px 38px;
  display: flex; flex-direction: column; gap: 28px;
}
.info-row{ display: flex; gap: 16px; align-items: flex-start; }
.info-row .ic{
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold);
}
.info-row .ic svg{ width: 20px; height: 20px; }
.info-row h4{ margin: 0 0 6px; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.info-row p{ margin: 0; color: rgba(255,255,255,.92); line-height: 1.6; }
.info-row a{ color: #fff; }
.map-frame{ border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-frame iframe{ width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* Footer */
.site-footer{ background: var(--navy); color: rgba(255,255,255,.72); padding: 80px 0 0; }
.footer-grid{ display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img{ height: 72px; margin-bottom: 18px; }
.footer-brand p{ max-width: 320px; font-size: .92rem; color: rgba(255,255,255,.6); }
.footer-col h5{ color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer-col li{ margin-bottom: 12px; }
.footer-col a{ font-size: .93rem; color: rgba(255,255,255,.68); transition: color .2s ease; }
.footer-col a:hover{ color: var(--gold); }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; padding: 26px 0; font-size: .82rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 10px; }

/* Reveal animation */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .split, .contact-grid, .profile-block{ grid-template-columns: 1fr; }
  .profile-block .figure-frame{ position: static; max-width: 320px; margin: 0 auto; }
  .cards-grid, .team-grid, .mv-grid, .color-row{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-brand{ grid-column: 1 / -1; }
  .appreciation-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .nav-toggle{ display: flex; }
  .main-nav{
    position: fixed; inset: 0 0 0 30%; top: 0; background: var(--navy);
    flex-direction: column; align-items: stretch; padding: 100px 28px 28px; gap: 4px;
    transform: translateX(100%); transition: transform .3s ease; z-index: 90;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .main-nav a{ padding: 14px 16px; font-size: 1.05rem; }
  .header-actions .btn--primary{ padding: 10px 20px; font-size: .85rem; }
  .cards-grid, .team-grid, .mv-grid, .color-row, .footer-grid{ grid-template-columns: 1fr; }
  .timeline::before{ left: 8px; }
  .tl-item{ padding-left: 40px; }
  .tl-year{ position: static; text-align: left; margin-bottom: 6px; }
  .tl-dot{ left: 3px; top: 4px; }
  .section{ padding: 72px 0; }
}
