/* ===================== Variables ===================== */
:root {
  --pink: #e94f8a;
  --pink-dark: #d63384;
  --blue: #38bdf8;
  --blue-dark: #0ea5e9;
  --navy: #1b2a63;
  --navy-light: #2b3f8c;
  --bg-soft: #fdf3f8;
  --bg-blue-soft: #eaf9fd;
  --text: #33344a;
  --muted: #6b6d85;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(27, 42, 99, 0.08);
  --shadow-hover: 0 16px 40px rgba(27, 42, 99, 0.14);
  --font-heading: "Baloo 2", "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--navy);
}

.accent-pink {
  color: var(--pink);
}
.accent-blue {
  color: var(--blue-dark);
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(233, 79, 138, 0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(233, 79, 138, 0.45);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
}

.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ===================== Top Bar ===================== */
.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.icon-phone-mini::before {
  content: "📞";
  margin-right: 4px;
}
.topbar-address {
  opacity: 0.85;
}

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 14px rgba(27, 42, 99, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 79px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 4px;
}
.tooth-inline {
  display: inline-block;
}
.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--pink);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  transition: width 0.25s ease;
}
.main-nav a:hover {
  color: var(--pink);
}
.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===================== Hero ===================== */
.hero {
  background: linear-gradient(
    135deg,
    var(--bg-soft) 0%,
    var(--bg-blue-soft) 100%
  );
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  color: var(--pink);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 800;
}
.hero-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 30px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--navy);
}
.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-blob {
  display: none;
}
.hero-tooth {
  position: relative;
  filter: drop-shadow(0 20px 30px rgba(27, 42, 99, 0.15));
  animation: floatY 5s ease-in-out infinite;
}
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(27, 42, 99, 0.2);
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* ===================== About Us ===================== */
.about {
  padding: 90px 0;
  background: var(--bg-soft);
  overflow: hidden;
}
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 56px;
}
.about-art {
  display: flex;
  justify-content: center;
}
.about-art-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 20px 34px rgba(27, 42, 99, 0.15));
}
.about-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 36px;
}
.about-badge {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  width: 88%;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(27, 42, 99, 0.18);
}
.about-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--navy);
}
.about-badge span {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #e94f8a;
}
.about-text .eyebrow {
  margin-bottom: 10px;
}
.about-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 18px;
  line-height: 1.25;
}
.about-desc {
  color: var(--muted);
  margin-bottom: 26px;
  font-size: 1rem;
}
.about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin-bottom: 32px;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}
.point-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--blue-dark));
  flex-shrink: 0;
}

/* ===================== Why Choose Us ===================== */
.why-us {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--white), var(--bg-soft));
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--pink), var(--blue)) 1;
}
.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.why-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===================== Doctors ===================== */
.doctors {
  padding: 90px 0;
  background: var(--white);
}
.section-title {
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
  margin-bottom: 28px;
}
.section-sub-highlight {
  display: block;
  width: fit-content;
  margin: -20px auto 50px;
  padding: 8px 22px;
  border-radius: 50px;
  background: linear-gradient(
    135deg,
    rgba(233, 79, 138, 0.12),
    rgba(14, 165, 233, 0.12)
  );
  border: 1px solid rgba(233, 79, 138, 0.25);
  color: var(--pink-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.doctor-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 36px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.doctor-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.avatar-pink {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
}
.avatar-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.doctor-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.doctor-cred {
  color: var(--pink-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.doctor-spec {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.doctor-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.doctor-phone:hover {
  background: var(--navy);
  color: var(--white);
}
.icon-phone::before {
  content: "📞";
}

/* ===================== Services ===================== */
.services {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-blue-soft), var(--white));
}
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.service-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-pink {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
}
.icon-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.service-group-head h3 {
  font-size: 1.3rem;
}

.service-box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card-media {
  height: 150px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}
.service-card-media.pink {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
}
.service-card-media.blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card-body {
  padding: 0 6px 6px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-card-body h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.service-card-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}
.service-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-call,
.btn-enquire {
  padding: 10px 18px;
  font-size: 0.85rem;
}
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #1c8a4b, #146c3a);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
}
.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(20, 108, 58, 0.3);
}
.btn-enquire {
  background: #f5e9d8;
  color: #a5762f;
  border-radius: 50px;
  font-weight: 600;
}
.btn-enquire:hover {
  background: #efdcc0;
  transform: translateY(-2px);
}

/* ===================== Info Strip ===================== */
.info-strip {
  position: relative;
  padding: 90px 0;
  background: radial-gradient(
    ellipse at top left,
    #22306b 0%,
    var(--navy) 45%,
    #101a3f 100%
  );
  overflow: hidden;
}
.info-decor {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.35;
  pointer-events: none;
}
.info-decor-1 {
  width: 380px;
  height: 380px;
  top: -160px;
  right: -120px;
  background: radial-gradient(
    circle,
    rgba(233, 79, 138, 0.55),
    transparent 70%
  );
}
.info-decor-2 {
  width: 320px;
  height: 320px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.5), transparent 70%);
}
.info-eyebrow {
  position: relative;
  text-align: center;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.info-title {
  position: relative;
  text-align: center;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 50px;
}
.info-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  justify-content: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.info-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.info-card {
  position: relative;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 34px 30px;
  color: var(--white);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.info-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}
.info-card:hover::before {
  transform: scaleX(1);
}
.info-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.info-card:hover .info-icon {
  transform: rotate(-8deg) scale(1.08);
}
.icon-grad-pink {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
}
.icon-grad-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}
.icon-grad-green {
  background: linear-gradient(135deg, #34d399, #1c8a4b);
}
.info-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.info-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  margin-bottom: 3px;
  line-height: 1.6;
}
.info-card a {
  color: rgba(255, 255, 255, 0.9);
}
.info-card a:hover {
  color: var(--pink);
}

