/* ============================================================
   MAMS INFRA PROJECTS —  
   ============================================================ */

:root {
  --navy-900: #060F1E;
  --navy: #0A1F3C;
  --navy-700: #10294E;
  --navy-600: #16345F;
  --blue: #1E56A0;
  --blue-bright: #2E77C8;
  --gold: #C9A227;
  --gold-light: #E0BC55;
  --ink: #1B2430;
  --slate: #55637A;
  --line: #E1E7EF;
  --offwhite: #F4F6F9;
  --white: #ffffff;
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --shadow-sm: 0 2px 10px rgba(10, 31, 60, .06);
  --shadow-md: 0 14px 40px rgba(10, 31, 60, .12);
  --shadow-lg: 0 30px 70px rgba(10, 31, 60, .18);
  --radius: 2px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.015em;
}

a { color: var(--blue); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--blue-bright); }

img { max-width: 100%; height: auto; }

::selection { background: var(--gold); color: var(--navy-900); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  padding: .5rem 0;
}
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--gold-light); }
.topbar i { color: var(--gold); margin-right: .35rem; }
.topbar-social a { font-weight: 600; letter-spacing: .03em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.navbar-brand img { object-fit: contain; }
.navbar .nav-link {
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
  padding: .9rem .72rem !important;
  letter-spacing: .01em;
  white-space: nowrap;
}
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--blue); }
.navbar .nav-link.active { box-shadow: inset 0 -3px 0 var(--gold); }
.navbar .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .5rem;
  min-width: 250px;
  margin-top: 0;
  max-height: calc(100vh - 150px);   /* long DB-driven menus scroll instead of running off screen */
  overflow-y: auto;
}
.navbar .dropdown-item {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  padding: .55rem .9rem;
  border-radius: var(--radius);
}
.navbar .dropdown-item:hover { background: var(--offwhite); color: var(--blue); }
.navbar .dropdown-item i.bi { color: var(--slate); margin-right: .15rem; }
/* a project category heading that also opens its own listing page */
.navbar .dropdown-item.dd-cat {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .6rem .9rem .3rem;
  background: none;
}
.navbar .dropdown-item.dd-cat i { font-size: .62rem; margin-right: 0; opacity: .7; }
.navbar .dropdown-item.dd-cat:hover { background: none; color: var(--blue); }
.navbar .dropdown-item.dd-cat.active { color: var(--blue); background: none; }
.navbar .dropdown-header {
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--slate);
  padding: .65rem .9rem .25rem;
}
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu { display: block; }
}

/* ---------- Mega dropdown (the Projects menu) ----------
   Two panes: the category column on the left, the highlighted category's projects on the right.
   The !important positioning is deliberate — when the toggle is *clicked*, Bootstrap hands the menu
   to Popper, which writes inline left/top/transform and would otherwise snap this wide panel back
   onto the toggle (and off the right edge of the screen). Anchoring it to the toggle's own box with
   top:100% also keeps the hover path gap-free. */
