/* ==========================================
   NEXTBEST DESIGN SYSTEM
========================================== */

:root {
  --green: #08783f;
  --green-dark: #045a2e;
  --green-light: #dff5e8;

  --black: #111111;
  --dark: #181b19;

  --white: #ffffff;
  --off-white: #f6f7f5;

  --gray: #6b716d;
  --border: #e4e7e5;

  --red: #b3261e;

  --font-body: "DM Sans", sans-serif;
  --font-heading: "Playfair Display", serif;
}

/* ==========================================
   RESET
========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);

  color: var(--black);

  line-height: 1.7;

  background: var(--white);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ==========================================
   TYPOGRAPHY
========================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);

  line-height: 1.15;
}

.section-padding {
  padding: 110px 0;
}

.section-label {
  display: inline-block;

  color: var(--green);

  font-size: 0.75rem;

  font-weight: 700;

  letter-spacing: 2.5px;

  text-transform: uppercase;

  margin-bottom: 15px;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 4rem);

  margin-bottom: 20px;
}

.section-title span {
  color: var(--green);
}

.text-link {
  color: var(--green);

  font-weight: 700;

  display: inline-flex;

  align-items: center;

  gap: 10px;

  transition: gap 0.3s ease;
}

.text-link:hover {
  gap: 15px;
}

/* ==========================================
   HOME - WHO WE ARE / INTRO
========================================== */

.intro-section {
  position: relative;
  background: #ffffff;
  padding: 110px 0 95px;
  overflow: hidden;
}

/* Subtle architectural accent */
.intro-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 1px;

  background: rgba(17, 17, 17, 0.08);
}

/* ==========================================
   LEFT SIDE
========================================== */

.intro-section .section-label {
  margin-bottom: 22px;
}

.intro-section .section-title {
  max-width: 520px;

  margin: 0;

  font-size: clamp(3.2rem, 5.2vw, 5rem);

  line-height: 0.98;

  letter-spacing: -1.5px;
}

.intro-section .section-title span {
  display: block;

  color: var(--green);
}

/* ==========================================
   RIGHT SIDE
========================================== */

.intro-section .col-lg-6:last-child {
  padding-left: 55px;
}

.intro-section .intro-text {
  max-width: 560px;

  margin-bottom: 24px;

  font-size: 1.08rem;
  font-weight: 500;

  line-height: 1.75;

  color: #171917;
}

.intro-section .text-muted {
  max-width: 540px;

  margin-bottom: 32px;

  font-size: 0.98rem;

  line-height: 1.8;

  color: #6d726e !important;
}

/* ==========================================
   DISCOVER LINK
========================================== */

.intro-section .text-link {
  position: relative;

  display: inline-flex;
  align-items: center;

  gap: 10px;

  padding-bottom: 6px;

  color: var(--green);

  font-size: 0.92rem;
  font-weight: 700;

  text-decoration: none;
}

.intro-section .text-link::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 1px;

  background: var(--green);

  transition: width 0.3s ease;
}

.intro-section .text-link:hover {
  gap: 15px;
}

