:root {
  --primary: #047f8f;
  --primary-dark: #055a67;
  --primary-soft: #e5f7f8;
  --navy: #102a43;
  --ink: #1b2b34;
  --muted: #6d7d86;
  --line: #dbe9ec;
  --gold: #d7a84f;
  --white: #ffffff;
  --surface: #f6fbfb;
  --shadow: 0 24px 70px rgba(8, 57, 69, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: var(--white);
  transition: opacity .45s ease, visibility .45s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-eye {
  width: 72px;
  height: 42px;
  border: 4px solid var(--primary);
  border-radius: 100% 0;
  transform: rotate(45deg);
  position: relative;
}

.loader-eye::after {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
  inset: 0;
  margin: auto;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  to { transform: scale(1.4); opacity: .65; }
}

.top-strip {
  position: relative;
  z-index: 1031;
  padding: .62rem 0;
  color: rgba(255, 255, 255, .9);
  background: linear-gradient(90deg, #07313b, var(--primary-dark));
  font-size: .88rem;
}

.top-strip a {
  color: rgba(255, 255, 255, .92);
}

.top-strip a:hover {
  color: var(--white);
}

.top-strip i {
  color: var(--gold);
  margin-right: .4rem;
}

.navbar {
  top: 38px;
  min-height: 86px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 233, 236, .72);
  transition: top .25s ease, box-shadow .25s ease, min-height .25s ease, background .25s ease;
}

.navbar.is-scrolled {
  top: 0;
  min-height: 70px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 38px rgba(16, 42, 67, .1);
}

.navbar-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.25rem;
}

.navbar-brand span span,
.footer-brand span span {
  color: var(--primary);
}

.brand-symbol {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #20b7c7);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(4, 127, 143, .25);
}

.nav-link {
  color: #33505a;
  font-weight: 700;
  font-size: .95rem;
  margin: 0 .24rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: .28rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.nav-phone {
  align-items: center;
  gap: .65rem;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.15;
}

.nav-phone i {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 8px;
}

.nav-phone strong {
  color: var(--primary);
  font-size: .92rem;
}

.btn {
  border-radius: 8px;
  font-weight: 800;
}

.btn-primary-soft {
  color: var(--white);
  background: var(--primary);
  border: 1px solid var(--primary);
  padding: .8rem 1.15rem;
}

.btn-primary-soft:hover {
  color: var(--white);
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 178px 0 128px;
  color: var(--white);
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 35, 45, .96) 0%, rgba(5, 82, 93, .9) 48%, rgba(4, 127, 143, .76) 100%),
    url("images/hero/bg-1.png") center / cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  bottom: -24%;
  width: 46rem;
  height: 46rem;
  border: 86px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .48rem .85rem;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-label.light {
  color: var(--white);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
}

.hero h1,
.section h2,
.video-caption h2 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 1.1rem 0 1.2rem;
  font-size: 33px;
  line-height: .96;
}

.hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, .86);
  font-size: 1.12rem;
  line-height: 23px;
}

.hero-actions,
.why-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-hero {
  color: var(--primary-dark);
  background: var(--white);
  border: 1px solid var(--white);
  padding: .95rem 1.35rem;
}

.btn-hero:hover {
  color: var(--primary-dark);
  background: #f1fcfd;
}

.btn-video {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .34);
  padding: .95rem 1.35rem;
}

.btn-video:hover {
  color: var(--white);
  background: rgba(255, 255, 255, .12);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.45rem;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .62rem .85rem;
  color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
}

.hero-trust i {
  color: var(--gold);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 620px;
  margin-top: 2rem;
}

.hero-metrics div {
  padding: 1.1rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
}

.hero-metrics strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.hero-metrics strong::after {
  content: "+";
}

.hero-metrics div:last-child strong::after {
  content: "%";
}

.hero-metrics span {
  display: block;
  color: rgba(255, 255, 255, .78);
  margin-top: .45rem;
  font-size: .9rem;
}

.hero-media {
  position: relative;
  min-height: 620px;
}

.hero-media-shell {
  position: relative;
  width: 88%;
  margin-left: auto;
  padding: 12px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, .28);
}