.navbar .dropdown-menu.dd-mega {
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  display: none;
  min-width: 0;
  width: min(620px, calc(100vw - 3rem));
  padding: 0;
  max-height: none;
  overflow: visible;
  grid-template-columns: 210px minmax(0, 1fr);
}
.navbar .dropdown:hover > .dropdown-menu.dd-mega,
.navbar .dropdown-menu.dd-mega.show {
  display: grid;
}
@media (min-width: 1200px) {
  .navbar .dropdown-menu.dd-mega { width: min(880px, calc(100vw - 4rem)); grid-template-columns: 250px minmax(0, 1fr); }
}
.dd-mega .mega-cats {
  background: var(--offwhite);
  border-right: 1px solid var(--line);
  border-radius: var(--radius) 0 0 var(--radius);
  padding: .6rem .5rem;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.dd-mega .mega-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: normal;
  color: var(--navy);
  background: none;
  border: 0;
  padding: .58rem .8rem;
}
.dd-mega .mega-cat i { font-size: .6rem; margin: 0; opacity: .4; transition: transform .2s ease, opacity .2s ease; }
.dd-mega .mega-cat:hover, .dd-mega .mega-cat:focus, .dd-mega .mega-cat.is-active {
  background: var(--white);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.dd-mega .mega-cat:hover i, .dd-mega .mega-cat:focus i, .dd-mega .mega-cat.is-active i { opacity: 1; transform: translateX(2px); }
/* the category whose own page is being viewed */
.dd-mega .mega-cat.active {
  background: var(--white);
  color: var(--blue);
  box-shadow: inset 3px 0 0 var(--gold), var(--shadow-sm);
}
.dd-mega .mega-rule { display: block; height: 1px; background: var(--line); margin: .55rem .8rem; }
.dd-mega .mega-link {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  white-space: normal;
  color: var(--slate);
  background: none;
  padding: .42rem .8rem;
}
.dd-mega .mega-link:hover { background: none; color: var(--blue); }
.dd-mega .mega-panels {
  padding: .9rem 1.1rem 1rem;
  min-width: 0;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
}
.dd-mega .mega-panel { display: none; }
.dd-mega .mega-panel.is-active { display: block; }
.dd-mega .mega-head {
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
  padding: .1rem .6rem .55rem;
  margin-bottom: .45rem;
  border-bottom: 1px solid var(--line);
}
.dd-mega .mega-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 1.25rem;
}
@media (min-width: 1200px) { .dd-mega .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dd-mega .mega-item {
  display: block;
  font-size: .84rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  color: var(--ink);
  padding: .5rem .6rem;
}
.dd-mega .mega-item:hover { background: var(--offwhite); color: var(--blue); }
.dd-mega .mega-item.active { background: var(--offwhite); color: var(--blue); font-weight: 600; }

/* Buttons */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  border-radius: var(--radius);
  padding: .8rem 1.7rem;
  transition: all .3s ease;
}
.btn-gold {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy-900);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(201,162,39,.35); }
.btn-navy { background: var(--navy); border: 1px solid var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-navy { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-light:hover { color: var(--navy-900); }

/* ---------- Mobile offcanvas ---------- */
/* .offcanvas.mobile-nav: Bootstrap sets the drawer width on `.offcanvas.offcanvas-end`
   (two classes), so a single-class `.mobile-nav` rule never wins. */
.offcanvas.mobile-nav { width: min(340px, 88vw); background: var(--navy); color: #fff; }
.mobile-nav .offcanvas-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-list > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.9);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav-list > li > a:hover, .mobile-nav-list > li > a:focus { color: var(--gold-light); }
.mobile-nav-list .collapse ul { list-style: none; padding: .25rem 0 .5rem 1rem; }
.mobile-nav-list .collapse ul a { color: rgba(255,255,255,.65); font-size: .88rem; display: block; padding: .35rem 0; }
.mobile-nav-list .collapse ul a:hover { color: var(--gold-light); }
.mobile-nav-list .collapse ul .grp {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .6rem 0 .2rem;
}
/* a project category heading that also opens its own listing page */
.mobile-nav-list .collapse ul .grp a {
  color: var(--gold-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .6rem 0 .2rem;
}
.mobile-nav-list .collapse ul .grp a i { font-size: .62rem; opacity: .8; }
.mobile-nav-list .collapse ul a.current { color: #fff; font-weight: 600; }
.mobile-nav .btn-gold { color: var(--navy-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
}
.hero .swiper { width: 100%; height: clamp(560px, 82vh, 880px); }
.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7s ease;
}
.hero-slide.swiper-slide-active img { transform: scale(1); }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(78deg, rgba(6,15,30,.92) 8%, rgba(10,31,60,.62) 46%, rgba(10,31,60,.18) 78%);
}
.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
.hero-caption .container { position: relative; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.hero-eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); }
.hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 15ch;
}
.hero-title .accent { color: var(--gold-light); }
.hero-text {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 34rem;
  margin: 1.4rem 0 2.2rem;
}
.hero .swiper-pagination { bottom: 2.2rem; text-align: left; padding-left: calc((100vw - 1140px) / 2 + 12px); }
.hero .swiper-pagination-bullet { width: 34px; height: 3px; border-radius: 0; background: rgba(255,255,255,.35); opacity: 1; }
.hero .swiper-pagination-bullet-active { background: var(--gold); }

/* Hero floating stat */
.hero-stat {
  position: absolute;
  right: 0;
  bottom: -4.5rem;
  z-index: 5;
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem 2rem;
  max-width: 300px;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.hero-stat .lbl { font-size: .85rem; color: var(--slate); margin-top: .4rem; }

/* ---------- Sections ---------- */
.section { padding: 65px 0; }
.section-tight { padding: 42px 0; }
.section-dark {
  background:
    linear-gradient(rgba(6,15,30,.94), rgba(6,15,30,.94)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 90px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 90px),
    var(--navy-900);
  color: rgba(255,255,255,.78);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-grey { background: var(--offwhite); }
/* Two grey bands touching read as one endless section (the home page's Featured Projects →
   Corporate Journey pair after the Smart IT Park block came out), so the second one keeps a
   hairline where the seam is. Colour changes partition on their own; this is only for same-on-same. */
.section-grey + .section-grey { border-top: 1px solid var(--line); }
.section-navy { background: var(--navy); color: rgba(255,255,255,.78); }
.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--gold); }
.section-dark .eyebrow, .section-navy .eyebrow { color: var(--gold-light); }

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.2rem;
}
.section-lead { color: var(--slate); font-size: 1.05rem; max-width: 46rem; }
.section-dark .section-lead, .section-navy .section-lead { color: rgba(255,255,255,.72); }