.intro-section .text-link:hover::after {
  width: 100%;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {
  .intro-section {
    padding: 100px 0;
  }

  .intro-section .section-title {
    max-width: 600px;

    font-size: clamp(3rem, 8vw, 4.5rem);
  }

  .intro-section .col-lg-6:last-child {
    padding-left: 12px;
  }

  .intro-section .intro-text,
  .intro-section .text-muted {
    max-width: 650px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 576px) {
  .intro-section {
    padding: 75px 0;
  }

  .intro-section .section-label {
    margin-bottom: 16px;
  }

  .intro-section .section-title {
    font-size: clamp(2.8rem, 13vw, 3.8rem);

    line-height: 1;

    letter-spacing: -1px;
  }

  .intro-section .intro-text {
    font-size: 1rem;

    line-height: 1.7;
  }

  .intro-section .text-muted {
    font-size: 0.94rem;

    line-height: 1.7;
  }
}

/* ==========================================
   HOME - SERVICES / CAPABILITIES
========================================== */

.services-section {
  position: relative;

  padding: 110px 0 120px;

  background: #f5f6f3;

  overflow: hidden;
}

/* ==========================================
   SECTION HEADING
========================================== */

.services-section .section-heading {
  max-width: 720px;

  margin-bottom: 65px;
}

.services-section .section-label {
  margin-bottom: 18px;
}

.services-section .section-title {
  margin-bottom: 18px;

  font-size: clamp(3rem, 5vw, 4.6rem);

  line-height: 1;

  letter-spacing: -1.2px;
}

.services-section .section-heading > p {
  max-width: 520px;

  margin: 0;

  color: #666c67;

  font-size: 1rem;

  line-height: 1.7;
}

/* ==========================================
   SERVICE CARD
========================================== */

.services-section .service-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 430px;

  padding: 34px 32px 32px;

  background: #ffffff;

  border: 1px solid rgba(17, 17, 17, 0.08);

  overflow: hidden;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Green accent line */

.services-section .service-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 0;
  height: 3px;

  background: var(--green);

  transition: width 0.4s ease;
}

/* ==========================================
   SERVICE NUMBER
========================================== */

.services-section .service-number {
  margin-bottom: 45px;

  color: #777d78;

  font-size: 0.78rem;
  font-weight: 600;

  letter-spacing: 1.5px;
}

/* ==========================================
   SERVICE ICON
========================================== */

.services-section .service-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  margin-bottom: 28px;

  background: #edf7f1;

  color: var(--green);

  font-size: 1.25rem;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

/* ==========================================
   SERVICE TITLE
========================================== */

.services-section .service-card h3 {
  margin: 0 0 18px;

  font-family: var(--font-heading);

  font-size: 2rem;

  line-height: 1.1;

  color: #111311;
}

/* ==========================================
   SERVICE DESCRIPTION
========================================== */

.services-section .service-card p {
  max-width: 320px;

  margin: 0 0 32px;

  color: #666c67;

  font-size: 0.95rem;

  line-height: 1.75;
}

/* ==========================================
   SERVICE LINK
========================================== */

.services-section .service-card a {
  display: inline-flex;

  align-items: center;

  align-self: flex-start;

  gap: 9px;

  margin-top: auto;

  padding-bottom: 5px;

  color: var(--green);

  font-size: 0.9rem;
  font-weight: 700;

  text-decoration: none;

  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.services-section .service-card a:hover {
  gap: 14px;

  color: #075c34;
}

/* ==========================================
   CARD HOVER
========================================== */

.services-section .service-card:hover {
  transform: translateY(-8px);

  border-color: rgba(13, 128, 75, 0.22);

  box-shadow: 0 22px 50px rgba(13, 25, 17, 0.08);
}

.services-section .service-card:hover::before {
  width: 100%;
}

.services-section .service-card:hover .service-icon {
  background: var(--green);

  color: #ffffff;

  transform: translateY(-3px);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {
  .services-section {
    padding: 95px 0;
  }

  .services-section .section-heading {
    margin-bottom: 50px;
  }

  .services-section .service-card {
    min-height: 400px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 576px) {
  .services-section {
    padding: 75px 0;
  }

  .services-section .section-heading {
    margin-bottom: 40px;
  }

  .services-section .section-title {
    font-size: clamp(2.8rem, 12vw, 3.7rem);
  }

  .services-section .service-card {
    min-height: 370px;

    padding: 28px 25px;
  }

  .services-section .service-number {
    margin-bottom: 32px;
  }

  .services-section .service-card h3 {
    font-size: 1.8rem;
  }
}

/* ==========================================
   HOME - WHY NEXTBEST
========================================== */

.why-section {
  position: relative;
  overflow: hidden;

  padding: 100px 0;

  background: #101411;
  color: #ffffff;
}

/* subtle architectural background detail */
.why-section::before {
  content: "";

  position: absolute;
  top: -180px;
  right: -140px;

  width: 520px;
  height: 520px;

  border: 1px solid rgba(103, 217, 151, 0.08);

  transform: rotate(35deg);

  pointer-events: none;
}

.why-section::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: rgba(255, 255, 255, 0.08);
}

.why-section .container {
  position: relative;
  z-index: 1;
}

/* ==========================================
   LEFT CONTENT
========================================== */

.why-section .section-label {
  margin-bottom: 22px;

  color: #67d997;
}

.why-section .section-title {
  max-width: 470px;

  margin-bottom: 30px;

  font-size: clamp(3.3rem, 5vw, 5rem);

  line-height: 0.98;

  letter-spacing: -1.5px;

  color: #ffffff;
}

.why-section .section-title span {
  display: block;

  color: #67d997;
}

.why-section .col-lg-5 > p {
  max-width: 430px;

  margin: 0;

  font-size: 1rem;

  line-height: 1.8;

  color: rgba(255, 255, 255, 0.64);
}

/* ==========================================
   VALUE GRID
========================================== */

.why-section .col-lg-7 {
  padding-left: 55px;
}

.value-card {
  position: relative;

  min-height: 230px;

  padding: 32px 30px;

  border: 1px solid rgba(255, 255, 255, 0.1);

  background: rgba(255, 255, 255, 0.025);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

/* NUMBER */

.value-card > span {
  display: block;

  margin-bottom: 42px;

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 1.5px;

  color: #67d997;
}

/* TITLE */

.value-card h3 {
  margin-bottom: 12px;

  font-family: var(--font-heading);

  font-size: 1.9rem;

  line-height: 1.1;

  color: #ffffff;
}

/* DESCRIPTION */

.value-card p {
  max-width: 280px;

  margin: 0;

  font-size: 0.92rem;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.58);
}

/* ==========================================
   HOVER
========================================== */

.value-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 0;
  height: 2px;

  background: #67d997;

  transition: width 0.4s ease;
}

.value-card:hover {
  transform: translateY(-6px);

  border-color: rgba(103, 217, 151, 0.35);

  background: rgba(103, 217, 151, 0.055);
}

.value-card:hover::before {
  width: 100%;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {
  .why-section {
    padding: 100px 0;
  }

  .why-section .col-lg-7 {
    padding-left: 12px;
  }

  .why-section .section-title {
    max-width: 600px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 576px) {
  .why-section {
    padding: 75px 0;
  }

  .why-section .section-title {
    font-size: clamp(2.8rem, 13vw, 3.8rem);

    line-height: 1;
  }

  .why-section .col-lg-5 > p {
    font-size: 0.95rem;
  }

  .value-card {
    min-height: auto;

    padding: 28px 24px;
  }

  .value-card > span {
    margin-bottom: 30px;
  }
}

/* ==========================================
   HOME - CTA
========================================== */

.cta-section {
  position: relative;
  overflow: hidden;

  padding: 105px 0;

  background: var(--green);
  color: #ffffff;
}

/* Large subtle architectural circle */
.cta-section::before {
  content: "";

  position: absolute;
  width: 520px;
  height: 520px;

  right: -150px;
  top: -260px;

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;

  pointer-events: none;
}

/* Second background detail */
.cta-section::after {
  content: "";

  position: absolute;

  width: 330px;
  height: 330px;

  right: 70px;
  bottom: -250px;

  border: 1px solid rgba(255, 255, 255, 0.1);

  transform: rotate(45deg);

  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

/* ==========================================
   CTA CONTENT
========================================== */

.cta-content {
  display: grid;

  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(280px, 0.6fr);

  grid-template-areas:
    "label button"
    "title button"
    "text button";

  align-items: center;

  column-gap: 70px;
}

/* LABEL */

.cta-content .section-label {
  grid-area: label;

  margin-bottom: 18px;

  color: rgba(255, 255, 255, 0.75);
}

/* TITLE */

.cta-content h2 {
  grid-area: title;

  max-width: 720px;

  margin: 0 0 22px;

  font-family: var(--font-heading);

  font-size: clamp(3.3rem, 5vw, 5rem);

  line-height: 0.98;

  letter-spacing: -1.5px;

  color: #ffffff;
}

/* TEXT */

.cta-content p {
  grid-area: text;

  max-width: 580px;

  margin: 0;

  font-size: 1.02rem;

  line-height: 1.75;

  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================
   CTA BUTTON
========================================== */

.cta-content .btn {
  grid-area: button;

  justify-self: end;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  min-width: 190px;

  padding: 17px 26px;

  border: 1px solid #ffffff;
  border-radius: 0;

  background: #ffffff;

  color: #101411;

  font-size: 0.95rem;
  font-weight: 700;

  text-decoration: none;

  box-shadow: none;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    gap 0.3s ease;
}

.cta-content .btn:hover {
  background: #101411;

  border-color: #101411;

  color: #ffffff;

  transform: translateY(-3px);

  gap: 17px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {
  .cta-section {
    padding: 90px 0;
  }

  .cta-content {
    grid-template-columns: 1fr;

    grid-template-areas:
      "label"
      "title"
      "text"
      "button";

    row-gap: 0;
  }

  .cta-content h2 {
    max-width: 650px;
  }

  .cta-content .btn {
    justify-self: start;

    margin-top: 35px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 576px) {
  .cta-section {
    padding: 75px 0;
  }

  .cta-content h2 {
    font-size: clamp(2.8rem, 12vw, 3.8rem);

    line-height: 1;
  }

  .cta-content p {
    font-size: 0.95rem;
  }

  .cta-content .btn {
    width: 100%;

    margin-top: 30px;
  }
}

/* ==========================================
   NAVBAR
========================================== */

.navbar {
  position: fixed;
  z-index: 1000;

  width: 100%;
  min-height: 92px;
  padding: 12px 0;

  background: #111512;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);

  transition:
    background 0.3s ease,
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

/* Navbar when scrolling */
.navbar.scrolled {
  background: rgba(17, 21, 18, 0.97);

  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);

  padding: 9px 0;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

/* ==========================================
   LOGO
========================================== */

.navbar-brand {
  display: flex;
  align-items: center;

  padding: 0;
  margin: 0;

  color: #111;
}

.navbar-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
}

.navbar-logo-crop {
  width: 120px;
  height: auto;
  overflow: visible;

  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-logo {
  display: block;
  width: 120px;
  height: auto;
  object-fit: contain;
}

.navbar-tagline {
  display: block;

  margin-top: 2px;
  margin-left: 0;

  font-family: "DM Sans", sans-serif;
  font-size: 8px;
  font-weight: 600;

  letter-spacing: 1.2px;

  color: #666;

  text-align: center;
  white-space: nowrap;
}

/* ==========================================
   NEXTBEST 10TH ANNIVERSARY NAVBAR EMBLEM
========================================== */

.anniversary-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;

  margin-left: 16px;
  padding: 7px 12px;

  color: #ffffff;
  text-decoration: none;

  border: 1px solid rgba(82, 211, 191, 0.45);
  border-radius: 8px;
  background: rgba(82, 211, 191, 0.08);

  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.anniversary-nav-badge:hover,
.anniversary-nav-badge:focus-visible {
  color: #ffffff;
  background: rgba(82, 211, 191, 0.16);
  border-color: #52d3bf;
}

.anniversary-nav-number {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: #52d3bf;
}

.anniversary-nav-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
}

.anniversary-nav-text strong {
  font-size: 10px;
  letter-spacing: 1.5px;
}

.anniversary-nav-text small {
  font-size: 9px;
  color: #d2e5e0;
}

/* Compact badge on mobile and tablets */
@media (max-width: 991.98px) {
  .anniversary-nav-badge {
    margin-left: auto;
    margin-right: 12px;
    padding: 6px 9px;
    gap: 6px;
  }

  .anniversary-nav-number {
    font-size: 24px;
  }

  .anniversary-nav-text strong {
    font-size: 9px;
  }

  .anniversary-nav-text small {
    font-size: 8px;
  }
}

/* Extra-small screens */
@media (max-width: 375px) {
  .anniversary-nav-badge {
    margin-right: 8px;
    padding: 5px 7px;
  }

  .anniversary-nav-number {
    font-size: 21px;
  }
}

/* ==========================================
   OLD BRAND ELEMENTS
========================================== */

.brand-mark {
  width: 48px;
  height: 48px;

  background: var(--green);
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font-heading);

  font-size: 1.5rem;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;

  letter-spacing: 2px;
  line-height: 1;
}

.brand-tagline {
  font-size: 0.55rem;

  color: #666;

  letter-spacing: 1px;

  margin-top: 5px;
}

/* ==========================================
   NAVIGATION LINKS
========================================== */

.navbar-nav {
  gap: 6px;
}

.nav-link {
  position: relative;

  color: #ffffff !important;

  font-size: 0.9rem;
  font-weight: 500;

  margin-left: 14px;

  padding: 10px 4px !important;

  transition: color 0.25s ease;
}

.nav-link:hover {
  color: #67d997 !important;
}

.nav-link.active {
  color: #67d997 !important;
  font-weight: 600;
}

/* Small underline animation */
.nav-link::after {
  content: "";

  position: absolute;

  left: 4px;
  right: 4px;
  bottom: 3px;

  height: 2px;

  background: #67d997;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: var(--green) !important;
}

.nav-link.active {
  color: var(--green) !important;
  font-weight: 600;
}

/* Small underline animation */
.nav-link::after {
  content: "";

  position: absolute;

  left: 4px;
  right: 4px;
  bottom: 3px;

  height: 2px;

  background: var(--green);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* ==========================================
   CONTACT BUTTON
========================================== */

.btn-nav {
  margin-left: 18px;

  padding: 10px 20px;

  background: var(--green);

  color: #ffffff !important;

  font-weight: 600;

  border-radius: 4px;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.btn-nav:hover {
  background: var(--green-dark);

  color: #ffffff !important;

  transform: translateY(-2px);
}
/* =====================================================
   PROJECT DETAIL PAGE
===================================================== */

.project-detail-page {
  padding-top: 110px;
  background: var(--white);
}

/* =====================================================
   PROJECT 1 HERO
===================================================== */
.project-legacy-hero {
  padding: 90px 0 80px;
  background: #f5f7f5;
}

.project-legacy-hero-image {
  position: relative;
  height: 535px;
  overflow: hidden;
  border-radius: 4px;
}

.project-legacy-hero-image::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;

  width: 95px;
  height: 95px;

  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
}

.project-legacy-hero-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-legacy-hero-content {
  max-width: 560px;
  padding-left: 20px;
}

.project-legacy-hero-content .section-eyebrow {
  display: block;

  margin-bottom: 22px;

  color: var(--green);

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.project-legacy-hero-content h1 {
  margin-bottom: 20px;

  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 0.98;

  color: var(--black);
}

.project-legacy-location {
  display: flex;
  align-items: center;

  gap: 9px;

  color: var(--gray);

  font-size: 0.9rem;
}

.project-legacy-location i {
  color: var(--green);
}

.project-legacy-divider {
  width: 54px;
  height: 2px;

  margin: 28px 0;

  background: var(--green);
}

.project-legacy-hero-content p {
  max-width: 520px;

  margin-bottom: 30px;

  color: var(--gray);

  font-size: 1rem;
  line-height: 1.8;
}

.project-back-link {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  color: var(--green);

  font-size: 0.9rem;
  font-weight: 600;

  text-decoration: none;

  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.project-back-link:hover {
  gap: 14px;
  color: #066b3b;
}

/* =====================================================
   PROJECT 1 HERO RESPONSIVE
===================================================== */

@media (max-width: 991px) {
  .project-legacy-hero {
    padding: 140px 0 65px;
  }

  .project-legacy-hero-image {
    height: 470px;
  }

  .project-legacy-hero-content {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .project-legacy-hero {
    padding: 120px 0 55px;
  }

  .project-legacy-hero-image {
    height: 360px;
  }

  .project-legacy-hero-content h1 {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }
}

/* ==========================================
   HOME PAGE HERO
========================================== */

.home-page .hero-section {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      90deg,
      rgba(10, 18, 14, 0.88) 0%,
      rgba(10, 18, 14, 0.72) 45%,
      rgba(10, 18, 14, 0.35) 100%
    ),
    url("/images/hero.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;

  overflow: hidden;
}

/* HERO OVERLAY */

.home-page .hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22));

  pointer-events: none;
}

/* HERO CONTENT CONTAINER */

.home-page .hero-container {
  position: relative;
  z-index: 2;

  padding-top: 140px;
  padding-bottom: 100px;
}

/* HERO CONTENT */

.home-page .hero-content {
  max-width: 850px;
}

/* SMALL TOP LABEL */

.home-page .hero-label {
  display: inline-block;

  margin-bottom: 22px;

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 2.2px;
  text-transform: uppercase;

  color: #7de0a8;
}

/* MAIN HEADING */

.home-page .hero-content h1 {
  margin: 0 0 26px;

  font-family: var(--font-heading);

  font-size: clamp(3.4rem, 7vw, 6.7rem);
  font-weight: 600;

  line-height: 0.98;
  letter-spacing: -2px;

  color: white;
}

.home-page .hero-content h1 span {
  display: block;

  color: #7de0a8;
}

/* DESCRIPTION */

.home-page .hero-description {
  max-width: 680px;

  margin-bottom: 34px;

  font-size: 1.1rem;
  line-height: 1.75;

  color: rgba(255, 255, 255, 0.82);
}

/* HERO BUTTONS */

.home-page .hero-actions {
  display: flex;
  align-items: center;

  flex-wrap: wrap;

  gap: 14px;
}

.home-page .hero-actions .btn {
  padding: 14px 24px;

  font-weight: 600;
}

/* SECONDARY BUTTON */

.home-page .hero-actions .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.65);

  color: white;
}

.home-page .hero-actions .btn-outline-light:hover {
  background: white;

  color: var(--black);
}

/* SCROLL INDICATOR */

.home-page .scroll-indicator {
  position: absolute;

  left: 50%;
  bottom: 30px;

  transform: translateX(-50%);

  z-index: 2;

  display: flex;
  align-items: center;

  gap: 10px;

  font-size: 0.8rem;
  letter-spacing: 1px;

  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   HOME NAVBAR OVER HERO
========================================== */

.home-page .navbar:not(.scrolled) {
  background: transparent;
}

.home-page .navbar:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
}

.home-page .navbar:not(.scrolled) .nav-link:hover,
.home-page .navbar:not(.scrolled) .nav-link.active {
  color: #7de0a8 !important;
}

.home-page .navbar.scrolled {
  background: rgba(17, 17, 17, 0.96);
}

/* ==========================================
   HOME HERO MOBILE
========================================== */

@media (max-width: 991px) {
  .home-page .hero-section {
    min-height: 850px;

    background-position: center;
  }

  .home-page .hero-container {
    padding-top: 170px;
    padding-bottom: 100px;
  }

  .home-page .hero-content h1 {
    font-size: clamp(3rem, 10vw, 5rem);

    letter-spacing: -1px;
  }
}

@media (max-width: 576px) {
  .home-page .hero-section {
    min-height: 760px;
  }

  .home-page .hero-content h1 {
    font-size: 3rem;
  }

  .home-page .hero-description {
    font-size: 1rem;
  }

  .home-page .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-page .hero-actions .btn {
    width: 100%;
  }

  .home-page .scroll-indicator {
    display: none;
  }
}

.hero-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: #078447;
  border: 1px solid #078447;

  color: #ffffff;
  font-weight: 600;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.hero-primary-button:hover {
  background: #066d3b;
  border-color: #066d3b;
  color: #ffffff;
  transform: translateY(-2px);
}

.hero-primary-button i {
  transition: transform 0.25s ease;
}

.hero-primary-button:hover i {
  transform: translateX(3px);
}

/* Project Hero */

.project-hero {
  padding: 40px 0 80px;
}

.project-hero-image {
  width: 100%;
  height: 560px;
  overflow: hidden;
  background: var(--off-white);
}

.project-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-hero-content {
  padding: 20px 0;
}

.project-category {
  display: inline-block;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.project-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--black);
}

.project-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.95rem;
}

.project-location i {
  color: var(--green);
}

.project-divider {
  width: 60px;
  height: 3px;
  background: var(--green);
  margin: 28px 0;
}

.project-description {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.project-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.project-back-link:hover {
  color: var(--green-dark);
  gap: 14px;
}

/* =====================================================
   PROJECT OVERVIEW
===================================================== */

.project-overview {
  position: relative;

  padding: 95px 0;

  background: #f5f7f5;

  overflow: hidden;
}

.project-overview::after {
  content: "";

  position: absolute;
  right: -110px;
  top: -150px;

  width: 360px;
  height: 360px;

  border: 1px solid rgba(7, 132, 71, 0.08);

  transform: rotate(45deg);

  pointer-events: none;
}

.project-overview .container {
  position: relative;
  z-index: 1;
}

.project-overview .section-label {
  display: block;

  margin-bottom: 16px;

  color: var(--green);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.project-overview h2 {
  max-width: 650px;

  margin-bottom: 24px;

  font-family: var(--font-heading);

  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.05;

  color: var(--black);
}

.project-overview p {
  max-width: 760px;

  margin: 0;

  color: #626a64;

  font-size: 1.02rem;
  line-height: 1.85;
}

@media (max-width: 767px) {
  .project-overview {
    padding: 70px 0;
  }

  .project-overview::after {
    width: 260px;
    height: 260px;
    right: -140px;
  }
}

/* Loading */

.project-loading {
  min-height: 500px;
  padding-top: 80px;
}

/* Error */

.project-error {
  min-height: 500px;
  padding-top: 80px;
}

.project-error h2 {
  font-family: var(--font-heading);
  margin-bottom: 15px;
}

.project-error p {
  color: var(--gray);
}

/* Responsive */

@media (max-width: 991px) {
  .project-detail-page {
    padding-top: 90px;
  }

  .project-hero {
    padding: 30px 0 60px;
  }

  .project-hero-image {
    height: 450px;
  }

  .project-hero-content {
    padding-top: 10px;
  }
}

@media (max-width: 576px) {
  .project-detail-page {
    padding-top: 130px;
  }

  .project-hero {
    padding: 20px 0 50px;
  }

  .project-hero-image {
    height: 300px;
  }

  .project-hero-content h1 {
    font-size: 2.4rem;
  }

  .project-overview {
    padding: 60px 0;
  }
}

/* =====================================================
   PROJECT METADATA
===================================================== */

.project-metadata {
  padding: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.project-metadata .row {
  margin: 0;
}

.project-meta-item {
  position: relative;
  padding: 34px 28px;
  border-right: 1px solid var(--border);
}

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

.project-meta-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 48px;
  height: 2px;
  background: var(--green);
}

.project-meta-label {
  display: block;

  margin-bottom: 8px;

  color: var(--gray);

  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.project-meta-item strong {
  display: block;

  color: var(--black);

  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
}

/* =====================================================
   PROJECT GALLERY
===================================================== */

.project-gallery {
  padding: 100px 0;
  background: #ffffff;
}

.gallery-heading {
  max-width: 700px;
  margin-bottom: 45px;
}

.gallery-heading .section-label {
  display: block;

  margin-bottom: 15px;

  color: var(--green);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.gallery-heading h2 {
  margin-bottom: 16px;

  font-family: var(--font-heading);

  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.05;

  color: var(--black);
}

.gallery-heading p {
  max-width: 580px;
  margin: 0;

  color: #626a64;

  font-size: 1rem;
  line-height: 1.75;
}

/* =====================================================
   GALLERY GRID
===================================================== */

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.project-gallery-item {
  position: relative;

  width: 100%;
  height: 410px;

  overflow: hidden;

  background: var(--off-white);

  border-radius: 4px;

  cursor: pointer;
}

.project-gallery-item::after {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(5, 32, 21, 0);

  transition: background 0.35s ease;

  pointer-events: none;
}

.project-gallery-item img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1);

  transition: transform 0.55s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.035);
}

.project-gallery-item:hover::after {
  background: rgba(5, 32, 21, 0.08);
}

/* =====================================================
   SINGLE IMAGE
===================================================== */

.project-gallery-grid .project-gallery-item:only-child {
  max-width: 900px;
  height: 500px;
}

/* =====================================================
   GALLERY RESPONSIVE
===================================================== */

@media (max-width: 767px) {
  .project-gallery {
    padding: 70px 0;
  }

  .gallery-heading {
    margin-bottom: 32px;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .project-gallery-item {
    height: 310px;
  }

  .project-gallery-grid .project-gallery-item:only-child {
    height: 350px;
  }
}

/* =====================================================
   GALLERY LIGHTBOX
===================================================== */

.gallery-lightbox-content {
  background: var(--black);
  border: none;
  border-radius: 0;
}

.gallery-lightbox-content .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.gallery-lightbox-content .modal-title {
  color: var(--white);
  font-family: var(--font-heading);
}

.gallery-lightbox-content .btn-close {
  filter: invert(1);
}

.gallery-lightbox-content .modal-body {
  padding: 0;
  text-align: center;
}

.gallery-lightbox-image {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.gallery-lightbox-caption {
  color: rgba(255, 255, 255, 0.75);
  padding: 18px 25px;
  margin: 0;
  font-size: 0.95rem;
}

/* =====================================================
   LIGHTBOX OPEN STATE
===================================================== */

body.lightbox-open {
  overflow: hidden;
}

#galleryLightbox {
  background: rgba(0, 0, 0, 0.75);
}

#galleryLightbox.show {
  opacity: 1;
}

.gallery-lightbox-content {
  margin: 30px auto;
  max-width: 1100px;
}

/* =====================================================
   GALLERY NAVIGATION
===================================================== */

.gallery-lightbox-content .modal-body {
  position: relative;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 48px;
  height: 48px;

  border: none;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.65);
  color: var(--white);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-nav:hover {
  background: var(--green);
  transform: translateY(-50%) scale(1.05);
}

.gallery-nav-previous {
  left: 18px;
}

.gallery-nav-next {
  right: 18px;
}

/* Mobile */

@media (max-width: 576px) {
  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-nav-previous {
    left: 10px;
  }

  .gallery-nav-next {
    right: 10px;
  }
}

/* =====================================================
   GALLERY COUNTER
===================================================== */

.gallery-lightbox-counter {
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 10px 20px 16px;
}

/* ==========================================
   PAGE-SPECIFIC NAVBAR STYLES
========================================== */

/* ==========================================
   HOME PAGE
========================================== */

.home-page .navbar {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;

  background: transparent;
  border-bottom: none;

  z-index: 1000;
}

.home-page .navbar .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
}

.home-page .navbar .nav-link:hover,
.home-page .navbar .nav-link.active {
  color: #7de0a8 !important;
}

.home-page .navbar .navbar-tagline {
  color: rgba(255, 255, 255, 0.72);
}

/* When homepage navbar scrolls */
.home-page .navbar.scrolled {
  position: fixed;

  background: rgba(17, 17, 17, 0.96);

  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);

  border-bottom: none;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Keep contact button green */
.home-page .navbar .btn-nav {
  color: #ffffff !important;
}

/* ==========================================
   ABOUT PAGE — REFINED BODY
=========================================== */

/* WHO WE ARE */

.about-intro {
  position: relative;
  padding: 110px 0 85px;
  background: #ffffff;
}

.about-intro .section-title {
  max-width: 560px;
  margin-bottom: 0;
}

.about-intro .col-lg-6:last-child {
  position: relative;
  padding-left: 55px;
}

.about-intro .col-lg-6:last-child::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 10px;
  width: 2px;
  background: #078447;
}

.about-lead {
  margin-bottom: 22px;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.8;
  color: #202420;
}

.about-intro p:not(.about-lead) {
  margin-bottom: 18px;
  color: #626862;
  line-height: 1.8;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

/* CORE CAPABILITIES */

.about-details {
  padding: 80px 0 100px;
  background: #f5f7f5;
}

.about-detail-card {
  position: relative;
  height: 100%;
  min-height: 280px;
  padding: 35px;
  background: #ffffff;
  border: 1px solid #e3e8e4;
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.about-detail-card:hover {
  transform: translateY(-5px);
  border-color: rgba(7, 132, 71, 0.28);
  box-shadow: 0 18px 40px rgba(15, 35, 25, 0.07);
}

.about-detail-number {
  display: block;
  margin-bottom: 55px;
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(7, 132, 71, 0.16);
}

.about-detail-card h3 {
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.about-detail-card p {
  margin: 0;
  color: #646a65;
  line-height: 1.7;
}

.about-detail-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55px;
  height: 3px;
  background: #078447;
  transition: width 0.25s ease;
}

.about-detail-card:hover::after {
  width: 100%;
}

@media (max-width: 991.98px) {
  .about-intro {
    padding: 80px 0 65px;
  }

  .about-intro .col-lg-6:last-child {
    padding-left: 12px;
  }

  .about-intro .col-lg-6:last-child::before {
    display: none;
  }

  .about-details {
    padding: 65px 0 80px;
  }

  .about-detail-card {
    min-height: auto;
  }

  .about-detail-number {
    margin-bottom: 35px;
  }
}

/* ==========================================
   ABOUT — OUR APPROACH
=========================================== */

.about-approach {
  position: relative;
  padding: 105px 0;
  background: #0b2017;
  color: #ffffff;
  overflow: hidden;
}

.about-approach::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -200px;
  border: 1px solid rgba(103, 217, 151, 0.12);
  transform: rotate(45deg);
  pointer-events: none;
}

.about-approach .section-label {
  color: #67d997;
}

.about-approach .section-title {
  color: #ffffff;
}

.approach-card {
  position: relative;
  height: 100%;
  padding: 35px 35px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-number {
  display: block;
  margin-bottom: 50px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #67d997;
}

.approach-card h3 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 1.5rem;
}

.approach-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.8;
}

.approach-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 35px;
  width: 45px;
  height: 2px;
  background: #67d997;
}

@media (max-width: 991.98px) {
  .about-approach {
    padding: 80px 0;
  }

  .approach-number {
    margin-bottom: 30px;
  }
}

/* ==========================================
   ABOUT — WHY NEXTBEST
=========================================== */

.why-nextbest {
  padding: 105px 0;
  background: #ffffff;
}

.why-nextbest .section-title {
  max-width: 650px;
}

.why-nextbest .row.g-4 {
  row-gap: 24px;
}

.why-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  height: 100%;
  min-height: 220px;
  padding: 34px;
  background: #f6f8f6;
  border: 1px solid #e5e9e6;
  border-radius: 8px;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: rgba(7, 132, 71, 0.25);
  box-shadow: 0 18px 40px rgba(15, 35, 25, 0.07);
}

.why-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dfe5e1;
  color: #078447;
  font-size: 1.05rem;
}