.hero-media-shell::before {
  content: "";
  position: absolute;
  inset: 34px auto auto -34px;
  width: 150px;
  height: 150px;
  background: rgba(215, 168, 79, .2);
  border: 1px solid rgba(215, 168, 79, .32);
  border-radius: 8px;
  transform: rotate(10deg);
}

.hero-media img {
  position: relative;
  width: 100%;
  height: 596px;
  object-fit: cover;
  border-radius: 8px;
}

.care-badge,
.schedule-card,
.hero-mini-card,
.experience-card {
  position: absolute;
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.care-badge {
  left: 2px;
  bottom: 78px;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(360px, 92%);
  padding: 1.15rem;
}

.hero-mini-card {
  left: 52px;
  top: 92px;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem 1.1rem;
  min-width: 270px;
}

.hero-mini-card i {
  color: var(--gold);
  font-size: 2rem;
}

.hero-mini-card span {
  display: block;
  color: var(--muted);
  font-size: .86rem;
}

.care-badge i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border-radius: 8px;
  font-size: 1.5rem;
}

.care-badge span,
.schedule-card span,
.doctor-info span,
.testimonial-card span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.schedule-card {
  top: 48px;
  right: 0;
  padding: 1.2rem;
  min-width: 210px;
}

.schedule-card strong {
  display: block;
  color: var(--primary-dark);
  margin: .35rem 0 .7rem;
}

.schedule-card a,
.service-card a,
.text-link {
  color: var(--primary);
  font-weight: 800;
}

.feature-strip {
  position: relative;
  z-index: 2;
  margin-top: -68px;
}

.feature-panel {
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-item {
  height: 100%;
  min-height: 245px;
  padding: 2.1rem;
  border-right: 1px solid var(--line);
}

.feature-item.featured {
  color: var(--white);
  background: var(--primary);
}

.feature-item i {
  color: var(--gold);
  font-size: 2.6rem;
}

.feature-item h2 {
  margin: 1rem 0 .7rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.feature-item p,
.section-intro,
.service-card p,
.why-card p,
.doctor-info p,
.footer p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.feature-item.featured p {
  color: rgba(255, 255, 255, .84);
}

.section {
  padding: 105px 0;
}

.section h2 {
  margin: .9rem 0 1rem;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.06;
}

.lead-text {
  color: #49636c;
  font-size: 1.08rem;
  line-height: 1.85;
}

.about {
  background: linear-gradient(180deg, #ffffff, var(--surface));
}

.about-gallery {
  position: relative;
  min-height: 600px;
}

.about-main {
  width: 78%;
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-small {
  position: absolute;
  right: 0;
  bottom: 36px;
  width: 48%;
  height: 280px;
  object-fit: cover;
  border: 10px solid var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.experience-card {
  right: 28px;
  top: 34px;
  padding: 1.4rem;
  width: 168px;
  text-align: center;
}

.experience-card strong {
  display: block;
  color: var(--primary);
  font-size: 3rem;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  margin: 1.8rem 0 2rem;
}

.check-grid span {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
}

.check-grid i {
  color: var(--primary);
}

.btn-outline-premium {
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: .9rem 1.25rem;
}

.btn-outline-premium:hover {
  color: var(--white);
  background: var(--primary);
}

.services {
  background: var(--white);
}

.service-card,
.why-card,
.doctor-card,
.testimonial-card,
.appointment-form {
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 55px rgba(16, 42, 67, .08);
}

.service-card {
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(4, 127, 143, .35);
  box-shadow: var(--shadow);
}

.service-card span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #27bac8);
  border-radius: 8px;
  font-size: 1.55rem;
}

.service-card h3,
.why-card h3,
.doctor-info h3 {
  margin: 1.3rem 0 .7rem;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.15rem;
}

.why-us {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 65, 76, .96), rgba(4, 127, 143, .88)),
    url("images/hero/bg-1.png") center / cover;
}

.why-us h2 {
  color: var(--white);
}

.why-us p {
  color: rgba(255, 255, 255, .82);
  line-height: 1.8;
}

.why-card {
  height: 100%;
  padding: 1.7rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(16px);
}

.why-card i {
  color: var(--gold);
  font-size: 2rem;
}

.why-card h3 {
  color: var(--white);
}

.why-card p {
  color: rgba(255, 255, 255, .78);
}

.text-link {
  color: var(--white);
}

.section-heading {
  max-width: 760px;
}

.doctors {
  background: var(--surface);
}

.doctor-card {
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--line);
  transition: transform .25s ease;
}

.doctor-card:hover {
  transform: translateY(-8px);
}

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

.doctor-info {
  padding: 1.6rem;
}

.socials,
.footer-socials {
  display: flex;
  gap: .7rem;
  margin-top: 1.2rem;
}

.socials a,
.footer-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 8px;
}

