/* GLOBAL */
html {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  max-width: 100%;
  margin: 0;
}

.global-bg {
  background-color: #f2f2f2;
}

/* Horizontal “side space” is mostly container max-width centering, not gutter.
   We widen the canvas and tie row/column gutters to the same --bs-gutter-x. */
:root {
  --site-gutter-x: 0.4rem;
  /* Matches .navbar height — offset for fixed-top bar */
  --public-navbar-offset: 85px;
  /* Contact / enquiry CTA (same family as .btn-custom, .contact-title) */
  --public-brand-primary: #0b7285;
}

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
  --bs-gutter-x: var(--site-gutter-x) !important;
  padding-left: calc(var(--site-gutter-x) * 0.15) !important;
  padding-right: calc(var(--site-gutter-x) * 0.15) !important;
}

/* On small screens, standard (non-fluid) containers need real side padding.
   Container-fluid with px-0 is intentionally full-bleed and is excluded. */
@media (max-width: 991.98px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

.row {
  --bs-gutter-x: var(--site-gutter-x) !important;
}

@media (min-width: 992px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg {
    max-width: 1180px !important;
  }
}

@media (min-width: 1200px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 1360px !important;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-xxl {
    max-width: 1580px !important;
  }
}

/* NAVBAR */
.navbar {
  --bs-navbar-padding-y: 0.2rem;
  --bs-navbar-color: #2e2e2e;
  --bs-navbar-hover-color: #03687f;
  --bs-navbar-active-color: #03687f;
  --bs-navbar-disabled-color: rgba(46, 46, 46, 0.45);
  --bs-navbar-brand-color: #2e2e2e;
  --bs-navbar-brand-hover-color: #03687f;
  height: 85px;
  border-bottom: 3px solid rgba(3, 104, 127, 0.28);
}

/* Fixed-top navbar: push page content below the bar */
#main-content {
  padding-top: var(--public-navbar-offset);
  max-width: 100%;
  overflow-x: hidden;
}

/*
 * Home only: full-viewport hero stays flush to the top of the viewport,
 * while inner content is still cleared by the same offset.
 */
#main-content > .hero:first-child {
  margin-top: calc(-1 * var(--public-navbar-offset));
  padding-top: var(--public-navbar-offset);
}

.navbar-brand img {
  height: 56px;
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.navbar-public-inner {
  padding-left: clamp(0.75rem, 3.5vw, 1.25rem) !important;
  padding-right: clamp(0.75rem, 3.5vw, 1.25rem) !important;
}

.btn-quote {
  background-color: #03687f;
  border: none;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.mega-dropdown {
  position: static;
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0;
  padding-bottom: 15px;
  background: #fff;
  border: none;
  border-top: 1px solid #eee;
  border-radius: 0;
  display: none;
  z-index: 1000;
}

@media (hover: hover) and (pointer: fine) {
  .navbar .dropdown:hover .mega-menu {
    display: block;
  }
}

.dropdown-menu.show {
  display: block;
}

/* Keyboard / programmatic open: match hover mega menu visibility */
.navbar .dropdown.mega-dropdown.show .mega-menu,
.navbar .dropdown.mega-dropdown .mega-menu.show {
  display: block;
}

.mega-tabs {
  border-bottom: 1px solid #eaeaea;
}

.mega-tabs .nav-link {
  color: #555;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}

.mega-tabs .nav-link:hover {
  color: #03687f;
}

.mega-tabs .nav-link.active {
  color: #03687f;
  border-bottom-color: #03687f;
}

.mega-card {
  position: relative;
  display: block;
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
}

.mega-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.mega-card span {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  transition: background 0.3s ease;
}

.mega-card:hover span {
  background: rgba(0, 0, 0, 0.6);
}

.explore-link {
  display: inline-block;
  color: rgb(36, 34, 34);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid #b3abab;
  font-size: 13px;
}

.explore-link:hover {
  color: #03687f;
  border-bottom-color: #03687f;
}

@media (max-width: 991px) {
  .navbar {
    height: auto;
    min-height: 68px;
    align-items: center;
  }

  :root {
    --public-navbar-offset: 72px;
  }

  .navbar-collapse {
    background: #fff;
    padding: 0.75rem 0 1.25rem;
    border-top: 1px solid #eee;
    width: 100%;
    flex-basis: 100%;
    max-height: min(70vh, calc(100dvh - 5.5rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-brand img {
    height: 50px;
    max-width: min(200px, 48vw);
  }

  .navbar .dropdown:hover .mega-menu {
    display: none;
  }

  .mega-menu {
    position: static !important;
    float: none;
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
    margin-top: 0.35rem;
    padding: 0.5rem 0.25rem 1rem;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0.375rem;
    transform: none !important;
  }

  .mega-menu .container {
    max-width: 100%;
  }

  .mega-tabs {
    display: none;
  }

  .mega-menu .row {
    row-gap: 15px;
  }

  .mega-card img {
    height: 130px;
  }

  .explore-link {
    margin: 15px auto 0;
    display: block;
    text-align: center;
  }

  .nav-link.dropdown-toggle::after {
    vertical-align: 0.2em;
  }
}
/* mega menu ends */

/* HERO MOBILE FIX */
@media (max-width: 991px) {
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--public-navbar-offset) + 1rem);
    padding-bottom: clamp(2rem, 6vw, 3.75rem);
    align-items: center;
    /* Use 100% — 100vw + centering hack causes side gutters when scrollbars exist */
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .stats {
    text-align: center;
  }

  .stats .col-md-4 {
    margin-bottom: 15px;
  }
}

/* HERO SECTION STARTS */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  color: #fff;
}

/* Full-bleed video layer (prevents side gutters; cover scaling works on mobile Safari) */
.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #1a1a1a;
  pointer-events: none;
}

.hero-video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 991px) {
  .hero-video-bg video {
    min-width: 102%;
    min-height: 102%;
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

.hero-inner {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 100%;
}

/* Horizontal inset for hero copy only — video stays full-bleed.
   Mobile uses the same 1rem applied to all containers above. */
.hero .container.hero-inner {
  padding-left: max(1rem, env(safe-area-inset-left, 0px)) !important;
  padding-right: max(1rem, env(safe-area-inset-right, 0px)) !important;
}

@media (min-width: 992px) {
  .hero .container.hero-inner {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px), 1.5vw) !important;
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px), 1.5vw) !important;
  }
}

.hero-award-logo {
  display: block;
  height: clamp(3.25rem, 12vw, 7.25rem);
  width: auto;
  max-width: min(100%, 280px);
  object-fit: contain;
}

@media (max-width: 991px) {
  .hero-award-logo {
    height: clamp(5.25rem, 32vw, 9rem);
    max-width: min(100%, 92vw, 420px);
  }
}

.badge-custom {
  background: rgba(3, 104, 127, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 0.8px;
}

.hero h1,
.hero .hero-headline {
  font-size: clamp(1.85rem, 2.8vw + 1.1rem, 5.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.03em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero p,
.hero .hero-lead {
  max-width: 42rem;
  margin-top: 0;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
  font-size: clamp(1rem, 1.5vw + 0.85rem, 1.5rem);
  line-height: 1.55;
  opacity: 0.9;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial,
    sans-serif;
}

/* Accent line: only beside copy, not full paragraph + padding height */
.hero .hero-lead.head-left-border {
  position: relative;
  border-left: none;
}

.hero .hero-lead.head-left-border::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.75rem;
  bottom: 1.75rem;
  width: 2px;
  background: #e5e7eb;
  border-radius: 1px;
}

.btn-outline-light,
.btn-light {
  border-radius: 50px;
}

.hero .container .btn {
  box-sizing: border-box;
  height: 4rem;
  min-height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.hero .container .btn.hero-btn-explore {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #2e2e2e;
  /* Room for arrow without width changing on hover */
  padding-right: clamp(2.5rem, 5vw, 3.35rem);
  transition:
    color 0.35s ease,
    border-color 0.35s ease;
}

.hero .container .btn.hero-btn-explore::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #03687f;
  border-radius: inherit;
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.hero .container .btn.hero-btn-explore:hover::before,
.hero .container .btn.hero-btn-explore:focus-visible::before {
  transform: scale(1);
}

.hero .container .btn.hero-btn-explore:hover,
.hero .container .btn.hero-btn-explore:focus-visible {
  color: #fff;
  border-color: #03687f;
}

.hero .container .btn.hero-btn-explore .hero-btn-explore__label {
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .container .btn.hero-btn-explore .hero-btn-explore__icon {
  position: absolute;
  right: 1.35rem;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  font-size: 1.15em;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%) translateX(6px) scale(0.65);
  transition:
    opacity 0.35s ease,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero .container .btn.hero-btn-explore:hover .hero-btn-explore__label,
.hero .container .btn.hero-btn-explore:focus-visible .hero-btn-explore__label {
  transform: translateX(-0.35rem);
}

.hero .container .btn.hero-btn-explore:hover .hero-btn-explore__icon,
.hero .container .btn.hero-btn-explore:focus-visible .hero-btn-explore__icon {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .hero .container .btn.hero-btn-explore::before {
    transition-duration: 0.01ms;
  }

  .hero .container .btn.hero-btn-explore .hero-btn-explore__icon {
    transition-duration: 0.01ms;
  }
}

.hero .container .btn.hero-btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero .container .btn.hero-btn-glass:hover,
.hero .container .btn.hero-btn-glass:focus-visible {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

@media (max-width: 991px) {
  .hero .container .btn {
    height: auto;
    min-height: 2.85rem;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    font-size: 0.9375rem;
  }

  .hero .container .btn.hero-btn-explore {
    padding-right: 2.35rem;
  }

  .hero .container .btn.hero-btn-explore .hero-btn-explore__icon {
    right: 1rem;
  }
}

.hero .hero-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  margin: 1.75rem 0 0;
  max-width: 42rem;
  width: 100%;
  opacity: 1;
}
/* HERO SECTION ENDS */

/* BACK TO TOP */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: #03687f;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

#backToTop:hover {
  transform: translateY(-3px);
}

@media (max-width: 575px) {
  #backToTop {
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    right: max(14px, env(safe-area-inset-right, 0px));
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* STATS */
.stats {
  margin-top: 40px;
}

@media (max-width: 575.98px) {
  .hero .stats-grid {
    --bs-gutter-x: 0.65rem !important;
  }
}

.stats h4 {
  font-weight: 700;
}

/* Only the caption under each stat — not spans inside h4 (e.g. dynamic year) */
.stats .col > span,
.stats .col-md-3 > span {
  font-size: 13px;
  opacity: 0.8;
}

.hero .stats .col > span,
.hero .stats .col-md-3 > span {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.hero .stats .hero-stat-heading {
  font-size: clamp(1rem, 2.5vw + 0.65rem, 1.5rem);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .hero p,
  .hero .hero-lead {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .hero .hero-lead.head-left-border::before {
    top: 1rem;
    bottom: 1rem;
  }
}

@media (max-width: 575px) {
  .hero .container .btn {
    min-height: 2.5rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.8125rem;
    white-space: normal;
    text-align: center;
  }

  .hero .container .btn.hero-btn-explore {
    padding-right: 2rem;
  }

  .hero .container .btn.hero-btn-explore .hero-btn-explore__icon {
    right: 0.85rem;
    width: 1.1rem;
    font-size: 1em;
  }

  .hero .hero-divider {
    margin-top: 1.25rem;
  }

  .stats {
    margin-top: 1.5rem;
  }
}

.head-left-border {
  border-left: 2px solid #e5e7eb;
  padding-left: 14px;
}

.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
}

.card-muted {
  background: #ffffff;
}

/* BRANDS SECTION STARTS */
.brands-section-label {
  font-size: calc(0.875rem * 1.5);
}

.brand-item {
  background: #fff;
  border: 1px solid #e6f4f8;
  border-radius: 50px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(10% - 16px);
  height: 60px;
  box-sizing: border-box;
}

.brand-item img {
  max-height: 45px;
  max-width: 100%;
  object-fit: contain;
  transition: 0.3s ease;
}

@media (max-width: 992px) {
  .brand-item {
    width: calc(20% - 12px);
  }
}

@media (max-width: 576px) {
  .brand-item {
    width: calc(33.33% - 12px);
  }
}
/* BRAND SECTION ENDS */

/* SELECTED WORKS START */
.section-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #888;
}

/* "Signature Spaces" title in Selected Works header */
.section-subtitle + h2 {
  font-size: 2.9rem;
  font-weight: 600 !important; /* overrides Bootstrap .fw-bold */
  color: #2e2e2e;
}

.services-selected-works .selected-works-slider-stage {
  min-width: 0;
}

.services-selected-works .selected-works-slider-wrap {
  padding-bottom: 0.5rem;
}

/* Placed after slider in DOM; pulled up to overlap the bottom of the cards */
.services-selected-works .selected-works-nav-after-slider {
  position: relative;
  z-index: 21;
  gap: 0.5rem;
  width: max-content;
  margin-top: -2.75rem;
  pointer-events: none;
}

.services-selected-works .selected-works-nav-after-slider .selected-works-paddle {
  pointer-events: auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid #03687f;
  background: #fff;
  color: #03687f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.services-selected-works .selected-works-nav-after-slider .selected-works-paddle:hover:not(:disabled) {
  background: #03687f;
  color: #fff;
  border-color: #03687f;
  box-shadow: 0 10px 26px rgba(3, 104, 127, 0.35);
  transform: translateY(-1px);
}

.services-selected-works .selected-works-nav-after-slider .selected-works-paddle:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 576px) {
  .services-selected-works .selected-works-nav-after-slider {
    margin-top: -2.25rem;
  }

  .services-selected-works .selected-works-nav-after-slider .selected-works-paddle {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.05rem;
  }
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.6s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;

  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.2),
      transparent);

  transform: translateY(0);
  transition:
    background 0.4s ease,
    transform 0.45s ease;
}

.badge-category {
  align-self: flex-start;
  font-size: 0.75rem;
  background: #03687F;
  border: 1px solid white;
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.project-meta {
  font-size: 0.85rem;
  opacity: 0.85;
}

.project-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #000;

  opacity: 0;
  transform: translateY(12px);
  transition: all 0.45s ease;
}

.project-card:hover img {
  transform: scale(1.18);
}

.badge-category,
.project-title,
.project-meta {
  transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
  background: rgba(0, 0, 0, 0.75);
}

.project-card:hover .project-overlay .badge-category,
.project-card:hover .project-overlay .project-title,
.project-card:hover .project-overlay .project-meta {
  transform: translateY(-10px);
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: translateY(0);
}

.project-card * {
  will-change: transform;
}

.nav-arrows button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.1) 70%,
      transparent 100%);
}

