/*
ITSC Libya — English-only visual consolidation.
Loaded by /en/* documents, never by Arabic files.
All CSS stays locally scoped to the English HTML deployment.
*/
:root {color-scheme: light;}
#itsc-shell-header {
  box-shadow: 0 2px 14px rgba(3,16,35,.16);
}
#itsc-shell-header a:focus-visible,
#itsc-shell-header summary:focus-visible,
#itsc-shell-footer a:focus-visible,
main a:focus-visible,
main button:focus-visible {
  outline: 3px solid #93c5fd !important;
  outline-offset: 3px !important;
}
#itsc-shell-header [data-itsc-open-quote] {
  background: #2563a9 !important;
  color: #fff !important;
  border-color: #397bbb !important;
  border-radius: 9px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
#itsc-shell-header [data-itsc-open-quote]:hover,
#itsc-shell-header [data-itsc-open-quote]:focus-visible{
  background: #317abd !important;
}
#itsc-shell-footer a:hover {text-decoration: underline; text-underline-offset: 4px;}

/* Home: replace disconnected orange heavy branding with the same blue used in About and service pages. */
.it-home {
  --orange:#2e7cbe;
  --navy:#07192c;
  --navy2:#0b2947;
}
.it-home .home-highlight {color:#88cfff !important;}
.it-home .home-eyebrow,
.it-home .home-kicker {color:#4289c7 !important;}
.it-home .home-hero .home-eyebrow {color:#a8d8ff !important;}
.it-home .home-btn.primary,
.it-home .home-action-line .home-btn.primary {
  background:#2563a9 !important;
  color:white !important;
  border:1px solid #307bb8 !important;
  border-radius:10px !important;
  box-shadow:0 7px 20px rgba(10,42,80,.16) !important;
}
.it-home .home-btn.primary:hover {
  background:#317abd !important;
  transform:translateY(-1px);
}
.it-home .home-btn:not(.primary){
  border-radius:10px !important;
}
.it-home .home-link {color:#195f9a !important;}
.it-home .home-hero {min-height:520px !important;}
.it-home .home-hero h1{
  font-size:clamp(36px,4.1vw,60px);
  line-height:1.09;
  letter-spacing:-.035em;
  text-wrap:balance;
  max-width:760px;
}
.it-home .home-hero p {
  max-width:575px;
  font-size:16px;
  line-height:1.7;
}
.it-home .home-proof {
  border-bottom:1px solid rgba(66,99,135,.16);
}
.it-home .home-section {
  padding-top:clamp(54px,6vw,80px) !important;
  padding-bottom:clamp(54px,6vw,80px) !important;
}
.it-home .home-section h2 {
  letter-spacing:-.025em;
  text-wrap:balance;
}
.it-home .home-service,
.it-home .home-project,
.it-home .home-client-card {
  border-radius:15px !important;
  overflow:hidden;
  border-color:#dce6f0 !important;
  box-shadow:0 7px 23px rgba(5,28,52,.065) !important;
}
.it-home .home-project img {
  object-fit:cover;
}
.it-home .itsc-short-why {
  background:#f2f7fc !important;
}
.it-home .itsc-compact-overview {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  border-top:1px solid #dae5f0;
  padding-top:18px;
}
.it-home .itsc-compact-overview h2 {
  font-size:clamp(23px,2.9vw,33px);
  color:#0e2c4b;
  line-height:1.24;
  margin:0 0 9px;
}
.it-home .itsc-compact-overview p {
  max-width:670px;
  font-size:15px;
  line-height:1.7;
  color:#395772;
  margin:0;
}
.it-home .itsc-action-link {
  flex:none;
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#18578d;
  font-weight:800;
  text-underline-offset:5px;
}

/* About: compact repeated service/process content while retaining useful routes. */
body:has(.about-hero) .about-hero {
  padding-block:clamp(55px,7vw,92px) !important;
}
body:has(.about-hero) .about-hero .lead {
  max-width:700px;
  line-height:1.7 !important;
}
body:has(.about-hero) .hero-emphasis {
  color:#7cc3f2 !important;
}
body:has(.about-hero) .about-fieldwork {
  padding-block:clamp(45px,6vw,72px) !important;
}
body:has(.about-hero) .itsc-shell-why {
  padding-block:clamp(45px,6vw,72px) !important;
}
.itsc-about-services,
.itsc-about-delivery,
.itsc-about-paths {
  padding-block:clamp(35px,5vw,60px);
}
.itsc-about-services {background:#f2f7fc;color:#102941;}
.itsc-about-services .section-head {margin-bottom:18px;}
.itsc-service-links {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
.itsc-service-links a {
  background:white;
  min-width:0;
  border:1px solid #d5e4f1;
  border-radius:12px;
  padding:16px 13px;
  font-size:14px;
  font-weight:750;
  line-height:1.45;
  color:#164a77;
  text-decoration:none;
  box-shadow:0 4px 14px rgba(13,43,77,.045);
}
.itsc-service-links a:hover {border-color:#76b0e0;background:#f8fbff;}
.itsc-about-delivery {
  background:#fff;
  color:#153755;
}
.itsc-about-delivery-inline {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}
.itsc-about-delivery-inline h2,
.itsc-about-paths h2 {
  margin:0 0 8px;
  font-size:clamp(21px,2.5vw,30px);
  text-wrap:balance;
}
.itsc-about-delivery-inline p,.itsc-about-paths p {
  max-width:730px;
  margin:0;
  line-height:1.72;
  color:#476079;
}
.itsc-about-delivery a,
.itsc-about-paths a {
  flex:none;color:#155c93;font-weight:800;
  text-decoration:none;
  text-underline-offset:4px;
}
.itsc-about-delivery a:hover,
.itsc-about-paths a:hover{text-decoration:underline;}
.itsc-about-paths{
  background:#f3f7fb;
}
.itsc-about-paths .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.itsc-about-path-links{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-width:220px;
}

/* Projects: proof above prose, three distinctive field photos once each. */
.itsc-corp-main .itsc-featured-work{
  max-width:1240px;
  margin:0 auto;
  padding:clamp(24px,3vw,40px) clamp(18px,3vw,30px) clamp(38px,4.5vw,60px);
}
.itsc-featured-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:20px;
}
.itsc-featured-eyebrow {
  font-size:11px !important;
  font-weight:850;
  letter-spacing:.12em;
  color:#8dc6f4 !important;
  margin:0 0 7px !important;
}
.itsc-featured-head h2{
  font-size:clamp(24px,3vw,39px);
  line-height:1.18;
  letter-spacing:-.025em;
  color:#fff;
  margin:0 0 8px;
  max-width:780px;
  text-wrap:balance;
}
.itsc-featured-head p {
  color:#c1d2e3;
  line-height:1.65;
  max-width:780px;
  margin:0;
  font-size:14px;
}
.itsc-featured-head > a{
  color:#b9e1ff;
  font-weight:800;
  font-size:14px;
  text-decoration:none;
  white-space:nowrap;
  padding-bottom:7px;
}
.itsc-featured-head > a:hover{text-decoration:underline;}
.itsc-featured-grid {
  display:grid;
  grid-template-columns:1.48fr 1fr 1fr;
  gap:14px;
}
.itsc-feature-card{
  margin:0;
  position:relative;
  border-radius:15px;
  overflow:hidden;
  min-width:0;
  border:1px solid rgba(150,193,222,.35);
  background:#153452;
  aspect-ratio:1.14/1;
}
.itsc-feature-card:first-child{aspect-ratio:1.45/1;}
.itsc-feature-card img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .22s ease;
}
.itsc-feature-card:hover img{transform:scale(1.03);}
.itsc-feature-card figcaption {
  position:absolute;
  inset:auto 0 0;
  padding:45px 18px 16px;
  background:linear-gradient(transparent,rgba(3,17,31,.85));
  font-size:15px;
  color:#fff;
  font-weight:800;
  text-shadow:0 1px 2px rgba(0,0,0,.3);
}
.itsc-corp-main .itsc-corp-hero.itsc-hero-short {
  padding-bottom:27px !important;
}
.itsc-corp-main .itsc-corp-hero.itsc-hero-short > p {
  max-width:810px;
}
.itsc-corp-main .itsc-portfolio-archive{
  border-top:1px solid rgba(127,166,212,.20);
}
.itsc-corp-main .itsc-projects-note{
  padding-block:34px 50px;
  border-top:1px solid rgba(157,184,213,.25);
}
.itsc-corp-main .itsc-projects-note h2 {font-size:clamp(22px,2.5vw,30px);}
.itsc-corp-main .itsc-projects-note p {max-width:830px;}
@media(max-width:960px){
  .itsc-service-links {grid-template-columns:repeat(3,minmax(0,1fr));}
  .itsc-featured-head{flex-direction:column;align-items:flex-start;}
  .itsc-featured-head > a{padding-bottom:0;}
}
@media(max-width:640px){
  .it-home .home-hero {min-height:0 !important;}
  .it-home .home-hero h1 {font-size:clamp(34px,9vw,47px);line-height:1.12;}
  .it-home .home-hero p {line-height:1.68;}
  .it-home .home-section {padding-block:43px !important;}
  .it-home .itsc-compact-overview {align-items:flex-start;flex-direction:column;gap:14px;}
  .itsc-service-links{grid-template-columns:repeat(2,minmax(0,1fr));}
  .itsc-about-delivery-inline,
  .itsc-about-paths .container {flex-direction:column;align-items:flex-start;gap:17px;}
  .itsc-about-path-links {min-width:0;}
  .itsc-featured-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .itsc-feature-card:first-child{grid-column:1/-1;aspect-ratio:1.65/1;}
  .itsc-feature-card{aspect-ratio:1.08/1;border-radius:10px;}
  .itsc-feature-card figcaption{
    padding:38px 10px 11px;
    font-size:12px;
  }
  .itsc-featured-head h2 {font-size:26px;}
  .itsc-featured-head p {font-size:14px;}
}
@media(max-width:360px){
  .itsc-service-links {grid-template-columns:1fr 1fr;}
  .itsc-feature-card figcaption{font-size:11px;}
}
@media(prefers-reduced-motion:reduce){
  .itsc-feature-card img{transition:none;}
}