.gallery {
  background: linear-gradient(180deg, var(--white), var(--surface));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: block;
  color: var(--white);
  border-radius: 8px;
  box-shadow: 0 16px 46px rgba(16, 42, 67, .1);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .45s ease, filter .45s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(5, 45, 55, .86));
}

.gallery-item span {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.15rem;
  z-index: 1;
}

.gallery-item strong {
  display: block;
  font-size: 1.18rem;
  font-weight: 800;
}

.gallery-item small {
  display: block;
  color: rgba(255, 255, 255, .78);
  margin-top: .25rem;
}

.gallery-item:hover {
  color: var(--white);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.video-section {
  padding: 95px 0;
  background: var(--white);
}

.video-wrap {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  filter: brightness(.68);
}

.play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  background: var(--white);
  border: 0;
  border-radius: 50%;
  font-size: 3rem;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .16);
  transition: transform .25s ease;
}

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

.video-caption {
  position: absolute;
  left: 48px;
  bottom: 42px;
  max-width: 640px;
  color: var(--white);
}

.video-caption span {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

.video-caption h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.rating-box {
  padding: 1.3rem;
  background: var(--primary-soft);
  border-radius: 8px;
}

.rating-box strong {
  color: var(--primary);
  font-size: 2.7rem;
}

.rating-box span {
  color: var(--gold);
  margin-left: .6rem;
}

.testimonial-slider {
  position: relative;
}

.testimonial-card {
  display: none;
  padding: 2.2rem;
  border: 1px solid var(--line);
}

.testimonial-card.active {
  display: block;
  animation: fadeUp .45s ease;
}

.testimonial-card p {
  color: #405963;
  font-size: 1.25rem;
  line-height: 1.8;
}

.slider-controls {
  display: flex;
  gap: .65rem;
  margin-top: 1.2rem;
}

.slider-controls button {
  width: 38px;
  height: 6px;
  border: 0;
  border-radius: 99px;
  background: #c6d8dd;
}

.slider-controls button.active {
  background: var(--primary);
}

.appointment {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 65, 76, .94), rgba(7, 91, 104, .92)),
    url("https://images.unsplash.com/photo-1526256262350-7da7584cf5eb?auto=format&fit=crop&w=1700&q=85") center / cover;
}

.appointment h2 {
  color: var(--white);
}

.appointment p {
  color: rgba(255, 255, 255, .82);
  line-height: 1.8;
}

.contact-list {
  display: grid;
  gap: .85rem;
  margin-top: 1.8rem;
}

.contact-list a,
.contact-list span {
  color: var(--white);
  font-weight: 700;
}

.contact-list i {
  color: var(--gold);
  margin-right: .6rem;
}

.appointment-form {
  padding: 2rem;
}

.appointment-form label {
  color: var(--navy);
  font-size: .88rem;
  font-weight: 800;
  margin-bottom: .45rem;
}

.form-control,
.form-select {
  min-height: 56px;
  border-color: var(--line);
  border-radius: 8px;
  color: var(--ink);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .2rem rgba(4, 127, 143, .14);
}

.btn-submit {
  width: 100%;
  color: var(--white);
  background: var(--primary);
  border: 1px solid var(--primary);
  padding: .95rem 1.2rem;
}

.btn-submit:hover {
  color: var(--white);
  background: var(--primary-dark);
}

.form-note {
  min-height: 24px;
  margin-top: .85rem;
  color: var(--primary-dark) !important;
  font-weight: 700;
}

.contact-us {
  background: var(--surface);
}

.contact-card,
.visit-panel,
.map-panel {
  height: 100%;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(16, 42, 67, .08);
}

.contact-card {
  padding: 1.65rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.contact-card i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #26b7c6);
  border-radius: 8px;
  font-size: 1.45rem;
}