.badge-category,
.project-title,
.project-meta {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.badge-category {
  transition-delay: 0s;
}

.project-title {
  transition-delay: 0.08s;
}

.project-meta {
  transition-delay: 0.16s;
}

.project-slider {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.6s ease;
  will-change: transform;
}

.slider-item {
  flex: 0 0 auto;
}

.nav-arrows button {
  transition: all 0.25s ease;
}

.nav-arrows button:hover {
  background: #03687F;
  color: #fff;
  border-color: #03687F;
}

.nav-arrows button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.project-arrow {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.project-card:hover .project-arrow {
  transition-delay: 0.15s;
}
/* SELECTED WORKS ENDS */

/* FOOTER STARTS */
.footer {
  background-color: #0b6a7d;
  color: #ffffff;
}

.footer a {
  color: #cfe8ed;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
}

.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  color: #ffffff;
  font-size: 20px;
  flex-shrink: 0;
}

.footer .footer-social-row .social-icon {
  margin-right: 0;
}

.social-icon:hover {
  color: #0b6a7d;
}

.footer-brand-logo {
  height: 55px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer-tagline {
  max-width: 22rem;
}

.footer-contact {
  max-width: 22rem;
  line-height: 1.6;
}

.footer-contact-link {
  color: inherit;
  text-decoration: none;
}

.footer-contact-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .footer-tagline {
    max-width: 100%;
  }

  .footer-contact {
    max-width: 100%;
  }

  .footer-about-links a {
    display: inline-block;
    padding: 0.15rem 0;
  }
}

.footer-legal-links {
  display: inline-block;
  line-height: 1.5;
}
/* FOOTER ENDS */

/* HOW WE WORKS STARTS */
.section-padding {
  padding: 5rem 0;
  background-color: #0b6b7d;
  color: #ffffff;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.main-title {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
}

.divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.25);
  margin: 1rem 0 1.5rem;
}

.phase-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.phase-text {
  font-size: 0.95rem;
  opacity: 0.9;
}
/* HOW WE WORKS ENDS */

/* STATS STARTS */
.stats-section {
  background-color: #ffffff;
  padding: 2rem 0;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 600;
  color: #3b3f45;
}

.stat-label {
  font-size: 0.9rem;
  color: #2b8ea6;
}

.stat-divider {
  border-right: 1px solid #d9f0f5;
}

@media (max-width: 767px) {
  .stat-divider {
    border-right: none;
    border-bottom: 1px solid #d9f0f5;
  }
}
/* STATS ENDS */

/* CONTACT SECTION STARTS */
.container-90 {
  width: 75%;
  max-width: 75%;
}

.contact-title {
  color: var(--public-brand-primary);
  font-weight: 700;
}

.contact-icon {
  color: var(--public-brand-primary);
  font-size: 1.2rem;
}

.enquiry-page-heading {
  color: var(--public-brand-primary);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
}

.contact-card {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.btn-custom {
  background-color: var(--public-brand-primary);
  color: #fff;
  border-radius: 30px;
  padding: 8px 20px;
}

.btn-custom:hover {
  background-color: #095c6b;
  color: white;
}

/* Contact page: larger aside copy + form controls (scoped to #contact) */
#contact .contact-page__details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#contact .contact-page__details .contact-title {
  font-size: clamp(2.2rem, 3.5vw, 3.35rem);
  line-height: 1.2;
  margin-bottom: 0;
}

#contact .contact-page__details > p {
  font-size: 1.125rem;
  line-height: 1.65;
  margin-bottom: 0;
}

#contact .contact-page__details .d-flex {
  margin-bottom: 0;
}

#contact .contact-page__details .d-flex span {
  font-size: 1.125rem;
  line-height: 1.55;
}

#contact .contact-page__details .contact-icon {
  font-size: 1.55rem;
  line-height: 1;
}

#contact .contact-card .form-control {
  font-size: 1.0625rem;
  padding: 0.7rem 1rem;
  min-height: 3rem;
}

#contact .contact-card textarea.form-control {
  min-height: 10rem;
  line-height: 1.55;
}

#contact .contact-card .btn-custom {
  font-size: 1.0625rem;
  padding: 0.65rem 1.65rem;
}

#contact .contact-card .alert,
#contact .contact-card .invalid-feedback {
  font-size: 1.0625rem;
}
/* CONTACT SECTION ENDS */

/* ABOUT PAGE STARTS */
.about-section {
  position: relative;
  padding: 0px 0 60px;
}

.since-box {
  border-radius: 24px;
  padding: 52px 48px;
  max-width: 720px;
  margin: auto;
  text-align: center;
  border: 16px solid #e3e6e9;
}

.since-box span {
  font-size: 22px;
  letter-spacing: 2px;
  color: #6c757d;
}

.since-box h1 {
  font-size: 7rem;
  font-weight: 700;
  margin: 10px 0;
  color: #c2c2c2;
  transition: color 0.5s ease-in-out;
}

.since-box h1:hover {
  color: #03687F;
}

.since-box p {
  font-size: 1.35rem;
  line-height: 1.68;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .since-box p {
    font-size: 1.2rem;
    line-height: 1.65;
  }
}

