:root {
  /* StrengthHold logo palette: navy + steel gray + light gray */
  --gold: #0A3B67;
  /* logo navy */
  --gold-light: #8C97A3;
  /* steel gray */
  --steel-light: #B1BAC4;
  /* lighter steel */
  --gold-dim: rgba(140, 151, 163, .24);
  --charcoal: #10283F;
  /* deep navy text */
  --charcoal-mid: #112F4A;
  /* dark navy section bg */
  --charcoal-card: #1A3F60;
  /* card navy */
  --cream: #ECEFF2;
  /* logo light gray */
  --cream-dark: #D8DEE5;
  /* divider gray */
  --text-light: #F5F7FA;
  --text-muted: rgba(177, 186, 196, .9);
  --ff-d: 'Montserrat', sans-serif;
  --ff-b: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: auto !important;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  font-family: var(--ff-b);
  background: var(--cream);
  color: var(--charcoal);
  overflow-x: hidden;
  font-size: 0.98rem;
  line-height: 1.7;
}

p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 3px
}

::-webkit-scrollbar-thumb {
  background: var(--gold)
}

/* NAV */
#navbar {
  background: rgba(241, 244, 247, .94);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 1.4rem 2.5rem;
  transition: all .4s;
  border-bottom: 1px solid rgba(11, 62, 107, .12)
}

#navbar.scrolled {
  background: rgba(241, 244, 247, .98);
  backdrop-filter: blur(14px);
  padding: .9rem 2.5rem;
  border-bottom: 1px solid rgba(11, 62, 107, .18)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block
}

.logo-text {
  transform: translateY(-2px)
}

.logo-text strong {
  font-family: var(--ff-d);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
  line-height: 1.1
}

.logo-text small {
  font-size: .58rem;
  color: #7F8D9B;
  letter-spacing: 2.5px;
  text-transform: uppercase
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none
}

.nav-links a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: .78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: .8;
  transition: opacity .3s;
  position: relative
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s
}

.nav-links a:hover {
  opacity: 1
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%
}

.nav-links a.active {
  color: var(--gold);
  opacity: 1
}

.btn-nav {
  background: var(--gold) !important;
  color: var(--text-light) !important;
  padding: .45rem 1.3rem;
  font-weight: 600 !important;
  opacity: 1 !important;
  border-radius: 2px
}

.btn-nav::after {
  display: none !important
}

.btn-nav:hover {
  background: var(--gold-light) !important
}

/* HERO */
#hero {
  min-height: 580px;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #0f1c2a;
  padding: 6.5rem 1rem 120px 1rem;
  text-align: center;
}

@media (min-width: 992px) {
  #hero {
    min-height: 100vh;
    flex-direction: row;
    align-items: center;
    padding: 0;
    text-align: left;
  }
}

.hero-slider-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
  display: block;
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
  padding: 0 1rem;
  text-align: left;
  margin: 0 auto;
  margin-bottom: 70px;
}

@media (min-width: 992px) {
  .hero-slide-inner {
    padding: 0 2.5rem;
    padding-top: 2rem;
    margin-bottom: 0;
  }
}

.hero-content-wrap {
  max-width: 820px;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border: none;
  box-shadow: none;
  text-shadow: none;
}

@media (max-width: 768px) {
  .hero-content-wrap {
    padding: 0;
    border-radius: 0;
  }
}

/* Bold Structured Block Style */
.hero-eyebrow span {
  background: #0f1c2a !important;
  color: #fff !important;
  padding: 0.4rem 0.85rem !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-size: clamp(0.62rem, 2.5vw, 0.75rem) !important;
  display: inline-block !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.hero-eyebrow::before {
  display: none !important;
}

.hero-h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  margin: 0.8rem 0 1rem 0;
}

.hero-h1 span {
  background: #0f1c2a !important;
  color: #ffffff !important;
  padding: 0.35rem 0.85rem !important;
  display: inline-block !important;
  font-family: var(--ff-d) !important;
  font-size: clamp(1.2rem, 5.5vw, 3.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
  white-space: normal !important;
}

.hero-h1 span em {
  color: #fff !important;
  font-style: normal !important;
}

.hero-desc {
  margin: 0 0 1.5rem 0;
}

.hero-desc span {
  background: #0f1c2a !important;
  color: rgba(255, 255, 255, 0.95) !important;
  padding: 0.55rem 0.85rem !important;
  display: inline-block !important;
  font-size: clamp(0.82rem, 3.2vw, 1.02rem) !important;
  line-height: 1.65 !important;
  max-width: 720px !important;
  border-left: 3px solid var(--gold) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
  white-space: normal !important;
}

/* Brutalist Button Overrides */
.hero-slide .btn-g,
.hero-slide .btn-og {
  background: #0f1c2a !important;
  color: #ffffff !important;
  border: 2px solid #0f1c2a !important;
  padding: 0.85rem 1.8rem !important;
  font-family: var(--ff-b) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-radius: 0 !important;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.hero-slide .btn-g:hover {
  background: white !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25) !important;
}

.hero-slide .btn-og {
  border-color: var(--gold) !important;
  color: #fff !important;
}

.hero-slide .btn-og:hover {
  background: white !important;
  border-color: var(--gold) !important;
  color: var(--gold) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25) !important;
}

