/* Fonts: self-hosted latin subsets */
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/OpenSans-400.woff2') format('woff2')}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/OpenSans-600.woff2') format('woff2')}
@font-face{font-family:'Rajdhani';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/Rajdhani-600.woff2') format('woff2')}
@font-face{font-family:'Rajdhani';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/Rajdhani-700.woff2') format('woff2')}

:root {
  --navy: #001F54;
  --orange: #FF6600;
  --white: #FFFFFF;
  --navy-dark: #00133A;
  --grey: #F4F4F4;
  --charcoal: #2B2B2B;
  --text: #1a1a1a;

  --font-head: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(0, 19, 58, .18);
  --max: 1200px;
  --header-h: 72px;
  --wa-bar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  /* room for the fixed WhatsApp bar */
  padding-bottom: calc(var(--wa-bar-h) + 8px);
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.on-navy :focus-visible, .site-footer :focus-visible, .wa-bar :focus-visible { outline-color: var(--white); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 1.25rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: .5rem; top: -4rem; z-index: 200;
  background: var(--orange); color: var(--navy); font-weight: 600;
  padding: .6rem 1rem; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: .5rem; }

/* Section title with orange underline bar */
.section-title { text-align: center; }
.section-title::after {
  content: ""; display: block; width: 64px; height: 4px;
  background: var(--orange); margin: .45em auto 0;
}
.on-navy .section-title, .section-dark .section-title { color: var(--white); }

/* Buttons: orange uses navy text (white on orange fails contrast) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--white); border-color: var(--orange); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 4px solid var(--orange);
  box-shadow: var(--shadow);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.logo { display: inline-flex; text-decoration: none; }
.logo img { display: block; height: 52px; width: auto; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 2rem; letter-spacing: .12em; color: var(--navy); }
.logo-sub { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .38em; color: var(--orange); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: var(--navy); border: 0; border-radius: var(--radius); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--white); position: relative; transition: transform .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.primary-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--navy); padding: .5rem 1.25rem 1rem;
}
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav a {
  display: block; padding: .8rem .25rem; color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: .06em; text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.primary-nav a:hover { color: var(--orange); }
.primary-nav a[aria-current="page"] { color: var(--orange); }
.primary-nav :focus-visible { outline-color: var(--white); }

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block; position: static; background: none; padding: 0; }
  .primary-nav ul { display: flex; gap: 2rem; }
  .primary-nav a {
    color: var(--navy); border-bottom: 3px solid transparent; padding: .4rem 0;
  }
  .primary-nav a:hover { color: var(--navy); border-bottom-color: var(--orange); }
  .primary-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--orange); }
  .primary-nav :focus-visible { outline-color: var(--orange); }
}

/* Footer */
.site-footer { background: var(--navy); color: var(--white); margin-top: 3rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; gap: 2rem; padding-block: 2.5rem; grid-template-columns: 1fr; }
.footer-brand .logo-name { color: var(--white); font-size: 1.8rem; }
.footer-logo { display: inline-block; background: var(--white); border-radius: var(--radius); padding: .5rem .75rem; margin-bottom: 1rem; }
.footer-logo img { display: block; height: 56px; width: auto; }
.footer-logo:focus-visible { outline-color: var(--orange); }
.footer-brand p { margin-bottom: .5rem; }
.logo-text { line-height: 1; }
.footer-title { color: var(--orange); font-size: 1.25rem; letter-spacing: .08em; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .4rem; }
.footer-address { font-style: normal; margin-bottom: .5rem; }
.footer-bottom { background: var(--navy-dark); padding-block: 1rem; font-size: .9rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr 1fr; } }

/* Global WhatsApp bar: full-width on mobile, floating bottom-right on desktop */
.wa-bar {
  position: fixed; z-index: 150; left: 0; right: 0; bottom: 0;
  display: flex; gap: .5rem; padding: .5rem;
  background: var(--navy-dark); border-top: 3px solid var(--orange);
}
.wa-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .4rem .6rem; border-radius: var(--radius);
  background: var(--orange); color: var(--navy); text-decoration: none;
  font-weight: 600; font-size: .9rem; line-height: 1.2; text-align: left;
}
.wa-btn:hover { background: var(--white); }
.wa-btn .wa-label { display: none; }
.wa-icon { flex: none; }
@media (min-width: 480px) { .wa-btn { font-size: 1rem; } .wa-btn .wa-label { display: inline; } }
@media (min-width: 800px) {
  body { padding-bottom: 8rem; }
  .wa-bar {
    left: auto; right: 1.25rem; bottom: 1.25rem; flex-direction: column;
    padding: .6rem; border: 0; border-radius: 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
  }
  .wa-btn { flex: none; justify-content: flex-start; padding-inline: 1rem; }
}

/* Sections */
.section { padding-block: 3.5rem; }
.section-grey { background: var(--grey); }
.narrow { max-width: 860px; }
.section-intro { text-align: center; max-width: 720px; margin: 1.25rem auto 2rem; }

/* Hero */
.hero {
  color: var(--white);
  background: url('../images/hero-contours.svg') center / cover no-repeat,
              linear-gradient(135deg, var(--navy-dark), var(--navy));
}
.hero-inner { padding-block: clamp(3.5rem, 10vw, 7rem); }
.hero h1 { color: var(--white); margin-bottom: .3em; }
.hero h1::after { content: ""; display: block; width: 80px; height: 5px; background: var(--orange); margin-top: .3em; }
.hero-sub { font-size: clamp(1.05rem, 2.5vw, 1.4rem); max-width: 40ch; margin-bottom: 1.75rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Intro outcomes */
.outcomes {
  list-style: none; counter-reset: outcome; margin: 2rem 0 0; padding: 0;
  display: grid; gap: 1rem; grid-template-columns: 1fr;
}
.outcomes li {
  counter-increment: outcome; position: relative;
  background: var(--grey); border-left: 5px solid var(--orange); border-radius: var(--radius);
  padding: 1rem 1rem 1rem 3.4rem; box-shadow: var(--shadow);
}
.outcomes li::before {
  content: counter(outcome, lower-roman) "."; position: absolute; left: 1rem; top: .8rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--navy);
}
@media (min-width: 640px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .outcomes { grid-template-columns: repeat(4, 1fr); } }

/* Project cards */
.project-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.project-grid li { display: flex; }
.project-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%;
  background: var(--navy); color: var(--white); text-decoration: none;
  padding: 2rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent;
  box-shadow: var(--shadow); transition: transform .15s, border-color .15s;
}
.project-card:hover { transform: translateY(-4px); border-color: var(--orange); }
.project-card:focus-visible { outline-color: var(--orange); }
.card-icon { color: var(--white); margin-bottom: 1rem; flex: none; }
.project-card h3 { color: var(--orange); font-size: 1.4rem; letter-spacing: .03em; }
.project-card p { font-size: .95rem; }
.card-more {
  margin-top: auto; padding-top: .75rem; color: var(--orange);
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .05em; text-transform: uppercase;
}
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .project-grid { grid-template-columns: repeat(4, 1fr); } }

