@charset "UTF-8";
*,
*::after,
*::before {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

html {
  /* font-size: 10px; */
  /* 10/16 = 0.625 => 62.5% */
  font-size: 62.5%; /*(Percentage of users browser font-size setting)*/
  scroll-behavior: smooth;
}

body {
  font-family: "Merriweather", "Alegreya", "Lato", sans-serif;
  line-height: 1.7;
  font-weight: 400;
  color: #555;
  box-sizing: border-box;
}

/* Offset anchor scroll for fixed navigation bar */
section[id] {
  scroll-margin-top: clamp(9rem, 12vh, 12rem);
}

@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-10rem);
  }
  80% {
    transform: translateX(2rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes moveInRight {
  0% {
    opacity: 0;
    transform: translateX(10rem);
  }
  80% {
    transform: translateX(-2rem);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(3rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.heading-primary {
  width: 110rem;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  backface-visibility: hidden;
  margin-top: 6rem;
}
.heading-primary--main-1 {
  display: block;
  font-size: 5rem;
  font-weight: 400;
  letter-spacing: 0.5rem;
  font-size: 59px;
  color: #150e56 !important;
  line-height: 1.1em;
  font-weight: 600;
  animation-name: moveInLeft;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}
.heading-primary--main-2 {
  display: inline-block;
  font-size: 5rem;
  font-weight: 400;
  letter-spacing: 0.5rem;
  font-size: 59px;
  color: #7b113a !important;
  line-height: 1.1em;
  font-weight: 600;
  animation-name: moveInRight;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}
.heading-primary--main-3 {
  display: inline-block;
  font-size: 5rem;
  font-weight: 400;
  letter-spacing: 0.5rem;
  font-size: 59px;
  color: #150e56 !important;
  line-height: 2.1em;
  font-weight: 600;
  animation-name: moveInRight;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}
.heading-primary--sub {
  margin-top: 144px;
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.7rem;
}

.quote {
  font-size: 2rem;
  margin-top: 13rem;
  margin-bottom: 3rem;
  color: #efefef;
  letter-spacing: 1.5px;
}
.quote--1, .quote--2 {
  display: block;
}
.quote .doctor-name {
  font-weight: 900;
  font-style: italic;
  color: #150e56;
  font-size: 1.8rem;
}

.quote-back {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 4rem 6rem;
  display: inline-block;
}

.heading-about {
  font-size: 3.5rem;
  text-transform: uppercase;
  font-size: 700;
  display: inline-block;
  background-image: linear-gradient(to right, rgb(255, 116, 128), rgb(0, 93, 174));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  transition: all 0.2s;
}
.heading-about:hover {
  text-shadow: 0.5rem 1rem 2rem rgba(109, 118, 126, 0.4);
}

.heading-conditions-treated {
  font-size: 3.5rem;
  text-transform: uppercase;
  font-size: 700;
  display: inline-block;
  background-image: linear-gradient(to right, rgb(255, 116, 128), rgb(0, 93, 174));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  transition: all 0.2s;
}
.heading-conditions-treated:hover {
  text-shadow: 0.5rem 1rem 2rem rgba(109, 118, 126, 0.4);
}

.heading-services {
  font-size: 3.5rem;
  text-transform: uppercase;
  font-size: 700;
  display: inline-block;
  background-image: linear-gradient(to right, rgb(255, 116, 128), rgb(0, 93, 174));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  transition: all 0.2s;
}
.heading-services:hover {
  text-shadow: 0.5rem 1rem 2rem rgba(109, 118, 126, 0.4);
}

.heading-stories {
  font-size: 3.5rem;
  text-transform: uppercase;
  font-size: 700;
  display: inline-block;
  background-image: linear-gradient(to right, rgb(255, 116, 128), rgb(0, 93, 174));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  transition: all 0.2s;
}
.heading-stories:hover {
  text-shadow: 0.5rem 1rem 2rem rgba(109, 118, 126, 0.4);
}

.heading-location {
  font-size: 3.5rem;
  text-transform: uppercase;
  font-size: 700;
  display: inline-block;
  background-image: linear-gradient(to right, rgb(255, 116, 128), rgb(0, 93, 174));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  transition: all 0.2s;
}
.heading-location:hover {
  text-shadow: 0.5rem 1rem 2rem rgba(109, 118, 126, 0.4);
}

.heading-endorsement {
  font-size: 3.5rem;
  text-transform: uppercase;
  font-size: 700;
  display: inline-block;
  background-image: linear-gradient(to right, rgb(255, 116, 128), rgb(0, 93, 174));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  transition: all 0.2s;
}
.heading-endorsement:hover {
  text-shadow: 0.5rem 1rem 2rem rgba(109, 118, 126, 0.4);
}

.heading-tertiary {
  font-size: 1.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #555;
}

.paragraph {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: #555;
  line-height: 1.7;
}

.u-center-text {
  text-align: center !important;
}

.u-margin-bottom-8 {
  margin-bottom: 8rem !important;
}

.u-margin-bottom-1 {
  margin-bottom: 1rem !important;
}

.u-margin-bottom-small {
  margin-bottom: 1.5rem !important;
}

/* Background video layout for section-stories */
.bg-video {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.bg-video__content {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bg-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0.15) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Ensure story content appears above video */
.section-stories .row,
.section-stories .story,
.section-stories .story__text,
.section-stories .u-center-text {
  position: relative;
  z-index: 2;
}

.btn--appointment {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: auto;
  margin-bottom: 4rem;
  align-self: center;
}
.btn:link, .btn:visited {
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.5rem 3rem;
  display: inline-block;
  border-radius: 10rem;
  transition: all 0.2s;
  position: relative;
}
.btn::after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 10rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all 0.4s;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.4);
}
.btn:hover::after {
  transform: scaleX(1.4) scaleY(1.5);
  opacity: 0;
}
.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
}
.btn--white {
  background-color: #fff;
  color: #777;
}
.btn--white::after {
  background-color: #fff;
}
.btn--animated {
  animation: moveInBottom 0.5s ease-out 0.7s;
  animation-fill-mode: backwards;
}

.btn--learn-more {
  font-size: 1.4rem;
  font-weight: 500;
  text-transform: titlecase;
  text-decoration: none;
  padding: 1rem 2rem;
  display: inline-block;
  border-radius: 0.5rem;
  border: 1px solid #06afbb;
  color: #06afbb;
  background-color: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.2s;
  z-index: 1;
}
.btn--learn-more::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #06afbb;
  z-index: -1;
  transition: width 0.4s;
}
.btn--learn-more:hover {
  color: #fff;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.4);
}
.btn--learn-more:hover::after {
  width: 100%;
}
.btn--learn-more:active {
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
}
.btn--primary {
  background: #1976d2;
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 2.5rem;
  padding: 1.2rem 2.8rem;
  font-size: 1.8rem;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  outline: none;
  position: relative;
  z-index: 11;
  margin-left: auto;
  transition: background 0.2s;
}
.btn--primary:hover {
  background: #d32f2f;
  color: #fff;
}

.composition {
  position: relative;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  min-height: 42rem;
}
.composition__photo {
  display: block;
  max-width: 100%;
  height: auto;
  width: 55%;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
  border-radius: 2px;
  position: absolute;
  transition: all 0.2s;
  outline-offset: 2rem;
  cursor: pointer;
}
.composition__photo--p1 {
  top: -3rem;
  left: 5rem;
  width: 62% !important;
}
.composition__photo--p2 {
  top: 4rem;
  right: 0;
  width: 65% !important;
}
.composition__photo--p3 {
  top: 20rem;
  left: 20%;
}
.composition__photo:hover {
  outline: 1.5rem solid #06afbb;
  box-shadow: 0 2.5rem 4rem rgba(0, 0, 0, 0.5);
  transform: translateY(-1.5rem) rotate(-1deg) scale(1.05);
  z-index: 10;
  transition: all 0.3s;
}
.composition:hover .composition__photo:not(:hover) {
  transform: scale(0.95);
  filter: blur(1px);
  opacity: 0.7;
}

@media (max-width: 900px) {
  .composition {
    min-height: auto;
    display: grid;
    gap: 1.6rem;
  }
  .composition__photo {
    position: static;
    width: 100% !important;
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.25);
  }
}
/* Utility class for one-row, five-column feature boxes */
.row--feature-all {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: nowrap;
  width: 100%;
  -webkit-transform: skewY(7deg);
  transform: skewY(7deg);
}

.row--feature-all > .col-1-of-5 {
  flex: 0 0 calc(20% - 2rem);
  max-width: calc(20% - 2rem);
  min-width: 0;
  width: 100%;
  display: flex;
}

/* Utility class to center feature boxes in second row */
.row--feature-center {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.row--feature-center > .col-1-of-2 {
  flex: 0 1 40rem;
  max-width: 40rem;
  min-width: 28rem;
  width: 100%;
}

.feature-box {
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  padding: 2.5rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  width: 100%;
  min-width: 24rem;
  max-width: 0;
  min-height: 37rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.feature-box__icon {
  height: 6rem;
  margin-bottom: 0.5rem;
  background-image: linear-gradient(to right, rgb(173, 181, 189), rgb(109, 118, 126));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature-box:hover {
  transform: translateY(-1.5rem) scale(1.03);
  box-shadow: 0 2.5rem 4rem rgba(0, 0, 0, 0.2);
}
.feature-box__text {
  margin-bottom: 1.5rem;
  flex: 1 1 auto;
}
.feature-box .btn--learn-more {
  margin-top: auto;
  margin-bottom: 1rem;
}

@media (max-width: 1500px) {
  .row--feature-all {
    flex-wrap: wrap;
    justify-content: center;
  }
  .col-1-of-5 {
    flex: 1 1 30rem;
    max-width: 34rem;
  }
}
@media (max-width: 700px) {
  .col-1-of-5 {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.conditions-box {
  flex: 1 1 0;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0, 180, 255, 0.2);
  font-size: 1.7rem;
  color: #555;
  min-width: 0;
  max-width: none;
  height: 400px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease;
}
.conditions-box:hover {
  box-shadow: 0 24px 64px 0 rgba(0, 180, 255, 0.38), 0 4px 32px 0 rgba(0, 180, 255, 0.22);
}
.conditions-box__text {
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  padding: 0 20px;
  letter-spacing: 1.2px;
}
.conditions-box__text span {
  display: block;
  padding: 0.3rem 0;
  margin: 0 0 0.2rem 0;
  width: 100%;
  transition: color 0.18s cubic-bezier(0.4, 0, 0.2, 1), font-weight 0.18s cubic-bezier(0.4, 0, 0.2, 1), transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.conditions-box__text span:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.conditions-box__text span:hover {
  color: #ffb347;
  font-weight: 700;
  transform: scale(1.08);
  box-shadow: 0 8px 24px 0 rgba(0, 180, 255, 0.18), 0 2px 8px 0 rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}
.conditions-box__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #00eeff;
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.conditions-box__box1, .conditions-box__box2, .conditions-box__box3, .conditions-box__box4, .conditions-box__box5 {
  background-size: cover;
  background-position: top;
  height: 100%;
  border-radius: 10px;
  padding: 3rem 3rem;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: visible;
}
.conditions-box__box1 {
  background-image: linear-gradient(to right bottom, rgba(0, 0, 0, 0.63), rgba(0, 0, 0, 0.74)), url(../image/chest-pain.jpg);
}
.conditions-box__box2 {
  background-image: linear-gradient(to right bottom, rgba(46, 46, 46, 0.65), rgba(109, 118, 126, 0.8)), url(../image/heart.jpg);
}
.conditions-box__box3 {
  background-image: linear-gradient(to right bottom, rgba(26, 26, 26, 0.89), rgba(70, 72, 11, 0.85)), url(../image/ECG.jpg);
}
.conditions-box__box4 {
  background-image: linear-gradient(to right bottom, rgba(28, 28, 28, 0.58), rgba(23, 28, 2, 0.75)), url(../image/hypertension.jpg);
}
.conditions-box__box5 {
  background-image: linear-gradient(to right bottom, rgba(104, 110, 117, 0.37), rgba(32, 63, 95, 0.65)), url(../image/fatigue.jpg);
}

/* 🔹 Optional: Edge glows (like POC) */
.glow-edge {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 10px;
  z-index: 0;
}

.glow-edge.top {
  top: 0;
  left: 0;
  height: 0;
  width: 120px;
  box-shadow: 0 -2px 16px 4px #00fff7, 0 -2px 10px 2px #00eeff;
}

.glow-edge.bottom {
  bottom: 0;
  left: 0;
  height: 0;
  width: 120px;
  box-shadow: 0 2px 16px 4px #00fff7, 0 2px 10px 2px #00eeff;
}

.glow-edge.left {
  left: 0;
  top: 0;
  width: 0;
  height: 120px;
  box-shadow: -2px 0 16px 4px #00fff7, -2px 0 10px 2px #00eeff;
}

.glow-edge.right {
  right: 0;
  top: 0;
  width: 0;
  height: 120px;
  box-shadow: 2px 0 16px 4px #00fff7, 2px 0 10px 2px #00eeff;
}

.card {
  perspective: 150rem;
  -moz-perspective: 150rem;
  position: relative;
  height: 52rem;
}
.card__side {
  height: 52rem;
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  backface-visibility: hidden;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.15);
}
.card__side--front {
  background-color: #fff;
}
.card__side--back {
  transform: rotateY(180deg);
  padding: 3rem;
}
.card__side--back-1 {
  background-image: linear-gradient(to right bottom, #ffdf8a, #ff7730);
}
.card__side--back-2 {
  background-image: linear-gradient(to right bottom, #ffebee, #ff3246);
}
.card__side--back-3 {
  background-image: linear-gradient(to right bottom, #e3f2fd, #61b7ff);
}
.card__side--back-4 {
  background-image: linear-gradient(to right bottom, #e0f7fa, #28c4d6);
}
.card__side--back-5 {
  background-image: linear-gradient(to right bottom, #b3ffa6, #28b485);
}
.card__side--back-6 {
  background-image: linear-gradient(to right bottom, #e8eaf6, #3446b7);
}
.card__side--back-7 {
  background-image: linear-gradient(to right bottom, #ff6f61, #d32f2f);
}
.card__side--back-8 {
  background-image: linear-gradient(to right bottom, #e0f7fa, #28c4d6);
}
.card:hover .card__side--front {
  transform: rotateY(-180deg);
}
.card:hover .card__side--back {
  transform: rotateY(0);
}
.card__image {
  background-size: cover;
  height: 19rem;
  background-blend-mode: soft-light;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.card__image--1 {
  background-image: linear-gradient(to right bottom, #ffdf8a, #ff7730), url(../image/picture-1.jpg);
}
.card__image--2 {
  background-image: linear-gradient(to right bottom, #ffebee, #ff3246), url(../image/pic-2.jpg);
}
.card__image--3 {
  background-image: linear-gradient(to right bottom, #e3f2fd, #61b7ff), url(../image/picture-3.jpg);
}
.card__image--4 {
  background-image: linear-gradient(to right bottom, #e0f7fa, #28c4d6), url(../image/pic-4.jpg);
}
.card__image--5 {
  background-image: linear-gradient(to right bottom, #b3ffa6, #28b485), url(../image/picture-5.jpg);
}
.card__image--6 {
  background-image: linear-gradient(to right bottom, #e8eaf6, #3446b7), url(../image/picture-6.jpg);
}
.card__image--7 {
  background-image: linear-gradient(to right bottom, #ff6f61, #d32f2f), url(../image/picture-7.jpg);
}
.card__image--8 {
  background-image: linear-gradient(to right bottom, #e0f7fa, #28c4d6), url(../image/picture-8.jpg);
}
.card__heading {
  font-size: 1.8rem;
  font-weight: 300;
  text-transform: uppercase;
  text-align: right;
  position: absolute;
  top: 12rem;
  right: 0;
  color: #fff;
  margin: 2rem 1rem 1rem 1rem;
  width: 80%;
}
.card__heading-span {
  padding: 1rem 1.1rem;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.card__heading-span--1 {
  background-image: linear-gradient(to right bottom, #ffdf8a, #ff7730);
}
.card__heading-span--2 {
  background-image: linear-gradient(to right bottom, #ffebee, #ff3246);
}
.card__heading-span--3 {
  background-image: linear-gradient(to right bottom, #e3f2fd, #61b7ff);
}
.card__heading-span--4 {
  background-image: linear-gradient(to right bottom, #e0f7fa, #28c4d6);
}
.card__heading-span--5 {
  background-image: linear-gradient(to right bottom, #b3ffa6, #28b485);
}
.card__heading-span--6 {
  background-image: linear-gradient(to right bottom, #e8eaf6, #3446b7);
}
.card__heading-span--7 {
  background-image: linear-gradient(to right bottom, #ff6f61, #d32f2f);
}
.card__heading-span--8 {
  background-image: linear-gradient(to right bottom, #e0f7fa, #28c4d6);
}
.card__details {
  padding-top: 5rem !important;
  padding: 1.5rem;
}
.card__details ul {
  list-style: none;
  margin: 0 auto;
  font-size: 1.2rem;
}
.card__details ul li {
  text-align: center;
  color: #4b4b4b;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid #e8e8e8;
}
.card__details ul li:last-child {
  border: none;
}
.card__moredetails {
  text-align: center;
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 5rem;
  margin-bottom: 4rem;
  align-self: center;
  height: 25rem;
}
.card__learnmore {
  padding-top: 3rem;
  text-align: center;
}
.card__learnmore a.btn--learn-more {
  color: #fff;
  border: 1px solid #fff;
}
.card__learnmore a.btn--learn-more:hover {
  border: 1px solid #06afbb;
  color: #fff;
}

.section-location {
  position: relative;
  padding: 8rem 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.705), rgba(255, 255, 255, 0.726)), url("../image/bg-img2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-location .location {
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  max-width: 114rem;
  margin: 0 auto;
}
.section-location .location .location__address-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3.2rem;
  padding: 2.4rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0.8rem;
  box-shadow: 0 6px 24px rgba(8, 15, 20, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.03);
  flex-wrap: wrap;
}
.section-location .location .location__address-wrapper .location__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 180px;
  gap: 0.6rem;
}
.section-location .location .location__address-wrapper .location__line .location__icon {
  width: 3.2rem;
  height: 3.2rem;
  color: #06afbb;
}
.section-location .location .location__address-wrapper .location__line .location__label {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #06afbb;
}
.section-location .location .location__address-wrapper .location__line .location__text {
  font-size: 1.4rem;
  line-height: 1.4;
  color: #4c4c4c;
}
.section-location .location .location__address-wrapper .location__actions {
  margin-top: 2.5rem;
  flex-shrink: 0;
}
.section-location .location .location__address-wrapper .location__actions a.btn--learn-more {
  display: inline-block;
  padding: 1rem 1.6rem;
  font-size: 1.4rem;
}
.section-location .location .location__map .gmap_canvas {
  width: 100%;
  min-height: 500px;
  border-radius: 0.8rem;
  box-shadow: 0 8px 28px rgba(8, 15, 20, 0.12);
  overflow: hidden;
}
.section-location .location .location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 500px;
  border-radius: 0.6rem;
  border: 0;
}

@media (max-width: 68rem) {
  .section-location .location__address-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .section-location .location__address-wrapper .location__line {
    width: 100%;
    text-align: center;
    margin-bottom: 1.6rem;
  }
  .section-location .location__address-wrapper .location__actions {
    margin-top: 1.6rem;
  }
  .section-location .gmap_canvas iframe {
    min-height: 360px;
  }
}
.location__icon {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  color: #06afbb;
  flex: 0 0 2.4rem;
  align-items: center;
  justify-content: center;
}

.location__address a,
.location__phone a {
  color: #06afbb;
  text-decoration: none;
}
.location__address a:hover,
.location__phone a:hover {
  text-decoration: underline;
}

@media (max-width: 68rem) {
  .section-location {
    padding: 6rem 0;
  }
  .section-location .location__info {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.6rem;
  }
  .section-location .location__line {
    justify-content: center;
  }
  .section-location iframe {
    min-height: 360px;
  }
}
.section-reviews {
  /* reduce top padding so heading appears toward the top of the background image */
  padding: 8rem 0 18rem;
  /* dark gradient at the top to improve heading contrast, layered over the image */
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 30%, rgba(0, 0, 0, 0) 60%), url(../image/service-img-1.jpg);
  background-size: cover;
  -webkit-transform: skewY(-7deg);
  transform: skewY(-7deg);
  margin-top: -10.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Counter-skew inner content so text/headings remain straight */
.section-reviews > .u-center-text,
.section-reviews .row,
.section-reviews .reviews-grid {
  -webkit-transform: skewY(7deg);
  transform: skewY(7deg);
}

/* If headings still look odd, ensure they are inline-block so transform applies correctly */
.section-reviews .heading-reviews {
  display: inline-block;
}

/* absolutely position the heading at the top center of the section and counter-skew it */
.section-reviews > .u-center-text {
  position: absolute;
  top: 6rem;
  left: 50%;
  transform: translateX(-50%) skewY(7deg);
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 0;
}

/* Carousel-specific styles: show one review at a time
   Fix: vertically center slides and ensure container is tall enough so cards aren't clipped. */
.section-reviews .reviews-carousel {
  position: relative;
  overflow: visible; /* allow shadows to show */
  width: 100%;
  padding: 3rem 0 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* row becomes the positioning context for slides */
.section-reviews .reviews-carousel .row.row--feature-all {
  position: relative;
  width: 100%;
  min-height: 200px; /* ensure it's tall enough for the review-card + padding */
}

/* Slides: stack on top of each other, center vertically using top:50% + translateY(-50%) */
.section-reviews .reviews-carousel .row.row--feature-all > [class^=col-] {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  opacity: 0;
  transform: translate(-40%, -50%);
  transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem; /* keep spacing for card */
  box-sizing: border-box;
}

.section-reviews .reviews-carousel .row.row--feature-all > [class^=col-].is-active {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  z-index: 2;
}

/* On wider screens keep slides centered and limited width */
@media (min-width: 768px) {
  .section-reviews .reviews-carousel .row.row--feature-all > [class^=col-] {
    width: 60%;
    left: 50%;
    transform: translate(-40%, -50%);
  }
  .section-reviews .reviews-carousel .row.row--feature-all > [class^=col-].is-active {
    transform: translate(-50%, -50%);
  }
}
/* Improve readability: increase review font sizes and spacing */
.section-reviews .review-quote {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1.05rem; /* larger for readability */
}

.section-reviews .review-author {
  font-weight: 700;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
}

/* -----------------------------
   Stories Carousel (Stable + Animated)
-------------------------------- */
.stories-carousel {
  position: relative;
  max-width: 100rem;
  margin: 0 auto;
  min-height: 28rem;
}

/* Center the content inside each story card both horizontally and
   vertically; make the inner text centered for a tighter, symmetric
   layout. If you prefer body text left-aligned, remove `text-align`. */
.stories-carousel .story {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-stories .row {
  /* Keep rows in document flow so the carousel height grows with
     the active content. Hide inactive rows to prevent overlap. */
  position: relative;
  display: none;
  justify-content: center;
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.section-stories .row .story .story__text {
  font-size: 1.6rem;
}

.section-stories .row.is-active {
  display: block; /* show active row and let it size the carousel */
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Pagination dots */
.stories-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
  /* sit above the background video */
  position: relative;
  z-index: 20;
}

.stories-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  /* Inactive: use near-white with subtle dark border to remain visible on most backgrounds */
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: inline-block; /* ensure visible box model on all browsers */
  opacity: 0.85;
  -webkit-appearance: none; /* remove native button styles on some browsers */
  appearance: none;
  padding: 0;
  margin: 0;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.stories-dot.is-active {
  /* Active: softer gold so it's visible but not overly bright */
  background: rgb(156, 156, 149);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
  transform: scale(1.2);
  border-color: rgba(0, 0, 0, 0.06);
  opacity: 1;
}
.stories-dot:focus {
  outline: 2px solid rgba(156, 156, 149, 0.35);
  outline-offset: 3px;
}

/* Stars (rating) style inside story cards */
.stories-carousel .story-stars {
  display: inline-block;
  margin: 0.6rem 0 1.2rem;
  /* make the stars larger than body text so they stand out */
  font-size: 2.4rem;
  line-height: 1;
  color: #ffcc00; /* warm gold */
  -webkit-text-stroke: 0.02rem rgba(0, 0, 0, 0.04);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

/* slightly smaller on small screens */
@media (max-width: 560px) {
  .stories-carousel .story-stars {
    font-size: 2rem;
    margin-bottom: 0.9rem;
  }
}
/* Center author name and stars inside the story card */
.stories-carousel .story__text > .heading-tertiary {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.stories-carousel .story-stars {
  display: block; /* full-width block so margin auto centers reliably */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-endorsements {
  padding: 8rem 0;
  background-color: #fff;
}

.endorsements__sub {
  font-size: 1.6rem;
  opacity: 0.8;
  margin-top: 0.8rem;
}

.endorsements {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
  margin-top: 60px;
}

/* Gradient fade edges (optional). If you still see edge-cut issues, you can comment this out. */
.endorsements__mask {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Track */
.endorsements__track {
  display: flex;
  align-items: center;
  gap: 0; /* spacing handled by margins */
  width: max-content;
  animation: endorsements-scroll 30s linear infinite;
}

.endorsements__mask:hover .endorsements__track {
  animation-play-state: paused;
}

/* Tile (NO hover movement/shadow change) */
.endorsements__logo {
  flex: 0 0 auto;
  width: 24rem;
  height: 14rem;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Always-visible tile */
  background-color: #fff;
  border-radius: 1.2rem;
  padding: 1.8rem;
  /* ✅ IMPORTANT: don't clip scaled logos */
  overflow: visible;
  /* ✅ Real spacing so scaled logos don't overlap */
  margin: 0 5rem;
  position: relative;
}

/* Base logo */
.endorsements__logo img {
  max-height: 9rem;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  transform-origin: center;
  transition: transform 0.35s ease;
}

/* Default hover scale (logo only) */
.endorsements__logo:hover img {
  transform: scale(1.06);
}

/* ===================== */
/* SPECIAL LOGO SCALING  */
/* ===================== */
/* ABP (scale 2) */
.endorsements__logo img[src*=ABP] {
  transform: scale(2);
  max-width: 140%;
}

.endorsements__logo:hover img[src*=ABP] {
  transform: scale(2.5);
}

/* AAP (scale 2) */
.endorsements__logo img[src*=AAP],
.endorsements__logo img[src*=aap] {
  transform: scale(1);
  max-width: 140%;
}

.endorsements__logo:hover img[src*=AAP],
.endorsements__logo:hover img[src*=aap] {
  transform: scale(1.2);
}

/* ACC (keep readable but not huge) */
.endorsements__logo img[src*=ACC] {
  transform: scale(1.35);
}

.endorsements__logo:hover img[src*=ACC] {
  transform: scale(1.5);
}

/* Loop animation */
@keyframes endorsements-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* Responsive */
@media (max-width: 768px) {
  .endorsements__logo {
    width: 18rem;
    height: 11rem;
    margin: 0 3rem;
  }
  .endorsements__logo img {
    max-height: 7.2rem;
  }
  .endorsements__track {
    animation-duration: 24s;
  }
}
.site-footer {
  background: radial-gradient(900px 300px at 20% 0%, rgba(64, 224, 208, 0.18), transparent 60%), linear-gradient(180deg, #061722, #07111a);
  color: rgba(255, 255, 255, 0.86);
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer__top {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer__cta {
  max-width: 114rem;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-footer__cta-title {
  font-size: 2.2rem;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0.2px;
}
.site-footer__cta-sub {
  margin-top: 0.6rem;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.75);
}
.site-footer__phone {
  color: #40e0d0;
  font-weight: 700;
  border-bottom: 1px dashed rgba(64, 224, 208, 0.6);
}
.site-footer__phone:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
.site-footer__cta-btn {
  transform: translateZ(0);
}
.site-footer__mid {
  padding: 4.5rem 0;
}
.site-footer__grid {
  max-width: 114rem;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4rem;
}
@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
.site-footer__heading {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.8rem;
  position: relative;
}
.site-footer__heading::after {
  content: "";
  display: block;
  width: 5rem;
  height: 2px;
  margin-top: 1rem;
  background: linear-gradient(90deg, #40e0d0, transparent);
  opacity: 0.9;
}
.site-footer__list {
  list-style: none;
}
.site-footer__list li + li {
  margin-top: 1.1rem;
}
.site-footer__list a {
  font-size: 1.55rem;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.2s ease;
}
.site-footer__list a:hover {
  color: #40e0d0;
  padding-left: 0.4rem;
}
@media (max-width: 900px) {
  .site-footer__brand {
    order: -1;
  }
}
.site-footer__logo {
  width: 190px;
  max-width: 100%;
  display: block;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}
.site-footer__brand-text {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.8rem;
}
.site-footer__social {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}
.site-footer__social-link {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.site-footer__social-link:hover {
  transform: translateY(-2px);
  background: rgba(64, 224, 208, 0.18);
  color: #fff;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.2rem 3rem;
  text-align: center;
}
.site-footer__bottom p {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.6);
}

.btn-glass {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3.6rem;
  border-radius: 999px;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #ffffff;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  /* living glass base */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.1));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, border-color 0.45s ease;
  /* ambient glow field */
  /* liquid light layer */
}
.btn-glass span {
  position: relative;
  z-index: 3;
}
.btn-glass::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(79, 209, 197, 0.45), transparent 55%), radial-gradient(circle at 70% 70%, rgba(120, 180, 255, 0.35), transparent 60%);
  opacity: 0;
  filter: blur(30px);
  transition: opacity 0.6s ease;
  z-index: 1;
}
.btn-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.55), transparent 80%);
  transform: translateX(-120%) skewX(-15deg);
  opacity: 0.7;
  z-index: 2;
}
.btn-glass:hover {
  transform: translateY(-6px) scale(1.035);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5), 0 0 0 8px rgba(79, 209, 197, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-glass:hover::before {
  opacity: 1;
  animation: livingGlow 4s ease-in-out infinite;
}
.btn-glass:hover::after {
  animation: liquidSweep 1.3s ease forwards;
}
.btn-glass:active {
  transform: translateY(-2px) scale(0.99);
}

/* slow breathing glow */
@keyframes livingGlow {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
}
/* liquid light motion */
@keyframes liquidSweep {
  from {
    transform: translateX(-120%) skewX(-15deg);
  }
  to {
    transform: translateX(120%) skewX(-15deg);
  }
}
.btn-premium {
  /* layout */
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.45rem 3.6rem;
  border-radius: 999px;
  /* typography */
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  /* colors */
  color: #ffffff;
  /* “premium” fill */
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  /* border animation container */
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 420ms ease, filter 420ms ease;
}

/* animated gradient border (high-end look) */
.btn-premium::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 120deg, rgb(79, 209, 197), rgb(120, 180, 255), rgba(255, 255, 255, 0.9), rgb(79, 209, 197));
  z-index: -2;
  filter: blur(0.2px);
  opacity: 0.95;
  animation: borderIdle 5.5s linear infinite;
}

/* inner mask so it looks like a border, not full fill */
.btn-premium::after {
  content: "";
  position: absolute;
  inset: 1.6px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(10, 20, 30, 0.92), rgba(6, 14, 22, 0.92));
  z-index: -1;
}

/* text */
.btn-premium__text {
  position: relative;
  z-index: 2;
}

/* energy sweep */
.btn-premium__shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35), transparent 70%);
  transform: translateX(-140%) skewX(-18deg);
  opacity: 0;
}

/* hover = “alive” */
.btn-premium:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 9px rgba(79, 209, 197, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  filter: saturate(1.15);
}

/* border accelerates + shine sweeps through */
.btn-premium:hover::before {
  animation: borderHover 1.4s linear infinite;
}

.btn-premium:hover .btn-premium__shine {
  opacity: 1;
  animation: shineSweep 900ms ease forwards;
}

/* click feedback */
.btn-premium:active {
  transform: translateY(-2px) scale(0.995);
}

/* subtle idle movement (keeps it “alive” even before hover) */
@keyframes borderIdle {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes borderHover {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes shineSweep {
  0% {
    transform: translateX(-140%) skewX(-18deg);
  }
  100% {
    transform: translateX(140%) skewX(-18deg);
  }
}
.btn-borderflow {
  --radius: 16px;
  --border: 2px;
  --fill: #40e0d0;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.55rem 3.8rem;
  border-radius: var(--radius);
  border: var(--border) solid transparent;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #fff;
  text-decoration: none;
  margin-left: auto;
  /*
    3 layers:
    1) hover fill overlay (SOLID brand color, starts at 0% width)
    2) base dark fill
    3) shiny glass border (animated)
  */
  background: linear-gradient(90deg, rgba(64, 224, 208, 0.22), rgba(64, 224, 208, 0.22)) padding-box, linear-gradient(180deg, #0b1621, #08111a) padding-box, conic-gradient(from var(--angle), rgba(255, 255, 255, 0.95), rgba(64, 224, 208, 0.95), rgba(255, 255, 255, 0.75), rgba(64, 224, 208, 0.95), rgba(255, 255, 255, 0.95)) border-box;
  /* KEY: overlay is invisible before hover */
  background-size: 0% 100%, 100% 100%, 100% 100%; /* border */
  /* KEY: overlay expands from RIGHT so it fills right -> left */
  background-position: left center, center, center;
  background-repeat: no-repeat;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background-size 650ms cubic-bezier(0.16, 1, 0.3, 1), transform 420ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 420ms ease;
  animation: borderSpinIdle 6s linear infinite;
}

.btn-borderflow:hover {
  /* Fill appears ONLY on hover */
  background-size: 100% 100%, 100% 100%, 100% 100%;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  /* make border feel more “alive” on hover */
  animation: borderSpinHover 1.35s linear infinite;
}

.btn-borderflow:active {
  transform: translateY(-2px) scale(0.995);
}

/* animate conic gradient angle for glassy shimmer */
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes borderSpinIdle {
  to {
    --angle: 360deg;
  }
}
@keyframes borderSpinHover {
  to {
    --angle: 360deg;
  }
}
/* =========================================================
   ABOUT PAGE (about.html)
   Add this partial to your main SCSS bundle, e.g.:
   @use "pages/about";
   ========================================================= */
.page-about {
  background: #efefef;
}

/* =========================================================
   About page sticky nav (scoped so it DOES NOT affect index page)
   Fixes: full-width header background + responsive layout
   ========================================================= */
.about-nav {
  position: sticky;
  top: 0;
  z-index: 3000;
  width: 100%;
  /* Full-bleed background so it never looks "stuck" to one side */
  background: #150e56;
  backdrop-filter: blur(10px);
  box-shadow: 0 0.8rem 2.2rem rgba(0, 0, 0, 0.18);
}

/* Constrain content while keeping background full width */
.about-nav__inner {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  /* Responsive side padding (small → large) */
  padding: 1.2rem clamp(1.6rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.about-nav__brand {
  display: inline-flex;
  align-items: center;
  min-width: 0; /* allow flex shrink */
}

.about-nav__brand img {
  height: clamp(3.2rem, 3.2vw, 4.2rem);
  width: auto;
  display: block;
}

.about-nav__nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2vw, 2.2rem);
  min-width: 0;
}

.about-nav__link {
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.about-nav__link:hover {
  opacity: 1;
}
.about-nav__link.is-active {
  opacity: 1;
  font-weight: 700;
  position: relative;
}
.about-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.7rem;
  width: 100%;
  height: 2px;
  background: #40e0d0;
}

.about-nav__cta {
  white-space: nowrap;
}

/* Tablet: hide links, keep CTA */
@media (max-width: 900px) {
  .about-nav__nav {
    display: none;
  }
}
/* Small phones: avoid overflow */
@media (max-width: 480px) {
  .about-nav__cta {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    font-size: 1.3rem;
  }
}
.about-nav__inner {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  background: rgba(21, 14, 86, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 0.8rem 2.2rem rgba(0, 0, 0, 0.18);
}

.about-nav__brand img {
  height: 5.8rem;
  width: auto;
  margin-top: 10px;
  display: block;
}

.about-nav__nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-left: 20px;
}

.about-nav__link {
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.about-nav__link:hover {
  opacity: 1;
}
.about-nav__link.is-active {
  opacity: 1;
  font-weight: 700;
  position: relative;
}
.about-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.7rem;
  width: 100%;
  height: 2px;
  background: #40e0d0;
}

.about-nav__cta {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .about-nav__nav {
    display: none;
  }
  .about-nav__inner {
    padding: 1.2rem 2rem;
  }
}
/* Hero */
.about-hero {
  position: relative;
  min-height: 42rem;
  display: grid;
  place-items: center;
  padding: clamp(6.5rem, 8vw, 9rem) clamp(1.6rem, 4vw, 2.5rem) clamp(4.5rem, 5vw, 6rem);
  /* Subtle hero background that matches site palette */
  background: linear-gradient(120deg, rgba(21, 14, 86, 0.92), rgba(123, 17, 58, 0.82)), url("../image/doc-image-3.jpg");
  background-size: cover;
  background-position: center;
}
.about-hero__content {
  max-width: 100rem;
  text-align: center;
  color: #fff;
}
.about-hero__kicker {
  font-size: clamp(1.2rem, 1.2vw, 1.4rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.95;
}
.about-hero__title {
  margin-top: 1rem;
  font-size: clamp(2.4rem, 3.6vw, 3.9rem);
  line-height: 1.2;
  font-weight: 800;
}
.about-hero__subtitle {
  margin: 1.6rem auto 0;
  max-width: 78rem;
  font-size: clamp(1.5rem, 1.6vw, 1.8rem);
  opacity: 0.92;
}
.about-hero__chips {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.about-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1.35rem;
  color: #fff;
}

/* Sections */
.section-about-page,
.section-about-education,
.section-about-research {
  padding: 8rem 0;
  background: #efefef;
}

.section-about-timeline {
  padding: 8rem 0;
  background: #fff;
}

.section-about-cta {
  padding: 7rem 0 9rem;
  background: #efefef;
}

.about-subheading {
  margin: 1rem auto 0;
  max-width: 86rem;
  font-size: 1.6rem;
  opacity: 0.85;
}

/* Profile layout */
.about-profile {
  display: grid;
  gap: 2.2rem;
}
.about-profile__image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.12);
}
.about-profile__image img {
  width: 100%;
  object-fit: cover;
  object-position: top center;
}
.about-profile__card {
  background: #fff;
  border-radius: 18px;
  padding: 2.2rem 2.2rem 2rem;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.08);
}
.about-profile__heading {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #555;
}
.about-profile__list {
  list-style: none;
  font-size: 1.5rem;
}
.about-profile__list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.about-profile__list li:last-child {
  border-bottom: none;
}

.about-cta {
  margin-top: 2.2rem;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Timeline */
.about-timeline {
  width: min(100rem, 92%);
  padding-left: clamp(0rem, 1.5vw, 1.2rem);
  padding-right: clamp(0rem, 1.5vw, 1.2rem);
  margin: 0 auto;
  display: grid;
  gap: 1.8rem;
}
.about-timeline__item {
  display: grid;
  grid-template-columns: 16rem 1fr;
  gap: 2rem;
  background: #efefef;
  border-radius: 16px;
  padding: 2rem 2.2rem;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.07);
}
.about-timeline__year {
  font-size: 1.5rem;
  font-weight: 800;
  color: #150e56;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.about-timeline__content .paragraph {
  margin-top: 0.8rem;
}

@media (max-width: 700px) {
  .about-timeline__item {
    grid-template-columns: 1fr;
  }
}
/* Education + badges */
.about-edu {
  margin-top: 1.8rem;
  display: grid;
  gap: 1.8rem;
}
.about-edu__block {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.2rem;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.07);
}
.about-edu__title {
  font-size: clamp(1.5rem, 1.6vw, 1.8rem);
  margin-bottom: 0.8rem;
  color: #7b113a;
}
.about-edu__text {
  font-size: 1.5rem;
  opacity: 0.9;
}

.about-badges {
  margin-top: 1.8rem;
  display: grid;
  gap: 2.7rem;
}

.about-badge {
  background: #fff;
  border-radius: 16px;
  padding: 2rem 2.2rem;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.07);
}
.about-badge__title {
  font-size: clamp(1.5rem, 1.6vw, 1.8rem);
  margin-bottom: 0.8rem;
  color: #150e56;
}
.about-badge__text {
  font-size: 1.5rem;
  opacity: 0.9;
}

/* Research/Teaching panels */
.about-panel {
  background: #fff;
  border-radius: 18px;
  padding: 2.4rem 2.6rem;
  height: 100%;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.08);
}

/* CTA Banner */
.about-cta-banner {
  width: min(110rem, 92%);
  margin: 0 auto;
  background: linear-gradient(120deg, rgba(21, 14, 86, 0.92), rgba(6, 175, 187, 0.86));
  border-radius: 22px;
  padding: 3.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 1.6rem 3.6rem rgba(0, 0, 0, 0.16);
}
.about-cta-banner__title {
  font-size: 2.4rem;
  color: #fff;
  font-weight: 900;
  margin-bottom: 0.8rem;
}
.about-cta-banner__subtitle {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 70rem;
}
.about-cta-banner__actions {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 850px) {
  .about-cta-banner {
    flex-direction: column;
    text-align: center;
  }
  .about-cta-banner__actions {
    justify-content: center;
  }
}
/* =========================================================
   ABOUT PAGE LAYOUT FIXES (intro section + footer)
   ========================================================= */
.page-about .section-about-page .row {
  align-items: flex-start;
}

.page-about .about-profile {
  display: grid;
  gap: 2.2rem;
  justify-items: center;
  align-content: start;
}

.page-about .about-profile__image {
  width: min(56rem, 100%);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.12);
}

.page-about .about-profile__image img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.page-about .about-profile__card {
  width: min(56rem, 100%);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .page-about .section-about-page .row {
    gap: 3rem;
  }
  .page-about .about-cta {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .page-about .section-about-page {
    padding: 6rem 0;
  }
  .page-about .section-about-page .row {
    flex-direction: column;
  }
  .page-about .section-about-page .col-1-of-2 {
    width: 100% !important;
  }
  .page-about .section-about-page .heading-tertiary,
  .page-about .section-about-page .paragraph {
    text-align: center;
  }
}
.page-about .footer {
  width: 100%;
}

.page-about .footer__container {
  max-width: 120rem;
  margin: 0 auto;
  padding-left: clamp(1.6rem, 3vw, 3rem);
  padding-right: clamp(1.6rem, 3vw, 3rem);
}

@media (max-width: 700px) {
  .page-about .footer__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
}
/* =========================================================
   Research section enhancements (About page only)
   - Supports 3 columns with same existing panel style
   - Awards list styling (no buttons)
   ========================================================= */
.page-about .section-about-research .row {
  flex-wrap: wrap;
  gap: 3rem;
}

/* Ensure 3-up layout without changing global grid */
.page-about .section-about-research .col-1-of-3 {
  width: calc((100% - 6rem) / 3);
}

@media (max-width: 1000px) {
  .page-about .section-about-research .col-1-of-3 {
    width: calc((100% - 3rem) / 2);
  }
}
@media (max-width: 650px) {
  .page-about .section-about-research .col-1-of-3 {
    width: 100%;
  }
}
.page-about .about-awards {
  margin-top: 1.2rem;
  padding-left: 1.6rem;
  font-size: 1.5rem;
  line-height: 1.6;
}

.page-about .about-awards li {
  margin: 0.7rem 0;
}

.page-about .about-awards strong {
  font-weight: 700;
}

.page-about .about-awards {
  margin-top: 1.2rem;
  padding-left: 1.6rem;
  font-size: 1.5rem;
  line-height: 1.6;
}

.page-about .about-awards li {
  margin: 0.6rem 0;
}

.col-1-of-1 {
  width: 100% !important;
}

/* About page – Download CV button */
.page-about .about-cta {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.page-about .btn--download {
  position: relative;
}

.page-about .btn--download {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.page-about .btn--download .btn__icon {
  font-size: 1.3rem;
  line-height: 1;
  transform: translateY(-1px);
}

/* =========================================================
   REVIEWS PAGE (reviews.html)
   Uses about page nav + footer, with a clean grid of cards.
   ========================================================= */
.page-reviews {
  background: #efefef;
}

/* Reuse about-hero but give it a different background on the reviews page */
.page-reviews .reviews-hero {
  background: linear-gradient(120deg, rgba(21, 14, 86, 0.92), rgba(123, 17, 58, 0.82)), url("../image/service-img-1.jpg");
  background-size: cover;
  background-position: center;
}

.u-margin-bottom-6 {
  margin-bottom: 50px;
}

.reviews-hero__summary {
  margin: 2.4rem auto 0;
  max-width: 92rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  padding: 1.4rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.reviews-hero__stat {
  padding: 1.2rem 1.4rem;
  border-radius: 1.2rem;
  background: rgba(0, 0, 0, 0.18);
}

.reviews-hero__value {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.reviews-hero__label {
  margin-top: 0.6rem;
  font-size: 1.4rem;
  opacity: 0.95;
}

.reviews-hero__stars {
  margin-left: 0.6rem;
  letter-spacing: 0.08em;
}

@media (max-width: 800px) {
  .reviews-hero__summary {
    grid-template-columns: 1fr;
  }
}
.section-reviews-page {
  padding: 8rem 0 10rem;
}

.reviews-page__grid {
  display: grid;
  grid-template-rows: max-content;
  gap: 2rem;
  margin-left: 20px;
  margin-right: 20px;
}

@media (max-width: 1000px) {
  .reviews-page__grid {
    grid-template-rows: max-content;
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (max-width: 650px) {
  .reviews-page__grid {
    grid-template-columns: 1fr;
  }
}
.review-card {
  border-radius: 2rem;
  padding: 2.2rem 2.2rem 2.4rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 1.6rem 4.2rem rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2.2rem 5.2rem rgba(0, 0, 0, 0.16);
}

.review-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
}

.review-card__name {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: #150e56;
}

.review-card__stars {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: #f7c948;
  white-space: nowrap;
}

.review-card__text {
  margin-top: 1.2rem;
  font-size: 1.55rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.75);
}

/* Review panel layout (uses about-panel card styling) */
.review-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.6rem;
}

.review-panel__stars {
  letter-spacing: 0.1em;
  font-size: 1.4rem;
  color: #f7c948;
  white-space: nowrap;
  margin-top: 0.2rem;
}

/* optional: slightly tighten spacing */
.review-panel__text {
  margin-top: 1rem;
}

/* =========================================================
   INSURANCE PAGE (insurance.html)
   Uses about page nav + footer, with a clean grid of cards.
   ========================================================= */
.page-insurance {
  background: #efefef;
}

/* Reuse about-hero but give it a different background on the reviews page */
.page-insurance .insurance-hero {
  background: linear-gradient(120deg, rgba(21, 14, 86, 0.92), rgba(123, 17, 58, 0.82)), url("../image/service-img-1.jpg");
  background-size: cover;
  background-position: center;
}

.u-margin-bottom-6 {
  margin-bottom: 80px;
}

.insurance-hero__summary {
  margin: 2.4rem auto 0;
  max-width: 92rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  padding: 1.4rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.insurance-hero__stat {
  padding: 1.2rem 1.4rem;
  border-radius: 1.2rem;
  background: rgba(0, 0, 0, 0.18);
}

.insurance-hero__value {
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.insurance-hero__label {
  margin-top: 0.6rem;
  font-size: 1.4rem;
  opacity: 0.95;
}

.insurance-hero__stars {
  margin-left: 0.6rem;
  letter-spacing: 0.08em;
}

@media (max-width: 800px) {
  .insurance-hero__summary {
    grid-template-columns: 1fr;
  }
}
.section-insurance-page {
  padding: 8rem 0 0rem;
}

.insurance-page__grid {
  display: grid;
  grid-template-rows: max-content;
  gap: 2rem;
  margin-left: 20px;
  margin-right: 20px;
}

@media (max-width: 1000px) {
  .insurance-page__grid {
    grid-template-rows: max-content;
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (max-width: 650px) {
  .insurance-page__grid {
    grid-template-columns: 1fr;
  }
}
.insurance-card {
  border-radius: 2rem;
  padding: 2.2rem 2.2rem 2.4rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 1.6rem 4.2rem rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Auto-color cards based on status */
.insurance-card.accepted {
  border-top: 4px solid #06afbb;
}

.insurance-card.pending {
  border-top: 4px solid #c56a1d;
}

/* Slightly tint the header strip by status */
.insurance-card.accepted .insurance-card__top {
  background: linear-gradient(90deg, rgba(6, 175, 187, 0.12), rgba(255, 255, 255, 0));
}

.insurance-card.pending .insurance-card__top {
  background: linear-gradient(90deg, rgba(244, 162, 97, 0.18), rgba(255, 255, 255, 0));
}

.insurance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 2.2rem 5.2rem rgba(0, 0, 0, 0.16);
}

.insurance-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.2rem;
}

.insurance-card__name {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: #150e56;
}

.insurance-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Status badge colors */
.insurance-card__stars.accepted {
  background-color: rgba(6, 175, 187, 0.14);
  color: #06afbb;
}

.insurance-card__stars.pending {
  background-color: rgba(244, 162, 97, 0.18);
  color: #c56a1d;
}

.insurance-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  background-color: rgba(0, 0, 0, 0.06);
}

.insurance-card__text {
  margin-top: 1.2rem;
  font-size: 1.55rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.75);
}

/* Review panel layout (uses about-panel card styling) */
.insurance-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.6rem;
}

.insurance-panel__stars {
  letter-spacing: 0.1em;
  font-size: 1.4rem;
  color: #f7c948;
  white-space: nowrap;
  margin-top: 0.2rem;
}

/* optional: slightly tighten spacing */
.insurance-panel__text {
  margin-top: 1rem;
}

/* ============================
   STATUS BADGES
============================ */
.insurance-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 999px;
}

/* Icon base */
.insurance-card__stars::before {
  font-size: 1.3rem;
  line-height: 1;
}

/* Accepted */
.insurance-card__stars.accepted {
  color: #06afbb;
  background-color: rgba(6, 175, 187, 0.15);
}

.insurance-card__stars.accepted::before {
  content: "✔";
}

/* Pending */
.insurance-card__stars.pending {
  color: #c56a1d;
  background-color: rgba(244, 162, 97, 0.2);
}

.insurance-card__stars.pending::before {
  content: "⏳";
}

/* ============================
   CARD STATUS COLORS
============================ */
.insurance-card {
  position: relative;
  border-radius: 1.2rem;
  padding: 3rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Accepted cards */
.insurance-card:has(.insurance-card__stars.accepted) {
  background: linear-gradient(180deg, rgba(6, 175, 187, 0.08), #fff 60%);
  border-top: 5px solid #06afbb;
  box-shadow: 0 12px 30px rgba(6, 175, 187, 0.15);
}

/* Pending cards */
.insurance-card:has(.insurance-card__stars.pending) {
  background: linear-gradient(180deg, rgba(244, 162, 97, 0.12), #fff 60%);
  border-top: 5px solid #f4a261;
  box-shadow: 0 12px 30px rgba(244, 162, 97, 0.18);
}

/* Hover polish */
.insurance-card:hover {
  transform: translateY(-6px);
}

.page-diagnostic {
  /* 1) Give the page a "wallpaper" for glass to refract */
  /* 2) The container becomes a thick frosted panel */
  /* 3) Each tile becomes a distinct frosted glass “sheet” */
  /* Optional: different accent for referred */
  /* CTA */
}
.page-diagnostic .section-diagnostic-page {
  position: relative;
  padding: 10rem 0;
  overflow: hidden;
  /* base backdrop */
  background: radial-gradient(1200px 700px at 20% 10%, rgba(0, 224, 211, 0.22), transparent 55%), radial-gradient(900px 600px at 80% 20%, rgba(91, 140, 255, 0.22), transparent 55%), radial-gradient(900px 700px at 40% 90%, rgba(0, 91, 143, 0.18), transparent 60%), linear-gradient(180deg, #eef6fa 0%, #f8fbfd 55%, #ffffff 100%);
  /* soft vignette so it doesn't feel flat */
  /* floating "color blobs" behind glass */
}
.page-diagnostic .section-diagnostic-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 60% at 50% 30%, transparent 0%, rgba(0, 0, 0, 0.04) 70%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
}
.page-diagnostic .section-diagnostic-page::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(300px 240px at 25% 35%, rgba(0, 224, 211, 0.35), transparent 60%), radial-gradient(360px 280px at 75% 40%, rgba(91, 140, 255, 0.32), transparent 62%), radial-gradient(420px 360px at 55% 75%, rgba(0, 179, 179, 0.22), transparent 65%);
  filter: blur(22px);
  opacity: 0.9;
  pointer-events: none;
  transform: translateZ(0);
  animation: diag-float 14s ease-in-out infinite alternate;
}
@keyframes diag-float {
  0% {
    transform: translate3d(-1.2%, -0.8%, 0) scale(1);
  }
  100% {
    transform: translate3d(1.2%, 0.8%, 0) scale(1.03);
  }
}
.page-diagnostic .diagnostic-block {
  margin-bottom: 8rem;
}
.page-diagnostic .diagnostic-block__head {
  max-width: 78rem;
  margin: 0 auto 3.8rem auto;
  text-align: center;
}
.page-diagnostic .diagnostic-block__head .heading-tertiary {
  font-size: 2.7rem;
  margin-bottom: 1.2rem;
}
.page-diagnostic .diagnostic-block__head .paragraph {
  font-size: 1.6rem;
  line-height: 1.75;
  color: #556773;
}
.page-diagnostic .diagnostic-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 2.6rem;
  overflow: hidden;
  /* “material” */
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  /* glass edge + depth */
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 30px 80px rgba(0, 35, 70, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  padding: 1.2rem 0;
  /* subtle highlight sweep (mac-like) */
  /* tiny “noise” for realism (no image needed) */
}
.page-diagnostic .diagnostic-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.04) 55%, transparent 70%);
  opacity: 0.55;
  pointer-events: none;
  mix-blend-mode: screen;
}
.page-diagnostic .diagnostic-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0, rgba(0, 0, 0, 0.9) 1px, transparent 1px, transparent 2px), repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0, rgba(0, 0, 0, 0.6) 1px, transparent 1px, transparent 3px);
  filter: blur(0.3px);
  mix-blend-mode: overlay;
}
.page-diagnostic .diagnostic-card {
  position: relative;
  padding: 2.9rem 3.2rem 2.9rem 4.8rem;
  /* strong frosted glass */
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  /* separation */
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  /* depth + crisp edges */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  /* left accent bar */
  /* glossy rim */
}
.page-diagnostic .diagnostic-card:last-child {
  border-bottom: none;
}
.page-diagnostic .diagnostic-card:hover {
  transform: translateY(-3px) translateX(8px);
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 18px 45px rgba(0, 35, 70, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.page-diagnostic .diagnostic-card::before {
  content: "";
  position: absolute;
  left: 1.9rem;
  top: 2.2rem;
  bottom: 2.2rem;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #00e0d3, #005b8f);
  opacity: 0.95;
}
.page-diagnostic .diagnostic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0; /* row-style; container handles rounding */
  background: radial-gradient(120% 90% at 20% 10%, rgba(255, 255, 255, 0.28), transparent 55%);
  pointer-events: none;
}
.page-diagnostic .diagnostic-card__title {
  font-size: 2.05rem;
  font-weight: 700;
  color: #082a45;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.page-diagnostic .diagnostic-card__text {
  font-size: 1.55rem;
  line-height: 1.8;
  color: rgba(8, 42, 69, 0.72);
  max-width: 80ch;
  position: relative;
  z-index: 1;
}
.page-diagnostic .diagnostic-card__text:not(:last-child) {
  margin-bottom: 1.15rem;
}
.page-diagnostic .diagnostic-card__text strong {
  color: rgba(8, 42, 69, 0.92);
  font-weight: 700;
}
.page-diagnostic .diagnostic-card.referred::before {
  background: linear-gradient(to bottom, #8aa8ff, #005b8f);
}
.page-diagnostic .diagnostic-cta {
  margin-top: 5rem;
  padding: 4rem 3rem;
  border-radius: 2rem;
  text-align: center;
  background: rgba(0, 43, 79, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 25px 70px rgba(0, 35, 70, 0.25);
}
.page-diagnostic .diagnostic-cta__text {
  font-size: 1.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.page-diagnostic .diagnostic-cta__text a {
  color: #00e0d3;
  font-weight: 700;
  text-decoration: none;
}
.page-diagnostic .diagnostic-cta__text a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .page-diagnostic .section-diagnostic-page {
    padding: 7rem 0;
  }
  .page-diagnostic .diagnostic-grid {
    border-radius: 1.8rem;
  }
  .page-diagnostic .diagnostic-card {
    padding: 2.4rem 2.2rem 2.4rem 4.2rem;
  }
  .page-diagnostic .diagnostic-card:hover {
    transform: translateY(-2px) translateX(5px);
  }
  .page-diagnostic .diagnostic-card::before {
    left: 1.5rem;
  }
  .page-diagnostic .diagnostic-cta {
    padding: 3rem 2rem;
  }
}
.row {
  max-width: 114rem;
  margin: 0 auto;
}
.row:not(:last-child) {
  margin-bottom: 8rem;
}
.row::after {
  content: "";
  display: table;
  clear: both;
}
.row [class^=col-] {
  float: left;
  padding: 1rem;
}
.row [class^=col-]:not(:last-child) {
  margin-right: 6rem;
}
.row .col-1-of-2 {
  width: calc((100% - 6rem) / 2);
}
.row .col-1-of-3 {
  width: calc((100% - 2 * 6rem) / 3);
}
.row .col-2-of-3 {
  width: calc((100% - 2 * 6rem) / 3 * 2 + 6rem);
}
.row .col-1-of-4 {
  width: calc((100% - 3 * 6rem) / 4);
}
.row .col-2-of-4 {
  width: calc((100% - 3 * 6rem) / 4 * 2 + 6rem);
}
.row .col-3-of-4 {
  width: calc((100% - 3 * 6rem) / 4 * 3 + 2 * 6rem);
}

.header {
  height: 100vh;
  background-image: linear-gradient(to right bottom, rgba(56, 83, 112, 0), rgba(88, 91, 92, 0)), url(../image/pexels-karolina-grabowska-4046930.jpg);
  background-size: cover;
  background-position: top;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.header__topbar {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  padding: 0 4rem;
  gap: 0;
}
.header__appointment-btn {
  margin-left: auto;
  font-size: 1.8rem;
  padding: 1.2rem 2.8rem;
  border-radius: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.85);
  color: #1a2a3a;
  border: none;
  transition: box-shadow 0.2s;
  z-index: 11;
  position: relative;
}
.header__logo-box {
  position: static;
  top: auto;
  left: auto;
}
.header__logo {
  height: 8.5rem;
}
.header__text-box {
  height: 60rem;
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navigation-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transform: translateY(-120%) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  /* Premium dark glass */
  background: rgba(10, 14, 20, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  /* Chevron animation */
  /* Dropdown panel */
  /* ✅ FIX: dropdown links as vertical list */
  /* Mobile burger (single definition — no overrides) */
}
.navigation-bar.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.navigation-bar__inner {
  max-width: 114rem;
  margin: 0 auto;
  padding: 1.4rem 2.4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.navigation-bar__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.navigation-bar__logo {
  height: 5.8rem;
  width: auto;
  display: block;
}
.navigation-bar__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: 1rem;
}
.navigation-bar__link {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.9rem 1.2rem;
  border-radius: 1.2rem;
  transition: color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.navigation-bar__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}
.navigation-bar__cta {
  margin-left: auto;
  white-space: nowrap;
}
.navigation-bar__item {
  position: relative;
}
.navigation-bar__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.navigation-bar__chev {
  display: inline-block;
  transform: translateY(1px);
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.9;
}
.navigation-bar__item--open .navigation-bar__chev {
  transform: translateY(1px) rotate(180deg);
  opacity: 1;
}
.navigation-bar__dropdown {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  min-width: 28rem;
  padding: 0.9rem;
  background: rgba(10, 14, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  /* 🔑 VISIBILITY CONTROL (animated) */
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease;
  /* Make sure items stack nicely */
  display: grid;
  gap: 0.3rem;
}
.navigation-bar__item--open .navigation-bar__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.navigation-bar__dropdown a {
  display: block;
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, color 0.18s ease;
}
.navigation-bar__dropdown a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateX(2px);
}
.navigation-bar__burger {
  display: none;
  margin-left: 1rem;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}
.navigation-bar__burger span {
  display: block;
  height: 2px;
  margin: 7px auto;
  width: 22px;
  background: rgba(255, 255, 255, 0.86);
}
@media (max-width: 900px) {
  .navigation-bar__links {
    display: none; /* can wire burger later */
  }
  .navigation-bar__burger {
    display: inline-block;
  }
}

.section-about {
  padding: 25rem 0;
  margin-top: -20vh;
  background-image: linear-gradient(rgba(255, 255, 255, 0.603), rgba(255, 255, 255, 0.61)), url("../image/bg-image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-features {
  padding: 30rem 0;
  background-image: url(../image/service-img-1.jpg);
  background-size: cover;
  -webkit-transform: skewY(-7deg);
  transform: skewY(-7deg);
  margin-top: -10.5rem;
}

.section-conditions-treated {
  background-color: #efefef;
  padding: 25rem 0;
  margin-top: -10vh;
}
.section-conditions-treated .conditions-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 130rem;
  width: 100%;
}
.section-conditions-treated .conditions-row {
  display: flex;
  flex-direction: row;
  gap: 2.5rem;
  width: 100%;
}
.section-conditions-treated__subheading {
  font-size: 1.6rem;
  color: #555;
}

.section-services {
  background-color: #efefef;
  margin-top: -10vh;
  height: 1400px;
}
.section-services .row {
  max-width: 133rem;
}
.section-services .row .col-1-of-4 {
  margin-right: 1rem;
  width: calc((100% - 4rem) / 4);
}

.section-reviews {
  padding: 30rem 0;
  background-image: url(../image/service-img-1.jpg);
  background-size: cover;
  -webkit-transform: skewY(-7deg);
  transform: skewY(-7deg);
  margin-top: -10.5rem;
}

.section-stories {
  position: relative;
  padding: 10rem 0;
}

.section-location {
  padding: 10rem 0;
  background-color: #efefef;
}

/*
--- 01 TYPOGRAPHY Systems
website hero text - Children’s Heart and Electrophysiology Center of San Antonio
Dr Name - Singh, Harinder
- Font Sizes (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Font Weights
Default: 400

- Line Heights
Default: 1

--- 02 COLORS

- Primary: 
    Darker shade - #06afbb 
    Lighter shade - #40E0D0

- secondry:
    Darker - #adb5bd
    Lighter - #ced4da
- Tint: 
- Shade: 
- Accent
- /greys: 

--- 03 Shadows


--- 04 Border radius


--- 05 White space

--- 06 Spacing system (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

1rem = 16px by default 
or it can be set in html

*/

/*# sourceMappingURL=style.css.map */