/* Slider Controls */
.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: none;
  /* Desktop only */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 10;
}

@media (min-width: 992px) {
  .hero-control {
    display: flex;
  }
}

.hero-control:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-control:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-control.prev {
  left: 2rem;
}

.hero-control.next {
  right: 2rem;
}

/* Slider Indicators */
.hero-indicators {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

@media (min-width: 992px) {
  .hero-indicators {
    bottom: 25px;
  }
}

.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.indicator-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.15);
}

.indicator-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 6px;
  transform: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  padding-top: 2.5rem;
  width: 100%;
  right: 0;
}

@media (min-width: 992px) {
  .hero-content {
    max-width: 1300px;
    padding: 0 2.5rem;
    padding-top: 5rem;
    right: 84px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  font-size: .68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold)
}

.hero-h1 {
  font-family: var(--ff-d);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--charcoal)
}

.hero-h1 em {
  font-style: italic;
}

.hero-h1 strong {
  font-weight: 700;
  display: block
}

.hero-desc {
  font-size: 1rem;
  color: rgba(0, 0, 0, .72);
  max-width: 600px;
  line-height: 1.8;
  margin: 1.5rem 0 2.2rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Start slider elements as transparent for GSAP intro animation on homepage */
.hero-slide .hero-eyebrow,
.hero-slide .hero-h1,
.hero-slide .hero-desc,
.hero-slide .hero-btns {
  opacity: 0;
}

.btn-g {
  background: var(--gold);
  color: var(--text-light);
  border: none;
  padding: .8rem 1.9rem;
  font-family: var(--ff-b);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  transition: all .3s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px))
}

.btn-g:hover {
  background: var(--gold-light);
  color: #0E2235;
  transform: translateY(-2px)
}

.btn-og {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold-light);
  padding: .8rem 1.9rem;
  font-family: var(--ff-b);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  transition: all .3s
}

.btn-og:hover {
  background: rgba(140, 151, 163, .24);
  color: var(--text-light)
}

.hero-floats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 28, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0.5rem;
  margin-top: 0;
  z-index: 10;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: nowrap;
  gap: 0.25rem;
  opacity: 1 !important;
  /* Force visible */
}

@media (min-width: 992px) {
  .hero-floats {
    position: absolute;
    bottom: 2.5rem;
    right: 17rem;
    left: auto;
    background: rgba(16, 40, 63, 0.65); /* Sleek translucent dark navy block */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12); /* Clean border */
    padding: 1.5rem 2rem;
    border-radius: 4px;
    gap: 3rem;
    flex-wrap: nowrap;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); /* Premium depth shadow */
  }
}

.hf-item {
  text-align: center;
  flex: 1;
}

.hf-item .num {
  font-family: var(--ff-d);
  font-size: clamp(1.3rem, 5vw, 2.1rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

@media (min-width: 992px) {
  .hf-item .num {
    color: #FFB830; /* Vibrant golden color for stats, perfectly legible against dark bg/translucent card */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
}

.hf-item .lbl {
  font-size: clamp(0.5rem, 2.2vw, 0.65rem);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: .15rem;
}

@media (min-width: 992px) {
  .hf-item .lbl {
    color: rgba(255, 255, 255, 0.85); /* High-contrast clean off-white */
    letter-spacing: 1.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
}

/* SECTION UTILS */
.sec-label {
  font-size: .65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .8rem
}

.sec-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold)
}

.sec-label.dark {
  color: #345D80
}

.sec-label.dark::before {
  background: #345D80
}

.sec-title {
  font-family: var(--ff-d);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15
}

.sec-title em {
  font-style: italic;
}

.sec-title.dark {
  color: var(--charcoal)
}

.sec-title em.dk {
  font-style: italic;
}

.gold-line {
  width: 55px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.2rem 0
}

.gold-line.dk {
  background: linear-gradient(90deg, #345D80, transparent)
}

/* SERVICES */
#services {
  background: var(--cream);
  padding: 6rem 0
}

.svc-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--cream-dark);
    border: 1.5px solid var(--cream-dark);
  }
}

.svc-grid-split {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

@media (min-width: 992px) {
  .svc-grid-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5px;
    background: var(--cream-dark);
    border: 1.5px solid var(--cream-dark);
  }
}

.svc-card {
  background: #fff;
  padding: 2.3rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform .4s
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width .45s
}

.svc-card:hover::after {
  width: 100%
}

.svc-card:hover {
  transform: translateY(-5px)
}

.svc-icon {
  width: 52px;
  height: 52px;
  background: rgba(11, 62, 107, .08);
  border: 1px solid rgba(11, 62, 107, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #345D80;
  margin-bottom: 1.3rem
}

.svc-card h4 {
  font-family: var(--ff-d);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .6rem
}

.svc-card p {
  font-size: .98rem;
  color: #5B6D80;
  line-height: 1.75
}

.svc-arr {
  margin-top: 1.3rem;
  color: #345D80;
  font-size: 1.2rem;
  display: inline-block;
  transition: transform .3s
}

.svc-card:hover .svc-arr {
  transform: translateX(7px)
}

/* PROJECTS */
#projects {
  background: var(--charcoal);
  padding: 6rem 0
}