/* Why Us */
.why-us {
  position: relative; color: var(--white); padding-block: 4rem 3rem;
  background: linear-gradient(rgba(43, 43, 43, .92), rgba(43, 43, 43, .92)), url('../images/blueprint.svg') center / cover no-repeat;
  background-color: var(--charcoal);
}
.why-us .section-title { color: var(--white); margin-bottom: 2.5rem; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem 2rem; grid-template-columns: 1fr; }
.why-grid li { display: flex; gap: 1.25rem; align-items: flex-start; }
.why-icon {
  flex: none; display: flex; align-items: center; justify-content: center;
  width: 84px; height: 84px; border: 2px solid var(--white); border-radius: 50%;
}
.why-grid h3 { color: var(--white); font-size: 1.25rem; letter-spacing: .12em; margin-bottom: .4em; }
.why-grid p { margin: 0; font-size: .95rem; }
.why-chevron { display: block; margin: 2.5rem auto 0; color: var(--white); }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .why-icon { width: 110px; height: 110px; }
  .why-icon svg { width: 56px; height: 56px; }
}

/* Project detail pages */
.page-hero {
  color: var(--white);
  background: url('../images/hero-contours.svg') center / cover no-repeat, linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding-block: 2.5rem;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 5vw, 3rem); margin: 0; }
.page-hero h1::after { content: ""; display: block; width: 72px; height: 4px; background: var(--orange); margin-top: .4em; }
.breadcrumb { margin-bottom: 1rem; }
.breadcrumb a { color: var(--white); font-weight: 600; }
.breadcrumb a:hover { color: var(--orange); }
.lead { font-size: 1.15rem; }

