/* ═══════════════════════════════════════════
   LUSAIL INTERNATIONAL — style.css
   Design: Teal-on-stone with Cormorant display
   ═══════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --brand:       #5C8B84;
  --brand-dark:  #3D6860;
  --brand-light: #8BB8B1;
  --stone:       #F5F2EE;
  --stone-mid:   #E8E3DC;
  --ink:         #1A1A18;
  --ink-mid:     #3C3C38;
  --ink-soft:    #6B6B65;
  --dark-bg:     #14201F;
  --dark-card:   #1D2E2C;
  --white:       #FFFFFF;
  --brand-pattern: url('../images/lusail-brand-pattern.png');

  --ff-display:  'Cormorant Garamond', Georgia, serif;
  --ff-body:     'Inter', system-ui, sans-serif;
  --ff-utility:  'Rajdhani', sans-serif;

  --radius:      12px;
  --radius-sm:   6px;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-md:   0 8px 40px rgba(0,0,0,.12);
  --transition:  all .3s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Utilities ── */
.section-pad { padding: 100px 0; }
.section-dark { background: var(--dark-bg); }
.section-muted { background: var(--stone); }

/* ── Lusail brand pattern watermark approach ── */
.section-pad {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section-pad::before,
.section-pad::after {
  content: "";
  position: absolute;
  background-image: var(--brand-pattern);
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
.section-pad::before {
  width: min(34vw, 420px);
  aspect-ratio: 1 / 1;
  top: -30px;
  right: -90px;
  opacity: .045;
}
.section-pad::after {
  width: min(22vw, 260px);
  aspect-ratio: 1 / 1;
  bottom: 10px;
  left: -70px;
  opacity: .028;
}
.section-pad > .container {
  position: relative;
  z-index: 1;
}
.section-dark::before { opacity: .07; }
.section-dark::after { opacity: .045; }
.section-muted::before { opacity: .055; }
.section-muted::after { opacity: .035; }

.section-eyebrow {
  font-family: var(--ff-utility);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin-bottom: .5rem;
}
.section-eyebrow.light { color: var(--brand-light); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0;
}
.section-title.light { color: var(--white); }

.section-body-text {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}
.section-body-text.light { color: rgba(255,255,255,.65); }

/* ── Buttons ── */
.btn-primary-brand {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .06em;
  transition: var(--transition);
}
.btn-primary-brand:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92,139,132,.35);
}
.btn-outline-brand {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm);
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .06em;
  transition: var(--transition);
}
.btn-outline-brand:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  color: #fff;
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
#mainNav {
  background: transparent;
  padding: 1.2rem 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
#mainNav.scrolled {
  background: rgba(20,32,31,.96);
  padding: .8rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
}
.brand-name {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.brand-sub {
  font-family: var(--ff-utility);
  font-size: .55rem;
  letter-spacing: .2em;
  color: var(--brand-light);
  line-height: 1;
}
.nav-link {
  color: rgba(255,255,255,.8) !important;
  font-family: var(--ff-utility);
  font-size: .85rem;
  letter-spacing: .08em;
  font-weight: 500;
  padding: .4rem .8rem !important;
  transition: color .2s;
}
.nav-link:hover, .nav-link.active {
  color: #fff !important;
}
.navbar-toggler {
  border-color: rgba(255,255,255,.3);
}
.navbar-toggler-icon {
  filter: invert(1);
}
.brand-logo-link {
  display: inline-flex;
  align-items: center;
}
.brand-logo-card {
  display: inline-flex;
  align-items: center;
  background: rgba(245,242,238,.95);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: .45rem .7rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.16);
  backdrop-filter: blur(10px);
}
.brand-logo-card-footer {
  background: rgba(245,242,238,.98);
}
.site-logo {
  display: block;
  width: auto;
  max-width: 100%;
}
.site-logo-nav {
  height: 40px;
}
.site-logo-footer {
  height: 46px;
}


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(20,32,31,.92) 0%, rgba(61,104,96,.85) 100%),
    url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1800&q=80') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(14,22,21,.7) 0%, transparent 70%);
  pointer-events: none;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(115deg, rgba(255,255,255,.03), transparent 48%),
    var(--brand-pattern),
    var(--brand-pattern);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: auto, min(36vw, 430px) auto, min(20vw, 210px) auto;
  background-position: center, right -80px top -25px, left -40px bottom 30px;
  opacity: .38;
  pointer-events: none;
}
.hero-section .container {
  flex: 1;
  padding-top: 120px;
  padding-bottom: 140px;
}
.hero-eyebrow {
  font-family: var(--ff-utility);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-accent {
  color: var(--brand-light);
  font-style: italic;
}
.hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
  max-width: 480px;
  line-height: 1.7;
}