/* ---------- Statistics ---------- */
.stats-band { background: var(--navy); position: relative; overflow: hidden; }
.stats-band::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 110px);
}
.stat-item { position: relative; padding: 2.6rem 1.4rem; text-align: center; }
.stat-item + .stat-item::before {
  content: "";
  position: absolute; left: 0; top: 25%;
  height: 50%; width: 1px;
  background: rgba(255,255,255,.14);
}
.stat-item .num {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 3.6vw, 3.1rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}
.stat-item .lbl {
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  margin-top: .65rem;
  letter-spacing: .04em;
}

/* ---------- Image compositions ---------- */
.img-frame { position: relative; overflow: hidden; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.img-frame:hover img { transform: scale(1.05); }
.img-frame::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(10,31,60,.08);
  pointer-events: none;
}
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; }
.ratio-16x10 { aspect-ratio: 16 / 10; }

.stack-comp { position: relative; }
.stack-comp .main-img { aspect-ratio: 4 / 4.6; }
.stack-comp .sub-img-1 {
  position: absolute; top: -8%; right: -6%;
  width: 46%; aspect-ratio: 1; z-index: 2;
  border: 6px solid #fff; box-shadow: var(--shadow-md);
}
.stack-comp .sub-img-2 {
  position: absolute; bottom: -10%; right: 8%;
  width: 42%; aspect-ratio: 4/3; z-index: 2;
  border: 6px solid #fff; box-shadow: var(--shadow-md);
}
.stack-comp .stat-chip {
  position: absolute; left: -4%; bottom: 8%; z-index: 3;
  background: var(--navy); color: #fff;
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  border-left: 3px solid var(--gold);
}
.stack-comp .stat-chip .n { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--gold-light); }
.stack-comp .stat-chip .t { font-size: .78rem; color: rgba(255,255,255,.75); }

/* ---------- Cards ---------- */
.biz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.biz-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.biz-card .card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.biz-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.biz-card:hover .card-img img { transform: scale(1.06); }
.biz-card .card-body { padding: 1.7rem 1.6rem 1.8rem; }
.biz-card h3 { font-size: 1.18rem; margin-bottom: .6rem; }
.biz-card p { color: var(--slate); font-size: .93rem; margin-bottom: 0; }
.biz-card .card-num {
  font-family: var(--font-display); font-weight: 800;
  color: var(--gold); font-size: .85rem; letter-spacing: .15em;
}

