:root {
  --primary: #0d7f78;
  --primary-dark: #075b57;
  --primary-soft: #e9f7f5;
  --accent: #dcae65;
  --ink: #17313b;
  --muted: #667b83;
  --cream: #f7faf8;
  --white: #ffffff;
  --border: rgba(23,49,59,.10);
  --shadow: 0 24px 60px rgba(18,65,70,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.86);
  font-size: .84rem;
  padding: .55rem 0;
}
.topbar a { color: rgba(255,255,255,.86); transition: .25s; }
.topbar a:hover { color: #fff; }

.glass-nav {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(14,82,80,.08);
  padding: .9rem 0;
  transition: .3s ease;
}
.glass-nav.scrolled {
  box-shadow: 0 10px 35px rgba(25,69,70,.10);
  padding: .65rem 0;
}

.navbar-brand > span:last-child,
.footer-brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.navbar-brand strong, .footer-brand strong {
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}
.navbar-brand small, .footer-brand small {
  color: var(--primary);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: .3rem;
}
.brand-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), #35a89f);
  color: #fff;
  box-shadow: 0 10px 25px rgba(13,127,120,.25);
}
.nav-link {
  color: #38515a !important;
  font-weight: 600;
  font-size: .94rem;
  padding: .6rem .8rem !important;
}
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }

.btn {
  border-radius: 14px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-brand {
  background: linear-gradient(135deg, var(--primary), #169990);
  border: none;
  color: #fff;
  box-shadow: 0 12px 28px rgba(13,127,120,.22);
}
.btn-brand:hover { color: #fff; box-shadow: 0 16px 35px rgba(13,127,120,.30); }
.btn-soft {
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(13,127,120,.16);
  color: var(--primary-dark);
}
.btn-soft:hover { background: #fff; color: var(--primary-dark); }

.hero-section {
  position: relative;
  background:
    radial-gradient(circle at 10% 20%, rgba(53,168,159,.18), transparent 28%),
    radial-gradient(circle at 88% 15%, rgba(220,174,101,.14), transparent 24%),
    linear-gradient(135deg, #f6fbfa 0%, #eef9f7 48%, #fbfaf5 100%);
  overflow: hidden;
}
.min-vh-85 { min-height: 84vh; padding: 5rem 0 7rem; }
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55;
}
.orb-one { width: 220px; height: 220px; background: rgba(13,127,120,.09); top: 15%; left: -80px; }
.orb-two { width: 320px; height: 320px; background: rgba(220,174,101,.10); right: -120px; bottom: 4%; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(13,127,120,.13);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: .62rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}
.pulse-dot {
  width: 9px; height: 9px; background: #34a853; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52,168,83,.4);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,168,83,.4); }
  70% { box-shadow: 0 0 0 10px rgba(52,168,83,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,168,83,0); }
}
.display-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6.2vw, 3.55rem);
  line-height: .99;
  letter-spacing: -.04em;
  max-width: 760px;
  margin-bottom: 1.5rem;
}
.display-title span { color: var(--primary); }
.hero-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 2rem;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.4rem;
}
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 1.22rem; color: var(--ink); }
.trust-item span { color: var(--muted); font-size: .78rem; }
.trust-row .divider { width: 1px; height: 40px; background: rgba(23,49,59,.14); }