.why-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.why-card p {
  margin: 0;
  color: #646a65;
  line-height: 1.75;
}

@media (max-width: 767.98px) {
  .why-nextbest {
    padding: 80px 0;
  }

  .why-card {
    min-height: auto;
    padding: 28px;
  }
}

/* ==========================================
   ABOUT — SELECTED PROJECT
=========================================== */

.about-project {
  padding: 110px 0;
  background: #f5f7f5;
}

.about-project .row {
  position: relative;
}

/* Project image */

.about-project .col-lg-6:first-child {
  position: relative;
}

.about-project-image {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

/* Small architectural accent */

.about-project .col-lg-6:first-child::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 110px;
  height: 110px;
  border-right: 3px solid #078447;
  border-bottom: 3px solid #078447;
  pointer-events: none;
}

/* Project information */

.about-project .col-lg-6:last-child {
  padding-left: 65px;
}

.about-project .section-title {
  margin-top: 12px;
  margin-bottom: 22px;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: #697069;
  font-size: 0.92rem;
}

.project-location i {
  color: #078447;
}

.about-project .col-lg-6:last-child > p:not(.project-location) {
  max-width: 540px;
  margin-bottom: 30px;
  color: #555d57;
  font-size: 1rem;
  line-height: 1.8;
}

@media (max-width: 991.98px) {
  .about-project {
    padding: 80px 0;
  }

  .about-project-image {
    height: 430px;
  }

  .about-project .col-lg-6:last-child {
    padding-left: 12px;
  }

  .about-project .col-lg-6:first-child::after {
    right: 2px;
    bottom: -8px;
  }
}