/* ---------- Feature rows ---------- */
.feature-row { align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.feature-list li {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: .65rem 0;
  color: #000;
  font-size: .97rem;
}
.ftrslst li i { color: var(--gold); font-size: 1.05rem; margin-top: .2rem; }

.ftrslst { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.ftrslst li {
  display: flex; gap: .9rem; align-items: flex-start;
  padding: .65rem 0;
  color: #fff;
  font-size: .97rem;
}
.feature-list li i { color: var(--gold); font-size: 1.05rem; margin-top: .2rem; }

.check-grid .check-item {
  background: #fff; border: 1px solid var(--line);
  padding: 1.2rem 1.3rem; height: 100%;
  border-left: 3px solid var(--gold);
}
.check-grid .check-item h4 { font-size: 1rem; margin-bottom: .3rem; }
.check-grid .check-item p { font-size: .88rem; color: var(--slate); margin: 0; }

/* ---------- Country / Global presence ---------- */
.country-nav {
  display: flex; flex-wrap: wrap; gap: .6rem;
  border: none; margin-bottom: 2.4rem;
}
.country-nav .nav-link {
  font-family: var(--font-display);
  font-weight: 600; font-size: .9rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  padding: .7rem 1.4rem;
}
.country-nav .nav-link.active {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
  box-shadow: var(--shadow-sm);
}
.map-wrap {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}
.map-wrap .svgMap-map-wrapper { background: transparent; }
.country-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 1.8rem; }
.country-facts .fact { background: #fff; padding: 1.1rem 1.2rem; }
.country-facts .fact .k { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.country-facts .fact .v { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.02rem; margin-top: .25rem; }

.timeline { position: relative; margin: 2.5rem 0 0; padding-left: 2rem; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--gold), var(--line));
}
.timeline-item { position: relative; padding: 0 0 1.9rem 1.6rem; }
.timeline-item::before {
  content: ""; position: absolute; left: -2rem; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item .t-year {
  font-family: var(--font-display); font-weight: 800;
  color: var(--blue); font-size: .95rem; letter-spacing: .06em;
}
.timeline-item h4 { font-size: 1.08rem; margin: .2rem 0 .3rem; }
.timeline-item p { color: var(--slate); font-size: .92rem; margin: 0; }
.section-dark .timeline-item p, .section-navy .timeline-item p { color: rgba(255,255,255,.7); }
.section-dark .timeline-item h4, .section-navy .timeline-item h4 { color: #fff; }
.section-dark .timeline::before, .section-navy .timeline::before { background: linear-gradient(var(--gold), rgba(255,255,255,.15)); }

/* ---------- Corporate Journey — the home milestone rail ----------
   One card per milestone (Admin → Site Items → Milestones), laid out on a
   horizontal scroll-snap rail: the gold node sits on a line that runs through
   the top of every card, the year below it, then the title and the copy. */
.journey { position: relative; margin-top: 2.5rem; }
.j-nav { display: flex; justify-content: flex-end; gap: .5rem; margin-bottom: 1.1rem; }
.j-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--white); color: var(--navy); font-size: 1rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}
.j-btn:hover:not(:disabled) { background: var(--navy); color: #fff; border-color: var(--navy); }
.j-btn:disabled { opacity: .32; cursor: default; }

.j-track {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding-bottom: .35rem;
}
.j-track::-webkit-scrollbar { display: none; }

.j-card {
  position: relative; flex: 0 0 clamp(250px, 30%, 340px); min-width: 0;   /* min-width:0 — flex items
     default to min-width:auto, which lets one long word widen the card past its flex-basis */
  scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--line); border-top: 0;
  padding: 1.15rem 1.4rem 1.7rem; display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.j-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201, 162, 39, .5); }
.j-card::after {
  content: attr(data-i); position: absolute; right: 1.1rem; bottom: .5rem;
  font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1;
  color: rgba(30, 86, 160, .07); pointer-events: none;
}
.j-img { margin: 0 -1.4rem 1.3rem; overflow: hidden; }
.j-img img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .6s ease;
}
.j-card:hover .j-img img { transform: scale(1.06); }

/* the rail: flush with the card's left border, bridging the 1.25rem gap on the right */
.j-rail { position: relative; height: 2px; margin: 0 -1.25rem 1.5rem -1.4rem; background: var(--line); }
.j-rail::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 34px; background: var(--gold); }
.j-card:last-child .j-rail { margin-right: -1.4rem; }
.j-dot {
  position: absolute; left: 1.35rem; top: 50%; width: 13px; height: 13px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--gold);
  transform: translateY(-50%); transition: transform .3s ease, box-shadow .3s ease;
}
.j-card:hover .j-dot { transform: translateY(-50%) scale(1.22); box-shadow: 0 0 0 5px rgba(201, 162, 39, .18); }