.gallery { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.04); }
.caption { display: block; margin-top: .4rem; font-size: .9rem; color: var(--charcoal); }

.related { margin-top: 2.5rem; }
.related h2 { font-size: 1.6rem; }
.related ul { padding-left: 1.2rem; }

.cta-strip { background: var(--navy); color: var(--white); padding-block: 2.5rem; text-align: center; }
.cta-strip h2 { color: var(--white); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

.prev-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 2rem 0; }
.prev-next a {
  flex: 1 1 260px; display: block; padding: 1rem; border: 2px solid var(--navy); border-radius: var(--radius);
  text-decoration: none; font-weight: 600; color: var(--navy);
}
.prev-next a:hover { border-color: var(--orange); }
.prev-next span { display: block; font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.prev-next .next { text-align: right; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 19, 58, .88); }
.lightbox img { display: block; max-width: 96vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: -.5rem; right: -.5rem; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--white); background: var(--navy); color: var(--white); font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.lightbox-close:focus-visible { outline-color: var(--orange); }

/* About page */
.tick-list { list-style: none; padding: 0; margin: 0 0 1em; }
.tick-list li { position: relative; padding-left: 1.6rem; margin-bottom: .7rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: .8rem; height: .8rem;
  background: var(--orange); border-radius: 2px;
}
.values-grid .info-card, .info-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.info-card h3 { color: var(--orange); }
.values-grid .info-card {
  flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.info-card p:last-child { margin-bottom: 0; }
.info-card .role { color: var(--white); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .6rem; }
.leader-grid { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .leader-grid { grid-template-columns: repeat(2, 1fr); } }
.steps { list-style: none; counter-reset: step; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.steps li {
  counter-increment: step; background: var(--white); border-top: 4px solid var(--orange); border-radius: var(--radius);
  padding: 1rem; box-shadow: var(--shadow); font-weight: 600; color: var(--navy);
}
.steps li::before { content: counter(step); display: block; font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--navy); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.table-wrap { overflow-x: auto; margin-top: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline { width: 100%; border-collapse: collapse; background: var(--white); min-width: 480px; }
.timeline th { background: var(--navy); color: var(--white); text-align: left; font-family: var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.timeline th, .timeline td { padding: .7rem 1rem; border-bottom: 1px solid var(--grey); }
.timeline tbody tr:nth-child(even) { background: var(--grey); }
.details { display: grid; grid-template-columns: 1fr; gap: .15rem 1.5rem; margin: 1.5rem 0; }
.details dt { font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-top: .75rem; }
.details dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .details { grid-template-columns: max-content 1fr; }
  .details dt { margin-top: 0; padding-block: .4rem; }
  .details dd { padding-block: .4rem; }
}
.plain-list { list-style: none; margin: 0; padding: 0; }

/* Contact page */
.contact-hero {
  position: relative; isolation: isolate; color: var(--white); background: var(--navy);
  padding-block: clamp(2.5rem, 7vw, 5rem);
}
.contact-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background: url('../images/contour-map.svg') center / cover no-repeat;
}
.contact-hero h1 { color: var(--white); }
.contact-hero h1::after { content: ""; display: block; width: 72px; height: 4px; background: var(--orange); margin-top: .3em; }
.contact-panel {
  display: grid; gap: 2rem; grid-template-columns: 1fr; margin-top: 2rem;
  background: var(--white); color: var(--text); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.contact-panel h2 { font-size: 1.6rem; }
.contact-panel :focus-visible { outline-color: var(--orange); }
.contact-panel .details { margin-top: 0; }
.action-group { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.25rem; }
.btn-outline-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--white); color: var(--navy); }
.text-link { font-weight: 600; }
@media (min-width: 900px) { .contact-panel { grid-template-columns: 3fr 2fr; } }

/* Back to top */
.to-top {
  position: fixed; z-index: 140; right: .75rem; bottom: calc(var(--wa-bar-h) + 1rem);
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--white); border: 2px solid var(--white); border-radius: var(--radius);
  cursor: pointer; box-shadow: var(--shadow);
}
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--orange); color: var(--navy); }
@media (min-width: 800px) { .to-top { right: 1.25rem; bottom: 9.5rem; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