.proj-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem
}

.proj-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.proj-card {
  position: relative;
  overflow: hidden;
  background: var(--charcoal-card);
  cursor: pointer;
  width: 100%;
  min-height: 280px;
}

@media (min-width: 768px) {
  .proj-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: .9rem;
  }

  .proj-card:nth-child(1) {
    grid-column: 1/8;
    min-height: 360px;
  }

  .proj-card:nth-child(2) {
    grid-column: 8/13;
    min-height: 360px;
  }

  .proj-card:nth-child(3) {
    grid-column: 1/5;
    min-height: 270px;
  }

  .proj-card:nth-child(4) {
    grid-column: 5/9;
    min-height: 270px;
  }

  .proj-card:nth-child(5) {
    grid-column: 9/13;
    min-height: 270px;
  }
}

.proj-bg {
  position: absolute;
  inset: 0;
  transition: transform .6s ease;
  width: 100%;
  height: 100%;
  border: 0;
  background: #121216;
}

.proj-card:hover .proj-bg {
  transform: scale(1.06)
}

.proj-frame-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #111214, #1a1a1f);
}

.proj-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.04) saturate(1.04) brightness(.9);
  transform: scale(1.02);
  pointer-events: auto;
}

/* Subtle arch silhouette line pattern on cards */
.proj-over {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background .4s;
  pointer-events: none
}

.proj-card:hover .proj-over {
  background: linear-gradient(to top, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .15) 70%)
}

.proj-tag {
  font-size: .62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .4rem
}

.proj-name {
  font-family: var(--ff-d);
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff
}

.proj-loc {
  font-size: .72rem;
  color: rgba(255, 255, 255, .45);
  margin-top: .25rem
}

.proj-extra {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease
}

.proj-card:hover .proj-extra {
  max-height: 70px
}

.proj-extra p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .65);
  margin-top: .5rem;
  line-height: 1.6
}

/* gold corner accent */
.proj-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 0 solid transparent;
  border-right: 0 solid var(--gold);
  transition: border-width .35s
}

.proj-card:hover .proj-corner {
  border-top-width: 40px;
  border-right-width: 40px
}

#projects .sec-label {
  color: var(--steel-light)
}

#projects .sec-label::before {
  background: var(--steel-light)
}

#projects .sec-title {
  color: var(--text-light)
}

#projects .sec-title em {
  color: var(--gold-light)
}

#projects .btn-og {
  color: var(--text-light);
  border-color: rgba(177, 186, 196, .65)
}

#projects .btn-og:hover {
  background: rgba(177, 186, 196, .18);
  color: var(--text-light)
}

/* STATS */
#stats {
  background: var(--charcoal-mid);
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  overflow: hidden
}

#stats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, .05) 0%, transparent 70%)
}

.stats-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
}

.stat-item:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-item {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, .05);
  }

  .stat-item:nth-child(2n) {
    border-right: none;
  }
}

@media (min-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stat-item {
    border-right: 1px solid rgba(255, 255, 255, .05);
    padding: 2.5rem 1rem;
  }

  .stat-item:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, .05);
  }

  .stat-item:last-child {
    border-right: none;
  }
}

.stat-num {
  font-family: var(--ff-d);
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1;
  display: block
}

.stat-suf {
  font-size: 1.4rem
}

.stat-lbl {
  font-size: .68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .5rem;
  display: block
}

.stat-sub {
  font-size: .78rem;
  color: rgba(221, 231, 240, .72);
  margin-top: .25rem
}

/* WHY */
#why {
  background: var(--cream);
  padding: 6rem 0
}

.why-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.why-grid-vertical {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

@media (min-width: 768px) {
  .why-grid-vertical {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.why-grid-vertical .why-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.why-grid-vertical .why-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  font-size: 1.8rem;
  line-height: 1;
}

@media (min-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  padding: 2rem;
  border: 1px solid var(--cream-dark);
  background: #fff;
  position: relative;
  transition: all .35s
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height .4s
}

.why-card:hover::before {
  height: 100%
}

.why-card:hover {
  border-color: rgba(0, 0, 0, .14);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06)
}

.why-icon {
  font-size: 1.8rem;
  color: #345D80;
  margin-bottom: 1rem
}

.why-card h5 {
  font-family: var(--ff-d);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: .5rem
}

.why-card p {
  font-size: .98rem;
  color: #5B6D80;
  line-height: 1.75
}

/* PROCESS FLOW */
#process-flow {
  background: var(--charcoal-mid);
  padding: 6rem 0;
  border-top: 1px solid rgba(177, 186, 196, .22);
  border-bottom: 1px solid rgba(177, 186, 196, .22)
}

.flow-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap
}

.flow-head p {
  max-width: 520px;
  color: rgba(228, 236, 244, .92);
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 0
}

#process-flow .sec-label {
  color: var(--steel-light)
}

#process-flow .sec-label::before {
  background: var(--steel-light)
}

#process-flow .sec-title {
  color: var(--text-light)
}

#process-flow .sec-title em {
  color: var(--steel-light)
}

.flow-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