.j-year { font-family: var(--font-display); font-weight: 800; font-size: 1.85rem; line-height: 1; color: var(--navy); }
.j-year::after { content: ""; display: block; width: 30px; height: 2px; background: var(--gold); margin-top: .55rem; }
.j-title { font-size: 1.02rem; font-weight: 700; color: var(--blue); margin: 1rem 0 .45rem; }
.j-text { color: var(--slate); font-size: .9rem; line-height: 1.65; margin: 0; flex: 1 1 auto; }
.j-link {
  margin-top: 1rem; font-family: var(--font-display); font-size: .76rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue); text-decoration: none;
}
.j-link i { transition: transform .25s ease; }
.j-link:hover { color: var(--navy); }
.j-link:hover i { transform: translateX(4px); }

.j-bar { position: relative; height: 2px; background: var(--line); margin-top: 1.6rem; }
.j-bar span { display: block; height: 100%; width: 100%; background: var(--gold); transition: transform .25s ease; }

@media (max-width: 767.98px) {
  .j-card { flex-basis: 82%; }
  .j-nav { display: none; }   /* swipe instead of arrows on touch */
}

/* ---------- Values ---------- */
.value-block {
  background: #fff; border: 1px solid var(--line);
  padding: 2rem 1.8rem; height: 100%;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.value-block:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-block::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.value-block:hover::before { transform: scaleX(1); }
.value-block .v-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--offwhite); color: var(--blue);
  font-size: 1.4rem; margin-bottom: 1.2rem;
  transition: background .3s ease, color .3s ease;
}
.value-block:hover .v-icon { background: var(--navy); color: var(--gold-light); }
.value-block h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.value-block p { color: var(--slate); font-size: .92rem; margin: 0; }

/* ---------- Projects ---------- */
.project-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  height: 100%;
  background: var(--navy-900);
  display: flex; flex-direction: column;
}
.project-card .pc-img { aspect-ratio: 16/11; overflow: hidden; }
.project-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project-card:hover .pc-img img { transform: scale(1.07); }
.project-card .pc-body {
  background: #fff; border: 1px solid var(--line); border-top: 0;
  padding: 1.5rem 1.5rem 1.6rem; flex: 1;
}
.project-card .pc-tag {
  display: inline-block; font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); background: var(--offwhite);
  padding: .3rem .7rem; margin-bottom: .8rem;
}
.project-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.project-card .pc-meta { font-size: .85rem; color: var(--slate); }
.project-card .pc-meta i { color: var(--gold); margin-right: .3rem; }
.project-card .pc-desc { font-size: .92rem; color: var(--slate); margin-top: .7rem; }

.spec-row { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.spec-row .spec { background: #fff; padding: 1rem 1.2rem; flex: 1 1 160px; }
.spec-row .spec .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--slate); }
.spec-row .spec .v { font-family: var(--font-display); font-weight: 700; color: var(--navy); }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.2rem; }
.filter-bar button {
  font-family: var(--font-display); font-size: .85rem; font-weight: 600;
  background: #fff; color: var(--navy);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: .55rem 1.2rem;
  transition: all .25s ease;
}
.filter-bar button:hover { border-color: var(--navy); }
.filter-bar button.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-grid { columns: 3; column-gap: 1.1rem; }
.gallery-item {
  break-inside: avoid; margin-bottom: 1.1rem;
  position: relative; overflow: hidden;
  cursor: zoom-in; border-radius: var(--radius);
}
.gallery-item img { width: 100%; display: block; transition: transform .7s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .g-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.4rem 1.1rem .9rem;
  background: linear-gradient(transparent, rgba(6,15,30,.88));
  color: #fff; font-size: .85rem;
  opacity: 0; transform: translateY(8px);
  transition: all .35s ease;
}
.gallery-item:hover .g-cap { opacity: 1; transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,15,30,.94);
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; object-fit: contain; box-shadow: var(--shadow-lg); }
.lightbox .lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  font-size: 1.3rem; transition: background .25s ease;
}
.lightbox .lb-btn:hover { background: var(--gold); color: var(--navy-900); }
.lightbox .lb-prev { left: 1.4rem; }
.lightbox .lb-next { right: 1.4rem; }
.lightbox .lb-close { position: absolute; top: 1.2rem; right: 1.4rem; transform: none; }
.lightbox .lb-caption {
  position: absolute; bottom: 1.4rem; left: 0; right: 0;
  text-align: center; color: rgba(255,255,255,.85); font-size: .92rem;
}