.doctor-visual { position: relative; max-width: 530px; margin-left: auto; }
.image-frame {
  position: relative;
  border-radius: 42% 42% 24px 24px;
  overflow: hidden;
  border: 10px solid rgba(255,255,255,.78);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: #d9efeb;
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,73,68,.20), transparent 40%);
  z-index: 1;
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.floating-card {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 18px 45px rgba(25,74,76,.16);
  border-radius: 18px;
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 210px;
}
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: var(--muted); font-size: .72rem; }
.floating-card strong { font-size: .87rem; color: var(--ink); }
.card-appointment { left: -45px; bottom: 14%; }
.card-care { right: -30px; top: 15%; }
.icon-circle {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; background: var(--primary); font-size: 1.1rem;
}
.icon-circle.green { background: #3a9f63; }
.hero-bottom-wave {
  position: absolute;
  bottom: -1px; left: 0; width: 100%; height: 70px;
  background: #fff;
  clip-path: ellipse(58% 55% at 50% 100%);
}

.quick-services { margin-top: -38px; position: relative; z-index: 5; }
.quick-card {
  background: #fff;
  min-height: 112px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(22,72,74,.10);
  padding: 1.15rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--ink);
  transition: .3s ease;
}
.quick-card:hover { transform: translateY(-6px); box-shadow: 0 22px 55px rgba(22,72,74,.15); color: var(--ink); }
.quick-icon {
  width: 52px; height: 52px; flex: 0 0 52px; border-radius: 16px;
  background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 1.35rem;
}
.quick-card span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.quick-card strong { font-size: .96rem; }
.quick-card small { color: var(--muted); margin-top: .2rem; }
.quick-card > i { color: var(--primary); }

.section-padding { padding: 105px 0; }
.section-tag {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: .48rem .82rem;
  font-size: .77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.25rem, 2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 1.3rem;
}
.section-lead {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
}
.section-heading { max-width: 760px; }

.about-collage { position: relative; padding: 0 50px 45px 0; }
.main-photo {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.main-photo img { width: 100%; height: 520px; object-fit: cover; }
.small-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  border: 8px solid #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(22,72,74,.18);
}
.small-photo img { width: 100%; height: 220px; object-fit: cover; }
.experience-badge {
  position: absolute;
  left: -28px;
  bottom: 70px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 20px;
  padding: 1.05rem 1.2rem;
  box-shadow: 0 18px 40px rgba(7,91,87,.25);
  max-width: 170px;
}
.experience-badge strong { font-size: 2rem; display: block; line-height: 1; }
.experience-badge span { font-size: .75rem; opacity: .82; }