@media (min-width: 768px) {
  .flow-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (min-width: 992px) {
  .flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.flow-card {
  background: rgba(8, 26, 43, .48);
  border: 1px solid rgba(177, 186, 196, .2);
  padding: 1.5rem;
  position: relative;
  overflow: hidden
}

.flow-n {
  font-family: var(--ff-d);
  font-size: 2rem;
  color: var(--text-light);
  line-height: 1
}

.flow-card h5 {
  font-family: var(--ff-d);
  font-size: 1.12rem;
  color: var(--text-light);
  margin: .6rem 0
}

.flow-card p {
  font-size: .96rem;
  color: rgba(228, 236, 244, .92);
  line-height: 1.7;
  margin: 0
}

.flow-card::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: .7
}

/* SECTORS */
#sectors {
  background: var(--cream);
  padding: 6rem 0
}

.sector-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.2rem;
}

@media (min-width: 768px) {
  .sector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 992px) {
  .sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

.sector-grid-split {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.2rem;
}

@media (min-width: 768px) {
  .sector-grid-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

.sector {
  background: #fff;
  border: 1px solid var(--cream-dark);
  padding: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: .8rem
}

.sector i {
  font-size: 1.05rem;
  color: var(--gold);
  margin-top: .15rem
}

.sector strong {
  font-size: 1.02rem;
  color: var(--charcoal);
  display: block;
  line-height: 1.35
}

.sector span {
  font-size: .92rem;
  color: #5B6D80;
  display: block;
  margin-top: .2rem
}

/* FAQ */
#faq {
  background: var(--charcoal);
  padding: 6rem 0
}

#faq .sec-label {
  color: var(--steel-light)
}

#faq .sec-label::before {
  background: var(--steel-light)
}

#faq .sec-title {
  color: var(--text-light)
}

#faq .sec-title em {
  color: var(--steel-light)
}

.faq-wrap {
  max-width: 900px;
  margin: 2rem auto 0
}

.faq-item {
  background: rgba(8, 26, 43, .45);
  border: 1px solid rgba(177, 186, 196, .18);
  margin-bottom: .7rem
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  color: var(--text-light);
  font-weight: 500;
  position: relative
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--steel-light)
}

.faq-item[open] summary::after {
  content: '−'
}

.faq-item p {
  padding: 0 1.1rem 1rem;
  font-size: .98rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0
}

/* TEAM */
#team {
  background: var(--cream);
  padding: 6rem 0
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

@media (min-width: 768px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (min-width: 992px) {
  .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.team-card {
  background: #fff;
  border: 1px solid var(--cream-dark);
  padding: 1.2rem
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem
}

.team-card h6 {
  margin: .75rem 0 .2rem;
  font-size: 1rem;
  color: var(--charcoal);
  font-family: var(--ff-d)
}

.team-card small {
  display: block;
  color: #61778E;
  font-size: .74rem;
  letter-spacing: 1px;
  text-transform: uppercase
}

.team-card p {
  margin: .6rem 0 0;
  font-size: .95rem;
  line-height: 1.7;
  color: #5B6D80
}

/* RESOURCES */
#resources {
  background: var(--charcoal-mid);
  padding: 6rem 0
}

#resources .sec-label {
  color: var(--steel-light)
}

#resources .sec-label::before {
  background: var(--steel-light)
}

#resources .sec-title {
  color: var(--text-light)
}

#resources .sec-title em {
  color: var(--steel-light)
}

.res-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

@media (min-width: 768px) {
  .res-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (min-width: 992px) {
  .res-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.res-card {
  background: rgba(8, 26, 43, .45);
  border: 1px solid rgba(177, 186, 196, .2);
  padding: 1.2rem
}

.res-card .k {
  font-size: .68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--steel-light)
}

.res-card h5 {
  margin: .45rem 0;
  font-family: var(--ff-d);
  font-size: 1.2rem;
  color: var(--text-light)
}

.res-card p {
  font-size: .96rem;
  line-height: 1.7;
  color: rgba(228, 236, 244, .88);
  margin: 0 0 .9rem
}

.res-card a {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--steel-light);
  text-decoration: none
}

/* CLIENTS */
#clients {
  background: var(--charcoal-mid);
  padding: 4rem 0;
  overflow: hidden
}

.clients-lbl {
  text-align: center;
  font-size: .65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 2.5rem
}

.marquee-wrap {
  overflow: hidden;
  position: relative
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--charcoal-mid), transparent)
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--charcoal-mid), transparent)
}

.marquee-inner {
  display: flex;
  gap: 3rem;
  animation: marquee 22s linear infinite;
  width: max-content
}

@keyframes marquee {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

.cl-logo {
  font-family: var(--ff-d);
  font-size: .95rem;
  font-weight: 600;
  color: var(--steel-light);
  opacity: .82;
  padding: .5rem 1.5rem;
  border: 1px solid rgba(177, 186, 196, .28);
  letter-spacing: .5px;
  white-space: nowrap;
  transition: all .3s;
  cursor: default
}

.cl-logo:hover {
  opacity: 1;
  color: var(--text-light);
  border-color: rgba(177, 186, 196, .55)
}

/* CTA BANNER */
#cta {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  background: var(--charcoal)
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/modern_cantilever_skyscraper.png');
  background-size: cover;
  background-position: center;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.5rem
}