/* ---------- Team ---------- */
.team-card { background: #fff; border: 1px solid var(--line); height: 100%; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card .tc-img { aspect-ratio: 1/1.12; overflow: hidden; background: var(--offwhite); }
.team-card .tc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.team-card:hover .tc-img img { transform: scale(1.04); }
.team-card .tc-body { padding: 1.3rem 1.3rem 1.5rem; border-top: 3px solid var(--gold); }
.team-card h3 { font-size: 1.08rem; margin-bottom: .15rem; }
.team-card .tc-role { color: var(--blue); font-size: .84rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

.message-card {
  background: #fff; border: 1px solid var(--line);
  padding: 2.4rem; height: 100%; position: relative;
}
.message-card::before {
  content: "\201C";
  position: absolute; top: .4rem; right: 1.6rem;
  font-family: Georgia, serif; font-size: 7rem; line-height: 1;
  color: var(--offwhite);
}
.message-card blockquote { font-size: 1.02rem; color: var(--ink); font-weight: 500; }
.message-card .msg-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; }
.message-card .msg-author .thumb { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); flex: none; }
.message-card .msg-author .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.message-card .msg-author .n { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: .98rem; }
.message-card .msg-author .r { font-size: .8rem; color: var(--slate); }

/* Partner logos */
.partner-strip { display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 5fr));
  gap: 2rem;}
.partner-logo {
  background: #fff; border: 1px solid var(--line);
  padding: 1rem; display: grid; place-items: center;
  aspect-ratio: 16/9;
}
.partner-logo img { max-width: 100%; max-height: 194px; object-fit: contain; filter: grayscale(35%); transition: filter .3s ease, transform .3s ease; }
.partner-logo:hover img { filter: grayscale(0); transform: scale(1.05); }
.partner-name {
  text-align: center; font-family: var(--font-display);
  font-size: .82rem; font-weight: 600; color: var(--navy);
  padding: .7rem .5rem; background: #fff; border: 1px solid var(--line); height: 100%;
  display: grid; place-items: center;
}

/* ---------- Media ---------- */
.media-video { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.media-photo { position: relative; overflow: hidden; border-radius: var(--radius); }
.media-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.media-photo:hover img { transform: scale(1.05); }
.media-photo .mp-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.6rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(6,15,30,.9));
  color: #fff; font-size: .84rem;
}

/* ---------- Recognition & Events — the home tiles and their story pages ----------
   A tile is the whole link: image, category tag, two-line caption and an arrow that
   slides in on hover. Bootstrap's .ratio is not used here because its `> *` rule
   absolute-positions every child, which would stack the caption on top of the image. */
.rec-tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--navy); color: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-md); text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease;
}
.rec-tile:hover { transform: translateY(-5px); color: #fff; }
.rec-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.rec-tile:hover img { transform: scale(1.06); }
.rec-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 26%, rgba(6,15,30,.5) 58%, rgba(6,15,30,.94) 100%);
}
.mp-tag {
  display: inline-block; z-index: 2;
  font-family: var(--font-display); font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); background: var(--gold-light); padding: .38rem .6rem;
}
.rec-tile .mp-tag { position: absolute; top: .85rem; left: .85rem; }
.rec-tile .mp-cap {
  position: absolute; inset: auto 3.1rem .95rem .95rem; z-index: 2;
  font-size: .88rem; font-weight: 600; line-height: 1.35;
  text-shadow: 0 1px 10px rgba(6,15,30,.8);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rec-tile .mp-go {
  position: absolute; right: .8rem; bottom: .85rem; z-index: 2;
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
  opacity: 0; transform: translate(-6px, 6px); transition: .35s ease;
}
.rec-tile:hover .mp-go { opacity: 1; transform: none; background: var(--gold); border-color: var(--gold); color: var(--navy); }
.rec-film-meta { padding-top: .35rem; }
.rec-film-title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; margin: .7rem 0 .45rem; color: var(--navy); }
.rec-thumbs { display: grid; gap: .75rem; }
@media (max-width: 575.98px) {
  .rec-tile .mp-cap { font-size: .78rem; inset: auto 2.7rem .8rem .8rem; }
  .rec-tile .mp-go { width: 28px; height: 28px; }
}