/* Hero Stats Bar */
.hero-stats {
  background: rgba(92,139,132,.15);
  border-top: 1px solid rgba(92,139,132,.25);
  backdrop-filter: blur(8px);
  padding: 1.5rem 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: .5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-family: var(--ff-utility);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-top: .3rem;
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-img-grid {
  position: relative;
  padding-bottom: 80px;
}
.about-img-main img {
  border-radius: var(--radius);
  height: 380px;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-md);
}
.about-img-accent {
  position: absolute;
  bottom: 0; right: -20px;
  width: 55%;
  border: 4px solid #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-img-accent img {
  height: 200px;
  object-fit: cover;
}

.ceo-card {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  border-left: 3px solid var(--brand);
}
.ceo-card::after,
.qa-banner::after {
  content: "";
  position: absolute;
  width: 220px;
  aspect-ratio: 1 / 1;
  right: -55px;
  top: 50%;
  transform: translateY(-50%);
  background-image: var(--brand-pattern);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .065;
  pointer-events: none;
}
.ceo-card > *,
.qa-banner > * {
  position: relative;
  z-index: 1;
}
.ceo-quote-mark {
  font-family: var(--ff-display);
  font-size: 5rem;
  color: var(--brand);
  line-height: .5;
  margin-bottom: .5rem;
  opacity: .5;
}
.ceo-quote {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--ink-mid);
  font-style: italic;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}
.ceo-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ceo-avatar {
  width: 44px; height: 44px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-utility);
  font-weight: 600;
  font-size: .85rem;
  flex-shrink: 0;
}