/* ===================== Scan Section ===================== */
.scan-section {
  padding: 70px 0;
  background: var(--bg-soft);
}
.scan-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.scan-text h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.scan-text p {
  color: var(--muted);
  max-width: 460px;
}
.scan-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scan-qr canvas {
  border-radius: 12px;
  border: 2px solid var(--blue);
  padding: 6px;
  background: var(--white);
}
.scan-qr span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

/* ===================== CTA ===================== */
.cta {
  background:
    linear-gradient(135deg, rgba(214, 51, 132, 0.88), rgba(27, 42, 99, 0.92)),
    url("https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  padding: 80px 0;
  text-align: center;
}
.cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 30px;
}
.cta .hero-btns {
  justify-content: center;
  margin-bottom: 0;
}

/* ===================== Footer ===================== */
.site-footer {
  background: #101a3f;
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-links a {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
.footer-links a:hover {
  color: var(--blue);
}
.footer-brand .brand-title {
  color: var(--white);
  font-size: 1.3rem;
  display: block;
}
.footer-brand .brand-sub {
  color: var(--pink);
  display: block;
  margin-bottom: 10px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}
.social-icon:hover {
  background: linear-gradient(135deg, var(--pink), var(--blue-dark));
  color: var(--white);
  transform: translateY(-3px);
}
.footer-col h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1rem;
}
.footer-col p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.footer-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-icon {
  color: var(--pink);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-col a:hover {
  color: var(--blue);
}
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
}

/* ===================== Back to top ===================== */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--pink);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(233, 79, 138, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
  z-index: 99;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===================== Floating Contact Buttons ===================== */
.floating-contact {
  position: fixed;
  right: 26px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 99;
}
.floating-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  animation: floatPulse 2.4s ease-in-out infinite;
}
.floating-btn:hover {
  transform: scale(1.1);
}
.floating-btn svg {
  width: 26px;
  height: 26px;
}
.floating-btn.call-btn {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
}
.floating-btn.whatsapp-btn {
  background: #25d366;
  animation-delay: 0.4s;
}
@keyframes floatPulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  }
  50% {
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.22),
      0 0 0 8px rgba(37, 211, 102, 0.15);
  }
}
@media (max-width: 576px) {
  .floating-contact {
    right: 16px;
    bottom: 78px;
    gap: 10px;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
  }
  .floating-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* ===================== Reveal Animation ===================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Active Nav ===================== */
.main-nav a.active {
  color: var(--pink);
}
.main-nav a.active::after {
  width: 100%;
}

/* ===================== Page Banner ===================== */
.page-banner {
  position: relative;
  padding: 70px 0 60px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(214, 51, 132, 0.92), rgba(27, 42, 99, 0.94)),
    url("https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  overflow: hidden;
}
.page-banner h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}
.breadcrumb a:hover {
  color: var(--white);
  text-decoration: underline;
}
.breadcrumb .sep {
  opacity: 0.6;
}
.breadcrumb .current {
  color: var(--white);
  font-weight: 600;
}

/* ===================== Home Teasers ===================== */
.teaser-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.teaser-head-row .section-title {
  text-align: left;
  margin: 0;
}
.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--pink-dark);
  white-space: nowrap;
}
.section-more:hover {
  text-decoration: underline;
}
.section-center-cta {
  text-align: center;
  margin-top: 44px;
}

/* ===================== Doctor Detail (Doctors page) ===================== */
.doctor-detail {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 36px;
}
.doctor-detail:last-child {
  margin-bottom: 0;
}
.doctor-detail .doctor-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto;
}
.doctor-detail .doctor-avatar svg {
  width: 60px;
  height: 60px;
}
.doctor-detail h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.doctor-detail .doctor-cred {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.doctor-detail .doctor-spec {
  margin-bottom: 14px;
}
.doctor-detail .doctor-bio {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.doctor-tag {
  background: var(--white);
  border: 1px solid rgba(27, 42, 99, 0.12);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
}

/* ===================== Contact Page ===================== */
.contact-page {
  padding: 90px 0;
  background: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-form-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.contact-form-card .form-sub {
  color: var(--muted);
  margin-bottom: 26px;
  font-size: 0.92rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid rgba(27, 42, 99, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(233, 79, 138, 0.15);
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
}
.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1c8a4b;
  display: none;
}
.form-note.visible {
  display: block;
}
.form-note.form-note-error {
  color: #c62828;
}
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns,
  .hero-stats {
    justify-content: center;
  }
  .hero-art {
    order: -1;
  }
  .doctor-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-points {
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .teaser-head-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .teaser-head-row .section-title {
    text-align: center;
  }
  .doctor-detail {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .doctor-tags {
    justify-content: center;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: 0 10px 20px rgba(27, 42, 99, 0.1);
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .scan-inner {
    flex-direction: column;
    text-align: center;
  }
}