/* ---------- SDG ---------- */
.sdg-card {
  border: 1px solid var(--line); background: #fff;
  padding: 1.8rem; height: 100%;
  display: flex; gap: 1.2rem;
  transition: transform .3s ease, box-shadow .3s ease;
}
.sdg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.sdg-card .sdg-num {
  flex: none; width: 64px; height: 64px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  color: #fff;
}
.sdg-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.sdg-card p { font-size: .9rem; color: var(--slate); margin: 0; }
.sdg-1 { background: #E5243B; } .sdg-4 { background: #C5192D; } .sdg-8 { background: #A21942; }
.sdg-10 { background: #DD1367; } .sdg-11 { background: #FD9D24; }
.sdg-13 { background: #3F7E44; }

/* ---------- Accordion ---------- */
.accordion-item { border: 1px solid var(--line) !important; border-radius: var(--radius) !important; margin-bottom: .7rem; }
.accordion-button {
  font-family: var(--font-display); font-weight: 600; color: var(--navy);
  padding: 1.1rem 1.3rem;
}
.accordion-button:not(.collapsed) { background: var(--offwhite); color: var(--blue); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--line); }

/* ---------- CTA strip ---------- */
.cta-strip {
  background:
    linear-gradient(rgba(6,15,30,.88), rgba(6,15,30,.88)),
    url("../img/hero/slider1.jpg") center/cover no-repeat fixed;
  color: #fff; padding: 5rem 0;
}
.cta-strip h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
.cta-strip p { color: rgba(255,255,255,.8); margin-top: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.68); padding: 5rem 0 0; font-size: .92rem; }
.footer-logo { filter: brightness(0) invert(1); margin-bottom: 1.4rem; }
.footer-about { max-width: 22rem; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .55rem; }
.site-footer ul a { color: rgba(255,255,255,.62); }
.site-footer ul a:hover { color: var(--gold-light); }
.footer-contact {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 3.4rem; padding-top: 2rem;
  font-size: .88rem;
}
.footer-contact i { color: var(--gold); margin-right: .5rem; }
.footer-contact a { color: rgba(255,255,255,.8); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2rem; padding: 1.4rem 0;
  font-size: .85rem;
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom .sep { margin: 0 .8rem; color: rgba(255,255,255,.25); }

/* ---------- Back to top ---------- */
/* 1035 keeps both floating buttons under Bootstrap's offcanvas (--bs-offcanvas-zindex: 1045),
   so the mobile menu drawer covers them instead of the WhatsApp bubble sitting on the list. */
.back-to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1035;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: all .35s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy-900); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 7.5rem 0 5.5rem;
  color: #fff;
  overflow: hidden;
  background: var(--navy-900);
}
.page-hero img.ph-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .38;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(80deg, rgba(6,15,30,.35), rgba(10,31,60,.45));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 44rem; margin: 1rem 0 0; font-size: 1.05rem; }
.breadcrumb-dark { --bs-breadcrumb-divider-color: rgba(255,255,255,.4); margin-bottom: 1rem; }
.breadcrumb-dark .breadcrumb-item a { color: rgba(255,255,255,.7); }
.breadcrumb-dark .breadcrumb-item.active { color: var(--gold-light); }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font-size: .95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 .2rem rgba(30, 86, 160, .12);
}
.form-label { font-weight: 600; font-size: .88rem; color: var(--navy); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1s ease; }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .hero .swiper { height: 560px; }
  .hero-stat { position: static; max-width: 100%; margin-top: 1rem; }
  .hero-caption { align-items: flex-end; padding-bottom: 3.4rem; }
  .gallery-grid { columns: 2; }
  .stack-comp .sub-img-1 { right: 0; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 575.98px) {
  .gallery-grid { columns: 1; }
  .hero-title { font-size: 1.9rem; }
  .cta-strip { background-attachment: scroll; }
  .message-card { padding: 1.6rem; }
}

/* ---------- Dynamic contact additions ---------- */
.topbar-info { display: flex; gap: 1.6rem; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; }
.mobile-contact { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; font-size: .9rem; }
.mobile-contact a { display: block; color: rgba(255,255,255,.85); margin-bottom: .5rem; }
.mobile-contact a:hover { color: var(--gold-light); }
.mobile-contact .addr { color: rgba(255,255,255,.6); margin-top: .5rem; }
.mobile-contact i { color: var(--gold); margin-right: .5rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.75);
  transition: all .25s ease;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); transform: translateY(-3px); }