.feature-list { display: grid; gap: 1rem; margin: 1.7rem 0; }
.feature-item { display: flex; gap: .9rem; align-items: flex-start; }
.feature-item > span {
  width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 800;
}
.feature-item strong { display: block; margin-bottom: .15rem; }
.feature-item p { margin: 0; color: var(--muted); font-size: .9rem; }
.doctor-signature { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.avatar { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.doctor-signature strong, .doctor-signature span { display: block; }
.doctor-signature span { color: var(--muted); font-size: .82rem; }

.services-section { background: var(--cream); }
.service-card {
  height: 100%;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.7rem;
  box-shadow: 0 10px 30px rgba(22,72,74,.06);
  transition: .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(22,72,74,.12); }
.service-card.featured {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary));
  color: #fff;
  border: none;
}
.service-card.featured p { color: rgba(255,255,255,.74); }
.service-card.featured a { color: #fff; }
.service-card.featured .service-icon { background: rgba(255,255,255,.13); color: #fff; }
.popular-label {
  position: absolute; top: 17px; right: 17px;
  background: var(--accent); color: #473314;
  padding: .35rem .6rem; border-radius: 999px; font-size: .66rem; font-weight: 800;
}
.service-icon {
  width: 57px; height: 57px;
   border-radius: 17px;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-size: 1.45rem;
  margin-bottom: 1.25rem;
}

.service-icon-i{
  /* width: 57px; height: 57px; */
   border-radius: 17px;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-size: 1.45rem;
  margin-bottom: 1.25rem;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.service-card p { color: var(--muted); line-height: 1.65; font-size: .92rem; min-height: 72px; }
.service-card a { color: var(--primary); font-weight: 800; font-size: .88rem; }
.service-card a i { transition: .25s; margin-left: .25rem; }
.service-card:hover a i { margin-left: .5rem; }

.nutrition-section { background: #fff; }
.nutrition-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,.09), transparent 26%),
    linear-gradient(135deg, #075b57, #0d7f78);
  border-radius: 34px;
  padding: 4.5rem;
  box-shadow: var(--shadow);
}
.nutrition-wrap::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.05); right: -80px; top: -80px;
}
.light-tag { background: rgba(255,255,255,.12); color: #fff; }
.nutrition-copy { color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.75; }
.diet-points { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.2rem; margin-top: 1.5rem; color: #fff; }
.diet-points i { color: #b8e5cf; margin-right: .4rem; }
.nutrition-image {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 8px solid rgba(255,255,255,.12);
  z-index: 1;
}
.nutrition-image img { width: 100%; height: 460px; object-fit: cover; }
.diet-stat {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-radius: 16px; padding: .9rem 1.05rem;
}
.diet-stat strong, .diet-stat span { display: block; }
.diet-stat strong { color: var(--primary); font-size: 1.35rem; }
.diet-stat span { color: var(--muted); font-size: .74rem; }

.process-section { background: #f8fbfa; }
.process-card {
  height: 100%;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2rem 1.5rem;
  position: relative;
}
.step-number {
  position: absolute; top: 16px; right: 18px;
  color: rgba(13,127,120,.16); font-weight: 800; font-size: 1.3rem;
}
.process-icon {
  width: 66px; height: 66px; margin: 0 auto 1.2rem; border-radius: 20px;
  display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 1.55rem;
}
.process-card h3 { font-size: 1.16rem; }
.process-card p { color: var(--muted); line-height: 1.65; font-size: .9rem; margin: 0; }

.reviews-section { background: #fff; }
.rating-summary { display: inline-flex; align-items: center; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; }
.stars { color: #e6aa36; letter-spacing: .08em; }
.rating-summary strong { font-size: 1.4rem; }
.rating-summary small { color: var(--muted); }
.testimonial-card {
  height: 100%;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  position: relative;
}
.quote-mark {
  font-family: Georgia, serif;
  color: rgba(13,127,120,.20);
  font-size: 4.5rem;
  line-height: .6;
  margin-bottom: .8rem;
}
.testimonial-card > p { color: #4f666e; line-height: 1.8; font-size: 1rem; }
.patient { display: flex; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.patient-avatar {
  width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 800; font-size: .82rem;
}
.patient strong, .patient span { display: block; }
.patient span { color: var(--muted); font-size: .76rem; }
.testimonial-controls { display: flex; justify-content: center; gap: .7rem; margin-top: 1.6rem; }
.testimonial-controls button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--primary); transition: .25s;
}
.testimonial-controls button:hover { background: var(--primary); color: #fff; }

.appointment-section { background: linear-gradient(180deg, #f7fbfa, #fff); }
.appointment-box {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: #fff;
}
.appointment-info {
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.10), transparent 25%),
    linear-gradient(145deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 3.5rem;
}
.appointment-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.appointment-info > p { color: rgba(255,255,255,.72); line-height: 1.7; }
.contact-stack { display: grid; gap: 1.2rem; margin-top: 2rem; }
.contact-stack > div { display: flex; gap: .9rem; align-items: center; }
.contact-stack > div > span {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px;
  background: rgba(255,255,255,.12); display: grid; place-items: center;
}
.contact-stack small, .contact-stack strong { display: block; }
.contact-stack small { color: rgba(255,255,255,.65); font-size: .73rem; }
.contact-stack strong { font-size: .9rem; }
.appointment-form-wrap { padding: 3.5rem; }
.form-label { font-weight: 700; font-size: .84rem; color: #455c64; }
.form-control, .form-select {
  min-height: 52px;
  border-radius: 13px;
  border: 1px solid #dce7e5;
  background-color: #fbfdfc;
  padding: .8rem 1rem;
}
textarea.form-control { min-height: 120px; }
.form-control:focus, .form-select:focus {
  border-color: rgba(13,127,120,.55);
  box-shadow: 0 0 0 .22rem rgba(13,127,120,.10);
}
.form-message {
  border-radius: 12px;
  padding: .8rem 1rem;
  display: none;
  font-size: .88rem;
}
.form-message.success { display: block; background: #e9f8ef; color: #287648; }
.form-message.error { display: block; background: #fff1f0; color: #b33b32; }

.footer { background: #102c34; color: rgba(255,255,255,.72); padding: 70px 0 20px; }
.footer-brand .brand-mark { box-shadow: none; }
.footer-brand strong { color: #fff; }
.footer-about { max-width: 420px; line-height: 1.7; margin: 1.2rem 0; }
.social-links { display: flex; gap: .7rem; }
.social-links a {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); color: #fff; transition: .25s;
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer ul a { color: rgba(255,255,255,.66); font-size: .9rem; }
.footer ul a:hover { color: #fff; }
.newsletter-form { display: flex; background: rgba(255,255,255,.07); border-radius: 13px; overflow: hidden; }
.newsletter-form input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: .85rem 1rem; outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form button { width: 48px; border: 0; background: var(--primary); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem;
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem;
}

.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; width: 56px; height: 56px;
  border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 1.55rem;
  box-shadow: 0 12px 30px rgba(37,211,102,.32); z-index: 1000;
  animation: floaty 2.5s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.back-to-top {
  position: fixed; right: 30px; bottom: 90px; width: 42px; height: 42px;
  border-radius: 13px; border: 0; background: var(--ink); color: #fff; z-index: 999;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.reveal-up, .reveal-left, .reveal-scale {
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-up { transform: translateY(24px); }
.reveal-left { transform: translateX(-28px); }
.reveal-scale { transform: scale(.96); }
.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

@media (max-width: 991.98px) {
  .topbar { display: none; }
  .navbar-collapse { padding: 1rem 0 .4rem; }
  .min-vh-85 { min-height: auto; padding: 4rem 0 6.5rem; }
  .display-title { font-size: 3.6rem; }
  .doctor-visual { margin: 1rem auto 0; }
  .card-appointment { left: -10px; }
  .card-care { right: -10px; }
  .quick-services { margin-top: -25px; }
  .nutrition-wrap { padding: 3rem; }
  .appointment-info, .appointment-form-wrap { padding: 2.5rem; }
}

@media (max-width: 767.98px) {
  .section-padding { padding: 78px 0; }
  .display-title { font-size: 3rem; }
  .hero-copy { font-size: .98rem; }
  .trust-row { gap: .8rem; justify-content: space-between; }
  .trust-item strong { font-size: 1rem; }
  .trust-item span { font-size: .68rem; }
  .floating-card { min-width: 180px; padding: .75rem; }
  .card-care { top: 8%; }
  .card-appointment { bottom: 6%; }
  .about-collage { padding-right: 25px; }
  .main-photo img { height: 430px; }
  .small-photo { width: 48%; }
  .experience-badge { left: -8px; }
  .nutrition-wrap { padding: 2rem 1.2rem; border-radius: 24px; }
  .diet-points { grid-template-columns: 1fr; }
  .nutrition-image img { height: 340px; }
  .appointment-info, .appointment-form-wrap { padding: 2rem 1.25rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 575.98px) {
  .display-title { font-size: 1.55rem; }
  .hero-section .btn-lg { font-size: .95rem; width: 100%; }
  .trust-row .divider { display: none; }
  .trust-row { align-items: flex-start; }
  .doctor-visual { padding: 0 10px; }
  .floating-card { position: static; margin-top: .8rem; width: 100%; }
  .image-frame { border-radius: 32% 32% 22px 22px; }
  .section-title { font-size: 2.15rem; }
  .about-collage { padding: 0 0 110px 0; }
  .small-photo { right: 0; bottom: 0; width: 56%; }
  .experience-badge { bottom: 25px; left: 0; }
  .main-photo img { height: 390px; }
  .nutrition-wrap { padding: 1.6rem 1rem; }
  .appointment-info h2 { font-size: 2rem; }
}