.cta-inner h2 {
  font-family: var(--ff-d);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.2;
  margin-bottom: .9rem
}

.cta-inner h2 em {
  color: var(--steel-light);
  font-style: italic
}

.cta-inner p {
  color: var(--cream);
  margin-bottom: 2.2rem;
  font-size: .95rem;
  line-height: 1.8
}

#cta .sec-label {
  color: var(--gold-light)
}

#cta .sec-label::before {
  background: var(--gold-light)
}

/* FOOTER */
footer {
  background: var(--cream);
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--cream-dark)
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr 2fr;
    gap: 3rem;
  }
}

.footer-brand p {
  font-size: .94rem;
  color: #5B6D80;
  line-height: 1.85;
  margin-top: 1rem;
  max-width: 320px
}

.footer-col h6 {
  font-size: .75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.1rem
}

.footer-col ul {
  list-style: none
}

.footer-col ul li {
  margin-bottom: .55rem
}

.footer-col ul li a {
  text-decoration: none;
  color: #5B6D80;
  font-size: .94rem;
  transition: color .3s
}

.footer-col ul li a:hover {
  color: var(--gold)
}

.fc-item {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  margin-bottom: .7rem
}

.fc-item i {
  color: var(--gold);
  font-size: .85rem;
  margin-top: .15rem;
  flex-shrink: 0
}

.fc-item span {
  font-size: .92rem;
  color: #5B6D80;
  line-height: 1.6
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--cream-dark);
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem
}

.foot-bottom p {
  font-size: .72rem;
  color: #5B6D80
}

.foot-bottom span {
  color: var(--gold)
}

.socials {
  display: flex;
  gap: .75rem
}

.socials a {
  width: 33px;
  height: 33px;
  border: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5B6D80;
  text-decoration: none;
  font-size: .85rem;
  transition: all .3s
}

.socials a:hover {
  border-color: var(--gold);
  color: var(--gold)
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(28px)
}

.reveal-l {
  opacity: 0;
  transform: translateX(-28px)
}

/* Enquiry Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 40, 63, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.enquiry-modal {
  background: var(--cream);
  max-width: 500px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  border-top: 4px solid var(--gold);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gold);
}

.modal-title {
  font-family: var(--ff-d);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}

.form-control-sh {
  width: 100%;
  padding: 0.8rem;
  background: #fff;
  border: 1px solid var(--cream-dark);
  font-family: var(--ff-b);
  font-size: 0.9rem;
  outline: none;
}

.form-control-sh:focus {
  border-color: var(--gold);
}

/* RESPONSIVE */
@media(max-width:1024px) {
  .nav-links {
    gap: 1.5rem
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .sector-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .res-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:768px) {
  .nav-links {
    display: none
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, .05)
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }

  .proj-card:nth-child(1) {
    grid-column: 1/13
  }

  .proj-card:nth-child(2) {
    grid-column: 1/13
  }

  .proj-card:nth-child(3) {
    grid-column: 1/7
  }

  .proj-card:nth-child(4) {
    grid-column: 7/13
  }

  .proj-card:nth-child(5) {
    grid-column: 1/13
  }

  .hero-floats {
    display: none
  }
}

@media(max-width:576px) {
  .svc-grid {
    grid-template-columns: 1fr
  }

  .why-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .flow-grid {
    grid-template-columns: 1fr
  }

  .sector-grid {
    grid-template-columns: 1fr
  }

  .team-grid {
    grid-template-columns: 1fr
  }

  .res-grid {
    grid-template-columns: 1fr
  }
}

/* NEW PREMIUM HOMEPAGE STYLES */
.hero-v2 {
  padding: 10rem 0;
  background: #fff;
  position: relative;
}

.feature-block {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 4px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
  filter: brightness(0.85);
}

.feature-block:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.feature-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 40, 63, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.feature-block:hover .feature-content {
  opacity: 1;
}

.feature-title {
  font-family: var(--ff-d);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 1.05rem;
  max-width: 80%;
  opacity: 0.8;
  line-height: 1.7;
}

.modern-stats {
  background: #fff;
  border-top: 1px solid var(--cream-dark);
  padding: 8rem 0;
}

.stat-box {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid var(--cream-dark);
}

.stat-box:last-child {
  border-right: none;
}

