/* Base template for the website, including the header, footer, and main content area. */

:root {
  --ink: #01373d;
  --paper: #f9f8ff;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(7, 20, 82, .12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.45 "DM Sans", sans-serif;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 24px;
  left: 24px;
  right: 24px;
  min-height: 80px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 30px;
  background: rgba(255, 255, 255, .94);
  border-radius: 13px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .05em;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 8px);
}

.main-nav a {
  white-space: nowrap;
  font-weight: 500;
  position: relative;
  padding: 12px 20px;
  transition: color 0.25s ease;
  border-radius: 6px;
}

.main-nav a.nav-active {
  color: #ffffff;
  background-color: #2239a8;
}

.main-nav a.nav-active:hover {
  color: #ffffff;
}

.main-nav a.nav-active::after {
  display: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #2239a8;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover {
  color: #2239a8;
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

/* Home page hero section with background image, heading, and call-to-action button. */

.hero {
  min-height: 645px;
  margin: 12px 12px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("https://plus.unsplash.com/premium_photo-1661962822473-d76eb88703b7?q=80&w=1580&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover;
  border-radius: 18px;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(249,248,242,.95) 4%, rgba(249,248,242,.78) 42%, rgba(249,248,242,.08) 78%);
}

.hero__content {
  position: relative;
  width: min(1120px, calc(100% - 10vw));
  margin: 90px auto 0;
  transform: none;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(48px, 5vw, 60px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.055em;
}

.hero p {
  max-width: 510px;
  margin: 18px 0 28px;
  font-size: 20px;
  line-height: 1.25;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 220px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 300;
  transition: transform .2s, box-shadow .2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button--light {
  background: var(--white);
  border: 2px solid #09062e;
}

.portfolio-button {
  min-width: 170px;
  padding: 17px 22px;
  color: white;
  background: #09062e;
  border: none;
  font-size: 22px;
}

.portfolio-button:hover {
  background: #e3b614;
  color: #09062e;
}

.metrics {
  --metric-width: clamp(260px, 24vw, 320px);
  --metric-gap: 24px;
  /* Each repeated group contains six cards and a trailing gap. */
  --metric-group-width: calc((var(--metric-width) + var(--metric-gap)) * 6);
  position: relative;
  z-index: 2;
  margin: -50px 0 0;
  width: 100%;
  overflow: hidden;
}

.metrics__track {
  display: flex;
  width: calc(var(--metric-group-width) * 2);
  animation: metrics-scroll 40s linear infinite;
  will-change: transform;
}

.metrics__group {
  display: flex;
  flex: 0 0 var(--metric-group-width);
  width: var(--metric-group-width);
  gap: var(--metric-gap);
  padding-right: var(--metric-gap);
}

.metrics:hover .metrics__track {
  animation-play-state: paused;
}

.metrics .metric {
  flex: 0 0 var(--metric-width);
}

@keyframes metrics-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(0px - var(--metric-group-width)), 0, 0);
  }
}

.metric {
  min-height: 280px;
  padding: 26px;
  display: flex;
  align-items: baseline;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255);
  border-radius: 20px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 35px rgba(1,55,61,0.15);
  gap: 12px;
}

.metric strong, .metric span {
  display: block;
}

.metric__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  margin-top: auto;
}

.metric--number strong {
  font-size: 100px;
  font-weight: 300;
  line-height: 1;
}

