/* =========================================================
   ABOUT.CSS — صفحة عن المجموعة (مستقلة عن باقي الصفحات)
   ========================================================= */

/* ================= BASE / RESET / VARIABLES ================= */
:root{
  --navy:#0B3665;
  --navy-deep:#082747;
  --navy-ink:#06203C;
  --teal:#17B2A2;
  --teal-soft:#5fd3c4;
  --gray:#6A7177;
  --white:#FFFFFF;
  --paper:#FAFAF7;
  --line:#DCE2E4;
  --line-dark:rgba(255,255,255,.14);
  --ease:cubic-bezier(.22,.61,.36,1);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Tajawal',sans-serif !important;
  color:var(--navy);
  background:var(--white);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;margin:0;padding:0;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
.en{font-family:'Poppins',sans-serif;direction:ltr;unicode-bidi:isolate;}
.wrap{max-width:1240px;margin:0 auto; padding:0 28px;}
section{position:relative;}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; transition-duration:.001ms !important;}
}

a:focus-visible, button:focus-visible{
  outline:2px solid var(--teal); outline-offset:3px;
}

h1,h2,h3,h4{margin:0;color:var(--navy);}

/* ================= BUTTONS ================= */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:13px 28px;
  border-radius:2px; font-weight:700; font-size:16.5px;
  transition:transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-teal{background:var(--teal); color:var(--white);}
.btn-teal:hover{background:var(--teal-soft);}
.btn-primary{background:var(--navy); color:var(--white);}
.btn-primary:hover{background:var(--teal);}

/* ================= TOAST / BACK-TO-TOP ================= */
.toast{
  position:fixed; bottom:28px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--navy-ink); color:var(--white); padding:14px 26px; font-size:16px; font-weight:600;
  opacity:0; pointer-events:none; transition:all .35s var(--ease); z-index:200; white-space:nowrap;
}
.toast.show{opacity:1; transform:translateX(-50%) translateY(0);}
.back-top{
  position:fixed; bottom:28px; inset-inline-end:28px; width:48px; height:48px; background:var(--navy);
  display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transform:translateY(10px);
  transition:all .3s var(--ease); z-index:150;
}
.back-top.show{opacity:1; visibility:visible; transform:translateY(0);}
.back-top svg{width:18px; height:18px; stroke:var(--white);}
.back-top:hover{background:var(--teal);}

/* ================= PAGE HERO / BREADCRUMB ================= */
.page-hero{
  padding:180px 0 70px; background:var(--navy-ink);
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:26px 26px;
}
.breadcrumb{display:flex; align-items:center; gap:8px; font-size:15px; color:rgba(255,255,255,.55); margin-bottom:22px;}
.breadcrumb a{color:rgba(255,255,255,.75); transition:color .25s var(--ease);}
.breadcrumb a:hover{color:var(--teal-soft);}
.breadcrumb span:last-child{color:var(--teal-soft);}
.page-hero h1{color:var(--white); font-size:clamp(28px,4vw,42px); font-weight:800; margin:0 0 16px;}
.page-hero p{color:rgba(255,255,255,.62); font-size:17px; line-height:1.95; max-width:640px; margin:0;}

/* ================= SECTION HEAD (shared pattern) ================= */
.struct-head{max-width:760px; margin:0 0 52px;}
.struct-kicker{
  display:inline-block; font-family:'Poppins',sans-serif; font-size:13.5px; font-weight:600;
  letter-spacing:.06em; color:var(--teal); text-transform:uppercase; margin-bottom:14px;
}
.struct-head h2{font-size:clamp(24px,2.8vw,32px); font-weight:800; line-height:1.5; margin-bottom:14px;}
.struct-head p{color:var(--gray); font-size:16.5px; line-height:1.9; margin:0;}

/* ================= INTRO (overview narrative) ================= */
.about-intro{padding:100px 0 100px; background:var(--white);}
.narrative-grid{display:grid; grid-template-columns:280px 1fr; gap:70px; align-items:stretch;}
.narrative-figure{
  display:flex; align-items:center; justify-content:center;
  height:100%; min-height:100%;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size:18px 18px;
  border:1px solid var(--line-dark);
  overflow:hidden;
}
.narrative-figure img{width:100%; height:100%; object-fit:cover;}
.narrative-copy p{color:var(--gray); font-size:17px; line-height:2; margin:0 0 22px; text-align:justify;}
.narrative-copy p:last-child{margin-bottom:0;}