@media (max-width: 575.98px) {
  .about-project-image {
    height: 330px;
  }
}

/* ==========================================
   SERVICES PAGE
=========================================== */

.services-intro-lead,
.service-detail-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333333;
}

.service-detail {
  position: relative;
}

.service-detail-light {
  background: #f7f8f7;
}

.service-detail-heading {
  max-width: 500px;
}

.service-number {
  display: block;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(7, 132, 71, 0.16);
}

.service-detail-heading .section-title {
  margin-top: 12px;
  margin-bottom: 22px;
}

.service-detail-content > p {
  margin-bottom: 35px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555555;
}

.service-capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-capability {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e8ebe9;
  border-radius: 10px;
}

.service-capability i {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(7, 132, 71, 0.1);
  color: #078447;
  font-size: 1rem;
}

.service-capability h3 {
  margin-bottom: 7px;
  font-size: 1rem;
  font-weight: 700;
}

.service-capability p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666666;
}

@media (max-width: 767.98px) {
  .service-capabilities {
    grid-template-columns: 1fr;
  }

  .service-number {
    font-size: 3.25rem;
  }
}

.service-detail-white {
  background: #ffffff;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.technology-card {
  min-height: 220px;
  padding: 30px;
  border: 1px solid #e8ebe9;
  border-radius: 10px;
  background: #ffffff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.technology-card:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 132, 71, 0.25);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.06);
}

.technology-card i {
  margin-bottom: 25px;
  font-size: 1.35rem;
  color: #078447;
}

.technology-card h3 {
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 700;
}

.technology-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #666666;
}

@media (max-width: 767.98px) {
  .technology-grid {
    grid-template-columns: 1fr;
  }

  .technology-card {
    min-height: auto;
  }
}

.service-investment {
  background: #0c2118;
  color: #ffffff;
}

.service-investment .service-number {
  color: rgba(255, 255, 255, 0.12);
}

.service-investment .section-label {
  color: #75d6a4;
}

.service-investment .section-title {
  color: #ffffff;
}

.service-investment .service-detail-lead {
  color: rgba(255, 255, 255, 0.72);
}

.investment-intro {
  max-width: 650px;
  margin-bottom: 40px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.investment-list {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.investment-item {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.investment-item > span {
  padding-top: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #75d6a4;
}

.investment-item h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.1rem;
}

.investment-item p {
  max-width: 550px;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .investment-item {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
}

.service-innovation {
  background: #f7f8f7;
}

.innovation-stack {
  display: flex;
  flex-direction: column;
}

.innovation-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid #dfe4e1;
}

.innovation-item:first-child {
  border-top: 1px solid #dfe4e1;
}

.innovation-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dfe4e1;
  color: #078447;
  font-size: 1.05rem;
}

.innovation-item h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.innovation-item p {
  max-width: 520px;
  margin: 0;
  color: #666666;
  font-size: 0.92rem;
  line-height: 1.7;
}

@media (max-width: 575.98px) {
  .innovation-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .innovation-icon {
    width: 44px;
    height: 44px;
  }
}

/* ==========================================
   FEATURED PROJECTS
========================================== */

.projects-section {
  background: #f5f6f3;

  /* Gives the heading breathing room below the navbar */
  padding-top: 110px;
  padding-bottom: 110px;
}

/* ==========================================
   NAVBAR CONTACT BUTTON
========================================== */

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 12px 20px;

  background: var(--green);
  color: #ffffff !important;

  border: 1px solid var(--green);
  border-radius: 4px;

  font-size: 0.9rem;
  font-weight: 600;

  text-decoration: none;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.btn-primary-custom:hover {
  background: #067342;
  border-color: #067342;
  color: #ffffff !important;

  transform: translateY(-1px);
}

.btn-primary-custom i {
  font-size: 0.85rem;

  transition: transform 0.25s ease;
}

.btn-primary-custom:hover i {
  transform: translateX(3px);
}

/* ==========================================
   PROJECT CARDS
========================================== */

.project-card {
  position: relative;

  width: 100%;
  height: 520px;

  overflow: hidden;

  background: #151815;
}

/*
   Keep the first project wider through Bootstrap's
   col-lg-7, but DON'T make it taller.
*/
.project-card.project-large {
  height: 520px;
}

/* ==========================================
   PROJECT IMAGES
========================================== */

.project-image {
  position: relative;

  width: 100%;
  height: 100%;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  transform: scale(1);

  transition: transform 0.7s ease;
}

/* Project 1 */

.project-image-one {
  background-image:
    linear-gradient(rgba(5, 12, 8, 0.05), rgba(5, 12, 8, 0.05)),
    url("/images/projects/IMG-20260917-WA0013.jpg");

  background-position: center center;
}

/* =====================================================
   PROJECT 1 - OVERVIEW
===================================================== */

.project-1-page .section-padding {
  padding: 110px 0;
  background: #ffffff;
}

/* LEFT SIDE */

.project-1-page .section-eyebrow {
  display: inline-block;
  margin-bottom: 22px;

  color: var(--green);

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.project-1-page .section-title {
  max-width: 650px;
  margin-bottom: 32px;

  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 1.02;

  color: var(--black);
}

/* SMALL GREEN ACCENT */

.project-1-page .section-title::after {
  content: "";

  display: block;

  width: 52px;
  height: 2px;

  margin-top: 28px;

  background: var(--green);
}

/* DESCRIPTION */

.project-1-page .project-description {
  max-width: 650px;

  margin-bottom: 20px;

  color: #626862;

  font-size: 1rem;
  line-height: 1.85;
}

.project-1-page .project-description:last-child {
  margin-bottom: 0;
}

/* =====================================================
   PROJECT INFORMATION PANEL
===================================================== */

.project-1-page .project-info-box {
  position: relative;

  padding: 10px 0 10px 32px;

  border-left: 1px solid rgba(0, 143, 78, 0.35);
}

/* PROJECT DETAIL */

.project-1-page .project-info-item {
  position: relative;

  padding: 0 0 24px;
  margin-bottom: 24px;

  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}

.project-1-page .project-info-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;

  border-bottom: 0;
}

/* GREEN MARKER */

.project-1-page .project-info-item::before {
  content: "";

  position: absolute;

  left: -36px;
  top: 4px;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--green);
}

/* LABEL */