.wa-float {
  position: fixed; right: 1.4rem; bottom: 5.2rem; z-index: 1035;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: #25D366; color: #fff; border-radius: 50%;
  font-size: 1.6rem; box-shadow: 0 10px 28px rgba(37,211,102,.4);
  transition: transform .3s ease, box-shadow .3s ease;
  animation: waPulse 2.4s infinite;
}
.wa-float:hover { color: #fff; transform: scale(1.08); box-shadow: 0 14px 34px rgba(37,211,102,.5); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Service / Project detail pages ---------- */
.detail-hero { position: relative; padding: 8.5rem 0 6rem; color: #fff; overflow: hidden; background: var(--navy-900); }
.detail-hero img.ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.detail-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(80deg, rgba(6,15,30,.95), rgba(62,64,149,.45)); }
.detail-hero .container { position: relative; z-index: 2; }
.detail-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; max-width: 22ch; }
.detail-hero .dh-icon {
  width: 64px; height: 64px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: var(--gold-light); font-size: 1.8rem; margin-bottom: 1.2rem;
}
.detail-hero p { color: rgba(255,255,255,.82); max-width: 46rem; margin: 1rem 0 0; font-size: 1.05rem; }
/* Long-form bodies written in CKEditor (project.php, service.php, recognition.php).
   CKEditor ships markup with no rhythm of its own, so the parent owns spacing and only
   element-level type styles are set here — no margins on the first/last child, or the
   column ends up with a gap that reads as broken padding. */
.detail-body { color: var(--slate); font-size: 1.02rem; line-height: 1.8; }
.detail-body > :first-child { margin-top: 0; }
.detail-body > :last-child { margin-bottom: 0; }
.detail-body p { margin: 0 0 1.15rem; }
.detail-body h2, .detail-body h3, .detail-body h4, .detail-body h5 {
  font-family: var(--font-display); color: var(--navy);
  margin: 2.1rem 0 .8rem; line-height: 1.3; font-weight: 700;
}
.detail-body h2 { font-size: 1.5rem; }
.detail-body h3 { font-size: 1.28rem; }
.detail-body h4, .detail-body h5 { font-size: 1.08rem; }
.detail-body ul, .detail-body ol { margin: 0 0 1.2rem; padding-left: 1.35rem; }
.detail-body li { margin-bottom: .5rem; }
.detail-body ul { list-style: none; padding-left: 0; }
.detail-body ul li { position: relative; padding-left: 1.4rem; }
.detail-body ul li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.detail-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.detail-body a:hover { color: var(--navy); }
.detail-body strong { color: var(--navy); font-weight: 700; }
.detail-body blockquote {
  margin: 1.8rem 0; padding: 1rem 1.4rem;
  border-left: 4px solid var(--gold); background: var(--offwhite);
  font-family: var(--font-display); font-size: 1.12rem; line-height: 1.6; color: var(--navy);
}
.detail-body blockquote p { margin: 0; }
.detail-body img { width: 100%; height: auto; border-radius: var(--radius); margin: 1.4rem 0; }
.detail-body .img-frame { margin: 1.4rem 0; }
.info-strip { background: var(--brand-indigo, #3E4095); color: #fff; }
.info-strip .row > div { padding: 1.4rem 1rem; border-right: 1px solid rgba(255,255,255,.14); }
.info-strip .row > div:last-child { border-right: 0; }
.info-strip .k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.info-strip .v { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff; margin-top: .2rem; }
.info-strip i { color: var(--gold-light); margin-right: .4rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery-thumbs .img-frame { aspect-ratio: 4/3; }
.related-card { border: 1px solid var(--line); background: #fff; padding: 1.4rem; height: 100%; display: flex; flex-direction: column; gap: .4rem; transition: transform .3s ease, box-shadow .3s ease; }
.related-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.related-card h4 { font-size: 1rem; margin: 0; color: var(--navy); }
.related-card p { font-size: .86rem; color: var(--slate); margin: 0; }
.related-card a.stretched-link { position: absolute; inset: 0; }