/* ================= BUSINESS MODEL — lifecycle flow ================= */
.model-section{padding:90px 0; background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.model-flow{display:flex; align-items:stretch; gap:0;}
.model-step{
  flex:1 1 0; background:var(--white); border:1px solid var(--line); padding:38px 30px; text-align:center;
  position:relative; transition:transform .35s var(--ease), box-shadow .35s var(--ease);
}
.model-step:hover{transform:translateY(-5px); box-shadow:0 24px 46px -28px rgba(6,32,60,.3);}
.model-step-num{
  position:absolute; top:18px; inset-inline-end:20px; font-family:'Poppins',sans-serif; font-size:13.5px;
  font-weight:600; color:var(--line);
}
.model-icon{
  width:54px; height:54px; margin:0 auto 22px; display:flex; align-items:center; justify-content:center;
  background:var(--navy); transition:background .3s var(--ease);
}
.model-icon svg{width:24px; height:24px; stroke:var(--white); fill:none;}
.model-step:hover .model-icon{background:var(--teal);}
.model-step h3{font-size:17.5px; font-weight:800; margin:0 0 10px; line-height:1.6;}
.model-step p{color:var(--gray); font-size:15px; line-height:1.85; margin:0;}
.model-connector{flex:0 0 44px; display:flex; align-items:center; justify-content:center;}
.model-connector svg{width:20px; height:20px; stroke:var(--teal); fill:none;}

/* ================= SECTORS OVERVIEW ================= */
.sectors-section{padding:100px 0 60px; background:var(--white);}
.sector-mini-grid{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:1px;
  background:var(--line); border:1px solid var(--line); margin-bottom:44px;
}
.sector-mini-card{background:var(--white); padding:32px 26px; transition:background .3s var(--ease);}
.sector-mini-card:hover{background:var(--paper);}
.sector-mini-icon{
  width:46px; height:46px; display:flex; align-items:center; justify-content:center; margin-bottom:18px;
  background:rgba(23,178,162,.1);
}
.sector-mini-icon svg{width:21px; height:21px; stroke:var(--teal); fill:none;}
.sector-mini-card h3{font-size:16.5px; font-weight:700; margin:0; line-height:1.65;}
.about-note{
  max-width:840px; color:var(--gray); font-size:16.5px; line-height:1.95;
  border-inline-start:3px solid var(--teal); padding-inline-start:22px;
}

/* ================= AUDIENCE — who we serve ================= */
.audience-section{padding:90px 0 110px; background:var(--paper); border-top:1px solid var(--line);}
.audience-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:26px;}
.audience-card{
  background:var(--white); border:1px solid var(--line); padding:36px 28px; text-align:center;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.audience-card:hover{transform:translateY(-4px); box-shadow:0 22px 44px -26px rgba(6,32,60,.3);}
.audience-icon{
  width:50px; height:50px; margin:0 auto 18px; display:flex; align-items:center; justify-content:center;
  background:var(--navy);
}
.audience-icon svg{width:22px; height:22px; stroke:var(--white); fill:none;}
.audience-card h3{font-size:16.5px; font-weight:700; line-height:1.6; margin:0;}

/* ================= IMPACT — closing statement ================= */
.impact-section{
  padding:100px 0; background:var(--navy-ink); text-align:center;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:26px 26px;
}
.impact-section .struct-kicker{margin-inline:auto;}
.impact-section p.impact-text{
  color:rgba(255,255,255,.85); font-size:clamp(19px,1.9vw,22px); line-height:2;
  max-width:840px; margin:18px auto 32px; font-weight:500;
}

/* ================= RESPONSIVE ================= */
@media (max-width:960px){
  .narrative-grid{grid-template-columns:1fr; gap:36px;}
  .narrative-figure{height:auto; aspect-ratio:4/3;}
  .model-flow{flex-direction:column;}
  .model-connector{transform:rotate(90deg); flex:0 0 34px;}
}
@media (max-width:640px){
  .page-hero{padding:150px 0 56px;}
  .about-intro{padding:64px 0 10px;}
  .model-section{padding:60px 0;}
  .sectors-section{padding:64px 0 40px;}
  .audience-section{padding:56px 0 70px;}
  .impact-section{padding:64px 0;}
  .struct-head{margin-bottom:34px;}
  .narrative-copy p{font-size:16px; line-height:1.9;}
  .audience-grid{grid-template-columns:repeat(2,1fr);}
}