.stat-box .count {
  font-family: var(--ff-d);
  font-size: 4rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-box .lbl {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
}

.intro-section {
  padding: 8rem 0;
  background: var(--cream);
  text-align: center;
}

.intro-text {
  font-size: 2rem;
  line-height: 1.5;
  color: var(--charcoal);
  font-family: var(--ff-d);
  max-width: 900px;
  margin: 0 auto;
  font-weight: 300;
}

.intro-text em {
  color: var(--gold);
}

.floating-cta {
  position: relative;
  background: var(--charcoal);
  padding: 10rem 0;
  overflow: hidden;
  text-align: center;
}

.cta-circle {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.featured-row {
  display: flex;
  align-items: stretch;
  margin-bottom: 4rem;
  gap: 4rem;
}

.featured-img {
  flex: 1;
  min-height: 400px;
  background: var(--gold-dim);
  border-radius: 2px;
  overflow: hidden;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ABOUT PAGE STYLES */
.about-hero {
  padding: 12rem 0 8rem;
  background: var(--charcoal);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1500') center;
  background-size: cover;
  opacity: 0.15;
  filter: grayscale(1);
}

.timeline-wrap {
  position: relative;
  padding: 6rem 0;
  background: #fff;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--cream-dark);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem 4rem;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  text-align: left;
}

.timeline-item:nth-child(odd) {
  text-align: right;
}

.timeline-year {
  font-family: var(--ff-d);
  font-size: 3rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.timeline-dot {
  position: absolute;
  top: 3.5rem;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  z-index: 2;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--gold);
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -7px;
}

.value-card {
  background: #fff;
  padding: 3rem;
  border: 1px solid var(--cream-dark);
  height: 100%;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}

.value-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(10, 59, 103, 0.05);
}

.value-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 2rem;
  display: inline-block;
}

.value-card h4 {
  font-family: var(--ff-d);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.value-card p {
  font-size: 1.05rem;
  color: #5B6D80;
  line-height: 1.8;
}

/* SERVICES PAGE STYLES */
.services-hero {
  padding: 10rem 0;
  background: var(--charcoal-mid);
  color: #fff;
  position: relative;
}

.blueprint-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.process-step {
  background: #fff;
  padding: 3rem;
  border: 1px solid var(--cream-dark);
  position: relative;
}

.process-num {
  font-family: var(--ff-d);
  font-size: 3rem;
  color: var(--gold-dim);
  position: absolute;
  top: 1rem;
  right: 2rem;
}

/* Dark Section Contrast Enhancements */
.dark-section .sec-label {
  color: var(--steel-light) !important;
}

.dark-section .sec-label::before {
  background: var(--steel-light) !important;
}

.dark-section .sec-title em {
  color: var(--steel-light) !important;
}

.dark-section .process-num {
  color: rgba(255, 255, 255, 0.12) !important;
}

.dark-section h5 {
  color: #FFFFFF !important;
}

.dark-section p {
  color: rgba(255, 255, 255, 0.72) !important;
}

.service-module {
  padding: 8rem 0;
}

.service-module:nth-child(even) {
  background: #fff;
}

.service-module:nth-child(odd) {
  background: var(--cream);
}

.module-img {
  height: 450px;
  background: var(--gold-dim);
  border-radius: 4px;
  overflow: hidden;
}

.module-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PORTFOLIO STYLES */
.filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  justify-content: center;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--cream-dark);
  color: var(--gold-light);
  padding: 0.6rem 1.8rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(10, 59, 103, 0.05);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  }
}

.portfolio-item {
  position: relative;
  height: 350px;
  overflow: hidden;
  cursor: pointer;
  border-radius: 4px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 40, 63, 0.9) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* CLIENTS PAGE STYLES */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    margin: 6rem 0;
  }
}

.bento-item {
  background: #fff;
  padding: 3rem;
  border: 1px solid var(--cream-dark);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-item:nth-child(1) {
  grid-column: span 2;
  background: var(--charcoal);
  color: #fff;
}

.bento-item h4 {
  font-family: var(--ff-d);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cream-dark);
  border: 1px solid var(--cream-dark);
  margin-top: 4rem;
}

.logo-box {
  background: #fff;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-d);
  font-size: 1.2rem;
  color: #000000;
  filter: grayscale(1);
  transition: all 0.4s;
  cursor: default;
}

.logo-box:hover {
  filter: grayscale(0);
  color: var(--gold);
}

.testimonial-card {
  padding: 4rem;
  background: var(--cream);
  position: relative;
  border-radius: 4px;
}

.testimonial-card i {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-size: 3rem;
  color: var(--gold-dim);
}

/* PRINT / PDF STYLES */
@media print {

  #navbar,
  #footer,
  .btn-og,
  .btn-g,
  #enquiryModal,
  .sec-label {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 2rem !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  model-viewer,
  iframe {
    height: 400px !important;
    border: 1px solid #eee !important;
  }

  h1 {
    font-size: 3rem !important;
    color: #0A3B67 !important;
  }

  .gallery-item {
    break-inside: avoid;
    height: 250px !important;
  }

  .card {
    border: 1px solid #eee !important;
    box-shadow: none !important;
  }
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: #fff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  z-index: 9999;
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  background: #128c7e;
  color: #fff;
}

.whatsapp-float i {
  font-size: 1.5rem;
}

.whatsapp-float span {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 15px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
}

/* INTERACTIVE PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.preloader-content {
  width: 300px;
  text-align: center;
}

.blueprint-logo img {
  width: 80px;
  filter: brightness(0) invert(1);
  animation: blueprint-spin 4s linear infinite;
}

.progress-bar-wrap {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  margin: 2rem 0 1rem;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.3s;
}

.preloader-status {
  color: var(--gold-light);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

@keyframes blueprint-spin {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM SLIDING TEXT BACKGROUND REVEAL SYSTEM
   ═══════════════════════════════════════════════════════════ */
.hero-h1 em,
.sec-title em,
.sec-title em.dk {
  position: relative;
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  padding: 0.15rem 0.85rem;
  margin: 0 0.2rem;
  z-index: 1;
  border-radius: 2px;
}

/* Horizontal slide-in block pseudo-element */
.hero-h1 em::before,
.sec-title em::before,
.sec-title em.dk::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 2px;
  animation: slideBgReveal 1.25s cubic-bezier(0.85, 0, 0.15, 1) 0.6s forwards;
}