.side-image {
  position: absolute;
  width: 220px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.side-image.left {
  left: 16%;
  top: 12%;
  border-radius: 50px;
}

.side-image.right {
  right: 16%;
  top: 32%;
  border-radius: 50px;
}

.about-stats {
  margin-top: 100px;
  padding: 0px 200px;
}

@media(min-width: 576px)
{
  .about-stats{
    margin-top: 100px;
    padding: 0px 0px;
  }
}

.stat-item h1 {
  font-size: 3.45rem;
  font-weight: 700;
  color: #414351;
}

.stat-item span {
  color: #03687f;
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .about-stats .stat-item:not(:last-child) {
    border-right: 1px solid rgba(3, 104, 127, 0.38);
  }
}

@media (max-width: 992px) {
  .side-image {
    display: none;
  }
}

/* Floating animation */
@keyframes floatUp {
  0% {
    transform: translateY(-40px);
  }

  50% {
    transform: translateY(140px);
  }

  100% {
    transform: translateY(-40px);
  }
}

@keyframes floatDown {
  0% {
    transform: translateY(80px);
  }

  50% {
    transform: translateY(-140px);
  }

  100% {
    transform: translateY(80px);
  }
}

.side-image.left {
  animation: floatUp 3s ease-in-out infinite;
}

.side-image.right {
  animation: floatDown 3s ease-in-out infinite;
}

.about-section:has(.since-box:hover) .side-image.left {
  animation-play-state: paused;
  transform: translateY(-140px);
}

.about-section:has(.since-box:hover) .side-image.right {
  animation-play-state: paused;
  transform: translateY(140px);
}

/* ABOUT PAGE ENDS */

.project-cta-section {
  padding: 108px 0;
}

.project-cta-section .container {
  max-width: 1220px;
}

.project-cta-box {
  position: relative;
  background: #fff;
  padding: 96px 48px;
  min-height: 320px;
  overflow: hidden;
}

.project-cta-content {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.project-cta-content h2 {
  font-weight: 700;
  color: #0b5d6e;
  font-size: clamp(2rem, 3.5vw, 2.65rem);
  line-height: 1.15;
  margin-bottom: 0.65rem;
}

.project-cta-content:has(.project-cta-divider) h2 {
  margin-bottom: 0;
}


.project-cta-content p {
  color: #6c757d;
  margin-bottom: 1.65rem;
  font-size: clamp(1.12rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.project-cta-content:has(.project-cta-divider) p {
  margin-bottom: 0;
}

.project-cta-button {
  background: #0b5d6e;
  color: #fff;
  border-radius: 30px;
  padding: 14px 36px;
  font-size: 1.08rem;
  font-weight: 600;
}

.project-cta-button:hover {
  background: #094c5a;
  color: #fff;
}

/* Images */
.project-cta-image {
  position: absolute;
  width: 300px;
  height: 340px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
}

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

.project-cta-image--left {
  left: 36px;
  top: -48px;
}

.project-cta-image--right {
  right: 36px;
  bottom: -48px;
}

/* Responsive */
@media (max-width: 992px) {
  .project-cta-image {
    display: none;
  }
}

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

  .project-cta-box {
    padding: 72px 22px;
    min-height: 0;
  }
}

/* HOW IT HAPPENS START */
.feature-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 20px 18px;
  height: 100%;
}

.feature-icon {
  width: 33.12px;
  height: 34px;
  color: #03687F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 8px;
}

.feature-card h6 {
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-card p {
  color: #6c757d;
  font-size: 13px;
  margin-bottom: 0;
}

/* How it Happens feature grid: 2× icon + body text vs base .feature-card */
/* Override global `.row { --bs-gutter-x: ... !important }` (site-wide tight gutters). */
section.how-it-happens-features .how-it-happens-features__row {
  --bs-gutter-x: 1rem !important;
  --bs-gutter-y: 1rem !important;
}

@media (min-width: 992px) {
  section.how-it-happens-features .how-it-happens-features__row {
    --bs-gutter-x: 1.5rem !important;
    --bs-gutter-y: 1.5rem !important;
  }
}

.how-it-happens-features .feature-card {
  padding: 32px 24px;
  border-radius: 20px;
}

.how-it-happens-features .feature-icon {
  width: 56px;
  height: 58px;
  font-size: 44px;
  margin-bottom: 14px;
}

.how-it-happens-features .feature-card h6 {
  font-size: 1.5625rem;
  margin-bottom: 10px;
}

.how-it-happens-features .feature-card p {
  font-size: 18px;
}
/* HOW IT HAPPENS ENDS */

/* PROCESS SECTION START */
.process-section {
  padding: 80px 0;
}

.process-subtitle {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 8px;
  font-weight: bold;
}

.process-title {
  font-weight: 700;
  margin-bottom: 60px;
  color: #414651;
}

.step-number {
  font-size: 48px;
  font-weight: 700;
  color: #D5D7DA;
  line-height: 1;
  margin-bottom: 15px;
}

.step-content {
  padding: 0px 3px;
}

@media (min-width: 992px) {
  /* Reversed rows: text sits on the right — add inset so it matches left-text spacing */
  .step-content--reverse {
    padding-left: clamp(2rem, 10%, 4.5rem);
  }

  .process-section .flex-lg-row-reverse .process-image {
    padding-right: clamp(1.25rem, 5%, 2.5rem);
  }
}

@media (max-width: 992px) {
  .step-content {
    padding-top: 0;
  }

  .step-content--reverse {
    padding-left: 0;
  }

  .process-section .flex-lg-row-reverse .process-image {
    padding-right: 0;
  }
}

.step-title {
  font-weight: 600;
  color: #03687F;
  margin-bottom: 10px;
}

.step-text {
  color: #6c757d;
  max-width: 380px;
}

.process-image {
  border-radius: 16px;
}

.process-image img {
  width: 98%;
  height: 430px;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .step-text {
    max-width: 100%;
  }
}
/* PROCESS SECTION ENDS */

/* PROJECT SLIDER STARTS */
.slider-wrapper {
  position: relative;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

.slider {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

/* Keep cross-axis size when slides only contain positioned children */
.slider-wrapper > .slider {
  min-height: 400px;
}

.slider::-webkit-scrollbar {
  display: none;
}

.ps_slide {
  min-width: 700px;
  height: 400px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #2a2a2a;
  background-size: cover;
  background-position: center;
  color: white;
}

.ps_slide__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.ps_slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.2));
}

.slide-meta {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  z-index: 3;
  color: #fff;
  padding: 0 30px;
}

.slide-content {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 175px;
}

.slide-content h2 {
  margin: 0 0 10px;
  font-size: 3.3rem;
  font-weight: bold;
}

.slide-content button {
  padding: 6px 14px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.view-details {
  position: absolute;
  bottom: 25px;
  right: 30px;
  z-index: 3;
}

.view-details a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.view-details a:hover {
  border-color: #fff;
  opacity: 0.9;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: white;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
  line-height: 1;
}

.arrow.left {
  left: 2rem;
  top: 20rem;
}

.arrow.right {
  left: 5.3rem;
  top: 20rem;
}

@media (max-width: 992px) {
  .ps_slide {
    min-width: 85vw;
    height: 360px;
  }

  .slider-wrapper > .slider {
    min-height: 360px;
  }

  .slider {
    gap: 16px;
  }

  .slide-content {
    bottom: 140px;
  }

  .slide-content h2 {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  .slide-content {
    left: 20px;
    bottom: 120px;
  }

  .slide-content h2 {
    font-size: 2.2rem;
  }

  .arrow {
    width: 40px;
    height: 40px;
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .ps_slide {
    min-width: 90vw;
    height: 300px;
    border-radius: 14px;
  }

  .slider-wrapper > .slider {
    min-height: 300px;
  }

  .slide-meta {
    top: 15px;
    padding: 0 20px;
    font-size: 14px;
  }

  .slide-content {
    bottom: 100px;
  }

  .slide-content h2 {
    font-size: 1.8rem;
  }

  .slide-content button {
    font-size: 0.85rem;
    padding: 6px 12px;
  }

  .view-details {
    bottom: 15px;
    right: 20px;
  }

  .view-details a {
    font-size: 14px;
  }

  .arrow {
    top: auto;
    bottom: 15px;
    transform: none;
  }

  .arrow.left {
    left: 50%;
    transform: translateX(-120%);
  }

  .arrow.right {
    left: 50%;
    transform: translateX(20%);
  }
}

/* Services: larger slider track + slide cards (scoped) */
.slider-wrapper.slider-wrapper--lg {
  max-width: 1320px;
}

.slider-wrapper.slider-wrapper--lg .slider {
  gap: 28px;
}

.slider-wrapper.slider-wrapper--lg > .slider {
  min-height: 500px;
}

.slider-wrapper.slider-wrapper--lg .ps_slide {
  min-width: 860px;
  height: 500px;
}

.slider-wrapper.slider-wrapper--lg .slide-content {
  bottom: 200px;
}

.slider-wrapper.slider-wrapper--lg .slide-content h2 {
  font-size: 3.65rem;
}

/* Bottom-right cluster (not vertically centered on left) */
.slider-wrapper.slider-wrapper--lg .arrow.left,
.slider-wrapper.slider-wrapper--lg .arrow.right {
  top: auto;
  transform: none;
  bottom: 1.25rem;
}

.slider-wrapper.slider-wrapper--lg .arrow.right {
  left: auto;
  right: 1.25rem;
}

.slider-wrapper.slider-wrapper--lg .arrow.left {
  left: auto;
  right: calc(1.25rem + 45px + 0.5rem);
}

@media (max-width: 992px) {
  .slider-wrapper.slider-wrapper--lg .ps_slide {
    min-width: 85vw;
    height: 420px;
  }

  .slider-wrapper.slider-wrapper--lg > .slider {
    min-height: 420px;
  }

  .slider-wrapper.slider-wrapper--lg .slide-content {
    bottom: 155px;
  }

  .slider-wrapper.slider-wrapper--lg .slide-content h2 {
    font-size: 2.75rem;
  }

  .slider-wrapper.slider-wrapper--lg .slider {
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .slider-wrapper.slider-wrapper--lg .ps_slide {
    min-width: 88vw;
    height: 380px;
  }

  .slider-wrapper.slider-wrapper--lg > .slider {
    min-height: 380px;
  }

  .slider-wrapper.slider-wrapper--lg .slide-content {
    bottom: 130px;
  }

  .slider-wrapper.slider-wrapper--lg .slide-content h2 {
    font-size: 2.35rem;
  }

  .slider-wrapper.slider-wrapper--lg .arrow.left {
    right: calc(1.25rem + 40px + 0.5rem);
  }
}

@media (max-width: 576px) {
  .slider-wrapper.slider-wrapper--lg .ps_slide {
    min-width: 92vw;
    height: 330px;
  }

  .slider-wrapper.slider-wrapper--lg > .slider {
    min-height: 330px;
  }

  .slider-wrapper.slider-wrapper--lg .slide-content {
    bottom: 112px;
  }

  .slider-wrapper.slider-wrapper--lg .slide-content h2 {
    font-size: 1.9rem;
  }

  .slider-wrapper.slider-wrapper--lg .arrow {
    top: auto;
    bottom: 0.85rem;
    transform: none;
  }

  .slider-wrapper.slider-wrapper--lg .arrow.right {
    left: auto;
    right: 0.75rem;
  }

  .slider-wrapper.slider-wrapper--lg .arrow.left {
    left: auto;
    right: calc(0.75rem + 40px + 0.45rem);
  }
}
/* PROJECT SLIDER ENDS */

/* SERVICE DETAILS */
.ri-hero-section {
  position: relative;
  height: 95vh;
  overflow: hidden;
}

/* Blog article hero: slightly shorter than default 95vh */
.ri-hero-section--compact {
  height: calc(95vh - 32px);
}

/* Blog post hero: larger type than default ri-hero (services unchanged) */
.ri-hero-section--blog-post .ri-hero-content {
  max-width: 48rem;
}

.ri-hero-section--blog-post .ri-hero-subtitle {
  font-size: 1.2rem;
  letter-spacing: 0.22em;
}

@media (min-width: 768px) {
  .ri-hero-section--blog-post .ri-hero-subtitle {
    font-size: 1.3rem;
  }
}

.ri-hero-section--blog-post h1.display-4 {
  font-size: clamp(2.35rem, 5.5vw, 3.35rem);
  line-height: 1.15;
}

.ri-hero-section--blog-post .lead {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.55;
  font-weight: 400;
}

@media (min-width: 992px) {
  .ri-hero-section--blog-post .lead {
    font-size: 1.55rem;
  }
}

.ri-hero-section--blog-post .ri-hero-btn {
  font-size: 1.12rem;
  padding: 12px 30px;
}

@media (min-width: 768px) {
  .ri-hero-section--blog-post .ri-hero-btn {
    font-size: 1.2rem;
    padding: 14px 34px;
  }
}

.ri-hero-section--blog-post .ri-hero-breadcrumb {
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .ri-hero-section--blog-post .ri-hero-breadcrumb {
    font-size: 1.3rem;
  }
}

.ri-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.ri-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.ri-hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  width: 100%;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.ri-hero-subtitle {
  letter-spacing: 3px;
  font-size: 1.05rem;
  text-transform: uppercase;
  opacity: 0.9;
}

.ri-hero-lead {
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.55;
}

@media (min-width: 768px) {
  .ri-hero-lead {
    font-size: 1.5rem;
  }
}

.ri-hero-btn {
  background-color: white;
  color: #03687f;
  padding: 10px 26px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
}

.ri-hero-btn:hover {
  background-color: white;
  color: #03687f;
}

.ri-hero-breadcrumb {
  position: absolute;
  bottom: 20px;
  left: 30px;
  z-index: 3;
  font-size: 1.125rem;
  color: #fff;
}

.ri-hero-breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

.ri-hero-breadcrumb a:hover {
  opacity: 1;
}

.ri-trend-section {
  background-color: #f3f3f3;
  padding: 100px 0;
}

.ri-trend-heading {
  font-size: 48px;
  font-weight: 700;
  color: #4b4f56;
  line-height: 1.2;
}

.ri-trend-highlight {
  color: #0d6efd;
  font-weight: 500;
}

.ri-trend-text {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Tablet */
@media (max-width: 991px) {
  .ri-trend-section {
    padding: 70px 0;
  }

  .ri-trend-heading {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .ri-trend-section {
    padding: 50px 15px;
  }

  .ri-trend-heading {
    font-size: 28px;
  }

  .ri-trend-text {
    font-size: 20px;
  }
}

/* Portfolio show — extra vertical padding in about section */
.ri-trend-section.portfolio-show-about {
  padding: 130px 0;
}

@media (max-width: 991px) {
  .ri-trend-section.portfolio-show-about {
    padding: 95px 0;
  }
}

@media (max-width: 576px) {
  .ri-trend-section.portfolio-show-about {
    padding: 72px 20px;
  }
}

  .ri-benefit-section {
    background-color: #f3f3f3;
    padding: 100px 0;
  }

  .ri-benefit-title {
    font-size: 36px;
    font-weight: 700;
    color: #4b4f56;
    margin-bottom: 30px;
  }

  .ri-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .ri-benefit-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 16px;
    color: #555;
  }

  .ri-benefit-icon {
    color: #03687f;
    font-size: 18px;
    margin-right: 12px;
    margin-top: 3px;
  }

  /* Vertical Divider (Desktop Only) */
  @media (min-width: 992px) {
    .ri-benefit-divider {
      border-right: 1px solid #ddd;
    }
  }

  /* Tablet */
  @media (max-width: 991px) {
    .ri-benefit-section {
      padding: 70px 0;
    }

    .ri-benefit-title {
      font-size: 28px;
      margin-top: 30px;
    }
  }

  /* Mobile */
  @media (max-width: 576px) {
    .ri-benefit-section {
      padding: 50px 15px;
    }

    .ri-benefit-title {
      font-size: 24px;
      text-align: center;
    }

    .ri-benefit-list li {
      font-size: 15px;
    }
  }

/* PORTFOLIO PAGE */
.pr-section-padding {
  padding: 80px 0;
}

.portfolio-page-kicker {
  font-size: clamp(0.68rem, 2.4vw, 0.95rem);
  letter-spacing: 0.07em;
}

.portfolio-completed-heading {
  font-size: clamp(1.4rem, 5.2vw, 2.45rem);
  line-height: 1.22;
  margin-bottom: clamp(0.85rem, 2.8vw, 1.8rem);
}

.portfolio-img {
  object-fit: cover;
  height: 620px;
}

/* Outer column for zig-zag + overlay positioning */
.portfolio-item-layout.position-relative {
  width: 70%;
}

/* Slider + arrows: own containing block so nav buttons sit on the image, not below the info card */
.portfolio-slider-frame {
  position: relative;
  width: 100%;
}

.overlay-card {
  position: absolute;
  right: -40%;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  padding: 46px 46px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  max-width: 520px;
  min-height: 268px;
  box-sizing: border-box;
}

.overlay-card small.text-muted {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  line-height: 1.35;
}

.overlay-card h3 {
  font-size: clamp(2.43rem, 4.275vw, 3rem);
  line-height: 1;
  color: #2d3238;
}

.overlay-card p.text-muted,
.overlay-card p.portfolio-intro {
  font-size: 1.08rem;
  line-height: 1.62;
  margin-bottom: 1.1rem;
  color: #5c636a !important;
}

.overlay-card .portfolio-overlay-link {
  font-size: 1.06rem;
  font-weight: 600;
  text-decoration: none;
  color: #03687f;
}

.overlay-card .portfolio-overlay-link:hover {
  color: #025a6e;
  text-decoration: underline;
}

/* Portfolio category chips: outline by default; fill on hover + selected */
.filter-btns .portfolio-filter-chip {
  appearance: none;
  border: 1px solid rgba(3, 104, 127, 0.32);
  background: transparent;
  color: #03687f;
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  min-height: 2.85rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.filter-btns .portfolio-filter-chip:hover {
  background: rgba(3, 104, 127, 0.1);
  border-color: rgba(3, 104, 127, 0.5);
  color: #03687f;
}

.filter-btns .portfolio-filter-chip.active {
  background: #03687f;
  border-color: #03687f;
  color: #fff;
}

.filter-btns .portfolio-filter-chip.active:hover {
  background: #025a6e;
  border-color: #025a6e;
  color: #fff;
}

.filter-btns .portfolio-filter-chip:focus-visible {
  outline: 2px solid rgba(3, 104, 127, 0.45);
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  .filter-btns .portfolio-filter-chip {
    font-size: 0.8125rem;
    padding: 0.42rem 0.9rem;
    min-height: 2.2rem;
    line-height: 1.2;
  }
}

@media (max-width: 575.98px) {
  .filter-btns .portfolio-filter-chip {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
    min-height: 1.95rem;
    letter-spacing: 0;
  }

  .portfolio-filter-row {
    row-gap: 0.4rem !important;
    column-gap: 0.35rem !important;
  }
}

.image-nav-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 5;
}

.image-nav-btn.next {
  left: 75px;
}

.slider-container {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider-track img {
  width: 100%;
  flex-shrink: 0;
}

.portfolio-item {
  display: none;
}

.portfolio-item.active {
  display: block;
}

@media (max-width: 991.98px) {
  .portfolio-page-section.pr-section-padding {
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .portfolio-item-layout.position-relative {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .portfolio-img {
    height: 340px;
  }

  .overlay-card {
    position: relative !important;
    top: auto;
    right: 0 !important;
    left: 0 !important;
    transform: none;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    min-height: auto;
    padding: 28px 24px;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  }

  .overlay-card h3 {
    font-size: clamp(1.35rem, 4.5vw, 1.85rem);
    line-height: 1.15;
  }

  .overlay-card small.text-muted {
    font-size: 0.78rem;
  }

  .overlay-card p.text-muted,
  .overlay-card p.portfolio-intro {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
  }

  .overlay-card .portfolio-overlay-link {
    font-size: 0.95rem;
  }

  .image-nav-btn {
    bottom: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
  }

  .image-nav-btn.next {
    left: 58px;
  }
}

@media (max-width: 767.98px) {
  .portfolio-img {
    height: 260px;
  }

  .overlay-card {
    padding: 22px 18px;
    margin-top: 0.75rem;
  }

  .slider-container {
    border-radius: 10px;
    overflow: hidden;
  }
}

@media (max-width: 575.98px) {
  .portfolio-page-section.pr-section-padding {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .portfolio-img {
    height: 220px;
  }

  .overlay-card {
    padding: 18px 16px;
    margin-top: 0.65rem;
  }

  .overlay-card h3 {
    font-size: 1.2rem;
    margin-top: 0.35rem !important;
  }

  .overlay-card small.text-muted {
    font-size: 0.7rem;
  }

  .image-nav-btn {
    width: 34px;
    height: 34px;
    bottom: 8px;
    left: 8px;
    font-size: 0.85rem;
  }

  .image-nav-btn.next {
    left: 48px;
  }
}

.see-more {
  border-color: #03687F;
  color: #03687F;
  border-radius: 20px;
  padding: 5px 25px;
}

.see-more:hover {
  border-color: #03687F;
  background: #03687F;
  color: white;
}

.pm-section-wrapper {
  background: #f3f4f6;
  padding: 0px 0;
}

.pm-meta-bar {
  padding: 1.85rem 1.75rem;
  min-height: 7rem;
}

@media (max-width: 767.98px) {
  .pm-meta-bar {
    min-height: 0;
    padding: 1.5rem 1.15rem;
  }
}

.pm-item-block h6 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #6c757d;
  margin-bottom: 10px;
}

.pm-item-block p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 400;
  color: #03687f;
}

.pm-vertical-divider {
  border-left: 1px solid #dee2e6;
}

.pm-social-group a {
  color: #000;
  font-size: 23px;
  margin-left: 15px;
  transition: 0.3s ease;
  text-decoration: none;
}

.pm-social-group a:hover {
  color: #0d6efd;
}

.pm-social-group a:first-child {
  margin-left: 0;
}

/* Portfolio detail — featured image + thumbnails */
.pd-gallery-wrap {
  padding: 4rem 0 5rem;
  background: #fff;
}

.pd-feature-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  max-width: min(1320px, 100%);
  background: #1a1a1a;
}

.pd-feature-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 520px;
  max-height: min(88vh, 1080px);
  object-fit: cover;
}

.pd-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 52%);
  pointer-events: none;
}

.pd-feature-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.35rem;
  right: 7.5rem;
  z-index: 2;
  text-align: left;
}

.pd-feature-caption h3 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
  line-height: 1.2;
}

.pd-feature-caption p {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.pd-feature-count {
  position: absolute;
  right: 1.5rem;
  bottom: 1.35rem;
  z-index: 2;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
}

.pd-thumbs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.65rem;
  max-width: min(1320px, 100%);
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .pd-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .pd-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.pd-thumb {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s ease, outline 0.2s ease, transform 0.2s ease;
  background: #eee;
}

.pd-thumb img {
  display: block;
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.pd-thumb:hover {
  opacity: 1;
}

.pd-thumb.is-active {
  opacity: 1;
  outline: 2px solid #03687f;
  outline-offset: 2px;
}

.pd-thumb-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #03687f;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.pd-thumb.is-active .pd-thumb-badge {
  display: flex;
}

/* slider carousel portfolio details page */
.rc-carousel-item img {
  height: 500px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .rc-carousel-item img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .rc-carousel-item img {
    height: 220px;
  }
}

/* Caption */
.rc-custom-caption {
  left: 20px;
  right: auto;
  bottom: 0px;
}

/* Thumbnail wrapper */
.rc-thumb-wrapper {
  width: 90%;
}

.rc-thumb-wrapper .row {
  --bs-gutter-x: 8px;
  --bs-gutter-y: 8px;
}

/* Thumbnails */
.rc-thumbnail {
  width: 100%;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.rc-thumbnail:hover,
.rc-active-thumb {
  opacity: 1;
  border: 2px solid #ffc107;
}

@media (max-width: 992px) {
  .rc-thumbnail {
    height: 70px;
  }
}

@media (max-width: 576px) {
  .rc-thumbnail {
    height: 60px;
  }

  .rc-custom-caption {
    left: 15px;
    right: auto;
    bottom: 5px;
  }
}

/* portfolio details carousel slider */
/* Carousel image */
.rc-carousel-item img {
  height: 500px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .rc-carousel-item img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .rc-carousel-item img {
    height: 220px;
  }
}

/* Caption */
.rc-custom-caption {
  left: 20px;
  right: auto;
  bottom: 0px;
}

/* Thumbnail wrapper */
.rc-thumb-wrapper {
  width: 90%;
}

.rc-thumb-wrapper .row {
  --bs-gutter-x: 8px;
  --bs-gutter-y: 8px;
}

/* Thumbnails */
.rc-thumbnail {
  width: 100%;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.rc-thumbnail:hover,
.rc-active-thumb {
  opacity: 1;
  border: 2px solid #ffc107;
}

@media (max-width: 992px) {
  .rc-thumbnail {
    height: 70px;
  }
}

@media (max-width: 576px) {
  .rc-thumbnail {
    height: 60px;
  }

  .rc-custom-caption {
    left: 15px;
    right: auto;
    bottom: 5px;
  }
}

/* image comparison before after */
.comparison-wrapper {
  position: relative;
  max-width: 900px;
  height: 420px;
  /* 👈 controls BOTH images height */
  margin: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
}

.comparison-wrapper img {
  width: 100%;
  height: 100%;
  /* 👈 same height */
  object-fit: cover;
  /* 👈 no stretching */
  display: block;
  user-select: none;
  pointer-events: none;
}

.after-image {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: #fff;
  z-index: 10;
  transform: translateX(-50%);
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  background: #0d6efd;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

.slider-handle::before {
  content: "↔";
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.label {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  border-radius: 20px;
  z-index: 12;
}

.label.before {
  left: 20px;
}

.label.after {
  right: 20px;
}

.comparison-wrapper {
  display: none !important; /* middle-section removed from index.html */
  height: 0 !important;
}

.after-image,
.slider-line,
.slider-handle,
.label {
  display: none !important;
}

/* ====================================================================== */
/* MERGED FROM demo-design/style.css (2026-04-02)                          */
/* Purposeful (P), Origin-led (O), Methodology, Layer (L) sections         */
/* ====================================================================== */

/* PURPOSEFUL DESIGN STARTS */
.hero-section {
  position: relative;
  padding: 10rem 0 2.5rem;
  isolation: isolate;
  overflow-x: clip;
  overflow-y: visible;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 16rem 0 3rem;
  }
}

/* Decorative “P” layer only — does not affect document flow or section height. */
.hero-letter-track {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: visible;
}

.hero-letter {
  position: absolute;
  left: -40px;
  font-size: 48rem;
  font-weight: 900;
  color: #e0e0e0;
  -webkit-text-stroke: 1.2px #e0e0e0;
  line-height: 1;
  user-select: none;
}

@media (min-width: 769px) {
  /* Rest at bottom; hover lifts slightly. Only `top` transitions (flicker-free). */
  .hero-letter {
    top: 100%;
    transform: translateY(calc(-100% - 5.25rem));
    transition: top 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    backface-visibility: hidden;
  }

  @media (hover: hover) and (pointer: fine) {
    .hero-section:hover .hero-letter {
      top: calc(100% - 8rem);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-letter {
    transition: none !important;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.p-design-content {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 767.98px) {
  .p-design-content {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
}

@media (min-width: 768px) {
  .p-design-content {
    padding-left: 4rem;
    padding-right: 0;
  }
}

.hero-title {
  font-weight: 800 !important;
  letter-spacing: 1.4px;
  font-size: 3.2rem !important;
}

.hero-text {
  max-width: auto;
  color: #444;
  font-size: 1.5rem !important;
  font-weight: 300 !important;
  line-height: 1.6;
}

.image-strip img {
  width: 80%;
  height: auto;
  object-fit: cover;
  float: right;
  border-radius: 64px;
}

.image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: -220px;
  z-index: 5;
}

.image-wrapper img {
  width: 80%;
  border-radius: 56px;
  height: 47rem;
  margin-left: auto;
  margin-right: 3rem;
}

.image-text {
  position: absolute;
  bottom: 25px;
  left: 22%;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

/* MOBILE RESPONSIVE — .hero-title / .hero-text (shared across home sections) */
@media (max-width: 768px) {
  .hero-title {
    margin-left: 0;
    font-size: clamp(1.65rem, 4.75vw + 0.95rem, 2.4rem) !important;
    text-align: center;
  }

  .hero-text {
    margin-top: 0;
    font-size: clamp(0.95rem, 2vw + 0.72rem, 1.18rem) !important;
    text-align: center;
    line-height: 1.62;
  }

  /* Background “P” — scales on small screens; tuned down from oversized clamps */
  .hero-letter {
    font-size: clamp(21rem, 92vw, 36rem);
    left: clamp(-3.25rem, -10vw, -1rem);
    top: 32%;
    transform: translateY(-50%);
  }

  .hero-section:hover .hero-letter {
    top: 32%;
    transform: translateY(-50%);
  }

  .image-strip {
    margin-top: 4rem;
  }

  .hero-section .image-wrapper {
    justify-content: center;
    /* Less overlap on mobile so Origin section sits lower */
    margin-bottom: clamp(-7rem, -12vw, -4rem);
    z-index: 6;
  }

  .hero-section .image-wrapper img {
    width: 100%;
    height: auto;
    max-height: none;
    margin-right: 0;
    border-radius: 28px;
  }

  .image-text {
    left: 20px;
    bottom: 15px;
    font-size: 0.95rem;
    right: 12px;
    max-width: calc(100% - 2rem);
  }
}

@media (max-width: 576px) {
  .image-strip {
    margin-top: 5rem;
  }

  .hero-section .image-wrapper {
    margin-bottom: clamp(-5.5rem, -10vw, -3rem);
  }

  .hero-title {
    font-size: clamp(1.5rem, 4.25vw + 0.82rem, 2.1rem) !important;
  }

  .hero-text {
    font-size: clamp(0.875rem, 1.65vw + 0.65rem, 1.05rem) !important;
  }
}

@media (max-width: 480px) {
  .hero-letter {
    font-size: clamp(20rem, 88vw, 32rem);
    left: clamp(-3rem, -9vw, -0.75rem);
    top: 31%;
  }

  .hero-section:hover .hero-letter {
    top: 31%;
  }
}
/* PURPOSEFUL DESIGN ENDS */

/* O DESIGN STARTS */
.origin-section {
  background-color: #0f6b73;
  padding: 400px 0 200px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.origin-section .hero-title,
.origin-section .hero-text {
  color: rgba(255, 255, 255, 0.92);
}

.origin-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.origin-text {
  max-width: 420px;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Circle wrapper */
.circle-wrapper {
  position: relative;
  --o-circle-size: 880px;
  --o-circle-visible: 0.67; /* show ~top 2/3, hide ~bottom 1/3 */
  width: var(--o-circle-size);
  height: calc(var(--o-circle-size) * var(--o-circle-visible));
  margin-left: auto;
  margin-bottom: -200px;
  margin-right: -300px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(90px);
  transition: transform 2000ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 2000ms ease;
  will-change: transform, opacity;
}

.origin-section.is-inview .circle-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.origin-section.is-inview .circle-wrapper .circle-image {
  animation: oCirclePop 2000ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes oCirclePop {
  from {
    transform: scale(0.985);
  }
  to {
    transform: scale(1);
  }
}

.circle-image {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--o-circle-size);
  height: var(--o-circle-size);
  border-radius: 50%;
  overflow: hidden;
  border: 26px solid #e9ecef;
}

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

.inner-circle {
  position: absolute;
  top: calc(var(--o-circle-size) * 0.5);
  left: calc(var(--o-circle-size) * 0.5);
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background-color: #0f6b73;
  border-radius: 50%;
}

/* Tablet — keep circle large, anchored right with right-edge crop (like desktop) */
@media (max-width: 991px) {
  .origin-section {
    /* No bottom padding — circle fills flush to section edge */
    padding: 160px 0 0;
    text-align: center;
  }

  .origin-text {
    margin: auto;
  }

  .origin-section .col-lg-6:last-child {
    overflow: visible;
  }

  .circle-wrapper {
    --o-circle-size: min(700px, 94vw);
    width: var(--o-circle-size);
    height: calc(var(--o-circle-size) * var(--o-circle-visible));
    margin-top: 2.5rem;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: calc(var(--o-circle-size) * -0.34);
  }

  .inner-circle {
    width: calc(var(--o-circle-size) * 0.36);
    height: calc(var(--o-circle-size) * 0.36);
    top: calc(var(--o-circle-size) * 0.5);
    left: calc(var(--o-circle-size) * 0.5);
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 768px) {
  .origin-section {
    padding-top: 200px;
  }
}

/* Mobile — same editorial crop; circle scales with viewport */
@media (max-width: 576px) {
  .origin-title {
    font-size: 2rem;
  }

  .origin-section {
    padding: 150px 0 0;
  }

  .circle-wrapper {
    --o-circle-size: min(500px, 98vw);
    width: var(--o-circle-size);
    height: calc(var(--o-circle-size) * var(--o-circle-visible));
    margin-top: 1.5rem;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: calc(var(--o-circle-size) * -0.36 - 0.25rem);
  }

  .circle-image {
    border-width: 18px;
  }

  .inner-circle {
    width: calc(var(--o-circle-size) * 0.32);
    height: calc(var(--o-circle-size) * 0.32);
    top: calc(var(--o-circle-size) * 0.5);
    left: calc(var(--o-circle-size) * 0.5);
    transform: translate(-50%, -50%);
    bottom: auto;
    right: auto;
  }
}
/* O DESIGN ENDS */

@media (prefers-reduced-motion: reduce) {
  .circle-wrapper {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .origin-section.is-inview .circle-wrapper .circle-image {
    animation: none !important;
  }
}

/* METHODOLOGY STARTS */
.vm-methodology-section {
  background: #000;
  color: #fff;
  padding: 100px 0;
  font-family: Arial, Helvetica, sans-serif;
}

.vm-methodology-eyebrow {
  font-size: 14px;
  color: #9aa0a6;
  letter-spacing: 0.5px;
}

.vm-methodology-heading {
  font-size: 44px;
  font-weight: 700;
  margin: 15px 0 20px;
}

.vm-methodology-description {
  color: #9aa0a6;
  font-size: 15px;
  line-height: 1.7;
  max-width: 420px;
}

.vm-phase-block {
  padding: 28px 1.5rem;
}

.vm-phase-divider {
  width: 98%;
  height: 1px;
  background: #00cfff;
  margin-bottom: 15px;
}

.vm-phase-row {
  --bs-gutter-x: 4rem !important;
  --bs-gutter-y: 2rem !important;
}

@media (max-width: 767.98px) {
  .vm-methodology-section .row.g-5 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 2rem;
  }

  .vm-phase-row {
    --bs-gutter-x: 0.75rem !important;
    --bs-gutter-y: 1.5rem !important;
  }
}

.vm-phase-label {
  font-size: 1.5rem;
  color: #9aa0a6;
  margin-bottom: 5px;
}

.vm-phase-title {
  font-size: calc(22px + 0.5rem);
  font-weight: 700;
  margin-bottom: 10px;
}

.vm-phase-text {
  font-size: 1rem;
  color: #fff;
  font-weight: 300;
  line-height: 1.7;
}

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

  .vm-methodology-heading {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .vm-methodology-heading {
    font-size: 26px;
  }
  .vm-phase-block {
    padding: 25px max(0.75rem, env(safe-area-inset-right, 0px)) 25px
      max(0.75rem, env(safe-area-inset-left, 0px));
  }
}

.vm-project-image-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.vm-project-image-wrapper {
  position: relative;
}

.vm-project-main-image {
  width: 100%;
  height: 700px;
  object-fit: cover;
  display: block;
}

.vm-project-caption {
  position: absolute;
  bottom: 20px;
  left: 40px;
  color: #fff;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

@media (max-width: 991px) {
  .vm-project-main-image {
    height: 620px;
  }
  .vm-project-caption {
    left: 25px;
    bottom: 18px;
    font-size: 26px;
  }
}

@media (max-width: 576px) {
  .vm-project-main-image {
    height: 520px;
  }
  .vm-project-caption {
    left: 15px;
    bottom: 15px;
    font-size: 24px;
  }
}
/* METHODOLOGY ENDS */

/* L DESIGN STARTS */
.vm-layer-section {
  background: #e9e9e9;
  padding-top: clamp(56px, 6vw, 80px);
  padding-bottom: clamp(120px, 14vw, 168px);
  position: relative;
  overflow: hidden;
}

/* Same role as `.hero-letter-track` — watermark behind content */
.vm-layer-letter-track {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}

.vm-layer-letter {
  position: absolute;
  left: -24px;
  top: -168px;
  font-size: 58rem;
  font-weight: 900;
  line-height: 1;
  color: #0f6b73;
  user-select: none;
  pointer-events: none;
  opacity: 0;
  /* Fully raised (above peek) so every reveal moves downward */
  transform: translateY(calc(-100% - clamp(40px, 11vw, 120px))) scaleX(1.06);
  transition: transform 3s cubic-bezier(0.22, 1, 0.36, 1), opacity 3s ease;
  will-change: transform, opacity;
}

/* Full L when the section is revealed (default: touch / no hover) */
.vm-layer-section.is-inview .vm-layer-letter {
  opacity: 1;
  transform: translateY(0) scaleX(1.06);
}

/* Fine pointer: pointer on = L drops down; pointer off = eases up, foot of L still visible */
@media (hover: hover) and (pointer: fine) {
  .vm-layer-section.is-inview .vm-layer-letter {
    opacity: 0.4;
    /* % = height of this letter; larger values = a bit more L stays visible when pointer leaves */
    transform: translateY(calc(-100% + clamp(220px, 38%, min(620px, 52vh))))
      scaleX(1.06);
    transition: transform 3.45s cubic-bezier(0.14, 1, 0.26, 1),
      opacity 2.35s ease;
  }

  .vm-layer-section.is-inview.is-layer-pointer-here .vm-layer-letter {
    opacity: 1;
    transform: translateY(0) scaleX(1.06);
    transition: transform 1.55s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.9s ease;
  }
}

.vm-layer-left {
  position: relative;
  z-index: 2;
  padding-left: clamp(72px, 3.75vw + 2rem, 120px);
}

.vm-layer-description {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  max-width: min(100%, 620px);
  margin-bottom: 25px;
}

.vm-layer-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 1px;
}

.vm-layer-section .hero-title {
  color: #000;
}

.vm-layer-section .hero-text {
  color: #333;
}

@media (min-width: 992px) {
  /* Top-align with slider so copy isn’t pushed down by align-items-center */
  .vm-layer-section .row.align-items-center {
    align-items: flex-start;
  }

  /* Copy column (home uses col-lg-7) */
  .vm-layer-section .row.align-items-center > .col-lg-7 {
    padding-left: clamp(1rem, 3.25vw, 2.25rem);
    padding-right: clamp(1rem, 3.5vw, 2.75rem);
  }

  /* Slider lives in col-lg-5 — hug the right (minimal right padding) */
  .vm-layer-section .row.align-items-center > .col-lg-5 {
    padding-left: clamp(1.25rem, 3.5vw, 2.75rem);
    padding-right: 0;
  }

  .vm-layer-left {
    margin-top: clamp(-0.65rem, -1.5vw, -0.2rem);
  }
}

.vm-layer-slider {
  position: relative;
  z-index: 2;
  margin-left: clamp(1rem, 4vw, 2.75rem);
  margin-right: 0;
  width: 100%;
  max-width: none;
}

@media (min-width: 992px) {
  /* Wide block, pulled toward viewport right (offsets column / row gutter) */
  .vm-layer-slider {
    width: min(100%, calc(100% + clamp(0.35rem, 1.5vw, 1.25rem)));
    max-width: 98%;
    margin-left: auto;
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -1);
  }
}

#vmLayerCarousel {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

/* Stack slides in one grid cell — Bootstrap’s floats + multiple .carousel-item during fade can add extra inner height */
#vmLayerCarousel .carousel-inner {
  display: grid;
  overflow: hidden;
  border-radius: 12px;
  line-height: 0;
}

#vmLayerCarousel .carousel-inner::after {
  display: none;
  content: none;
}

#vmLayerCarousel .carousel-item {
  float: none;
  width: 100%;
  margin-right: 0;
  grid-area: 1 / 1 / -1 / -1;
}

.vm-layer-slide-img {
  display: block;
  width: 100%;
  height: clamp(300px, 20vw, 400px);
  object-fit: cover;
  border-radius: 12px;
}

.vm-layer-slide-caption {
  position: absolute;
  bottom: 12px;
  left: 18px;
  padding-bottom: 0.75rem;
  color: #fff;
  font-size: 1.4rem;
}

.vm-layer-arrow-controls {
  flex-shrink: 0;
  align-self: stretch;
  margin-top: clamp(22px, 3vw, 36px);
  margin-bottom: clamp(20px, 3.25vw, 44px);
  margin-right: 0;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  width: 100%;
}

.vm-layer-arrow-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.5);
  background: transparent;
  color: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.vm-layer-arrow-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.68);
  color: #111;
}

@media (max-width: 991px) {
  .vm-layer-slider {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .vm-layer-arrow-controls {
    margin-right: 0;
  }

  .vm-layer-left {
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    margin-top: -0.35rem;
    margin-bottom: 40px;
  }

  .vm-layer-title {
    font-size: 28px;
  }

  .vm-layer-letter {
    font-size: 40rem;
    top: -132px;
    left: -16px;
  }
}

@media (max-width: 576px) {
  .vm-layer-slide-img {
    height: 248px;
  }

  .vm-layer-title {
    font-size: 22px;
  }

  .vm-layer-description {
    font-size: 14px;
  }

  .vm-layer-left {
    padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  }

  .vm-layer-letter {
    font-size: 20rem;
    left: -10px;
    top: -100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vm-layer-letter {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Beat fine-pointer peek / hover states so reduced motion stays a single static pose */
  .vm-layer-section.is-inview .vm-layer-letter,
  .vm-layer-section.is-inview.is-layer-pointer-here .vm-layer-letter {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* L DESIGN ENDS */

/* ====================================================================== */
/* O/C/K PARTS (merged from demo-design/*-part.html)                       */
/* Scoped styles to avoid Bootstrap conflicts                              */
/* ====================================================================== */

/* O PART (Orchestrated Balance) */
.ob-section {
  position: relative;
  background: #000;
  color: #fff;
  padding-top: 90px;
  padding-bottom: clamp(72px, 10vw, 140px);
  overflow: hidden;
}

.ob-section::before {
  content: "O";
  position: absolute;
  top: -100px;
  right: -10%;
  font-size: clamp(32rem, 60vw, 64rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.1);
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.ob-bg-arc {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, #1a1a1a 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.ob-header {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-bottom: 40px;
}

.ob-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.ob-description {
  font-size: 1.25rem;
  color: #fff;
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 400;
}

.ob-pills {
  display: flex;
  gap: 12px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.ob-pill {
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #333;
  background: transparent;
  color: #fff;
}

.ob-pill.is-active {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

.ob-pill:hover:not(.is-active) {
  border-color: #777;
}

.ob-image-card {
  position: relative;
  z-index: 1;
  background-color: #1a1a1a;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  /* Do not set min-height here: with border-box, padding + same min-height as .ob-compare
     made the inner area shorter than the compare (e.g. 600px box − 8px top pad = 592px),
     so the bottom was clipped under .ob-section overflow:hidden. Height comes from .ob-compare. */
  padding: 8px;
  display: block;
}

.ob-image-card--contained {
  max-width: 1560px;
  margin-left: auto;
  margin-right: auto;
}

.ob-img {
  position: relative;
  overflow: hidden;
}

.ob-label {
  position: absolute;
  top: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 1rem;
  color: #fff;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ob-label--after {
  left: auto;
  right: 30px;
}

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

/* Before/After comparison slider */
.ob-compare {
  position: relative;
  min-height: clamp(760px, 70vh, 1020px);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  overflow: hidden;
}

.ob-compare__base,
.ob-compare__top {
  position: absolute;
  inset: 0;
}

.ob-compare__base img,
.ob-compare__top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ob-compare__top {
  width: 50%;
  overflow: hidden;
}

.ob-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(-1px);
  z-index: 3;
}

.ob-compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  place-items: center;
}

.ob-compare__arrows {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  user-select: none;
}

.ob-compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.ob-compare__range:focus-visible ~ .ob-compare__divider .ob-compare__handle {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

@media (max-width: 850px) {
  .ob-image-card {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .ob-compare {
    border-radius: 20px;
    min-height: clamp(440px, 64vw, 640px);
  }

  .ob-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 576px) {
  .ob-compare {
    min-height: clamp(300px, 82vw, 450px);
    border-radius: 14px;
  }

  .ob-image-card {
    border-radius: 14px;
    padding: 5px;
  }

  .ob-label {
    top: 16px;
    left: 14px;
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  .ob-label--after {
    left: auto;
    right: 14px;
  }

  .ob-compare__handle {
    width: 40px;
    height: 40px;
  }

  .ob-compare__arrows {
    font-size: 14px;
  }
}

/* C PART (Creative grid) */
.cp-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  background-color: #ffffff;
  /* Fade pattern: first layer is a veil over the image (tune alpha to taste). */
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.65),
      rgba(255, 255, 255, 0.65)
    ),
    url("../img/pattern.jpg");
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
}

.cp-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #f0f0f0, transparent);
  z-index: 0;
}

.cp-watermark {
  position: absolute;
  top: -80px;
  right: 50%;
  left: auto;
  font-size: 54rem;
  font-weight: 900;
  color: #eeeeee;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  letter-spacing: -20px;
  transform: translateX(50%);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    right 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .cp-section:hover .cp-watermark {
    right: -30px;
    transform: translateX(0);
  }
}

@media (hover: hover) and (pointer: fine) and (max-width: 850px) {
  .cp-section:hover .cp-watermark {
    right: -16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cp-watermark,
  .cp-card {
    transition: none !important;
  }
}

.cp-title {
  position: relative;
  z-index: 1;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 5px;
  margin-bottom: 100px;
  text-transform: uppercase;
  color: #000;
  text-align: center;
}

.cp-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cp-row {
  display: grid;
  gap: 40px;
  width: 100%;
}

.cp-row--two {
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 40px;
}

.cp-row--one {
  display: flex;
  justify-content: center;
}

@media (min-width: 851px) {
  /*
   * Spaced layout by default; hover (fine pointer) pulls cards inward.
   */
  .cp-section .cp-row--two .cp-card:first-child {
    transform: translateX(calc(-1 * min(22vw, 300px)));
  }

  .cp-section .cp-row--two .cp-card:last-child {
    transform: translateX(min(22vw, 300px));
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 851px) {
  .cp-section:hover .cp-row--two .cp-card:first-child,
  .cp-section:hover .cp-row--two .cp-card:last-child {
    transform: translateX(0);
  }
}

.cp-card {
  position: relative;
  background: #f9f9f9;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  width: 100%;
  border: 1px solid #eee;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.cp-card--single {
  max-width: calc(50% - 20px);
}

.cp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cp-card:hover img {
  transform: scale(1.1);
}

.cp-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  font-style: italic;
  z-index: 2;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.cp-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
}

@media (max-width: 850px) {
  .cp-row--two {
    grid-template-columns: 1fr;
  }
  .cp-card--single {
    max-width: 100%;
  }
  .cp-watermark {
    font-size: 17rem;
    right: 50%;
    transform: translateX(50%);
    top: -48px;
  }

  .cp-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
  }
}

/* K PART (Kinetic) */
.kp-section {
  position: relative;
  background-color: #f5f5f5;
  color: #000;
  overflow: hidden;
  padding: 0 0 80px;
}

.kp-watermark {
  position: absolute;
  top: -145px;
  left: -100px;
  font-size: 48vw;
  font-weight: 900;
  color: #e9e9e9;
  line-height: 1;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.kp-header {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 180px 20px 90px 20px;
  max-width: 700px;
  margin: 0 auto;
}

.kp-title {
  font-size: 3.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-block: 10px;
  margin-bottom: 25px;
}

.kp-subtext {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #333;
  font-weight: 400;
  word-spacing: 1px;
  padding-block: 10px;
  animation: kp-breathe 4s infinite ease-in-out;
}

@keyframes kp-breathe {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}

.kp-showcase {
  width: 100%;
  overflow: hidden;
  padding: 0;
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 2%,
    #000 98%,
    transparent 100%
  );
}

.kp-track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 112px;
  width: max-content;
  padding: 0 40px 80px;
  animation: kp-marquee 45s linear infinite;
}

.kp-showcase:hover .kp-track {
  animation-play-state: paused;
}

@keyframes kp-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.kp-slide {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-shrink: 0;
  gap: 112px;
}

.kp-card {
  width: min(84vw, 1180px);
  height: 680px;
  background-color: #ddd;
  border-radius: 60px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.kp-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45) 0%,
    transparent 45%
  );
  pointer-events: none;
  z-index: 1;
}

.kp-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
  display: block;
}

.kp-card:hover img {
  transform: scale(1.05);
}

.kp-card-caption {
  position: absolute;
  bottom: 28px;
  left: 32px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 2.15rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.kp-card-caption .bi {
  font-size: 2.25rem;
  font-weight: 400;
  opacity: 0.95;
}

@media (max-width: 768px) {
  .kp-title {
    font-size: 2.25rem;
  }
  .kp-card {
    width: min(91vw, 1180px);
    height: clamp(320px, 68vw, 400px);
    border-radius: 30px;
  }
  .kp-slide {
    gap: 0;
  }
  .kp-track {
    gap: 80px;
    padding: 0 max(0.75rem, env(safe-area-inset-right, 0px)) 60px
      max(0.75rem, env(safe-area-inset-left, 0px));
    animation-duration: 35s;
  }
  .kp-watermark {
    font-size: 112vw;
    top: -88px;
    left: -50px;
  }
  .kp-card-caption {
    bottom: 20px;
    left: 22px;
    font-size: 1.75rem;
  }

  .kp-card-caption .bi {
    font-size: 1.85rem;
  }
}

@media (max-width: 576px) {
  .kp-card {
    height: clamp(300px, 62vw, 360px);
    border-radius: 24px;
  }

  .kp-card-caption {
    bottom: 16px;
    left: 18px;
    font-size: 1.35rem;
  }

  .kp-card-caption .bi {
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kp-track {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }
}

/* ---------------------------------------------------------------------- */
/* Inner static pages: portfolio, our-story, how-it-happens, contact      */
/* (banner hero + shared blocks from design-html-assets)                   */
/* ---------------------------------------------------------------------- */

@keyframes innerPageHeroFade {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 20px;
  animation: innerPageHeroFade 0.9s ease-out forwards;
}

.hero-card .hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  /* Nudge banner framing upward (parent overflow clips top) */
  transform: translateY(calc(-1 * clamp(40px, 6vw, 80px)));
}

.hero-card .hero-content {
  position: absolute;
  top: clamp(2rem, 8vw, 7rem);
  left: clamp(1.5rem, 6vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 820px;
  z-index: 1;
}

.hero-card .hero-content h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 6.5rem);
  font-weight: 750;
  color: #006b7d;
  line-height: 1.05;
}

.hero-card .hero-content p {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: #006b7d;
  line-height: 1.5;
  margin-left: 0;
  max-width: 100%;
}

@media (max-width: 992px) {
  .hero-card .hero-content {
    max-width: 640px;
  }
}

@media (max-width: 768px) {
  .hero-card {
    border-radius: 14px;
    min-height: 280px;
  }

  /* Overlay: full-width image (same scale as before), shifted up so it meets the text. */
  .hero-card .hero-image {
    position: absolute;
    left: 0;
    width: 100%;
    min-height: 220px;
    height: auto;
    display: block;
    object-fit: cover;
    bottom: 0;
    transform: translateY(calc(-1 * clamp(52px, 14vw, 100px)));
    z-index: 0;
  }

  .hero-card .hero-content {
    position: absolute;
    top: 1.75rem;
    left: 1.5rem;
    right: 1.5rem;
    max-width: 100%;
    padding: 0;
    z-index: 2;
  }

  .hero-card .hero-content p {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .hero-card .hero-content h1 {
    font-size: 2.2rem;
  }
}

/* Large page-hero copy (services, portfolio): bigger type + relaxed line-height */
.hero-card.hero-card--hero-lg .hero-content {
  top: clamp(1.5rem, 4vw, 3.5rem);
}

.hero-card.hero-card--hero-lg .hero-content h1 {
  font-size: clamp(3.35rem, 10vw, 8.35rem);
  line-height: 1.08;
}

.hero-card.hero-card--hero-lg .hero-content p {
  font-size: clamp(1.22rem, 3.35vw, 1.58rem);
  line-height: 1.68;
}

@media (max-width: 768px) {
  .hero-card.hero-card--hero-lg {
    min-height: 320px;
  }

  .hero-card.hero-card--hero-lg .hero-image {
    min-height: 220px;
    transform: translateY(calc(-1 * clamp(60px, 16vw, 110px)));
  }

  .hero-card.hero-card--hero-lg .hero-content {
    top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-card.hero-card--hero-lg .hero-content h1 {
    font-size: 2.9rem;
    line-height: 1.1;
  }

  .hero-card.hero-card--hero-lg .hero-content p {
    font-size: 1.1rem;
    line-height: 1.62;
  }
}

.section-heading {
  padding: 12px;
  text-align: center;
}

.section-heading h2 {
  font-weight: 600;
  color: #3a3f45;
  line-height: 1.4;
}

/* Contact page: generous vertical rhythm + 1.5× default h2 (Bootstrap 5.3 fluid size) */
.contact-intro-section {
  padding-top: 5.75rem;
  padding-bottom: 5.75rem;
}

.contact-intro-section .section-heading h2 {
  font-size: calc((1.325rem + 0.9vw) * 1.5);
  line-height: 1.35;
}

.map-wrapper {
  border-radius: 28px;
  overflow: hidden;
  height: 280px;
  background: #2f343a;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(1.1);
}

@media (min-width: 992px) {
  .map-wrapper {
    height: 320px;
  }
}

/* ~2× default Bootstrap sizes: small ~0.875rem → 1.75rem; h4 ~1.5rem → 3rem */
.certificates-section-heading__eyebrow {
  font-size: 1.75rem;
  line-height: 1.25;
}

.certificates-section-heading__title {
  font-size: 3rem;
  line-height: 1.15;
}

@media (max-width: 576px) {
  .certificates-section-heading__eyebrow {
    font-size: 1.5rem;
  }

  .certificates-section-heading__title {
    font-size: 2.25rem;
  }
}

.cert-card {
  border: 1px solid #eee;
  padding: 20px;
  background: #fff;
}

.cert-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
}

.custom-nav {
  position: static;
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
}

.custom-nav::after {
  font-size: 14px;
  color: #000;
}

.about-team-section {
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.about-team-section__inner {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

/* ~2× default h3 (~1.75rem) → 3.5rem */
.about-team__title {
  font-size: 3.5rem;
  line-height: 1.15;
}

@media (max-width: 576px) {
  .about-team__title {
    font-size: 2.5rem;
  }
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 26px;
  row-gap: 30px;
}

.people-grid__empty {
  grid-column: 1 / -1;
}

.person-card {
  border-radius: 16px;
  overflow: hidden;
  background: #f8f9fa;
  height: 460px;
}

.person-card--employee {
  outline: none;
}

.person-card--employee:focus-visible {
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.45);
}

.person-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.person-card__inner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.person-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #e9ecef 0%, #dee2e6 100%);
}

.person-card__placeholder-initial {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 700;
  color: #adb5bd;
  line-height: 1;
}

.person-card__overlay {
  position: absolute;
  inset: 0;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.person-card--employee:hover .person-card__overlay,
.person-card--employee:focus-within .person-card__overlay {
  opacity: 1;
  visibility: visible;
}

.person-card__designation {
  max-height: 5.5rem;
  overflow-y: auto;
}

.person-card__contact-link {
  color: inherit;
  text-decoration: none;
  word-break: break-word;
}

.person-card__contact-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.people-grid .social-icons a {
  color: #333;
  margin: 0 6px;
  font-size: 16px;
  text-decoration: none;
}

.people-grid .social-icons a:hover {
  color: #0d6efd;
}

@media (max-width: 992px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .person-card {
    height: 380px;
  }
}

/* —— Public blog listing —— */
.blog-list-section {
  background-color: #f4f5f7;
}

/*
 * Blog listing: narrow column. Must use !important because global .container
 * rules above set max-width and padding with !important at 992px+.
 */
.blog-list-section .blog-list-section__container.container {
  max-width: 1280px !important;
  padding-left: clamp(1.25rem, 5vw, 2.75rem) !important;
  padding-right: clamp(1.25rem, 5vw, 2.75rem) !important;
}

/* Softer than full black; reads well on #f4f5f7 */
.blog-section-label {
  font-size: clamp(1.85rem, 5.5vw, 2.7rem);
  font-weight: 700;
  color: #6a6660;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.blog-section-label--articles {
  margin-top: 2.5rem;
}

.blog-latest-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.blog-latest-card__anchor {
  color: inherit;
}

.blog-latest-card__anchor:hover .blog-latest-card__title,
.blog-grid-card__anchor:hover .blog-grid-card__title {
  color: #006b7d;
}

.blog-latest-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.blog-latest-card__media {
  flex: 1 1 45%;
  min-width: 280px;
  padding: 1rem;
}

.blog-latest-card__img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.blog-latest-card__content {
  flex: 1 1 48%;
  min-width: 280px;
  padding: 1.75rem 1.75rem 1.75rem 0.5rem;
  display: flex;
  flex-direction: column;
}

@media (max-width: 767.98px) {
  .blog-latest-card__content {
    padding: 0 1.25rem 1.5rem;
  }

  .blog-latest-card__media {
    padding-bottom: 0;
  }
}

.blog-latest-card__title {
  font-size: clamp(1.4rem, 2.85vw, 1.95rem);
  font-weight: 700;
  color: #4f4b46;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.blog-latest-card__text {
  color: #6b7280;
  font-size: 1.125rem;
  line-height: 1.65;
  margin-bottom: 0.85rem;
}

.blog-latest-card__footer {
  margin-top: auto;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.blog-latest-card__date {
  font-size: 1rem;
  color: #9ca3af;
}

.blog-grid-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-grid-card:hover {
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.blog-grid-card__anchor {
  color: inherit;
}

.blog-grid-card__thumb {
  position: relative;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e5e7eb;
}

.blog-grid-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-topic-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #fff;
  color: #4f4b46;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.blog-grid-card__body {
  padding: 1.25rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 128px;
}

.blog-grid-card__title {
  font-size: 1.28rem;
  font-weight: 600;
  color: #4f4b46;
  line-height: 1.45;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-grid-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.blog-grid-card__date {
  font-size: 0.9375rem;
  color: #9ca3af;
}

.blog-card-more {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  font-size: 1rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.blog-card-more--lg {
  width: 2.5rem;
  height: 2.5rem;
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.blog-pagination__btn {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.blog-pagination__btn:hover:not(:disabled):not(.blog-pagination__btn--active) {
  border-color: #006b7d;
  color: #006b7d;
}

.blog-pagination__btn--active {
  background: #006b7d;
  border-color: #006b7d;
  color: #fff;
}

.blog-pagination__btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.blog-pagination__next i {
  font-size: 1rem;
}

.blog-article-page {
  max-width: 820px;
}

/* Blog post body: two columns + sidebar (show page) */
.blog-article-shell {
  background-color: #f0f0f0;
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.blog-article-shell__inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 4vw, 3rem);
  padding-right: clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 1400px) {
  .blog-article-shell__inner {
    max-width: 1240px;
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Extra horizontal space between article column and sidebar */
.blog-article-shell__row {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 1.5rem;
}

@media (min-width: 992px) {
  .blog-article-shell__row {
    --bs-gutter-x: 2.75rem;
    --bs-gutter-y: 1.75rem;
  }
}

@media (min-width: 1200px) {
  .blog-article-shell__row {
    --bs-gutter-x: 3.5rem;
  }
}

/* Extra space between article and categories/tags column (left of sidebar) */
@media (min-width: 992px) {
  .blog-article-sidebar {
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
  }
}

@media (min-width: 1200px) {
  .blog-article-sidebar {
    padding-left: clamp(2rem, 3.5vw, 3rem);
  }
}

.blog-article--with-sidebar .blog-article__meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-article__meta-date {
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .blog-article__meta-date {
    font-size: 1.1rem;
  }
}

.blog-article__meta-trail,
.blog-article__meta-breadcrumb {
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .blog-article__meta-breadcrumb {
    font-size: 1.12rem;
  }
}

.blog-article__meta-breadcrumb-link:hover {
  color: #03687f;
  text-decoration: underline;
}

.blog-article__meta-trail {
  text-align: right;
  flex: 1 1 auto;
  min-width: 12rem;
}

@media (max-width: 575.98px) {
  .blog-article__meta-trail {
    text-align: left;
    width: 100%;
  }
}

.blog-article__meta-sep {
  opacity: 0.55;
}

.blog-article--with-sidebar .blog-article__body {
  font-size: 1.2rem;
  line-height: 1.82;
}

@media (min-width: 992px) {
  .blog-article--with-sidebar .blog-article__body {
    font-size: 1.22rem;
  }
}

.blog-sidebar-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.blog-sidebar-list__item + .blog-sidebar-list__item {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-sidebar-list__link {
  display: block;
  padding: 0.85rem 1rem;
  color: #374151;
  text-decoration: none;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.blog-sidebar-list__link:hover {
  background: rgba(3, 104, 127, 0.06);
  color: #03687f;
}

.blog-sidebar-list__link--active {
  font-weight: 600;
  color: #03687f;
  background: rgba(3, 104, 127, 0.08);
}

.blog-sidebar-tags__heading {
  letter-spacing: 0.02em;
}

.blog-sidebar-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  background: #fff;
  color: #4b5563;
  border: 1px solid rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.blog-sidebar-tag:hover {
  border-color: #03687f;
  color: #03687f;
}

.blog-sidebar-tag--active {
  background: #03687f;
  color: #fff;
  border-color: #03687f;
}

.blog-sidebar-tag--active:hover {
  background: #025a6e;
  color: #fff;
  border-color: #025a6e;
}

.blog-article-back {
  color: #006b7d;
  font-weight: 500;
}

.blog-article__title {
  font-size: clamp(1.9rem, 4.5vw, 2.55rem);
  font-weight: 700;
  color: #4f4b46;
}

.blog-article__body {
  font-size: 1.15rem;
  line-height: 1.75;
  color: #374151;
}

/* Error pages (404, 403) — offset fixed-top navbar (~85px) + breathing room */
.error-page-section {
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 2rem;
}

.error-page-section > .container {
  width: 100%;
}

.error-page-icon-wrap {
  width: 5.5rem;
  height: 5.5rem;
  margin-top: 2rem;
  background: rgba(3, 104, 127, 0.12);
}

.error-page-icon {
  font-size: 2.75rem;
  color: #03687f;
  line-height: 1;
}

.error-page-code {
  font-size: 4.5rem;
  line-height: 1;
  color: #03687f;
  letter-spacing: -0.04em;
}

@media (min-width: 992px) {
  .error-page-code {
    font-size: 5.5rem;
  }
}

/* Public cost calculator */
.cost-calculator-page-header {
  /* Clear fixed-top navbar (~85px) — same idea as .error-page-section */
  padding-top: clamp(5.75rem, 14vw, 7.5rem);
  background: linear-gradient(
    120deg,
    rgba(3, 104, 127, 0.14) 0%,
    rgba(3, 104, 127, 0.06) 42%,
    #f2f2f2 100%
  );
  border-bottom: 1px solid rgba(3, 104, 127, 0.18);
}

.cost-calculator-page-header__title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: #03687f;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cost-calculator-page-header__lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #3a3f45;
  max-width: 42rem;
}

.cost-calculator-card {
  border-radius: 16px;
}

.cost-calculator-label {
  color: #2d3238;
}

.cost-calculator-input:focus,
.cost-calculator-form textarea.cost-calculator-input:focus {
  border-color: rgba(3, 104, 127, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(3, 104, 127, 0.18);
}

.cost-calculator-progress {
  --cc-progress-track: #e4eaec;
  --cc-progress-fill: #03687f;
  --cc-progress-fill-end: #0d8fa8;
  --cc-progress-muted: #8a9399;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(3, 104, 127, 0.1);
}

.cost-calculator-progress__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 1.15rem;
}

.cost-calculator-progress__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cc-progress-muted);
}

.cost-calculator-progress__phase {
  font-size: 1rem;
  font-weight: 600;
  color: #03687f;
  text-align: right;
}

.cost-calculator-progress__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.cost-calculator-progress__segment {
  position: relative;
  height: 0.45rem;
  border-radius: 999px;
  background-color: var(--cc-progress-track);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.cost-calculator-progress__segment::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--cc-progress-fill) 0%,
    var(--cc-progress-fill-end) 100%
  );
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.cost-calculator-progress__segment.is-complete::after {
  width: 100%;
}

.cost-calculator-progress__segment.is-current {
  box-shadow: 0 0 0 3px rgba(3, 104, 127, 0.14);
}

.cost-calculator-progress__segment.is-current::after {
  width: 100%;
  animation: ccProgressPulse 1.8s ease-in-out infinite;
}

@keyframes ccProgressPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.82;
  }
}

.cost-calculator-progress__labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.cost-calculator-progress__labels li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  color: var(--cc-progress-muted);
  transition: color 0.25s ease;
}

.cost-calculator-progress__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  background-color: #fff;
  border: 2px solid var(--cc-progress-track);
  color: var(--cc-progress-muted);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.cost-calculator-progress__name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.cost-calculator-progress__labels li.is-complete,
.cost-calculator-progress__labels li.is-current {
  color: #2d3238;
}

.cost-calculator-progress__labels li.is-complete .cost-calculator-progress__marker,
.cost-calculator-progress__labels li.is-current .cost-calculator-progress__marker {
  border-color: var(--cc-progress-fill);
  background: linear-gradient(
    145deg,
    var(--cc-progress-fill) 0%,
    var(--cc-progress-fill-end) 100%
  );
  color: #fff;
}

.cost-calculator-progress__labels li.is-current .cost-calculator-progress__marker {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(3, 104, 127, 0.28);
}

@media (max-width: 576px) {
  .cost-calculator-progress {
    margin-bottom: 1.35rem;
    padding-bottom: 1.25rem;
  }

  .cost-calculator-progress__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .cost-calculator-progress__phase {
    text-align: left;
    font-size: 0.95rem;
  }

  .cost-calculator-progress__name {
    font-size: 0.72rem;
  }

  .cost-calculator-progress__marker {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cost-calculator-progress__segment::after {
    transition: none;
  }

  .cost-calculator-progress__segment.is-current::after {
    animation: none;
  }

  .cost-calculator-progress__marker {
    transition: none;
  }
}

.cost-calculator-link {
  color: #03687f;
  font-weight: 500;
}

.cost-calculator-link:hover {
  color: #024e61;
}

/*
 * Public event page — extra horizontal inset + narrower max width.
 * Global .container uses padding and max-width with !important; this block must too.
 */
.event-public-page.container {
  max-width: min(82rem, 100%) !important;
  padding-left: clamp(1.5rem, 5vw, 4rem) !important;
  padding-right: clamp(1.5rem, 5vw, 4rem) !important;
}

/* Wide cover — spans full content area (landscape banner) */
.event-public-page__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
}

.event-public-page__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-public-page__title {
  font-size: clamp(2.75rem, 8vw, 4.5rem);
  line-height: 1.12;
  font-weight: 700;
  color: #03687f;
  letter-spacing: -0.03em;
}

/* ~2× Bootstrap .small (0.875rem → ~1.75rem) */
.event-public-page__meta {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.45;
}

.event-public-page__meta-icon {
  margin-right: 0.35em;
  vertical-align: -0.1em;
  color: #03687f;
  font-size: 0.95em;
}

/* Event page — agenda “table” with off-white borders */
.event-agenda-panel {
  border: 1px solid #ebe8e3;
  border-radius: 0.75rem;
  background: #faf9f7;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  overflow: hidden;
}

.event-agenda-timeline__item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #ebe8e3;
}

.event-agenda-timeline__item:last-child {
  border-bottom: none;
}

.event-agenda-timeline__time {
  min-width: 5.5rem;
}