.mv-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--stone-mid);
  height: 100%;
  transition: var(--transition);
}
.mv-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.mv-icon {
  width: 38px; height: 38px;
  background: rgba(92,139,132,.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
  color: var(--brand);
  font-size: 1.1rem;
}
.mv-card h6 {
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: .4rem;
  color: var(--ink);
}
.mv-card p {
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.value-tag {
  background: rgba(92,139,132,.1);
  color: var(--brand-dark);
  border: 1px solid rgba(92,139,132,.25);
  border-radius: 20px;
  padding: .35rem .9rem;
  font-family: var(--ff-utility);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.service-card {
  background: var(--dark-card);
  border: 1px solid rgba(92,139,132,.15);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.service-icon {
  width: 52px; height: 52px;
  background: rgba(92,139,132,.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--brand-light);
  margin-bottom: 1.2rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--brand);
  color: #fff;
}
.service-card h5 {
  font-family: var(--ff-utility);
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  letter-spacing: .03em;
  margin-bottom: .6rem;
}
.service-card p {
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  line-height: 1.6;
  margin: 0;
}

.qa-banner {
  background: rgba(92,139,132,.12);
  border: 1px solid rgba(92,139,132,.3);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.qa-banner h5 {
  color: var(--white);
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .05em;
}
.qa-banner p { color: rgba(255,255,255,.6); font-size: .9rem; margin: 0; }
.qa-shield-icon {
  font-size: 3rem;
  color: var(--brand-light);
}

/* ══════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════ */
.project-filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: transparent;
  border: 1.5px solid var(--stone-mid);
  color: var(--ink-soft);
  padding: .45rem 1.2rem;
  border-radius: 20px;
  font-family: var(--ff-utility);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--stone-mid);
  transition: var(--transition);
  height: 100%;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.project-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover .project-img-wrap img {
  transform: scale(1.06);
}
.project-badge {
  position: absolute;
  top: .8rem; right: .8rem;
  padding: .3rem .8rem;
  border-radius: 20px;
  font-family: var(--ff-utility);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.project-badge.completed {
  background: var(--brand);
  color: #fff;
}
.project-badge.ongoing {
  background: #E8A848;
  color: #fff;
}
.project-info {
  padding: 1.4rem;
}
.project-location {
  font-size: .72rem;
  color: var(--brand);
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: .3rem;
  margin-bottom: .5rem;
}
.project-info h5 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.project-info p {
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.project-item.hidden { display: none; }

/* ── Gallery hover overlay on card ── */
.project-img-wrap .gallery-hint {
  position: absolute;
  inset: 0;
  background: rgba(20,32,31,.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  opacity: 0;
  transition: opacity .3s ease;
  cursor: pointer;
}
.project-card:hover .gallery-hint { opacity: 1; }
.gallery-hint i {
  font-size: 2rem;
  color: #fff;
}
.gallery-hint span {
  font-family: var(--ff-utility);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.gallery-photo-count {
  position: absolute;
  bottom: .7rem;
  left: .7rem;
  background: rgba(20,32,31,.75);
  color: #fff;
  font-family: var(--ff-utility);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  padding: .2rem .6rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ══════════════════════════════════════════
   GALLERY LIGHTBOX
══════════════════════════════════════════ */
.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,18,17,.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility .35s ease;
  padding: 1rem;
}
.gallery-overlay.open {
  opacity: 1;
  visibility: visible;
}

.gallery-modal {
  background: var(--dark-card);
  border-radius: 16px;
  width: 100%;
  max-width: 1000px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(92,139,132,.2);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  transform: translateY(20px) scale(.98);
  transition: transform .35s ease;
}
.gallery-overlay.open .gallery-modal {
  transform: translateY(0) scale(1);
}

/* Header */
.gallery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.4rem 1.6rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.gallery-badge-label {
  display: inline-block;
  font-family: var(--ff-utility);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .2rem .7rem;
  border-radius: 20px;
  margin-bottom: .4rem;
}
.gallery-badge-label.completed { background: var(--brand); color: #fff; }
.gallery-badge-label.ongoing   { background: #E8A848; color: #fff; }

.gallery-modal-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin: .1rem 0 .2rem;
  line-height: 1.2;
}
.gallery-location-label {
  font-family: var(--ff-utility);
  font-size: .72rem;
  color: var(--brand-light);
  letter-spacing: .08em;
}
.gallery-close {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .9rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.gallery-close:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* Main viewer */
.gallery-viewer {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1rem;
  flex: 1;
  min-height: 0;
  position: relative;
}
.gallery-main-wrap {
  flex: 1;
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,.3);
  height: 380px;
}
.gallery-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity .22s ease;
}
.gallery-main-img.fading { opacity: 0; }

.gallery-counter {
  position: absolute;
  bottom: .6rem;
  right: .7rem;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.8);
  font-family: var(--ff-utility);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  padding: .2rem .6rem;
  border-radius: 20px;
}

/* Nav arrows */
.gallery-nav {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
  z-index: 2;
}
.gallery-nav:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.gallery-nav:disabled {
  opacity: .25;
  cursor: default;
}

/* Thumbnails */
.gallery-thumbs {
  display: flex;
  gap: .5rem;
  padding: .6rem 1.4rem;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(92,139,132,.4) transparent;
  border-top: 1px solid rgba(255,255,255,.05);
}
.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: rgba(92,139,132,.4); border-radius: 2px; }

.gallery-thumb {
  width: 70px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s, opacity .2s;
  opacity: .55;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb:hover { opacity: .85; }
.gallery-thumb.active {
  border-color: var(--brand);
  opacity: 1;
}

/* Description bar */
.gallery-desc-bar {
  padding: .7rem 1.6rem .9rem;
  border-top: 1px solid rgba(255,255,255,.05);
  flex-shrink: 0;
}
.gallery-desc-bar p {
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  margin: 0;
  line-height: 1.5;
}

/* ── Keyboard hint ── */
.gallery-kb-hint {
  text-align: center;
  padding: .3rem;
  font-size: .62rem;
  color: rgba(255,255,255,.2);
  font-family: var(--ff-utility);
  letter-spacing: .1em;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .gallery-main-wrap { height: 240px; }
  .gallery-modal-title { font-size: 1.2rem; }
  .gallery-nav { width: 36px; height: 36px; font-size: .9rem; }
  .gallery-thumb { width: 54px; height: 40px; }
  .gallery-viewer { padding: .5rem .4rem; gap: .3rem; }
  .gallery-header { padding: 1rem 1rem .8rem; }
  .gallery-thumbs { padding: .5rem .8rem; }
  .gallery-desc-bar { padding: .5rem 1rem .8rem; }
}

/* ══════════════════════════════════════════
   TEAM
══════════════════════════════════════════ */
.org-chart { }
.org-node-top {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.org-node {
  background: #fff;
  border: 1.5px solid var(--stone-mid);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
}
.ceo-node {
  border-top: 3px solid var(--brand);
  min-width: 260px;
}
.org-node strong {
  display: block;
  font-family: var(--ff-utility);
  font-weight: 600;
  color: var(--ink);
  font-size: .95rem;
}
.org-node span {
  font-size: .75rem;
  color: var(--ink-soft);
}
.org-node-icon {
  width: 40px; height: 40px;
  background: var(--brand);
  border-radius: 8px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.org-node-icon.sm { width: 32px; height: 32px; font-size: .9rem; }
.org-branches {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.org-branch { flex: 1; max-width: 300px; }
.dept-node {
  margin-bottom: 1rem;
}
.org-subnodes {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding-left: 1rem;
  border-left: 2px solid var(--stone-mid);
}
.org-subnodes span {
  font-size: .78rem;
  color: var(--ink-soft);
  padding: .3rem .6rem;
  background: var(--stone);
  border-radius: var(--radius-sm);
  font-family: var(--ff-utility);
}

.team-card {
  background: #fff;
  border: 1px solid var(--stone-mid);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.avatar-placeholder {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-utility);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto;
}
.team-avatar { margin-bottom: 1.2rem; }
.team-card h5 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .2rem;
}
.team-role {
  color: var(--brand);
  font-size: .75rem;
  font-family: var(--ff-utility);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.team-desc {
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

.manpower-card {
  background: #fff;
  border: 1px solid var(--stone-mid);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: var(--transition);
}
.manpower-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}
.manpower-card i {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: .8rem;
  display: block;
}
.manpower-card h4 {
  font-family: var(--ff-utility);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: .5rem;
}
.manpower-card p {
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 42px; height: 42px;
  background: rgba(92,139,132,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-light);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  font-family: var(--ff-utility);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.contact-item a, .contact-item span {
  color: #fff;
  font-size: .9rem;
}
.contact-item a:hover { color: var(--brand-light); }

.social-links { display: flex; gap: .6rem; }
.social-btn {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.social-btn.sm { width: 34px; height: 34px; font-size: .85rem; }

.contact-form { }
.form-input-dark {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: .85rem 1rem !important;
  font-size: .9rem !important;
  transition: var(--transition) !important;
}
.form-input-dark::placeholder { color: rgba(255,255,255,.3) !important; }
.form-input-dark:focus {
  outline: none !important;
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(92,139,132,.2) !important;
  background: rgba(255,255,255,.08) !important;
}
.form-input-dark option { background: var(--dark-bg); color: #fff; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.main-footer {
  background: #0D1918;
  padding: 60px 0 0;
}
.footer-heading {
  font-family: var(--ff-utility);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer-text {
  color: rgba(255,255,255,.4);
  font-size: .82rem;
  line-height: 1.7;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-links li a, .footer-links li span {
  color: rgba(255,255,255,.5);
  font-size: .82rem;
  transition: color .2s;
}
.footer-links li a:hover { color: var(--brand-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.2rem 0;
  margin-top: 2rem;
}
.footer-bottom p {
  color: rgba(255,255,255,.3);
  font-size: .75rem;
  margin: 0;
}

/* ══════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(92,139,132,.4);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--brand-dark);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 991px) {
  .section-pad { padding: 70px 0; }
  .section-pad::before { width: min(40vw, 280px); right: -60px; }
  .section-pad::after { width: min(24vw, 170px); left: -45px; }
  .hero-bg-pattern {
    background-size: auto, min(42vw, 300px) auto, min(24vw, 160px) auto;
    background-position: center, right -60px top -10px, left -25px bottom 25px;
  }
  .ceo-card::after,
  .qa-banner::after { width: 180px; right: -50px; }
  .about-img-grid { padding-bottom: 60px; }
  .about-img-accent { right: 0; }
  .org-branches { flex-direction: column; align-items: center; }
  .org-branch { width: 100%; }
  #navMenu {
    background: rgba(20,32,31,.97);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: .5rem;
  }
}

@media (max-width: 767px) {
  .section-pad { padding: 55px 0; }
  .section-pad::before { width: 180px; top: -15px; right: -70px; opacity: .04; }
  .section-pad::after { width: 110px; left: -35px; bottom: 15px; opacity: .022; }
  .hero-bg-pattern {
    background-size: auto, 230px auto, 120px auto;
    background-position: center, right -55px top 10px, left -30px bottom 20px;
    opacity: .28;
  }
  .ceo-card::after,
  .qa-banner::after { width: 140px; right: -45px; opacity: .05; }
  .site-logo-nav { height: 30px; }
  .site-logo-footer { height: 36px; }
  .brand-logo-card { padding: .35rem .5rem; border-radius: 10px; }
  .hero-title { font-size: 3rem; }
  .hero-section .container { padding-top: 100px; padding-bottom: 80px; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: .6rem; }
  .about-img-accent { display: none; }
  .about-img-grid { padding-bottom: 0; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .org-branches { gap: 1rem; }
}

/* ── Scroll-triggered fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