/* Context-Aware Color Palette: Default (Light Sections / Light Backgrounds) */
/* Deep charcoal background block with clean, light text inside */
.hero-h1 em,
.sec-title em,
.sec-title em.dk {
  color: var(--text-light) !important;
}

.hero-h1 em::before,
.sec-title em::before,
.sec-title em.dk::before {
  background: var(--charcoal);
}

/* Context-Aware Color Palette: Dark Sections / Navy Backgrounds */
/* Crisp cream background block with clean, deep navy text inside */
.about-hero .hero-h1 em,
.services-hero .hero-h1 em,
.portfolio-hero .hero-h1 em,
.careers-hero .hero-h1 em,
.blog-hero .hero-h1 em,
.dark-section .hero-h1 em,
.dark-section .sec-title em,
#process-flow .sec-title em,
#faq .sec-title em,
#resources .sec-title em,
#cta .sec-title em {
  color: var(--charcoal) !important;
}

.about-hero .hero-h1 em::before,
.services-hero .hero-h1 em::before,
.portfolio-hero .hero-h1 em::before,
.careers-hero .hero-h1 em::before,
.blog-hero .hero-h1 em::before,
.dark-section .hero-h1 em::before,
.dark-section .sec-title em::before,
#process-flow .sec-title em::before,
#faq .sec-title em::before,
#resources .sec-title em::before,
#cta .sec-title em::before {
  background: var(--text-light);
}

@keyframes slideBgReveal {
  0% {
    transform: scaleX(0);
  }

  100% {
    transform: scaleX(1);
  }
}

/* ═══════════════════════════════════════════════════════════
   PREMIUM MOBILE RESPONSIVENESS SYSTEM (MEDIA QUERIES)
   ═══════════════════════════════════════════════════════════ */

/* --- Mobile Menu Button --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10002;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--charcoal);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left;
}

/* Hamburger animations on active */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(1px, -1px);
  background: var(--gold);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(1px, 1px);
  background: var(--gold);
}

/* Global Body Menu Lock */
body.menu-open {
  overflow: hidden !important;
}

/* --- Screen sizes below 991px (Tablets & Mobile) --- */
@media (max-width: 991px) {

  /* Navbar conversion to elegant overlay drawer */
  .nav-toggle {
    display: flex;
  }

  #navbar {
    padding: 0.8rem 1.5rem !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 40px rgba(10, 59, 103, 0.15);
    padding: 6rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    z-index: 10001;
    margin: 0;
    overflow-y: auto;
    border-left: 1px solid var(--cream-dark);
  }

  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    padding: 0.5rem 0;
    color: var(--charcoal) !important;
    border-bottom: 1px solid rgba(140, 151, 163, 0.15);
  }

  .nav-links a::after {
    display: none !important;
  }

  .nav-links a.active {
    color: var(--gold) !important;
    font-weight: 600;
  }

  .nav-links .btn-nav {
    background: var(--gold) !important;
    color: #fff !important;
    text-align: center;
    border-radius: 4px;
    padding: 0.8rem 1rem !important;
    margin-top: 1rem;
    border: none !important;
  }

  .nav-links .btn-nav:hover {
    background: var(--charcoal) !important;
  }

  /* Hero layout wrapping & compact sizes */
  #hero {
    padding: 6.5rem 1rem 120px 1rem !important;
    min-height: 580px !important;
    height: 100vh !important;
    text-align: center;
  }

  .hero-content {
    max-width: 100% !important;
    margin: 0 auto;
    right: 0 !important;
    padding: 0 1rem !important;
    padding-top: 1.5rem !important;
  }

  .hero-h1 {
    font-size: 2rem !important;
    line-height: 1.25 !important;
  }

  .hero-h1 em {
    padding: 0.1rem 0.5rem !important;
    margin: 0 0.1rem !important;
  }

  .hero-desc {
    font-size: 0.9rem !important;
    margin: 1.2rem auto 2rem !important;
    line-height: 1.7 !important;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-floats {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(15, 28, 42, 0.82) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1rem 0.5rem !important;
    margin-top: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-around !important;
    flex-wrap: nowrap !important;
    gap: 0.25rem !important;
    opacity: 1 !important;
  }

  .hf-item {
    flex: 1 !important;
    border-left: none !important;
    border-bottom: none !important;
    padding: 0 !important;
    text-align: center !important;
  }

  /* Estimate tool & quiz tweaks */
  .est-step-wrap {
    padding: 2rem 1.2rem !important;
  }
}