.project-1-page .project-info-item span {
  display: block;

  margin-bottom: 8px;

  color: var(--green);

  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* VALUE */

.project-1-page .project-info-item strong {
  display: block;

  color: var(--black);

  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.6;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {
  .project-1-page .section-padding {
    padding: 80px 0;
  }

  .project-1-page .project-info-box {
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  .project-1-page .section-padding {
    padding: 65px 0;
  }

  .project-1-page .section-title {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .project-1-page .project-description {
    font-size: 0.95rem;
  }

  .project-1-page .project-info-box {
    padding-left: 25px;
  }

  .project-1-page .project-info-item::before {
    left: -29px;
  }
}

/* =====================================================
   PROJECT 1 - CONSTRUCTION JOURNEY
===================================================== */

.project-1-page .construction-journey {
  position: relative;
  overflow: hidden;

  padding: 110px 0;

  background: #06271c;
  color: #ffffff;
}

/* SUBTLE ARCHITECTURAL LINE */

.project-1-page .construction-journey::after {
  content: "";

  position: absolute;
  top: -160px;
  right: -100px;

  width: 430px;
  height: 430px;

  border: 1px solid rgba(103, 217, 151, 0.12);

  transform: rotate(45deg);

  pointer-events: none;
}

/* HEADING AREA */

.project-1-page .construction-journey .mb-5 {
  position: relative;
  z-index: 1;

  max-width: 720px;
  margin-bottom: 70px !important;
}

.project-1-page .construction-journey .section-eyebrow {
  color: #67d997;
}

.project-1-page .construction-journey .section-title {
  margin-bottom: 0;

  color: #ffffff;
}

.project-1-page .construction-journey .section-title::after {
  display: none;
}

.project-1-page .construction-journey .section-text {
  max-width: 580px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 1rem;
  line-height: 1.8;
}

/* =====================================================
   PROCESS ITEMS
===================================================== */

.project-1-page .construction-journey .row {
  position: relative;
  z-index: 1;
}

.project-1-page .process-card {
  position: relative;

  height: 100%;

  padding: 36px 32px 34px;

  border-top: 1px solid rgba(255, 255, 255, 0.18);

  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

/* GREEN ACCENT ON TOP */

.project-1-page .process-card::before {
  content: "";

  position: absolute;

  top: -1px;
  left: 32px;

  width: 38px;
  height: 2px;

  background: #67d997;
}

.project-1-page .process-card:hover {
  border-color: rgba(103, 217, 151, 0.4);
  transform: translateY(-4px);
}

/* NUMBER */

.project-1-page .process-number {
  margin-bottom: 40px;

  color: #67d997;

  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

/* TITLE */

.project-1-page .process-card h3 {
  margin-bottom: 14px;

  font-family: var(--font-heading);

  color: #ffffff;

  font-size: 1.55rem;
  font-weight: 600;
}

/* DESCRIPTION */

.project-1-page .process-card p {
  max-width: 330px;

  margin: 0;

  color: rgba(255, 255, 255, 0.68);

  font-size: 0.95rem;
  line-height: 1.75;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {
  .project-1-page .construction-journey {
    padding: 85px 0;
  }

  .project-1-page .construction-journey .mb-5 {
    margin-bottom: 50px !important;
  }
}

@media (max-width: 767px) {
  .project-1-page .construction-journey {
    padding: 65px 0;
  }

  .project-1-page .process-card {
    padding: 28px 20px;
  }

  .project-1-page .process-card::before {
    left: 20px;
  }

  .project-1-page .process-number {
    margin-bottom: 28px;
  }

  .project-1-page .construction-journey::after {
    width: 280px;
    height: 280px;

    top: -130px;
    right: -130px;
  }
}

/* =====================================================
   PROJECT 1 - PROJECT STORY GALLERY
===================================================== */

.project-1-page .project-gallery-section {
  padding: 110px 0;
  background: #f5f7f5;
}

/* HEADING */

.project-1-page .project-gallery-section .gallery-heading {
  max-width: 760px;
}

.project-1-page .project-gallery-section .section-title {
  color: #111311;
  margin-bottom: 20px;
}

.project-1-page .project-gallery-section .section-title::after {
  display: none;
}

.project-1-page .project-gallery-section .section-text {
  max-width: 560px;
  color: #626862;
  line-height: 1.8;
}

/* FEATURED IMAGE */

.project-1-page .gallery-feature {
  position: relative;
  overflow: hidden;
  background: #e9eeeb;
  border-radius: 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 480px;
  padding: 40px;
}

.project-1-page .gallery-feature img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 540px;
  object-fit: contain;
  border-radius: 4px;
}

/* FEATURE CAPTION */

.project-1-page .gallery-feature-caption {
  position: absolute;
  left: 30px;
  bottom: 30px;

  padding: 18px 24px;

  background: rgba(6, 39, 28, 0.94);
  color: #ffffff;

  border-left: 3px solid #67d997;
  border-radius: 3px;
}

.project-1-page .gallery-feature-caption span {
  display: block;
  margin-bottom: 7px;

  color: #67d997;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.project-1-page .gallery-feature-caption h3 {
  margin: 0;
  color: #ffffff;

  font-family: var(--font-heading);
  font-size: 1.5rem;
}

/* SUPPORTING IMAGES */

.project-1-page .gallery-item {
  height: 100%;
  overflow: hidden;

  background: #ffffff;
  border: 1px solid #e0e7e2;
  border-radius: 6px;

  transition: transform 0.3s ease;
}

.project-1-page .gallery-item:hover {
  transform: translateY(-4px);
}

.project-1-page .gallery-item img {
  display: block;
  width: 100%;
  height: 330px;

  object-fit: cover;
}

/* SUPPORTING CAPTIONS */

.project-1-page .gallery-caption {
  padding: 22px 25px 26px;
}

.project-1-page .gallery-caption span {
  display: block;
  margin-bottom: 8px;

  color: var(--green);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.project-1-page .gallery-caption p {
  margin: 0;

  color: #252b27;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .project-1-page .project-gallery-section {
    padding: 80px 0;
  }

  .project-1-page .gallery-feature {
    min-height: 380px;
    padding: 25px;
  }
}

@media (max-width: 767px) {
  .project-1-page .project-gallery-section {
    padding: 65px 0;
  }

  .project-1-page .gallery-feature {
    min-height: 0;
    padding: 20px 15px 110px;
  }

  .project-1-page .gallery-feature img {
    max-height: 400px;
  }

  .project-1-page .gallery-feature-caption {
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding: 14px 18px;
  }

  .project-1-page .gallery-feature-caption h3 {
    font-size: 1.25rem;
  }

  .project-1-page .gallery-item img {
    height: 260px;
  }

  .project-1-page .gallery-caption {
    padding: 18px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-1-page .gallery-item {
    transition: none;
  }

  .project-1-page .gallery-item:hover {
    transform: none;
  }
}

/* Project 2 */

.project-image-two {
  background-image:
    linear-gradient(rgba(5, 12, 8, 0.05), rgba(5, 12, 8, 0.05)),
    url("/images/projects/IMG-20260917-WA0018.jpg");

  background-position: center center;
}

/* ==========================================
   PROJECT OVERLAY
========================================== */

.project-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;

  justify-content: flex-end;
  align-items: flex-start;

  padding: 38px;

  background: linear-gradient(
    to top,
    rgba(6, 12, 8, 0.94) 0%,
    rgba(6, 12, 8, 0.6) 30%,
    rgba(6, 12, 8, 0.18) 60%,
    rgba(6, 12, 8, 0.02) 100%
  );

  color: #ffffff;

  transition: background 0.4s ease;
}

/* ==========================================
   PROJECT CATEGORY
========================================== */

.project-overlay > span {
  display: block;

  margin-bottom: 10px;

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 1.8px;

  text-transform: uppercase;

  color: #67d997;
}

/* ==========================================
   PROJECT TITLE
========================================== */

.project-overlay h3 {
  margin: 0 0 18px;

  max-width: 90%;

  font-family: var(--font-heading);

  font-size: clamp(2rem, 3vw, 3rem);

  line-height: 1.05;

  color: #ffffff;
}

/* ==========================================
   PROJECT LINK
========================================== */

.project-overlay a {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  color: #ffffff;

  font-size: 0.9rem;
  font-weight: 600;

  text-decoration: none;

  transition:
    color 0.25s ease,
    gap 0.25s ease;
}

.project-overlay a:hover {
  color: #67d997;

  gap: 14px;
}

/* ==========================================
   CARD HOVER
========================================== */

.project-card:hover .project-image {
  transform: scale(1.045);
}

.project-card:hover .project-overlay {
  background: linear-gradient(
    to top,
    rgba(5, 13, 8, 0.97) 0%,
    rgba(5, 13, 8, 0.66) 32%,
    rgba(5, 13, 8, 0.22) 62%,
    rgba(5, 13, 8, 0.04) 100%
  );
}

/* ==========================================
   VIEW ALL PROJECTS
========================================== */

.projects-section .text-link {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  color: var(--green);

  font-size: 0.92rem;
  font-weight: 600;

  text-decoration: none;

  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.projects-section .text-link:hover {
  gap: 14px;

  color: #075c34;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {
  .projects-section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .project-card,
  .project-card.project-large {
    height: 480px;
  }

  .project-overlay {
    padding: 34px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 576px) {
  .projects-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .project-card,
  .project-card.project-large {
    height: 410px;
  }

  .project-overlay {
    padding: 26px;
  }

  .project-overlay h3 {
    font-size: 2rem;
  }

  .project-overlay > span {
    font-size: 0.68rem;
  }
}

/* ==========================================
   FOOTER
========================================== */

.footer {
  background: #111311;
  color: #ffffff;

  padding: 80px 0 28px;
  margin-top: 0;
}

/* ==========================================
   FOOTER LOGO
========================================== */

.footer-brand {
  display: inline-block;

  text-decoration: none;

  margin-bottom: 22px;
}

.footer-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: block;

  width: 175px;
  height: auto;
}

.footer-logo-tagline {
  display: block;

  margin-top: 4px;
  margin-left: 38px;

  font-family: "DM Sans", sans-serif;

  font-size: 8px;
  font-weight: 500;

  letter-spacing: 1.3px;

  color: rgba(255, 255, 255, 0.6);

  white-space: nowrap;
}

/* ==========================================
   FOOTER DESCRIPTION
========================================== */

.footer-description {
  max-width: 420px;

  margin: 0;

  color: rgba(255, 255, 255, 0.62);

  font-size: 0.95rem;

  line-height: 1.8;
}

/* ==========================================
   FOOTER HEADINGS
========================================== */

.footer h5 {
  margin-bottom: 22px;

  font-family: var(--font-heading);

  font-size: 1.25rem;
  font-weight: 600;

  color: #ffffff;
}

/* ==========================================
   FOOTER LINKS
========================================== */

.footer-links {
  list-style: none;

  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  display: inline-block;

  color: rgba(255, 255, 255, 0.62);

  text-decoration: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-links a:hover {
  color: #67d997;

  transform: translateX(4px);
}

/* ==========================================
   FOOTER CONTACT
========================================== */

.footer-contact {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 16px;

  color: rgba(255, 255, 255, 0.62);
}

.footer-contact i {
  width: 18px;

  color: #67d997;
}

/* ==========================================
   FOOTER DIVIDER
========================================== */

.footer hr {
  margin: 55px 0 24px;

  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);

  opacity: 1;
}

/* ==========================================
   FOOTER BOTTOM
========================================== */

.footer-bottom {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 20px;

  color: rgba(255, 255, 255, 0.48);

  font-size: 0.82rem;
}

/* ==========================================
   FOOTER RESPONSIVE
========================================== */

@media (max-width: 991px) {
  .footer {
    padding-top: 65px;
  }

  .footer-description {
    max-width: 500px;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 55px 0 25px;
  }

  .footer-logo {
    width: 150px;
  }

  .footer h5 {
    margin-bottom: 16px;
  }

  .footer hr {
    margin-top: 40px;
  }

  .footer-bottom {
    flex-direction: column;

    align-items: flex-start;

    gap: 8px;
  }
}

/* ==========================================
   PROJECTS PAGE
========================================== */

/* ==========================================
   PROJECTS HERO
========================================== */

.page-hero {
  position: relative;
  overflow: hidden;

  padding: 115px 0 105px;

  background: #101411;
  color: #ffffff;
}

.page-hero::before {
  content: "";

  position: absolute;
  top: -240px;
  right: -120px;

  width: 600px;
  height: 600px;

  border: 1px solid rgba(103, 217, 151, 0.08);

  transform: rotate(35deg);

  pointer-events: none;
}

.page-hero::after {
  content: "";

  position: absolute;
  right: 12%;
  bottom: -170px;

  width: 320px;
  height: 320px;

  border: 1px solid rgba(255, 255, 255, 0.04);

  transform: rotate(45deg);

  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-content {
  max-width: 850px;
}

.page-hero .section-eyebrow {
  display: inline-block;

  margin-bottom: 24px;

  color: #67d997;

  font-size: 0.75rem;
  font-weight: 700;

  letter-spacing: 2.5px;

  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0 0 30px;

  font-family: var(--font-heading);

  font-size: clamp(4rem, 7vw, 6.5rem);

  line-height: 0.93;

  letter-spacing: -2px;

  color: #ffffff;
}

.page-hero h1 span {
  color: #67d997;
}

.page-hero p {
  max-width: 650px;

  margin: 0;

  font-size: 1.05rem;

  line-height: 1.8;

  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================
   PROJECT SHOWCASE
========================================== */

.projects-showcase {
  position: relative;

  padding: 115px 0 125px;

  background: #f5f6f3;
}

.projects-showcase .section-eyebrow,
.projects-highlights .section-eyebrow {
  display: inline-block;

  margin-bottom: 18px;

  color: var(--green);

  font-size: 0.75rem;
  font-weight: 700;

  letter-spacing: 2.3px;

  text-transform: uppercase;
}

.projects-showcase .section-title,
.projects-highlights .section-title {
  max-width: 720px;

  margin: 0;

  font-size: clamp(3.2rem, 5vw, 5rem);

  line-height: 0.98;

  letter-spacing: -1.5px;
}

.projects-showcase .section-text,
.projects-highlights .section-text {
  max-width: 500px;

  margin: 0;

  font-size: 0.98rem;

  line-height: 1.8;

  color: #666c67;
}

/* ==========================================
   DYNAMIC PROJECT GRID
========================================== */

.projects-showcase #projectsGrid {
  margin-top: 15px;
}

.projects-showcase .project-card {
  position: relative;

  width: 100%;
  height: 560px;

  overflow: hidden;

  background: #101411;
}

.projects-showcase .project-card-image {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: hidden;
}

.projects-showcase .project-card-image > img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.7s ease;
}

/* ==========================================
   PROJECT CARD OVERLAY
========================================== */

.projects-showcase .project-card-overlay {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;

  padding: 38px;

  background: linear-gradient(
    to top,
    rgba(6, 12, 8, 0.96) 0%,
    rgba(6, 12, 8, 0.68) 38%,
    rgba(6, 12, 8, 0.12) 75%
  );

  color: #ffffff;

  transition: background 0.4s ease;
}

.projects-showcase .project-card-overlay > span {
  margin-bottom: 12px;

  color: #67d997;

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 1.8px;

  text-transform: uppercase;
}

.projects-showcase .project-card-overlay h3 {
  max-width: 500px;

  margin: 0 0 12px;

  font-family: var(--font-heading);

  font-size: clamp(2rem, 3vw, 3rem);

  line-height: 1.05;

  color: #ffffff;
}

.projects-showcase .project-location {
  margin: 0 0 8px;

  color: rgba(255, 255, 255, 0.68);

  font-size: 0.82rem;
  font-weight: 600;
}

.projects-showcase .project-client {
  max-width: 480px;

  margin: 0 0 24px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 0.9rem;

  line-height: 1.65;
}

.projects-showcase .project-card-overlay a {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  color: #ffffff;

  font-size: 0.88rem;
  font-weight: 700;

  text-decoration: none;

  transition:
    gap 0.3s ease,
    color 0.3s ease;
}

/* ==========================================
   PROJECT CARD HOVER
========================================== */

.projects-showcase .project-card:hover img {
  transform: scale(1.045);
}

.projects-showcase .project-card:hover .project-card-overlay {
  background: linear-gradient(
    to top,
    rgba(6, 12, 8, 0.98) 0%,
    rgba(6, 12, 8, 0.72) 42%,
    rgba(6, 12, 8, 0.15) 78%
  );
}

.projects-showcase .project-card-overlay a:hover {
  gap: 15px;

  color: #67d997;
}

/* ==========================================
   PROJECT HIGHLIGHTS
========================================== */

.projects-highlights {
  position: relative;

  padding: 120px 0;

  background: #ffffff;
}

/* ==========================================
   HIGHLIGHT CARDS
========================================== */

.project-highlight-card {
  position: relative;

  display: flex;
  flex-direction: column;

  height: 100%;
  min-height: 480px;

  padding: 42px;

  border: 1px solid #dedfdb;

  background: #ffffff;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.project-highlight-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 0;
  height: 3px;

  background: var(--green);

  transition: width 0.4s ease;
}

.project-highlight-number {
  display: block;

  margin-bottom: 55px;

  color: #8a8e8a;

  font-size: 0.75rem;
  font-weight: 700;

  letter-spacing: 1.5px;
}

.project-highlight-category {
  display: block;

  margin-bottom: 14px;

  color: var(--green);

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 1.6px;

  text-transform: uppercase;
}

.project-highlight-card h3 {
  max-width: 500px;

  margin: 0 0 18px;

  font-family: var(--font-heading);

  font-size: clamp(2rem, 3vw, 2.8rem);

  line-height: 1.05;
}

.project-highlight-card > p {
  max-width: 520px;

  margin-bottom: 30px;

  color: #666c67;

  font-size: 0.95rem;

  line-height: 1.75;
}

/* ==========================================
   HIGHLIGHT META
========================================== */

.project-highlight-meta {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 25px;

  margin-bottom: 35px;
  padding-top: 25px;

  border-top: 1px solid #e1e2df;
}

.project-highlight-meta div {
  display: flex;
  flex-direction: column;

  gap: 7px;
}

.project-highlight-meta small {
  color: #8a8e8a;

  font-size: 0.66rem;
  font-weight: 700;

  letter-spacing: 1.3px;
}

.project-highlight-meta strong {
  color: #171917;

  font-size: 0.87rem;
  font-weight: 600;

  line-height: 1.55;
}

/* ==========================================
   HIGHLIGHT LINK
========================================== */

.project-highlight-card > a {
  display: inline-flex;
  align-items: center;

  align-self: flex-start;

  gap: 10px;

  margin-top: auto;

  color: var(--green);

  font-size: 0.88rem;
  font-weight: 700;

  text-decoration: none;

  transition:
    gap 0.3s ease,
    color 0.3s ease;
}

.project-highlight-card > a:hover {
  gap: 15px;
}

/* ==========================================
   HIGHLIGHT CARD HOVER
========================================== */

.project-highlight-card:hover {
  transform: translateY(-6px);

  border-color: rgba(0, 128, 72, 0.3);

  box-shadow: 0 20px 50px rgba(16, 20, 17, 0.07);
}

.project-highlight-card:hover::before {
  width: 100%;
}

/* ==========================================
   PROJECTS PAGE - TABLET
========================================== */

@media (max-width: 991px) {
  .page-hero {
    padding: 95px 0;
  }

  .projects-showcase,
  .projects-highlights {
    padding: 95px 0;
  }

  .projects-showcase .row.align-items-end .col-lg-5,
  .projects-highlights .row.align-items-end .col-lg-5 {
    margin-top: 25px;
  }

  .projects-showcase .project-card {
    height: 500px;
  }
}

/* ==========================================
   PROJECTS PAGE - MOBILE
========================================== */

@media (max-width: 576px) {
  .page-hero {
    padding: 75px 0;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.3rem);

    line-height: 0.96;

    letter-spacing: -1px;
  }

  .projects-showcase,
  .projects-highlights {
    padding: 75px 0;
  }

  .projects-showcase .section-title,
  .projects-highlights .section-title {
    font-size: clamp(2.8rem, 12vw, 3.8rem);
  }

  .projects-showcase .project-card {
    height: 440px;
  }

  .projects-showcase .project-card-overlay {
    padding: 28px 24px;
  }

  .project-highlight-card {
    min-height: auto;

    padding: 30px 24px;
  }

  .project-highlight-number {
    margin-bottom: 38px;
  }

  .project-highlight-meta {
    grid-template-columns: 1fr;
  }
}

.project-view-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid #078447;
  border-radius: 5px;
  background: #078447;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.project-view-button:hover {
  background: #066d3b;
  border-color: #066d3b;
  color: #ffffff;
  transform: translateY(-2px);
}

.project-view-button i {
  transition: transform 0.25s ease;
}

.project-view-button:hover i {
  transform: translateX(3px);
}

/* =========================================
   CONTACT PAGE
========================================= */

/* HERO */

.contact-page .contact-hero {
  background: #f4f7f5;
  padding: 170px 0 100px;
}

.contact-page .contact-hero-content {
  max-width: 850px;
}

.contact-page .contact-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #111611;
  margin: 20px 0 25px;
}

.contact-page .contact-hero h1 span {
  color: var(--green);
}

.contact-page .contact-hero p {
  max-width: 650px;
  color: #626b65;
  font-size: 1.05rem;
  line-height: 1.9;
}

/* CONTACT SECTION */

.contact-page .contact-section {
  padding: 110px 0;
  background: #ffffff;
}

.contact-page .contact-section .section-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.15;
  margin: 20px 0 25px;
}

.contact-page .contact-section .section-text {
  color: #66716a;
  line-height: 1.9;
  margin-bottom: 40px;
}

/* CONTACT DETAILS */

.contact-page .contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-page .contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-page .contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #edf5ef;
  color: var(--green);
  border-radius: 5px;
}

.contact-page .contact-detail span {
  display: block;
  margin-bottom: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6c766f;
}

.contact-page .contact-detail a,
.contact-page .contact-detail p {
  margin: 0;
  color: #202820;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-page .contact-detail a:hover {
  color: var(--green);
}

/* ENQUIRY FORM CARD */

.contact-page .contact-form-card {
  background: #f5f7f5;
  padding: 45px;
  border: 1px solid #e3eae5;
  border-radius: 8px;
}

.contact-page .contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #111611;
  margin: 15px 0 35px;
}

.contact-page .contact-form-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #25332a;
  margin-bottom: 10px;
}