.metric__number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.metric__label {
  margin-bottom: 2px;
  color: #e3b614;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}

.metric--number {
  flex-direction: column;
  align-items: flex-start;
}

.metric__description {
  width: 100%;
  max-width: none;
}

.metric--number span {
  max-width: none;
  margin-top: 10px;
  width: 100%;
}

.metric--image {
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  background-position: center;
  background-size: cover;
}

.metric--partner {
  background-image: url("https://plus.unsplash.com/premium_photo-1661295675442-f151fdf7ba52?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}

.metric--facility {
  background-image: url("https://images.unsplash.com/photo-1547895749-888a559fc2a7?q=80&w=928&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
}

.metric--expert {
  background-image: url("https://plus.unsplash.com/premium_photo-1747949065888-5a57b2d506db?q=80&w=1742&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}

.metric small {
  color: #e3b614;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.metric .metric__content strong {
  font-size: 22px;
  line-height: 1.1;
}

.scroll-section {
  width: min(1120px, calc(100% - 48px));
  margin: 100px auto 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.scroll-section__content {
  max-width: 1200px;
}

.scroll-section--featured {
  background: linear-gradient(to right, #afa9ed, #e9e3cd);
  width: 100%;
  margin-top: 30px;
}

.scroll-section__eyebrow {
  display: block;
  margin-bottom: 20px;
  color: #09062e;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 10px;
}

.scroll-section h2 {
  margin-bottom: 24px;
  text-align: center;
}

.scroll-section h2.aligned-text {
  width: 100%;
  text-align: left;
}

.scroll-section p {
  max-width: 1200px;
  margin-bottom: 32px;
  font-size: 19px;
  line-height: 1.6;
  text-align: center;
}

.scroll-section--featured .scroll-section__content {
  width: min(1120px, calc(100% - 48px));
  text-align: left;
}

.division {
  margin-top: 80px;
}

.gradient-text {
  background: linear-gradient(to right, #e3b614, #09062e);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.portfolio-row {
  width: min(1120px, calc(100% - 48px));
  margin: 60px auto;
  display: flex;
  align-items: center;
  gap: 50px;
}

.portfolio-row .services {
  flex: 1;
  width: auto;
  margin: 0;
  padding: 0;
}

.portfolio-row .service-grid {
  grid-template-columns: 1fr;
}

.portfolio-text {
  flex: 1;
  text-align: left;
}

.portfolio-text h3 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 200;
  line-height: 1.15;
  padding-bottom: 30px;
}

.capability-section {
  width: 100%;
  min-height: 650px;
  padding: 80px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #09062e;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("https://images.unsplash.com/photo-1531685250784-7569952593d2?q=80&w=1548&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.capability-section__content {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.capability-section__eyebrow {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.capability-section__left h2 {
  max-width: 800px;
  margin-bottom: 24px;
}

.capability-section p {
  max-width: 620px;
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
}

.highlight {
  color: #e3b614;
  font-weight: bold;
}

.myname {
  font-family: "Caveat", cursive;
  font-size: 22px;
  font-weight: 500;
  color: white;
}

/* Accordion container */
.capability-section .accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Individual frosted-glass item */
.capability-section .accordion-item {
  position: relative;
  margin: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  box-shadow:
  inset 0 1px 0 rgba(255, 255, 255, 0.95),
  inset 0 -1px 0 rgba(255, 255, 255, 0.28),
  0 18px 45px rgba(34, 57, 154, 0.2),
  0 6px 16px rgba(9, 6, 46, 0.1);
  transition:
  transform 0.25s ease,
  box-shadow 0.25s ease;
}

.capability-section .accordion-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.42), transparent 42%);
}

.capability-section .accordion-item:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 24px 52px rgba(34, 57, 154, 0.27), 0 8px 20px rgba(9, 6, 46, 0.12);
}

/* Accordion heading button */
.capability-section .accordion-header, .capability-section .accordion-collapse {
  position: relative;
  z-index: 1;
}

.capability-section .accordion-button {
  display: flex;
  align-items: center;
  padding: 16px 22px;
  color: #22399a;
  background: rgba(255, 255, 255, 0.08);
  font-size: 20px;
  font-weight: bold;
  box-shadow: none;
}

.capability-section .accordion-button__text {
  display: block;
  line-height: 1.2;
}

/* Remove Bootstrap's active background */
.capability-section .accordion-button:not(.collapsed) {
  color: #22399a;
  background: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.55);
}

/* Remove Bootstrap's focus outline/shadow */
.capability-section .accordion-button:focus {
  border-color: transparent;
  box-shadow: none;
}

/* Accordion content */
.capability-section .accordion-body {
  padding: 4px 22px 22px;
  color: #09062e;
  font-size: 16px;
  line-height: 1.6;
  background: transparent;
}

.capability-button {
  display: block;
  width: fit-content;
  margin-top: 15px;
  min-width: 100px;
  padding: 8px 10px;
  color: #09062e;
  font-size: 15px;
  border: 1px solid #09062e
}

.capability-button:hover {
  color: white;
  background: #09062e;
}

.location-section {
  width: 100%;
  min-height: 650px;
  padding: 80px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #09062e;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("https://images.unsplash.com/photo-1517816743773-6e0fd518b4a6?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.location-section__content {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.location-section__left {
  position: relative;
  left: -30px;
  overflow: hidden;
}

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

.location-section__eyebrow {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location-text {
  max-width: 620px;
  margin-top: 35px;
  font-size: 28px;
  line-height: 1.4;
  padding-bottom: 24px;
}

.location-button {
  min-width: 170px;
  padding: 12px 22px;
  background: #e3b614;
  color: #09062e;
  border: none;
  font-size: 22px;
}

.location-button:hover {
  color: white;
  background: #09062e;
}

.map-marker {
  position: absolute;
  left: 46%;
  /* horizontal location on image */
  top: 48%;
  /* vertical location on image */
  width: 24px;
  height: 24px;
  background: #ff4f45;
  border: 3px solid white;
  border-radius: 50%;

  /* Centers the dot exactly on the chosen coordinate */
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 rgba(255, 79, 69, 0.7);
  animation: map-pulse 1.8s infinite;
}

.map-marker__label {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  padding: 8px 12px;
  color: #09062e;
  background: #e3b614;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(9, 6, 46, 0.18);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

@keyframes map-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 79, 69, 0.7);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(255, 79, 69, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 79, 69, 0);
  }
}

.services {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

h2 {
  margin: 0;
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -.05em;
}

.service-grid {
  display: grid;
  gap: 22px;
}

.service-card {
  min-height: 470px;
  padding: 24px;
  display: flex;
  align-items: end;
  color: white;
  overflow: hidden;
  border-radius: var(--radius);
  background-position: center;
  background-size: cover;
}

.service-card--skin {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  background-image: linear-gradient(0deg, rgba(1,55,61,.94), rgba(1,55,61,.08)), url("https://images.unsplash.com/photo-1573461160327-b450ce3d8e7f?q=80&w=930&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}

.service-card--hair {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  background-image: linear-gradient(0deg, rgba(1,55,61,.94), rgba(1,55,61,.08)), url("https://plus.unsplash.com/premium_photo-1706800175741-f0fcf3bb3d89?q=80&w=774&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}

.service-card--personal {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  background-image: linear-gradient(0deg, rgba(1,55,61,.94), rgba(1,55,61,.08)), url("https://images.unsplash.com/photo-1631730486572-226d1f595b68?q=80&w=950&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
}

.service-card span {
  opacity: .7;
}

.service-card h3 {
  margin: 14px 0 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
  text-align: left;
}

.service-card p {
  min-height: 72px;
  opacity: .86;
  text-align: left;
  line-height: 1.3;
  font-weight: 200;
}

.site-footer {
  padding: 65px max(24px, calc((100% - 1120px)/2));
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 35px;
  color: white;
  background: #09062e;
}

.site-footer p {
  max-width: 330px;
  font-weight: 200;
}

.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
  grid-template-columns: auto auto;
}

.site-footer small {
  grid-column: 1/-1;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.15);
}

.footer-follow {
  grid-column: 2;
  grid-row: 1 / 4;
}

.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icons img {
  display: block;
  width: 30px;
  height: 30px;
}

@media (max-width: 1200px) {
  .site-header {
    gap: 12px;
    padding-inline: 16px;
  }

  .brand {
    gap: 6px;
    font-size: 21px;
  }

  .main-nav {
    gap: 4px;
  }

  .main-nav a {
    padding: 10px 8px;
    font-size: 15px;
  }
}

@media (max-width: 1050px) {
  .portfolio-text h3 + a.button.portfolio-button {
    margin-top: 24px;
  }

  .main-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .service-card {
    min-height: 390px;
  }

  .hero__content {
    transform: none;
    width: calc(100% - 48px);
  }

  .location-section {
    min-height: auto;
    padding: 64px 24px;
  }

  .location-section__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .location-section__left {
    left: 0;
  }

  .location-section__left img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .location-text {
    max-width: none;
    font-size: clamp(20px, 4vw, 28px);
  }

  .team-section {
    width: calc(100% + 30px);
    transform: translateX(-15px);
  }
}

@media (max-width: 600px) {
  .site-header {
    top: 12px;
    left: 12px;
    right: 12px;
    min-height: 64px;
    padding-inline: 16px;
  }

  .brand {
    font-size: 23px;
  }

  .hero {
    width: 100%;
    margin: 0;
    border-radius: 0;
    min-height: 720px;
    align-items: end;
    background-position: 62% center;
  }

  .hero__shade {
    background: linear-gradient(0deg, rgba(249,248,242,.98) 4%, rgba(249,248,242,.72) 58%, rgba(249,248,242,.06));
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 17px;
  }

  .button {
    min-width: 0;
    width: 100%;
  }

  .metrics {
    --metric-gap: 14px;
    margin-top: -45px;
  }

  .metric {
    min-height: 190px;
  }

  .services {
    width: calc(100% - 36px);
    padding: 85px 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    margin-top: 75px;
  }

  .site-footer small {
    grid-column: auto;
  }

  .hero__content {
    width: calc(100% - 40px);
    margin: 0 auto 95px;
    transform: none;
  }

  .scroll-section {
    width: calc(100% - 36px);
    padding: 90px 0;
  }

  .scroll-section.scroll-section--featured {
    width: 100%;
  }

  .portfolio-row {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .capability-section__content {
    grid-template-columns: 1fr;
  }

  .location-section {
    padding: 48px 18px;
  }

  .location-section__content {
    gap: 30px;
  }

  .map-marker__label {
    width: min(190px, 70vw);
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .location-button {
    width: 100%;
  }

  .person-profile {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 24px;
  }

  .person-profile .person-card {
    flex-basis: auto;
    width: min(100%, 320px);
    margin: 20px 0 0;
  }

  .person-profile__text {
    justify-self: start;
    width: 100%;
  }
}

.brand__logo {
  display: block;
  width: auto;
  height: 48px;
  object-fit: contain;
}

.button-logo{
  width: 30px;
  height: 30px;
}

.progress-icon{
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  margin-right: 15px;
  opacity: 0.5;
}

.scroll-image{
  display: block;
  width: 250px;
  height: 250px;
  margin: 0 auto 20px;
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  .metrics__track {
    animation-play-state: paused;
  }
}

/* WhatsApp integration */

.whatsapp-button {
  position: fixed;
  right: 20px;
  bottom: 50px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #128c3e;
  font-family: inherit;
  text-decoration: none;
}

.whatsapp-icon {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.2));
  transition: transform 0.2s ease;
}

.whatsapp-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.whatsapp-button:hover .whatsapp-icon {
  transform: scale(1.08);
}

.whatsapp-button:hover .whatsapp-text {
  text-decoration: underline;
}

.whatsapp-button:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 4px;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .whatsapp-button {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-icon {
    width: 38px;
    height: 38px;
  }

  .whatsapp-text {
    font-size: 11px;
  }
}

/* About us page */

.about-hero {
  min-height: 400px;
  margin: 8px;
  position: relative;
  display: flex;
  background: url("https://images.unsplash.com/39/lIZrwvbeRuuzqOoWJUEn_Photoaday_CSD%20%281%20of%201%29-5.jpg?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover;
  border-radius: 18px;
  overflow: hidden;
}

.about-hero__shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.about-hero__content {
  position: relative;
  transform: none;
  text-align: center;
}

.about-hero__content h1 {
  margin-top: 24px;
  position: absolute;
  top: calc(100% + 40px);
  left: 50%;
  width: max-content;
  max-width: 90vw;
  margin: 0;
  transform: translateX(-50%);
  font-size: clamp(48px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.055em;
  padding-bottom: 8px;
}

.about-gradient-text {
  background: linear-gradient(to right, #e3b614, white);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #2239a8;
}

.banner {
  display: inline-block;
  padding: 25px 25px 25px 25px;
  margin-top: 10px;
  color: #09062e;
  background: #e3b614;
  font: 700 30px/1 sans-serif;

  /* top-left, top-right, bottom-right, bottom-left */
  clip-path: polygon(
  0 0,
  100% 8%,
  100% 100%,
  0 85%
  );
}

.scroll-about-section__content {
  width: 100%;
  max-width: 1200px;
}

.scroll-section__about {
  display: block;
  margin-bottom: 20px;
  color: #09062e;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 10px;
  width: 100%;
  text-align: left;
}

.person-card {
  width: min(100%, 400px);
  padding: 12px 12px 8px;
  margin: 40px -30px;
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid rgba(9, 6, 46, 0.12);
  border-radius: 8px;
  box-shadow:
  0 4px 10px rgba(9, 6, 46, 0.06),
  0 14px 35px rgba(9, 6, 46, 0.10);
  text-align: center;
  transition:
  transform 0.25s ease,
  box-shadow 0.25s ease;
}

.person-card:hover {
  transform: translateY(-5px);
  box-shadow:
  0 6px 14px rgba(9, 6, 46, 0.08),
  0 20px 45px rgba(9, 6, 46, 0.15);
}

.person-card__photo-frame {
  padding: 7px;
  background: #f5f2e9;
  border: 1px solid rgba(9, 6, 46, 0.12);
  border-radius: 5px;
}

.person-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
}

.person-card__details {
  padding: 20px 10px 0;
}

.person-card__name {
  margin: 0 0 7px;
  color: #09062e;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.person-card__designation {
  margin: 0;
  color: #6b6877;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.person-profile {
  width: 100%;
  display: grid;
  grid-template-columns: 320px minmax(0, 600px);
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.person-profile .person-card {
  width: 320px;
  margin: 40px 0;
}

.person-profile__text {
  width: 100%;
  justify-self: end;
}

.scroll-section .person-profile__text p {
  width: 100%;
  max-width: 600px;
  margin: 0;
  color: #09062e;
  font-size: 20px;
  line-height: 1.7;
  text-align: left;
}

.person-profile__quote {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 40px 0 0;
  padding: 28px 45px;
  color: #09062e;
  background: rgba(227, 182, 20, 0.10);
  border-left: 3px solid #e3b614;
  border-radius: 6px;
  font-size: 22px;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
}

.person-profile__quote::before,
.person-profile__quote::after {
  position: absolute;
  color: #e3b614;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 65px;
  font-weight: bold;
  line-height: 1;
}

.person-profile__quote::before {
  content: "“";
  top: 8px;
  left: 12px;
}

.person-profile__quote::after {
  content: "”";
  right: 12px;
  bottom: -18px;
}

.collaboration-section {
  width: 100%;
  min-height: 650px;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #09062e;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("https://images.unsplash.com/photo-1583321500900-82807e458f3c?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.collaboration-section__content {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.collaboration-section__left {
  max-width: 800px;
  margin-bottom: 24px;
}

.team-section {
  width: calc(100% + 60px);
  margin: 80px auto;
  transform: translateX(-30px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(9, 6, 46, 0.15);
}

.team-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.team-card__image {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card__image {
  transform: scale(1.04);
  min-height: 360px;
}

.team-card__details {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px;
  color: #fff;
}

.team-card--dark .team-card__details {
  background: linear-gradient(
  transparent,
  rgba(9, 6, 46, 0.95)
  );
}

.team-card--gold .team-card__details {
  color: #09062e;
  background: linear-gradient(
  transparent,
  rgba(227, 182, 20, 0.96)
  );
}

.team-card__name {
  margin: 0 0 5px;
  font-size: 24px;
  font-weight: 600;
}

.team-card__designation {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Mobile layout */
@media (max-width: 600px) {
  .team-section {
    width: 100%;
    transform: none;
  }

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

  /* Maintain alternating checker colors vertically */
  .team-card:nth-child(3) {
    order: 4;
  }

  .team-card:nth-child(4) {
    order: 3;
  }

  .team-card,
  .team-card__image {
    min-height: 280px;
    height: 280px;
  }
}

.team-section__about {
  display: block;
  margin-bottom: 70px;
  color: #09062e;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 10px;
  width: 100%;
  text-align: left;
}

.collaboration-text {
  padding-left: 130px;
  text-align: left;
}

.collaboration-text h2 {
  margin-top: 200px;
  font-size: 50px;
}

.collaboration-text h3 {
  margin: 20px 0 20px;
  font-size: 30px;
  font-weight: 200;
  line-height: 1.15;
  padding-top: 20px;
  padding-bottom: 30px;
}

.video-section {
  width: 100%;
  min-height: 650px;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #09062e;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("https://images.unsplash.com/photo-1496167117681-944f702be1f4?q=80&w=1932&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.video-section .scroll-about-section__content {
  width: min(1180px, 100%);
}

.video-section .scroll-section__about {
  margin-top: 60px;
  margin-bottom: 80px;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(9, 6, 46, 0.22);
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;

  /* Enlarges and crops the black bars */
  transform: scale(1);
}

/* About page: tablet layout */
@media (max-width: 1050px) {
  .about-hero {
    min-height: 500px;
  }

  .about-hero__content h1 {
    font-size: clamp(42px, 7vw, 56px);
  }

  .person-profile {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 36px;
  }

  .person-profile .person-card {
    width: 100%;
  }

  .collaboration-section {
    min-height: auto;
    padding: 72px 32px;
  }

  .collaboration-section__content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .collaboration-section__left {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .team-section {
    width: min(760px, 100%);
    margin: 0 auto;
    transform: none;
  }

  .team-section__about {
    margin-bottom: 36px;
  }

  .team-card,
  .team-card__image {
    min-height: 320px;
    height: 320px;
  }

  .capability-section__right {
    width: 100%;
  }

  .collaboration-text {
    width: min(760px, 100%);
    margin: 56px auto 0;
    padding-left: 0;
  }

  .collaboration-text h2 {
    margin: 0;
    font-size: clamp(40px, 7vw, 52px);
  }

  .collaboration-text h3 {
    margin: 20px 0 0;
    padding: 0;
    font-size: 26px;
  }

  .video-section {
    min-height: auto;
    padding: 72px 32px;
  }

  .video-section .scroll-about-section__content {
    width: min(1000px, 100%);
  }

  .video-section .scroll-section__about {
    margin: 0 0 40px;
  }
}

/* About page: mobile layout */
@media (max-width: 600px) {
  .about-hero {
    min-height: 430px;
    margin: 0;
    border-radius: 0;
  }

  .about-hero__content {
    width: 100%;
    padding: 90px 18px 40px;
  }

  .about-hero__content h1 {
    position: static;
    width: auto;
    max-width: 100%;
    margin: 26px auto 0;
    padding: 0;
    transform: none;
    font-size: clamp(36px, 11vw, 44px);
    line-height: 1.08;
  }

  .banner {
    margin: 0;
    padding: 18px 20px;
    font-size: 24px;
  }

  .scroll-section {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 64px 0;
  }

  .scroll-section__about {
    margin-bottom: 32px;
    padding-top: 0;
  }

  .person-profile {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .person-profile .person-card {
    width: min(100%, 340px);
    margin: 0 auto;
  }

  .portfolio-text h3 {
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 24px;
    line-height: 1.3;
  }

  .person-profile__quote {
    margin-top: 28px;
    padding: 24px 32px;
    font-size: 18px;
    line-height: 1.5;
  }

  .collaboration-section {
    padding: 64px 18px;
  }

  .team-section__about {
    margin-bottom: 32px;
    padding-top: 0;
  }

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

  .team-card,
  .team-card__image {
    min-height: 300px;
    height: 300px;
  }

  .team-card__details {
    padding: 18px;
  }

  .team-card__name {
    font-size: 21px;
  }

  .team-card__designation {
    font-size: 12px;
  }

  .collaboration-text {
    margin-top: 48px;
  }

  .collaboration-text h2 {
    font-size: 36px;
    line-height: 1.1;
  }

  .collaboration-text h3 {
    margin-top: 18px;
    font-size: 20px;
    line-height: 1.5;
  }

  .video-section {
    padding: 64px 18px;
  }

  .video-section .scroll-section__about {
    margin-bottom: 30px;
  }

  .video-container {
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(9, 6, 46, 0.18);
  }
}

/* Contact page */

.contact-hero {
  min-height: 400px;
  margin: 8px;
  position: relative;
  display: flex;
  background: url("https://images.unsplash.com/photo-1534536281715-e28d76689b4d?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover;
  border-radius: 18px;
  overflow: hidden;
}

.contact-hero__shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.contact-hero__content {
  position: relative;
  transform: none;
  text-align: center;
}

.contact-hero__content h1 {
  margin-top: 24px;
  position: absolute;
  top: calc(100% + 40px);
  left: 50%;
  width: max-content;
  max-width: 90vw;
  margin: 0;
  transform: translateX(-50%);
  font-size: clamp(48px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.055em;
  padding-bottom: 8px;
}

.contact-gradient-text {
  background: linear-gradient(to right, #e3b614, white);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #2239a8;
}

.banner-contact {
  display: inline-block;
  padding: 25px 25px 25px 25px;
  margin-top: 10px;
  color: #09062e;
  background: #e3b614;
  font: 700 30px/1 sans-serif;

  /* top-left, top-right, bottom-right, bottom-left */
  clip-path: polygon(
  0 0,
  100% 8%,
  100% 100%,
  0 85%
  );
}

/* Contact hero: tablet layout */
@media (max-width: 1050px) {
  .contact-hero {
    min-height: 500px;
  }

  .contact-hero__content h1 {
    font-size: clamp(42px, 7vw, 56px);
  }
}

/* Contact hero: mobile layout */
@media (max-width: 600px) {
  .contact-hero {
    min-height: 430px;
    margin: 0;
    border-radius: 0;
  }

  .contact-hero__shade {
    position: static;
    width: 100%;
    min-width: 0;
  }

  .contact-hero__content {
    width: 100%;
    min-width: 0;
    padding: 90px 18px 40px;
  }

  .contact-hero__content h1 {
    position: static;
    width: auto;
    max-width: 100%;
    margin: 26px auto 0;
    padding: 0;
    transform: none;
    font-size: clamp(36px, 11vw, 44px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .banner-contact {
    margin: 0;
    padding: 18px 20px;
    font-size: 24px;
  }
}

.contact-demo {
  --contact-accent: #09062e;
  --contact-heading: #09062e;
  --contact-text: #09062e;
  --contact-border: #d0d5dd;

  padding: 80px 24px 72px;
  background: #f4effc;
  color: var(--contact-text);
}

.contact-demo,
.contact-demo * {
  box-sizing: border-box;
}

.contact-demo__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(9, 6, 46, 0.22);
}

.contact-demo__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.contact-demo__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  object-position: center;
  background: #faf5ff;
  border-radius: 10px;
}

/* Contact information */
.contact-demo__details {
  display: grid;
  gap: 28px;
  flex: 1;
  padding: 24px;
  border: 1px solid var(--contact-border);
  border-radius: 10px;
}

.contact-demo__detail {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.contact-demo__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--contact-accent);
  background: #e3b614;
  border: 6px solid #e3b614;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.contact-demo__detail h3 {
  margin: 0 0 8px;
  color: #344054;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.contact-demo__detail p,
.contact-demo__detail a {
  margin: 0;
  color: var(--contact-text);
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contact-demo__detail a:hover {
  color: var(--contact-accent);
  text-decoration: underline;
}

/* Form panel */
.contact-demo__panel {
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--contact-border);
  border-radius: 10px;
}

.contact-demo__panel h1 {
  margin: 0 0 18px;
  color: var(--contact-heading);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.contact-demo__intro {
  margin: 0 0 40px;
  font-size: 18px;
  line-height: 1.6;
}

.contact-demo__form {
  display: grid;
  gap: 24px;
}

.contact-demo__field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-demo__field > label {
  color: #344054;
  font-size: 14px;
  font-weight: 500;
}

.contact-demo__field input,
.contact-demo__field textarea,
.contact-demo__field select {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  color: var(--contact-heading);
  background: #fff;
  border: 1px solid var(--contact-border);
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
}

.contact-demo__field input::placeholder,
.contact-demo__field textarea::placeholder {
  color: #667085;
  opacity: 1;
}

.contact-demo__field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-demo__field input:focus,
.contact-demo__field textarea:focus,
.contact-demo__field select:focus {
  border-color: var(--contact-accent);
  outline: 3px solid #f4ebff;
  outline-offset: 1px;
}

/* Combined country selector and phone input */
.contact-demo__phone {
  display: flex;
  min-width: 0;
  border: 1px solid var(--contact-border);
  border-radius: 8px;
}

.contact-demo__phone select {
  flex: 0 0 110px;
  width: 110px;
  border: 0;
  background: transparent;
}

.contact-demo__phone input {
  flex: 1;
  border: 0;
  background: transparent;
}

.contact-demo__phone:focus-within {
  border-color: var(--contact-accent);
  outline: 3px solid #f4ebff;
  outline-offset: 1px;
}

.contact-demo__phone input:focus,
.contact-demo__phone select:focus {
  outline: none;
}

/* Privacy and button */
.contact-demo__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-demo__consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--contact-accent);
}

.contact-demo__consent label {
  font-size: 15px;
  line-height: 1.6;
}

.contact-demo__consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-demo__submit {
  width: 100%;
  min-height: 60px;
  padding: 12px 20px;
  color: #fff;
  background: var(--contact-accent);
  border: 1px;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-demo__submit:hover {
  background: #e3b614;
  color: #09062e;
}

.contact-demo__submit:focus-visible {
  outline: 3px solid #d6bbfb;
  outline-offset: 3px;
}

.contact-demo__submit img {
  width: 40px;
  height: 40px;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}

.contact-demo__submit:hover img {
  filter: brightness(0) saturate(100%) invert(19%)
    sepia(82%) saturate(2300%) hue-rotate(225deg)
    brightness(90%) contrast(95%);
}

/* Tablet */
@media (max-width: 900px) {
  .contact-demo__grid {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .contact-demo__photo {
    aspect-ratio: 4 / 3;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .contact-demo {
    padding: 100px 16px 40px;
  }

  .contact-demo__grid {
    gap: 20px;
    padding: 16px;
    border-radius: 16px;
  }

  .contact-demo__panel,
  .contact-demo__details {
    padding: 20px;
  }

  .contact-demo__intro {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .contact-demo__detail {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .contact-demo__icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}



/* Facility page */

.facility-hero {
  min-height: 400px;
  margin: 8px;
  position: relative;
  display: flex;
  background: url("https://images.unsplash.com/photo-1622651351906-e6fa5f918cd7?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover;
  border-radius: 18px;
  overflow: hidden;
}

.facility-hero__shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.facility-hero__content {
  position: relative;
  transform: none;
  text-align: center;
}

.facility-hero__content h1 {
  margin-top: 24px;
  position: absolute;
  top: calc(100% + 40px);
  left: 50%;
  width: max-content;
  max-width: 90vw;
  margin: 0;
  transform: translateX(-50%);
  font-size: clamp(48px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.055em;
  padding-bottom: 8px;
}

.facility-gradient-text {
  background: linear-gradient(to right, #09062e, #e3b614);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #e3b614;
}

.banner-facility {
  display: inline-block;
  padding: 25px 25px 25px 25px;
  margin-top: 10px;
  color: #09062e;
  background: #e3b614;
  font: 700 30px/1 sans-serif;

  clip-path: polygon(
  0 0,
  100% 8%,
  100% 100%,
  0 85%
  );
}

/* Contact hero: tablet layout */
@media (max-width: 1050px) {
  .facility-hero {
    min-height: 500px;
  }

  .facility-hero__content h1 {
    font-size: clamp(42px, 7vw, 56px);
  }
}

/* Contact hero: mobile layout */
@media (max-width: 600px) {
  .facility-hero {
    min-height: 430px;
    margin: 0;
    border-radius: 0;
  }

  .facility-hero__shade {
    position: static;
    width: 100%;
    min-width: 0;
  }

  .facility-hero__content {
    width: 100%;
    min-width: 0;
    padding: 90px 18px 40px;
  }

  .facility-hero__content h1 {
    position: static;
    width: auto;
    max-width: 100%;
    margin: 26px auto 0;
    padding: 0;
    transform: none;
    font-size: clamp(36px, 11vw, 44px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .banner-facility {
    margin: 0;
    padding: 18px 20px;
    font-size: 24px;
  }
}

.facility-view {
  --fv-navy: #09062e;
  --fv-blue: #2239a8;
  --fv-gold: #e3b614;
  --fv-lavender: #eeebfb;
  --fv-muted: #59596c;

  color: var(--fv-navy);
  background: var(--paper, #f9f8ff);
  font-family: "DM Sans", sans-serif;
}

.facility-view *,
.facility-view *::before,
.facility-view *::after {
  box-sizing: border-box;
}

.facility-view [id] {
  scroll-margin-top: 130px;
}

.facility-view__container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

/* Shared headings and spacing */

.facility-view__section {
  padding-block: 90px;
}

.facility-view__heading {
  max-width: 790px;
  margin: 0 auto 60px;
  text-align: center;
}

.facility-view__eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--fv-blue);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.facility-view h2 {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

.facility-view h3 {
    font-weight: 200;
    letter-spacing: -0.015em;
    line-height: 1.5;
    padding-bottom: 35px;
}

.facility-view__heading p {
  max-width: 640px;
  margin: 24px auto 0;
  color: var(--fv-muted);
  font-size: 18px;
  line-height: 1.75;
}

/* Reference-inspired four-column feature row */

.facility-view__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.facility-view__card {
  min-width: 0;
  text-align: center;
}

.facility-view__icon {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  color: var(--fv-blue);
}

.facility-view__card h3 {
  margin: 0 0 16px;
  color: var(--fv-blue);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.facility-view__card p {
  margin: 0;
  color: var(--fv-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Full-width lavender statement */

.facility-view__statement {
  padding-block: 90px;
  background: var(--fv-lavender);
  text-align: center;
}

.facility-view__statement h2 {
  max-width: 850px;
  margin-inline: auto;
}

.facility-view__statement p {
  max-width: 690px;
  margin: 30px auto;
  color: var(--fv-muted);
  font-size: 18px;
  line-height: 1.85;
}

.facility-view__signature {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.facility-view__signature-line {
  width: 64px;
  height: 3px;
  margin-bottom: 12px;
  background: var(--fv-gold);
}

.facility-view__signature strong {
  color: var(--fv-blue);
  font-size: 20px;
  font-weight: 600;
}

.facility-view__signature > span:last-child {
  color: var(--fv-muted);
  font-size: 15px;
}

/* Facility image and copy */

.facility-view__split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.facility-view__photo {
  margin: 0;
  overflow: hidden;
  background: var(--fv-lavender);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.facility-view__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.facility-view__copy {
  min-width: 0;
}

.facility-view__copy h3 {
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.facility-view__copy p {
  margin: 0 0 10px;
  color: var(--fv-muted);
  font-size: 17px;
  line-height: 1.8;
}

.facility-view__list {
  display: grid;
  gap: 14px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.facility-view__list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.6;
}

.facility-view__list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--fv-gold);
  border-radius: 50%;
}

/* Buttons */

.facility-view__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 100%;
  min-height: 52px;
  padding: 14px 26px;
  color: #fff;
  background: var(--fv-navy);
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 20px;
  font-weight: 200;
  line-height: 1.4;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.facility-view__button span {
  flex-shrink: 0;
  font-size: 23px;
}

.facility-view__button:hover {
  color: var(--fv-navy);
  background: var(--fv-gold);
  transform: translateY(-2px);
}

.facility-view__button:focus-visible {
  outline: 3px solid var(--fv-blue);
  outline-offset: 5px;
}

/* Contact invitation */

.facility-view__contact {
  padding-block: 70px;
  color: #fff;
  background: var(--fv-navy);
}

.facility-view__contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.facility-view__contact-inner > div {
  max-width: 740px;
}

.facility-view__contact .facility-view__eyebrow {
  color: var(--fv-gold);
}

.facility-view__contact p {
  max-width: 600px;
  margin: 22px 0 0;
  color: #dedceb;
  font-size: 18px;
  line-height: 1.75;
}

.facility-view__button--gold {
  flex-shrink: 0;
  color: var(--fv-navy);
  background: var(--fv-gold);
}

.facility-view__button--gold:hover {
  color: var(--fv-navy);
  background: #fff;
}

.facility-view__contact .facility-view__button:focus-visible {
  outline-color: var(--fv-gold);
}

/* Tablet */

@media (max-width: 1050px) {
  .facility-view__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 32px;
  }

  .facility-view__split {
    grid-template-columns: minmax(0, 1fr);
  }

  .facility-view__contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile */

@media (max-width: 600px) {
  .facility-view__container {
    width: calc(100% - 36px);
  }

  .facility-view__hero {
    min-height: 420px;
    margin: 0;
    padding: 140px 18px 56px;
    border-radius: 0;
  }

  .facility-view__hero .banner {
    padding: 18px 20px;
    font-size: 24px;
  }

  .facility-view__hero h1 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .facility-view__section,
  .facility-view__statement {
    padding-block: 60px;
  }

  .facility-view__heading {
    margin-bottom: 40px;
  }

  .facility-view__heading p,
  .facility-view__statement p,
  .facility-view__contact p {
    font-size: 16px;
  }

  .facility-view__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .facility-view__card {
    max-width: 340px;
    margin-inline: auto;
  }

  .facility-view__photo {
    border-radius: 16px;
  }

  .facility-view__contact {
    padding-block: 56px;
  }

  .facility-view__button {
    gap: 16px;
    padding-inline: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .facility-view__button {
    transition: none;
  }

  .facility-view__button:hover {
    transform: none;
  }
}

.facility-view__quote {
  position: relative;
  padding: 24px 56px;
}

.facility-view__quote h3 {
  margin: 0;
}

.facility-view__quote-mark {
  position: absolute;
  color: var(--fv-gold);
  font-family: Georgia, serif;
  font-size: 96px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.facility-view__quote-mark--before {
  top: -12px;
  left: 0;
}

.facility-view__quote-mark--after {
  right: 0;
  bottom: -28px;
}

@media (max-width: 600px) {
  .facility-view__quote {
    padding: 32px 24px;
  }

  .facility-view__quote-mark {
    font-size: 64px;
  }

  .facility-view__quote-mark--open {
    top: -8px;
  }

  .facility-view__quote-mark--close {
    bottom: -20px;
  }
}

/* Map section in Facility page */

.map-section {
  width: 100%;
  min-height: 650px;
  padding-top: 60px;
  padding-bottom: 80px;
  padding-left: 10px;
  padding-right: 24px;
  color: #09062e;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("https://images.unsplash.com/photo-1516738901171-8eb4fc13bd20?q=80&w=1740&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.facility-map-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(9, 6, 46, 0.08);
  border-radius: 24px;
  /* background: #e3b614 */
  box-shadow: 0 20px 50px rgba(9, 6, 46, 0.1);
}

.facility-map {
  display: block;
  width: 100%;
  height: 500px;
  border: 0;
}

.facility-map-card__header {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 12px 24px;
  color: #09062e;
  background: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .map-section {
    padding: 56px 0;
  }

  .facility-map {
    height: 360px;
  }
}
/* Bootstrap mobile navigation in Header */
@media (min-width: 1051px) {
  .site-header .main-nav {
    display: flex;
  }
}

@media (max-width: 1050px) {
  .site-header .brand {
    min-width: 0;
    font-size: clamp(14px, 3vw, 21px);
  }

  .site-header .brand span {
    overflow-wrap: anywhere;
  }

  .site-header .menu-button {
    display: block;
    flex-shrink: 0;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #2239a8;
    color: #fff;
    cursor: pointer;
  }

  .site-header .menu-button[aria-expanded="true"] {
    background: #e3b614;;
    color: #09062e;
  }

  .site-header .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    margin: 0;
    background: #f9f8ff;
    border-radius: 13px;
    box-shadow: var(--shadow);
  }

  .site-header .main-nav.collapse:not(.show) {
    display: none;
  }

  .site-header .main-nav.show,
  .site-header .main-nav.collapsing {
    display: block;
  }

  .site-header .main-nav.show {
    max-height: calc(100dvh - 130px);
    overflow-y: auto;
  }

  .site-header .main-nav a {
    display: block;
    margin: 8px;
    padding: 12px 16px;
    color: #09062e;
    text-decoration: none;
  }

  .site-header .main-nav a::after {
    display: none;
  }

  .site-header .main-nav a:hover {
    background: #eeebfb;
    color: #2239a8;
  }

  .site-header .main-nav a.nav-active {
    background: #2239a8;
    color: #fff;
  }
}

.site-header .menu-button:focus-visible,
.site-header .main-nav a:focus-visible {
  outline: 3px solid #e3b614;
  outline-offset: 2px;
}

/* Products Page */

.product-hero {
  min-height: 400px;
  margin: 8px;
  position: relative;
  display: flex;
  background: url("https://images.unsplash.com/photo-1629198688000-71f23e745b6e?q=80&w=1160&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover;
  border-radius: 18px;
  overflow: hidden;
}

.product-hero__shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.product-hero__content {
  position: relative;
  transform: none;
  text-align: center;
}

.product-hero__content h1 {
  margin-top: 24px;
  position: absolute;
  top: calc(100% + 40px);
  left: 50%;
  width: max-content;
  max-width: 90vw;
  margin: 0;
  transform: translateX(-50%);
  font-size: clamp(48px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.055em;
  padding-bottom: 8px;
}

.product-gradient-text {
  background: linear-gradient(to right, #09062e, #2239a8);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #e3b614;
}

.banner-product {
  display: inline-block;
  padding: 25px 25px 25px 25px;
  margin-top: 10px;
  color: #fff;
  background: #2239a8;
  font: 700 30px/1 sans-serif;

  /* top-left, top-right, bottom-right, bottom-left */
  clip-path: polygon(
  0 0,
  100% 8%,
  100% 100%,
  0 85%
  );
}

/* styles.css — append after the existing styles. */

.product-showcase {
  display: grid;
  gap: 40px;
  width: min(1120px, calc(100% - 48px));
  margin: 80px auto;
}

.product-container {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  min-height: 480px;
  overflow: hidden;
  background: #1c6093;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.product-container__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
}

.product-container__eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-container__title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.product-container__description {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
}

.product-container__categories {
  width: 100%;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 14px;
  line-height: 1.8;
}

.product-container__media {
  position: relative;
  min-width: 0;
  min-height: 480px;
  overflow: hidden;
  background: #eeebfb;
}

.product-group {
  display: grid;
  gap: 20px;
}

.product-summary {
  min-width: 0;
}

.product-summary h2 {
  margin: 0 0 20px;
  color: #09062e;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.product-summary p {
  margin: 0;
  color: #59596c;
  font-size: 18px;
  line-height: 1.75;
}

.product-summary hr {
  margin: 36px 0 0;
  border: 0;
  border-top: 1px solid rgba(9, 6, 46, 0.2);
  opacity: 1;
}

.product-container__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Tablet */

@media (max-width: 1050px) {
  .product-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 420px;
  }

  .product-container__content {
    padding: 32px;
  }

  .product-container__media {
    min-height: 420px;
  }
}

/* Fill the product media panel with the carousel. */
.product-container__media > .carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-container__media .carousel-inner,
.product-container__media .carousel-item {
  height: 100%;
}

.product-container__media .carousel-item > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-container__media .carousel-caption h5 {
  color: #1c6093; /* Gold heading */
}

.product-container__media .carousel-caption p {
  color: #1c6093; /* White paragraph */
}

/* Mobile */

@media (max-width: 600px) {
  .product-showcase {
    width: calc(100% - 36px);
    margin: 56px auto;
    gap: 28px;
  }

  .product-container {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    border-radius: 14px;
  }

  .product-container__content {
    padding: 32px 24px;
    gap: 20px;
  }

  .product-container__title {
    font-size: 36px;
  }

  .product-container__description {
    font-size: 16px;
  }

  .product-container__media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .product-summary p {
    font-size: 16px;
  }

  .product-summary hr {
    margin-top: 28px;
  }
}

.product-metric__number {
  font-family: inherit;
  font-size: 80px;
  font-weight: 300;
  color: #fff;
}

.product-metric {
  display: flex;
  align-items: baseline;
  gap: 12px;
  max-width: 100%;
}

.product-metric .product-metric__number {
  flex: 0 0 3ch;
  flex-shrink: 0;
  font-family: inherit;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  text-align: left;
}

.product-metric .product-metric__label {
  color: #e3b614;
  min-width: 0;
  margin: 0;
  font-family: "Caveat";
  font-size: 35px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;
  overflow-wrap: break-word;
}

/* Keep the metric label intact when the mobile card is too narrow. */
@media (max-width: 600px) {
  .product-metric {
    flex-wrap: wrap;
    row-gap: 0;
  }

  .product-metric .product-metric__label {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

/* Services page */

.service-hero {
  min-height: 400px;
  margin: 8px;
  position: relative;
  display: flex;
  background: url("https://images.unsplash.com/photo-1780733062424-8c8797049acb?q=80&w=1742&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover;
  border-radius: 18px;
  overflow: hidden;
}

.service-hero__shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.service-hero__content {
  position: relative;
  transform: none;
  text-align: center;
}

.service-hero__content h1 {
  margin-top: 24px;
  position: absolute;
  top: calc(100% + 40px);
  left: 50%;
  width: max-content;
  max-width: 90vw;
  margin: 0;
  transform: translateX(-50%);
  font-size: clamp(48px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.055em;
  padding-bottom: 8px;
}

.service-gradient-text {
  background: linear-gradient(to right, #e3b614, white);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px #2239a8;
}

.banner-service {
  display: inline-block;
  padding: 25px 25px 25px 25px;
  margin-top: 10px;
  color: #09062e;
  background: #fff;
  font: 700 30px/1 sans-serif;

  /* top-left, top-right, bottom-right, bottom-left */
  clip-path: polygon(
  0 0,
  100% 8%,
  100% 100%,
  0 85%
  );
}

/* Service hero: tablet layout */
@media (max-width: 1050px) {
  .service-hero {
    min-height: 500px;
  }

  .service-hero__content h1 {
    font-size: clamp(42px, 7vw, 56px);
  }
}

/* Service hero: mobile layout */
@media (max-width: 600px) {
  .service-hero {
    min-height: 430px;
    margin: 0;
    border-radius: 0;
  }

  .service-hero__shade {
    position: static;
    width: 100%;
    min-width: 0;
  }

  .service-hero__content {
    width: 100%;
    min-width: 0;
    padding: 90px 18px 40px;
  }

  .service-hero__content h1 {
    position: static;
    width: auto;
    max-width: 100%;
    margin: 26px auto 0;
    padding: 0;
    transform: none;
    font-size: clamp(36px, 11vw, 44px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .banner-service {
    margin: 0;
    padding: 18px 20px;
    font-size: 24px;
  }
}

/* public/css/styles.css — proposed additions.
   Reuses the existing service hero styles.
   Scoped selectors avoid the homepage's .service-card styles. */

.services-overview {
  --services-heading: #09062e;
  --services-accent: #2239a8;
  --services-muted: #59596c;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 80px 0;
  color: var(--services-heading);
  background: var(--paper, #f9f8ff);
}

/* Soft curved background inspired by the reference. */
.services-overview::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -120px;
  right: -150px;
  width: clamp(380px, 52vw, 760px);
  height: 700px;
  border-radius: 48% 0 0 72%;
  background: linear-gradient(
    145deg,
    rgba(222, 215, 253, 0.7),
    rgba(218, 236, 254, 0.85)
  );
  transform: rotate(-14deg);
  pointer-events: none;
}

.services-overview::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -100px;
  left: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(227, 182, 20, 0.2);
  pointer-events: none;
}

.services-overview__container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.services-overview__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--services-accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.services-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.services-intro__content {
  min-width: 0;
}

.services-intro__content h2 {
  max-width: 520px;
  margin: 0;
  color: #09062e;
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.services-intro__content p {
  max-width: 490px;
  margin: 24px 0 0;
  color: var(--services-muted);
  font-size: 16px;
  line-height: 1.8;
}

.services-intro__media {
  width: 100%;
  max-width: 520px;
  justify-self: center;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #eeebfb;
}

.services-intro__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.services-offering {
  margin-top: clamp(64px, 8vw, 110px);
}

.services-offering__heading {
  margin-bottom: 36px;
}

.services-offering__heading h2 {
  margin: 0;
  color: var(--services-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.services-offering__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.services-offering__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
  min-height: 156px;
  padding: 28px;
  border: 2px solid rgba(34, 57, 168, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 3px 12px rgba(7, 20, 82, 0.04);
  transition:
    transform 250ms ease,
    border-color 250ms ease,
    background-color 250ms ease,
    box-shadow 250ms ease;
}

.services-offering__icon {
  display: block;
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  object-fit: contain;
  color: var(--services-accent);
  transition: transform 250ms ease;
}

/* Hover effects for devices with a mouse or similar pointer. */
@media (hover: hover) and (pointer: fine) {
  .services-offering__card:hover {
    transform: translateY(-6px);
    border-color: #2239a8;
    background-color: #fff;
    box-shadow: 0 14px 30px rgba(34, 57, 168, 0.15);
  }

  .services-offering__card:hover .services-offering__icon {
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-offering__card,
  .services-offering__icon {
    transition: none;
  }

  .services-offering__card:hover,
  .services-offering__card:hover .services-offering__icon {
    transform: none;
  }
}

.services-offering__card h3 {
  margin: 0;
  padding: 0;
  color: #22399a;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
}

.services-offering__body {
  min-width: 0;
}

.services-offering__body p {
  margin: 12px 0 0;
  color: var(--services-muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Tablet: follows the project's existing breakpoint. */
@media (max-width: 1050px) {
  .services-overview {
    padding-block: 64px;
  }

  .services-intro {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }

  .services-offering__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-offering__card {
    min-height: 140px;
    padding: 24px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .services-overview {
    padding-block: 56px;
  }

  .services-overview::before {
    top: -80px;
    right: -240px;
    height: 580px;
    opacity: 0.7;
  }

  .services-overview__container {
    width: calc(100% - 36px);
  }

  .services-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .services-intro__content h2 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .services-intro__content p {
    margin-top: 18px;
  }

  .services-intro__media {
    border-radius: 18px;
  }

  .services-offering {
    margin-top: 56px;
  }

  .services-offering__heading {
    margin-bottom: 26px;
  }

  .services-offering__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .services-offering__card {
    min-height: 112px;
    gap: 22px;
    padding: 22px;
    border-radius: 14px;
  }

  .services-offering__icon {
    width: 64px;
    height: 64px;
  }

  .services-offering__card h3 {
    font-size: 20px;
  }
}