/* --- Screen sizes below 768px (Mobile Devices) --- */
@media (max-width: 768px) {

  /* Mobile drawer close button styles */
  .drawer-close-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .drawer-close-btn {
    background: none !important;
    border: none !important;
    font-size: 1.6rem !important;
    color: var(--charcoal) !important;
    cursor: pointer !important;
    padding: 0.4rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.3s !important;
  }

  .drawer-close-btn:hover {
    color: var(--gold) !important;
  }

  /* Section Spacers */
  section {
    padding: 2.2rem 0 !important;
  }

  .sec-title {
    font-size: 1.6rem !important;
    margin-bottom: 1.2rem !important;
  }

  /* Service Bento Grid Card adjustments */
  .svc-grid-split {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  .svc-card {
    border: 1px solid var(--cream-dark) !important;
    border-radius: 4px !important;
    background: #fff !important;
    padding: 1.2rem 0.8rem !important;
    text-align: center !important;
  }

  .svc-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
    margin: 0 auto 0.8rem auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .svc-card h4 {
    font-size: 0.92rem !important;
    margin-bottom: 0.4rem !important;
  }

  .svc-card p {
    font-size: 0.7rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
  }

  .svc-arr {
    display: none !important;
  }

  .proj-frame-wrap {
    height: 100% !important;
  }

  /* 2-Column Projects/Portfolio Grid on Mobile */
  .proj-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
  }

  .proj-card {
    min-height: 160px !important;
  }

  .proj-card:nth-child(1),
  .proj-card:nth-child(2),
  .proj-card:nth-child(3),
  .proj-card:nth-child(4),
  .proj-card:nth-child(5),
  .proj-card:nth-child(6) {
    grid-column: auto !important;
  }

  .proj-tag {
    font-size: 0.58rem !important;
    padding: 0.15rem 0.45rem !important;
    margin-bottom: 0.2rem !important;
  }

  .proj-name {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.1rem !important;
  }

  .proj-loc {
    font-size: 0.65rem !important;
  }

  .proj-extra {
    display: none !important;
  }

  /* Compact 2x2 Stats Grid on Mobile */
  .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
  }

  .stat-item {
    padding: 0.8rem 0.5rem !important;
    border-bottom: none !important;
    border-right: none !important;
  }

  .stat-num {
    font-size: 1.8rem !important;
  }

  .stat-lbl {
    font-size: 0.72rem !important;
    margin-top: 0.2rem !important;
  }

  .stat-sub {
    font-size: 0.65rem !important;
    margin-top: 0.1rem !important;
  }

  /* Why Choose Us Cards on Mobile */
  .why-grid-vertical {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
  }

  .why-card {
    padding: 1rem 0.8rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: center !important;
    text-align: center !important;
  }

  .why-card .why-icon {
    margin-bottom: 0 !important;
    font-size: 1.3rem !important;
  }

  .why-card h5 {
    font-size: 0.9rem !important;
    margin-bottom: 0.2rem !important;
  }

  .why-card p {
    font-size: 0.72rem !important;
    line-height: 1.45 !important;
    margin-bottom: 0 !important;
  }

  /* Compact Process Flow */
  .flow-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
  }

  .flow-card {
    padding: 1rem !important;
    gap: 1rem !important;
  }

  .flow-card .flow-n {
    font-size: 1.5rem !important;
  }

  .flow-card h5 {
    font-size: 0.92rem !important;
    margin-bottom: 0.2rem !important;
  }

  .flow-card p {
    font-size: 0.72rem !important;
    line-height: 1.45 !important;
  }

  .team-card {
    max-width: 100% !important;
  }

  /* CTA Box */
  #cta {
    padding: 2.5rem 1.5rem !important;
    text-align: center;
  }

  #cta h2 {
    font-size: 1.8rem !important;
  }

  /* Footer elements */
  .f-col {
    align-items: center !important;
  }

  .f-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 1rem;
    text-align: center;
  }

  /* Estimator UI Step layouts */
  .est-step-title {
    font-size: 1.35rem !important;
  }

  .est-cards {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .est-inputs-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
  }

  .complexity-checks {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .result-cards {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Quiz UI options */
  .quiz-opts {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .quiz-btn-navs {
    flex-direction: column;
    gap: 0.8rem;
  }

  .quiz-btn-navs button {
    width: 100%;
    justify-content: center;
  }

  /* Contact Pop-up Modal */
  .modal-dialog-custom {
    width: 95% !important;
    margin: 1rem auto !important;
  }

  .enq-modal-body {
    padding: 2rem 1.5rem !important;
  }

  .captcha-row {
    flex-direction: column !important;
    gap: 1rem;
    align-items: flex-start !important;
  }

  .captcha-img-box {
    width: 100% !important;
    justify-content: center;
  }

  /* Prevent GSAP reveals from getting stuck hidden on mobile viewports */
  .reveal,
  .reveal-l {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Screen sizes below 500px (Compact Mobile Screens) --- */
@media (max-width: 500px) {
  .hero-eyebrow {
    font-size: 0.6rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-h1 {
    font-size: 1.6rem !important;
  }

  .hero-desc {
    font-size: 0.85rem !important;
  }

  .hero-btns {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-btns a {
    width: 100%;
    justify-content: center;
  }

  .sec-title {
    font-size: 1.5rem !important;
  }

  /* Careers vacant jobs layout */
  .job-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem;
    padding: 1.5rem !important;
  }

  .job-card .btn-og {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}