.contact-page .contact-form-card input,
.contact-page .contact-form-card select,
.contact-page .contact-form-card textarea {
  display: block;
  width: 100%;
  padding: 15px 17px;
  background: #ffffff;
  border: 1px solid #d6dfd8;
  border-radius: 4px;
  color: #202820;
  font: inherit;
  font-size: 0.95rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-page .contact-form-card textarea {
  min-height: 170px;
  resize: vertical;
}

.contact-page .contact-form-card input:focus,
.contact-page .contact-form-card select:focus,
.contact-page .contact-form-card textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 143, 78, 0.12);
}

.contact-page .contact-form-card .btn-primary {
  background: var(--green);
  border: 1px solid var(--green);
  color: #ffffff;
  padding: 15px 28px;
  font-weight: 600;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-page .contact-form-card .btn-primary:hover {
  background: #006b3d;
  border-color: #006b3d;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .contact-page .contact-hero {
    padding: 140px 0 75px;
  }

  .contact-page .contact-section {
    padding: 80px 0;
  }
}

@media (max-width: 767px) {
  .contact-page .contact-hero {
    padding: 120px 0 65px;
  }

  .contact-page .contact-hero h1 {
    letter-spacing: -0.5px;
  }

  .contact-page .contact-section {
    padding: 65px 0;
  }

  .contact-page .contact-form-card {
    padding: 28px 20px;
  }

  .contact-page .contact-form-card .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* CONTACT PAGE NAVBAR BUTTON */

.contact-page .navbar .btn-light {
  background-color: #008044;
  border: 1px solid #008044;
  color: #ffffff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 4px;
  transition: background-color 0.25s ease;
}

.contact-page .navbar .btn-light:hover,
.contact-page .navbar .btn-light:focus-visible {
  background-color: #006b39;
  border-color: #006b39;
  color: #ffffff;
}

/* =========================================
   NEXTBEST SUCCESS POPUP
========================================= */

.nextbest-success-modal {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
  border-top: 6px solid #008044;
}

.nextbest-success-modal .modal-body {
  padding: 55px 35px 45px;
}

.nextbest-success-modal .success-icon {
  width: 85px;
  height: 85px;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: #e6f5ec;
  color: #008044;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
}

.nextbest-success-modal .success-eyebrow {
  display: block;
  color: #008044;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.nextbest-success-modal h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: #10251b;
  margin-bottom: 18px;
}

.nextbest-success-modal p {
  color: #66716a;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 360px;
  margin: 0 auto 30px;
}

.nextbest-success-modal .success-close-btn {
  background: #008044;
  color: #ffffff;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 5px;
}

.nextbest-success-modal .success-close-btn:hover {
  background: #006b39;
  color: #ffffff;
}

@media (max-width: 576px) {
  .nextbest-success-modal .modal-body {
    padding: 40px 22px;
  }

  .nextbest-success-modal h2 {
    font-size: 2rem;
  }
}

/* NEXTBEST ERROR POPUP */

.nextbest-error-modal {
  border-top-color: #b45309;
}

.nextbest-error-modal .success-icon {
  background: #fff3e6;
  color: #b45309;
}

.nextbest-error-modal .success-eyebrow {
  color: #b45309;
}

.nextbest-error-modal .success-close-btn {
  background: #10251b;
  color: #ffffff;
}

.nextbest-error-modal .success-close-btn:hover {
  background: #008044;
  color: #ffffff;
}

/* ==========================================
   MOBILE NAVBAR DROPDOWN FIX
========================================== */

@media (max-width: 991.98px) {
  /* Keep the expanded mobile menu readable */
  .navbar .navbar-collapse {
    background: #111512;
    padding: 18px 20px 24px;
    margin-top: 12px;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  }

  /* Improve mobile navigation spacing */
  .navbar .navbar-nav {
    align-items: stretch;
    gap: 4px;
  }

  .navbar .nav-link {
    margin-left: 0;
    padding: 12px 8px !important;
  }

  /* Give the Contact Us button some breathing room */
  .navbar .nav-item:last-child {
    margin-top: 12px;
  }
}

/* ==========================================
   NEXTBEST 10TH ANNIVERSARY PAGE
   Page-specific styling
========================================== */

.anniversary-page {
  --anniversary-teal: #52d3bf;
  --anniversary-gold: #d8b978;
  --anniversary-dark: #111a18;
  --anniversary-muted: #66746e;
  background: #f8faf8;
}

.anniversary-page main {
  overflow: hidden;
}

.anniversary-page .section-label {
  color: #08783f;
  letter-spacing: 2px;
  font-weight: 700;
}

/* HERO */

.anniversary-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 720px;
  padding: 180px 0 110px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(
      circle at 80% 35%,
      rgba(82, 211, 191, 0.15),
      transparent 40%
    ),
    linear-gradient(135deg, #111a18, #19352c 65%, #10231d);
}

.anniversary-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.anniversary-eyebrow {
  margin-bottom: 25px;
  color: var(--anniversary-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}

.anniversary-hero-mark {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 22px;
}

.anniversary-hero-number {
  color: var(--anniversary-teal);
  font-size: clamp(110px, 17vw, 205px);
  font-weight: 800;
  letter-spacing: -10px;
  line-height: 0.9;
}

.anniversary-hero-unit {
  color: var(--anniversary-gold);
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: 6px;
}

.anniversary-hero h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.13;
}

.anniversary-hero-description {
  max-width: 650px;
  color: #d3e3dc;
  font-size: 17px;
  line-height: 1.9;
}

.anniversary-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 32px;
}