.contact-card h3 {
  margin: 1.2rem 0 .65rem;
  color: var(--navy);
  font-size: 1.16rem;
  font-weight: 800;
}

.contact-card a {
  color: var(--primary);
  font-weight: 800;
  word-break: break-word;
}

.contact-card p {
  color: var(--ink);
  font-weight: 700;
  margin-bottom: .5rem;
}

.contact-card span {
  display: block;
  color: var(--muted);
  margin-top: .5rem;
  font-size: .9rem;
  line-height: 1.6;
}

.visit-panel {
  padding: 2rem;
}

.visit-panel h3 {
  margin: 1rem 0 1.2rem;
  color: var(--navy);
  font-size: 1.65rem;
  font-weight: 800;
}

.visit-panel ul {
  display: grid;
  gap: .9rem;
  padding: 0;
  margin: 0 0 1.7rem;
  list-style: none;
}

.visit-panel li {
  display: flex;
  gap: .65rem;
  color: #405963;
  line-height: 1.6;
}

.visit-panel li i {
  color: var(--primary);
  margin-top: .2rem;
}

.map-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .68)),
    linear-gradient(30deg, transparent 48%, rgba(4, 127, 143, .16) 49% 51%, transparent 52%),
    linear-gradient(150deg, transparent 46%, rgba(215, 168, 79, .18) 47% 50%, transparent 51%),
    #e7f4f5;
}

.map-panel::before,
.map-panel::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 2px solid rgba(4, 127, 143, .18);
  border-radius: 50%;
}

.map-panel::after {
  inset: 29%;
  border-color: rgba(215, 168, 79, .24);
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 44%;
  z-index: 1;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 16px rgba(4, 127, 143, .14);
  font-size: 2rem;
}

.map-card {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1;
  padding: 1.25rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-card strong,
.map-card span {
  display: block;
}

.map-card strong {
  color: var(--navy);
  font-size: 1.15rem;
}

.map-card span {
  color: var(--muted);
  margin: .25rem 0 .75rem;
}

.map-card a {
  color: var(--primary);
  font-weight: 800;
}

.footer {
  padding: 78px 0 28px;
  color: #c8d8dc;
  background: #0a2d36;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer a {
  display: block;
  color: #c8d8dc;
  margin-bottom: .65rem;
}

.footer a:hover {
  color: var(--white);
}

.footer-socials a {
  display: grid;
  margin-bottom: 0;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .92rem;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--primary);
  border: 0;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .25s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.video-modal {
  overflow: hidden;
  background: #000;
  border: 0;
  border-radius: 8px;
}

.video-modal .btn-close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

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

@media (max-width: 1199.98px) {
  .hero-media-shell {
    width: 100%;
  }

  .hero-mini-card {
    left: 16px;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    top: 0;
    background: var(--white);
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .nav-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding: 128px 0 110px;
  }

  .hero-media,
  .about-gallery {
    min-height: auto;
  }

  .hero-media img {
    height: auto;
  }

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

  .about-main {
    width: 100%;
    height: 470px;
  }

  .about-small {
    width: 52%;
    right: 18px;
  }

  .feature-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding-top: 112px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .care-badge,
  .schedule-card,
  .hero-mini-card,
  .experience-card {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .hero-media-shell {
    padding: 8px;
  }

  .hero-media-shell::before {
    display: none;
  }

  .hero-media img,
  .video-wrap img {
    height: 380px;
  }

  .video-wrap {
    min-height: 380px;
  }

  .video-caption {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .play-button {
    width: 74px;
    height: 74px;
    font-size: 2.35rem;
  }

  .section {
    padding: 76px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

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

@media (max-width: 575.98px) {
  .navbar-brand,
  .footer-brand {
    font-size: 1.05rem;
  }

  .brand-symbol {
    width: 40px;
    height: 40px;
  }

  .hero h1 {
font-size: 24px;
        line-height: 25px;
  }

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

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

  .hero-trust span {
    width: 100%;
  }

  .about-main {
    height: 360px;
  }

  .about-small {
    position: static;
    width: 100%;
    height: 230px;
    margin-top: 1rem;
    border: 0;
  }

  .doctor-card img {
    height: 310px;
  }

  .appointment-form {
    padding: 1.25rem;
  }
}

/* services images */
.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}