.anniversary-primary-btn,
.anniversary-outline-btn {
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.anniversary-primary-btn {
  color: #10251d;
  background: var(--anniversary-teal);
  border: 1px solid var(--anniversary-teal);
}

.anniversary-primary-btn:hover {
  color: #10251d;
  background: #80e5d5;
  transform: translateY(-3px);
}

.anniversary-outline-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.anniversary-outline-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.anniversary-hero-decoration {
  position: absolute;
  right: -40px;
  bottom: -100px;
  color: rgba(255, 255, 255, 0.035);
  font-size: 500px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

/* STORY */

.anniversary-story {
  background: #fff;
}

.anniversary-story .section-title {
  margin-top: 15px;
}

.anniversary-story p {
  color: #58665f;
  font-size: 16px;
  line-height: 1.95;
}

.anniversary-story .anniversary-lead {
  color: #18372b;
  font-size: 20px;
  font-weight: 600;
}

/* SECTION HEADINGS */

.anniversary-section-heading {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.anniversary-section-heading .section-title {
  margin: 16px 0;
}

.anniversary-section-heading p {
  color: var(--anniversary-muted);
}

/* PILLARS */

.anniversary-pillars {
  background: #f1f5f2;
}

.anniversary-pillar-card {
  position: relative;
  padding: 38px 30px;
  border: 1px solid #e0e9e3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(10, 35, 23, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.anniversary-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(10, 35, 23, 0.1);
}

.anniversary-pillar-index {
  position: absolute;
  top: 25px;
  right: 28px;
  color: #d4e5dc;
  font-size: 30px;
  font-weight: 800;
}

.anniversary-pillar-icon {
  display: block;
  margin-bottom: 28px;
  color: #08783f;
  font-size: 34px;
}

.anniversary-pillar-card h3 {
  margin-bottom: 15px;
  font-size: 23px;
}

.anniversary-pillar-card p {
  margin-bottom: 0;
  color: var(--anniversary-muted);
}

/* PHOTO GALLERY */

.anniversary-gallery {
  background: #fff;
}

.anniversary-gallery-item {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #e7ece9;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.anniversary-gallery-item img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.anniversary-gallery-item:hover img {
  transform: scale(1.045);
}

.anniversary-gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  color: #20392f;
  background: #f7faf8;
  font-size: 13px;
  font-weight: 600;
}

.anniversary-gallery-item figcaption span {
  color: #08783f;
  font-size: 12px;
  white-space: nowrap;
}

/* NEXT CHAPTER */

.anniversary-future {
  color: #fff;
  background: var(--anniversary-dark);
}

.anniversary-future .section-label {
  color: var(--anniversary-gold);
}

.anniversary-future .section-title {
  margin: 18px 0;
  color: #fff;
}

.anniversary-future p {
  max-width: 680px;
  color: #c4d6cd;
  line-height: 1.9;
}

.anniversary-future-number {
  display: block;
  color: var(--anniversary-teal);
  font-size: clamp(110px, 16vw, 210px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -8px;
}

.anniversary-future-number span {
  color: var(--anniversary-gold);
  font-size: 0.5em;
}

/* CLOSING CTA */

.anniversary-cta {
  background: #edf5ef;
  text-align: center;
}

.anniversary-cta-inner {
  max-width: 760px;
  margin: 0 auto;
}

.anniversary-cta h2 {
  margin: 18px 0;
  font-size: clamp(34px, 4vw, 55px);
}

.anniversary-cta p {
  margin-bottom: 30px;
  color: #52655a;
}

.anniversary-cta .btn-light {
  padding: 14px 28px;
  color: #fff;
  background: #08783f;
  border-color: #08783f;
  font-weight: 700;
}

.anniversary-cta .btn-light:hover {
  color: #fff;
  background: #045a2e;
}

/* RESPONSIVE */

@media (max-width: 991.98px) {
  .anniversary-hero {
    min-height: 650px;
    padding: 160px 0 90px;
  }

  .anniversary-hero-decoration {
    font-size: 320px;
  }

  .anniversary-gallery-item img {
    height: 250px;
  }
}

@media (max-width: 575.98px) {
  .anniversary-hero {
    min-height: auto;
    padding: 155px 0 85px;
  }

  .anniversary-hero-number {
    font-size: 105px;
    letter-spacing: -6px;
  }

  .anniversary-hero-unit {
    font-size: 19px;
    letter-spacing: 3px;
  }

  .anniversary-hero h1 {
    font-size: 36px;
  }

  .anniversary-hero-description {
    font-size: 15px;
  }

  .anniversary-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .anniversary-hero-actions .btn {
    width: 100%;
  }

  .anniversary-hero-decoration {
    right: -20px;
    bottom: -35px;
    font-size: 220px;
  }

  .anniversary-pillar-card {
    padding: 30px 24px;
  }

  .anniversary-gallery-item img {
    height: 240px;
  }

  .anniversary-future-number {
    font-size: 115px;
  }

  .anniversary-section-heading {
    margin-bottom: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .anniversary-page .anniversary-pillar-card,
  .anniversary-page .anniversary-gallery-item img,
  .anniversary-page .anniversary-primary-btn,
  .anniversary-page .anniversary-outline-btn {
    transition: none;
  }
}

/* ==========================================
   ANNIVERSARY MOBILE READABILITY
========================================== */

@media (max-width: 575.98px) {
  .anniversary-page .anniversary-story p,
  .anniversary-page .anniversary-pillar-card p,
  .anniversary-page .anniversary-section-heading p,
  .anniversary-page .anniversary-cta p {
    color: #46564d;
    line-height: 1.8;
  }

  .anniversary-page .anniversary-story .anniversary-lead {
    color: #18372b;
  }

  .anniversary-page .anniversary-pillar-card h3 {
    color: #20392f;
  }
}

/* ==========================================
   ANNIVERSARY PHOTO LIGHTBOX
========================================== */

.anniversary-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 17, 14, 0.96);
  backdrop-filter: blur(12px);
  padding: 70px 65px 55px;
}

.anniversary-lightbox.is-open {
  display: flex;
}

.anniversary-lightbox-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.anniversary-lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: calc(100% - 55px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}

.anniversary-lightbox-caption {
  color: #e4e9e5;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
}

.anniversary-lightbox-counter {
  position: absolute;
  top: 28px;
  left: 35px;
  color: #e4e9e5;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
}

.anniversary-lightbox-close,
.anniversary-lightbox-prev,
.anniversary-lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.anniversary-lightbox-close:hover,
.anniversary-lightbox-prev:hover,
.anniversary-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.anniversary-lightbox-close {
  top: 20px;
  right: 25px;
}

.anniversary-lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.anniversary-lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* MOBILE */
@media (max-width: 575.98px) {
  .anniversary-lightbox {
    padding: 85px 15px 90px;
  }

  .anniversary-lightbox-counter {
    top: 32px;
    left: 20px;
  }

  .anniversary-lightbox-close {
    top: 20px;
    right: 20px;
  }

  .anniversary-lightbox-prev,
  .anniversary-lightbox-next {
    top: auto;
    bottom: 25px;
    transform: none;
  }

  .anniversary-lightbox-prev {
    left: calc(50% - 65px);
  }

  .anniversary-lightbox-next {
    right: calc(50% - 65px);
  }
}

/* =========================================
   DESKTOP NAVIGATION LAYOUT FIX
========================================= */

@media (min-width: 992px) {
  #mainNavigation.offcanvas-lg {
    flex-grow: 1;
    width: auto;
    min-width: 0;
  }

  #mainNavigation .offcanvas-body {
    display: flex;
    width: 100%;
    padding: 0;
  }

  #mainNavigation .navbar-nav {
    margin-left: auto !important;
    flex-direction: row;
    align-items: center;
  }
}

/* =========================================
   MOBILE SLIDE-OUT NAVIGATION
========================================= */

@media (max-width: 991.98px) {
  #mainNavigation.offcanvas-lg {
    width: min(290px, 85vw);
    max-width: 85vw;
    height: 100dvh;

    background: #111512;
    color: #ffffff;

    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35);

    z-index: 1050;
  }

  #mainNavigation .offcanvas-header {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #mainNavigation .offcanvas-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
  }

  #mainNavigation .btn-close {
    filter: invert(1) grayscale(100%);
    opacity: 0.9;
  }

  #mainNavigation .offcanvas-body {
    padding: 12px 16px;
    overflow-y: auto;
  }

  #mainNavigation .navbar-nav {
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  #mainNavigation .nav-item {
    margin: 0;
  }

  #mainNavigation .nav-link {
    display: block;
    padding: 9px 6px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.4;
  }

  #mainNavigation .nav-link:hover,
  #mainNavigation .nav-link.active {
    color: #43d4df;
  }

  #mainNavigation .btn-nav {
    margin-top: 12px;
  }
}

/* Keep inner-page hero headings clear of the fixed mobile navbar */
@media (max-width: 991px) {
  .page-hero {
    padding-top: 125px;
  }
}

/* Make mobile navbar hamburger visible on dark backgrounds */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.45);
  }

  .navbar-toggler-icon {
    filter: brightness(0) invert(1);
  }
}

/* ==========================================
   NEXTBEST 10TH ANNIVERSARY BADGE
========================================== */

.anniversary-hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}

.anniversary-hero-badge {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18));
}

/* Mobile adjustments */
@media (max-width: 575.98px) {
  .anniversary-hero-mark {
    max-width: 320px;
  }

  .anniversary-hero-badge {
    max-width: 320px;
  }
}

/* ==========================================
   NEXTBEST CELEBRATION POPUP
========================================== */

.celebration-modal {
  --celebration-gold: #dfbd72;
  --celebration-teal: #35c2ad;
  --celebration-cream: #f7f2e7;
}

.celebration-modal .modal-dialog {
  max-width: 520px;
  margin: 1rem auto;
  padding-inline: 12px;
}

.celebration-modal-content {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(223, 189, 114, 0.5);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(23, 120, 105, 0.42),
      transparent 65%
    ),
    linear-gradient(150deg, #073a32, #031e1b);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  color: var(--celebration-cream);
}

.celebration-modal-content::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(223, 189, 114, 0.18);
  border-radius: 16px;
  pointer-events: none;
}

.celebration-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  opacity: 0.85;
}

.celebration-modal-close:hover {
  opacity: 1;
}

.celebration-modal-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 42px 36px 36px;
  text-align: center;
}

.celebration-eyebrow {
  margin-bottom: 16px;
  color: var(--celebration-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.celebration-modal-badge {
  display: block;
  width: min(100%, 230px);
  height: auto;
  margin-bottom: 18px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.celebration-modal-body h2 {
  margin-bottom: 14px;
  color: #f4d58e;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.65rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}

.celebration-modal-body p {
  max-width: 390px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 1.75;
}

.celebration-anniversary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--celebration-gold);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.celebration-anniversary-link:hover {
  color: #fff1c8;
}

.celebration-continue-btn {
  min-height: 46px;
  padding: 11px 30px;
  border: 1px solid #e5c780;
  border-radius: 8px;
  background: linear-gradient(135deg, #e9cb85, #c9a45b);
  color: #092a25;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.celebration-continue-btn:hover {
  transform: translateY(-2px);
  background: #f0d694;
  color: #092a25;
  box-shadow: 0 8px 20px rgba(223, 189, 114, 0.2);
}

/* Confetti layer, ready for JavaScript */
.celebration-confetti {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

/* Mobile */
@media (max-width: 575.98px) {
  .celebration-modal .modal-dialog {
    margin: 0.75rem auto;
    padding-inline: 10px;
  }

  .celebration-modal-content {
    border-radius: 18px;
  }

  .celebration-modal-body {
    padding: 38px 22px 28px;
  }

  .celebration-modal-badge {
    width: min(100%, 170px);
    margin-bottom: 14px;
  }

  .celebration-modal-body p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .celebration-continue-btn {
    transition: none;
  }

  .celebration-continue-btn:hover {
    transform: none;
  }
}

/* ==========================================
   CELEBRATION CONFETTI ANIMATION
========================================== */

.celebration-confetti-piece {
  position: absolute;
  top: -18px;
  left: var(--confetti-x);
  width: var(--confetti-size);
  height: calc(var(--confetti-size) * 1.5);
  border-radius: 2px;
  background-color: var(--confetti-color);
  opacity: 0;
  animation: celebration-confetti-fall var(--confetti-duration) linear
    var(--confetti-delay) infinite;
}

@keyframes celebration-confetti-fall {
  0% {
    transform: translate3d(0, -15px, 0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.85;
  }

  85% {
    opacity: 0.85;
  }

  100% {
    transform: translate3d(var(--confetti-drift), 620px, 0) rotate(540deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .celebration-confetti-piece {
    animation: none;
    display: none;
  }
}

/* Celebration artwork: responsive holiday sizing */
.celebration-modal-badge {
  max-height: min(34vh, 230px);
  object-fit: contain;
}

/* Ensure hidden anniversary links stay hidden */
.celebration-anniversary-link[hidden] {
  display: none !important;
}

/* Allow scrolling on shorter mobile screens */
.celebration-modal .modal-content {
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
}

/* ==========================================
   CHRISTMAS & NEW YEAR POPUP DESIGN
   Anniversary styling remains unchanged.
========================================== */

.celebration-modal--holiday .celebration-modal-content {
  background: transparent;
  background-image: none;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.celebration-modal--holiday .celebration-modal-content::before,
.celebration-modal--holiday .celebration-modal-content::after {
  display: none;
}

.celebration-modal--holiday .celebration-modal-body {
  background: transparent;
}

.celebration-modal--holiday .celebration-modal-badge {
  width: auto;
  max-width: min(100%, 320px);
  max-height: min(45vh, 390px);
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.3));
}

.celebration-modal--holiday .celebration-modal-close {
  background-color: #fff;
  border-radius: 50%;
  opacity: 1;
}

.celebration-modal--holiday .celebration-confetti {
  overflow: hidden;
  border-radius: 16px;
}

@media (max-width: 575.98px) {
  .celebration-modal--holiday .celebration-modal-badge {
    max-width: min(100%, 280px);
    max-height: 40vh;
  }
}

/* Final holiday popup refinements */
.celebration-modal--holiday .celebration-modal-badge {
  max-width: min(100%, 360px);
  max-height: min(50vh, 430px);
}

.celebration-modal--holiday .celebration-modal-body {
  padding-top: 24px;
  padding-bottom: 24px;
}

.celebration-modal--holiday #celebrationModalTitle {
  margin-top: 18px;
  margin-bottom: 12px;
}

.celebration-modal--holiday #celebrationModalDescription {
  max-width: 440px;
  margin-inline: auto;
  line-height: 1.65;
}

@media (max-width: 575.98px) {
  .celebration-modal--holiday .celebration-modal-badge {
    max-width: min(100%, 290px);
    max-height: 40vh;
  }

  .celebration-modal--holiday .celebration-modal-body {
    padding: 18px 16px;
  }
}
