/* HEAVENLY DENTAL - style.css
 A modern, professional dental practice website
 Color palette: Navy blue, sky blue, warm gold
============================================= */

/* CSS Variables */

:root {
  --navy: #1b3f6b;

  --navy-dark: #122b4a;

  --blue: #2e86c1;

  --blue-light: #5dade2;

  --sky: #ebf5fb;

  --gold: #f0a500;

  --gold-dark: #d4910a;

  --white: #ffffff;

  --off-white: #f7fafd;

  --gray-100: #f0f4f8;

  --gray-200: #d9e2ec;

  --gray-400: #9fb3c8;

  --gray-600: #627d98;

  --gray-800: #334e68;

  --text: #1d2d3e;

  --shadow-sm: 0 2px 8px rgba(27, 63, 107, 0.08);

  --shadow-md: 0 6px 24px rgba(27, 63, 107, 0.13);

  --shadow-lg: 0 16px 48px rgba(27, 63, 107, 0.18);

  --radius-sm: 8px;

  --radius-md: 14px;

  --radius-lg: 22px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* =============================================
   UTILITIES
============================================= */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;

  font-family: "Poppins", sans-serif;

  font-size: 0.74rem;

  font-weight: 600;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  color: var(--blue);

  background: var(--sky);

  padding: 6px 16px;

  border-radius: 100px;

  margin-bottom: 14px;
}

.section-title {
  font-family: "Poppins", sans-serif;

  font-size: clamp(1.8rem, 4vw, 2.6rem);

  font-weight: 700;

  color: var(--navy-dark);

  line-height: 1.2;

  margin-bottom: 16px;
}

.section-title span {
  color: var(--blue);
}

.section-subtitle {
  font-size: 1.05rem;

  color: var(--gray-600);

  max-width: 580px;

  line-height: 1.75;
}

.section-header {
  margin-bottom: 52px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* Buttons */

.btn {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  font-family: "Poppins", sans-serif;

  font-size: 0.94rem;

  font-weight: 600;

  padding: 13px 28px;

  border-radius: 100px;

  border: none;

  cursor: pointer;

  transition: var(--transition);

  white-space: nowrap;
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: var(--gold);

  color: var(--navy-dark);

  box-shadow: 0 4px 20px rgba(240, 165, 0, 0.35);
}

.btn-primary:hover {
  background: var(--gold-dark);

  box-shadow: 0 6px 28px rgba(240, 165, 0, 0.45);

  transform: translateY(-2px);
}

.btn-primary svg {
  fill: var(--navy-dark);
  width: 17px;
  height: 17px;
}

.btn-outline-white {
  background: transparent;

  color: var(--white);

  border: 2px solid rgba(255, 255, 255, 0.65);

  font-family: "Poppins", sans-serif;

  font-size: 0.94rem;

  font-weight: 600;

  padding: 11px 28px;

  border-radius: 100px;

  cursor: pointer;

  display: inline-flex;

  align-items: center;

  gap: 6px;

  transition: var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);

  border-color: var(--white);

  transform: translateY(-2px);
}

.btn-blue {
  background: var(--blue);

  color: var(--white);

  box-shadow: 0 4px 20px rgba(46, 134, 193, 0.3);
}

.btn-blue:hover {
  background: var(--navy);

  box-shadow: 0 6px 28px rgba(46, 134, 193, 0.4);

  transform: translateY(-2px);
}

.btn-blue svg {
  fill: var(--white);
  width: 17px;
  height: 17px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);

  color: var(--white);

  border: 1px solid rgba(255, 255, 255, 0.25);

  font-family: "Poppins", sans-serif;

  font-size: 0.94rem;

  font-weight: 600;

  padding: 12px 24px;

  border-radius: 100px;

  cursor: pointer;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  transition: var(--transition);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);

  transform: translateY(-2px);
}

.btn-ghost svg {
  fill: var(--white);
  width: 17px;
  height: 17px;
}

/* Stars */

.stars {
  display: flex;
  gap: 3px;
}

.stars svg {
  width: 17px;
  height: 17px;
  fill: var(--gold);
}

.stars .star-empty {
  fill: rgba(255, 255, 255, 0.2);
}

.stars .star-half {
  fill: #d4ac0d;
}

/* Scroll-reveal */

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;

  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal {
  transform: translateY(28px);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;

  transform: none;
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

/* =============================================
   NAVBAR
============================================= */

#navbar {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  padding: 18px 0;

  transition:
    background 0.35s,
    padding 0.35s,
    box-shadow 0.35s;
}

#navbar.scrolled {
  background: var(--white);

  padding: 10px 0;

  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;

  align-items: center;

  justify-content: space-between;
}

.nav-logo {
  display: flex;

  align-items: center;

  gap: 11px;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;

  background: var(--gold);

  border-radius: 11px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.nav-logo-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--navy-dark);
}

.nav-logo-text {
  font-family: "Poppins", sans-serif;
}

.nav-logo-name {
  font-size: 1.15rem;
  font-weight: 700;

  color: var(--white);

  line-height: 1.1;

  transition: color 0.35s;
}

#navbar.scrolled .nav-logo-name {
  color: var(--navy-dark);
}

.nav-logo-sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);

  transition: color 0.35s;
}

#navbar.scrolled .nav-logo-sub {
  color: var(--gray-600);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-family: "Poppins", sans-serif;

  font-size: 0.88rem;
  font-weight: 500;

  color: rgba(255, 255, 255, 0.85);

  transition: color var(--transition);
}

#navbar.scrolled .nav-links a {
  color: var(--gray-800);
}

.nav-links a:hover,
#navbar.scrolled .nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--gold) !important;

  color: var(--navy-dark) !important;

  padding: 9px 20px !important;

  border-radius: 100px !important;

  font-weight: 600 !important;

  box-shadow: 0 4px 16px rgba(240, 165, 0, 0.3);

  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold-dark) !important;

  transform: translateY(-1px);

  box-shadow: 0 6px 20px rgba(240, 165, 0, 0.4) !important;
}

/* Hamburger */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;

  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2.5px;

  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

#navbar.scrolled .hamburger span {
  background: var(--navy-dark);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;

  position: fixed;
  top: 62px;
  left: 0;
  right: 0;

  background: var(--white);

  padding: 20px;

  box-shadow: var(--shadow-lg);

  z-index: 999;

  flex-direction: column;
  gap: 2px;

  border-top: 3px solid var(--blue);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: "Poppins", sans-serif;

  font-size: 0.97rem;
  font-weight: 500;

  color: var(--gray-800);

  padding: 12px 14px;
  border-radius: var(--radius-sm);

  transition:
    background var(--transition),
    color var(--transition);
}

.mobile-menu a:hover {
  background: var(--sky);
  color: var(--blue);
}

.mobile-menu .mob-cta {
  background: var(--gold);
  color: var(--navy-dark) !important;

  text-align: center;
  margin-top: 8px;
  font-weight: 600 !important;

  border-radius: 100px;
}

/* =============================================
   HERO
============================================= */

#hero {
  min-height: 100vh;

  position: relative;

  display: flex;
  align-items: center;

  background: var(--navy-dark);

  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(18, 43, 74, 0.98) 0%,
    rgba(27, 63, 107, 0.92) 50%,
    rgba(46, 134, 193, 0.78) 100%
  );

  z-index: 1;
}

.hero-circle-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(93, 173, 226, 0.14) 0%,
    transparent 70%
  );

  top: -180px;
  right: -80px;
  z-index: 0;
}

.hero-circle-2 {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(240, 165, 0, 0.09) 0%,
    transparent 70%
  );

  bottom: -80px;
  left: 8%;
  z-index: 0;
}

.hero-dots {
  position: absolute;
  inset: 0;

  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );

  background-size: 32px 32px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  width: 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: rgba(240, 165, 0, 0.14);

  border: 1px solid rgba(240, 165, 0, 0.32);

  color: var(--gold);

  font-family: "Poppins", sans-serif;

  font-size: 0.76rem;
  font-weight: 600;

  letter-spacing: 0.1em;
  text-transform: uppercase;

  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero-badge::before {
  content: "";

  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;

  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero-title {
  font-family: "Poppins", sans-serif;

  font-size: clamp(2.2rem, 5vw, 3.8rem);

  font-weight: 800;
  color: var(--white);

  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-title span {
  color: var(--gold);
  display: block;
}

.hero-desc {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.76);

  line-height: 1.78;
  margin-bottom: 34px;
  max-width: 490px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.hero-meta-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.1);

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-meta-icon svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
}

/* Hero right card */

.hero-card {
  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.11);

  backdrop-filter: blur(12px);

  border-radius: var(--radius-lg);

  padding: 34px;

  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-card-label {
  font-family: "Poppins", sans-serif;

  font-size: 0.78rem;
  font-weight: 600;

  text-transform: uppercase;
  letter-spacing: 0.1em;

  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 10px;
}

.hero-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-rating-num {
  font-family: "Poppins", sans-serif;

  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-rating-count {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 5px;
}

.hero-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.11);
}

.hero-info-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.hero-info-item {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-info-item svg {
  width: 17px;
  height: 17px;
  fill: var(--blue-light);
  flex-shrink: 0;
}

.hero-info-item strong {
  color: var(--white);
}

.hero-info-item a {
  color: var(--blue-light);
  transition: color var(--transition);
}

.hero-info-item a:hover {
  color: var(--gold);
}

.hero-emergency {
  background: rgba(240, 165, 0, 0.1);

  border: 1px solid rgba(240, 165, 0, 0.28);

  border-radius: var(--radius-sm);

  padding: 13px 17px;

  display: flex;
  align-items: center;
  gap: 11px;

  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 500;
}

.hero-emergency svg {
  width: 17px;
  height: 17px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* =============================================
   STATS BAR
============================================= */

#stats {
  background: var(--navy);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 32px 20px;
  text-align: center;

  border-right: 1px solid rgba(255, 255, 255, 0.1);

  transition: background var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.stat-number {
  font-family: "Poppins", sans-serif;

  font-size: 2.1rem;
  font-weight: 800;

  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

/* =============================================
   SERVICES
============================================= */

#services {
  padding: 100px 0;
  background: var(--off-white);
}

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

.service-card {
  background: var(--white);

  border-radius: var(--radius-md);

  padding: 30px 26px;

  box-shadow: var(--shadow-sm);

  border: 1px solid var(--gray-200);

  transition:
    box-shadow var(--transition),
    transform var(--transition),
    border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);

  transform: translateY(-5px);

  border-color: var(--blue-light);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 18px;

  transition: transform var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-4deg);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.icon-blue {
  background: #ebf5fb;
}

.icon-blue svg {
  fill: #2e86c1;
}

.icon-teal {
  background: #e8f8f5;
}

.icon-teal svg {
  fill: #1abc9c;
}

.icon-gold {
  background: #fef9e7;
}

.icon-gold svg {
  fill: #f0a500;
}

.icon-purple {
  background: #f5eef8;
}

.icon-purple svg {
  fill: #8e44ad;
}

.icon-coral {
  background: #fdedec;
}

.icon-coral svg {
  fill: #e74c3c;
}

.icon-green {
  background: #eafaf1;
}

.icon-green svg {
  fill: #27ae60;
}

.icon-sky {
  background: #e8f4fd;
}

.icon-sky svg {
  fill: #2980b9;
}

.icon-orange {
  background: #fef5e7;
}

.icon-orange svg {
  fill: #e67e22;
}

.icon-navy {
  background: #ebf5fb;
}

.icon-navy svg {
  fill: #1b3f6b;
}

.service-name {
  font-family: "Poppins", sans-serif;

  font-size: 1.02rem;
  font-weight: 600;

  color: var(--navy-dark);
  margin-bottom: 9px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.68;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* =============================================
   DOCTORS
============================================= */

#doctors {
  padding: 100px 0;
  background: var(--white);
}

.doctors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 0;
}

.doctor-card {
  background: var(--off-white);

  border-radius: var(--radius-lg);

  padding: 38px;

  border: 1px solid var(--gray-200);

  position: relative;
  overflow: hidden;

  transition:
    box-shadow var(--transition),
    transform var(--transition);
}

.doctor-card::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  height: 5px;

  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

.doctor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.doctor-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;

  color: var(--white);
  margin-bottom: 18px;
}

.av-navy {
  background: linear-gradient(135deg, #1b3f6b, #2e86c1);
}

.av-blue {
  background: linear-gradient(135deg, #2e86c1, #85c1e9);
}

.doctor-name {
  font-family: "Poppins", sans-serif;

  font-size: 1.2rem;
  font-weight: 700;

  color: var(--navy-dark);
  margin-bottom: 3px;
}

.doctor-title {
  font-size: 0.86rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.doctor-bio {
  font-size: 0.91rem;
  color: var(--gray-600);
  line-height: 1.78;
  margin-bottom: 22px;
}

.doctor-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.credential-tag {
  background: var(--sky);
  color: var(--navy);

  font-size: 0.76rem;
  font-weight: 600;

  padding: 4px 11px;
  border-radius: 100px;

  border: 1px solid var(--gray-200);
}

/* Why grid */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
  margin-top: 64px;
}

.why-item {
  text-align: center;
  padding: 26px 18px;
}

.why-icon {
  width: 54px;
  height: 54px;
  background: var(--sky);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 14px;
}

.why-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--blue);
}

.why-title {
  font-family: "Poppins", sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 7px;
}

.why-text {
  font-size: 0.86rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* =============================================
   INFO / HOURS
============================================= */

#info {
  padding: 100px 0;

  background: var(--navy-dark);

  position: relative;
  overflow: hidden;
}

.info-bg-decor {
  position: absolute;

  width: 500px;
  height: 500px;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(46, 134, 193, 0.1) 0%,
    transparent 70%
  );

  top: -120px;
  right: -100px;
  pointer-events: none;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.info-section-label {
  display: inline-block;

  font-family: "Poppins", sans-serif;

  font-size: 0.74rem;
  font-weight: 600;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--gold);

  background: rgba(240, 165, 0, 0.1);

  border: 1px solid rgba(240, 165, 0, 0.24);

  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.info-title {
  font-family: "Poppins", sans-serif;

  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;

  color: var(--white);
  line-height: 1.2;
  margin-bottom: 32px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: var(--radius-md);

  padding: 18px 22px;

  display: flex;
  align-items: flex-start;
  gap: 15px;

  transition: background var(--transition);
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.info-card-icon {
  width: 40px;
  height: 40px;

  background: rgba(46, 134, 193, 0.2);
  border-radius: var(--radius-sm);

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card-icon svg {
  width: 19px;
  height: 19px;
  fill: var(--blue-light);
}

.info-card-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 3px;
}

.info-card-value {
  font-size: 0.97rem;
  color: var(--white);
  font-weight: 500;
}

.info-card-value a {
  color: var(--blue-light);
  transition: color var(--transition);
}

.info-card-value a:hover {
  color: var(--gold);
}

.info-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 26px;
}

/* Hours table */

.hours-card {
  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: var(--radius-md);
  overflow: hidden;
}

.hours-card-header {
  background: rgba(46, 134, 193, 0.18);
  padding: 17px 22px;

  display: flex;
  align-items: center;
  gap: 11px;
}

.hours-card-header svg {
  width: 19px;
  height: 19px;
  fill: var(--blue-light);
}

.hours-card-header span {
  font-family: "Poppins", sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--white);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--transition);
}

.hours-table tr:last-child {
  border-bottom: none;
}

.hours-table tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hours-table td {
  padding: 12px 22px;
  font-size: 0.88rem;
}

.hours-table .day {
  color: rgba(255, 255, 255, 0.68);
}

.hours-table .time {
  color: var(--white);
  font-weight: 500;
  text-align: right;
}

.closed-text {
  color: rgba(255, 255, 255, 0.3) !important;
}

.hours-table tr.today .day,
.hours-table tr.today .time {
  color: var(--gold);
  font-weight: 600;
}

.hours-table tr.today .day::after {
  content: " \2190 Today";
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(240, 165, 0, 0.55);
}

.emergency-note {
  margin-top: 18px;

  background: rgba(240, 165, 0, 0.1);

  border: 1px solid rgba(240, 165, 0, 0.24);

  border-radius: var(--radius-sm);

  padding: 16px 20px;

  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.emergency-note svg {
  width: 19px;
  height: 19px;
  fill: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.emergency-note-title {
  font-family: "Poppins", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 4px;
}

.emergency-note-text {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* =============================================
   REVIEWS
============================================= */

#reviews {
  padding: 100px 0;
  background: var(--off-white);
}

.reviews-intro {
  display: flex;
  align-items: center;
  gap: 28px;

  background: var(--white);
  border-radius: var(--radius-md);

  padding: 26px 34px;
  border: 1px solid var(--gray-200);

  box-shadow: var(--shadow-sm);
  margin-bottom: 44px;
}

.reviews-intro-rating {
  text-align: center;
  flex-shrink: 0;
}

.reviews-intro-num {
  font-family: "Poppins", sans-serif;
  font-size: 3.4rem;
  font-weight: 800;

  color: var(--navy-dark);
  line-height: 1;
  margin-bottom: 5px;
}

.reviews-count-label {
  font-size: 0.76rem;
  color: var(--gray-400);
  margin-top: 5px;
}

.reviews-intro-divider {
  width: 1px;
  height: 80px;
  background: var(--gray-200);
  flex-shrink: 0;
}

.reviews-intro-text {
  flex: 1;
}

.reviews-intro-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 7px;
}

.reviews-intro-subtitle {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 4px;
}

.bar-label {
  font-size: 0.76rem;
  color: var(--gray-600);
  width: 36px;
  text-align: right;
  flex-shrink: 0;
}

.bar-track {
  flex: 1;
  height: 7px;
  background: var(--gray-100);
  border-radius: 100px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 100px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-fill.bar-muted {
  background: var(--gray-400);
}

.bar-pct {
  font-size: 0.73rem;
  color: var(--gray-400);
  width: 28px;
  flex-shrink: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);

  padding: 26px;
  box-shadow: var(--shadow-sm);

  border: 1px solid var(--gray-200);

  display: flex;
  flex-direction: column;

  transition:
    box-shadow var(--transition),
    transform var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-author-row {
  display: flex;
  align-items: center;
  gap: 11px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.av-teal {
  background: linear-gradient(135deg, #1abc9c, #48c9b0);
}

.av-gold {
  background: linear-gradient(135deg, #f0a500, #f5c842);
}

.av-purple {
  background: linear-gradient(135deg, #8e44ad, #af7ac5);
}

.av-coral {
  background: linear-gradient(135deg, #e74c3c, #f1948a);
}

.av-green {
  background: linear-gradient(135deg, #27ae60, #82e0aa);
}

.review-name {
  font-family: "Poppins", sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.review-date {
  font-size: 0.76rem;
  color: var(--gray-400);
  margin-top: 2px;
}

.review-quote-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--gray-200);
}

.review-stars {
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.72;
  flex: 1;
}

.review-source {
  display: flex;
  align-items: center;
  gap: 6px;

  margin-top: 14px;
  padding-top: 12px;

  border-top: 1px solid var(--gray-100);

  font-size: 0.76rem;
  color: var(--gray-400);
}

.review-source svg {
  width: 13px;
  height: 13px;
}

.icon-facebook {
  fill: #4267b2;
}

/* =============================================
   MAP
============================================= */

#map {
  background: var(--navy-dark);
}

.map-wrapper {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 480px;
}

.map-panel {
  background: var(--navy);
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-panel-label {
  display: inline-block;

  font-family: "Poppins", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;

  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);

  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.24);

  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.map-panel-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 26px;
}

.map-detail-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 30px;
}

.map-detail-item {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.map-detail-item svg {
  width: 17px;
  height: 17px;
  fill: var(--blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.map-detail-item span {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.map-detail-item strong {
  color: var(--white);
}

.map-detail-item a {
  color: var(--blue-light);
  transition: color var(--transition);
}

.map-detail-item a:hover {
  color: var(--gold);
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: none;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

/* =============================================
   FOOTER
============================================= */

#footer {
  background: #0d1f33;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.footer-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gold);
  border-radius: 10px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--navy-dark);
}

.footer-logo-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.75;
  margin-bottom: 18px;
}

.footer-contact-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-mini a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.58);
  transition: color var(--transition);
}

.footer-contact-mini a:hover {
  color: var(--blue-light);
}

.footer-contact-mini svg {
  width: 14px;
  height: 14px;
  fill: var(--blue-light);
  flex-shrink: 0;
}

.footer-col-title {
  font-family: "Poppins", sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--blue-light);
}

.footer-hours-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.52);
}

.h-open {
  color: rgba(255, 255, 255, 0.82);
}

.h-closed {
  color: rgba(255, 255, 255, 0.28);
}

.footer-emergency-box {
  margin-top: 14px;

  padding: 11px 13px;

  background: rgba(240, 165, 0, 0.09);
  border: 1px solid rgba(240, 165, 0, 0.2);
  border-radius: 8px;
}

.footer-emergency-title {
  font-size: 0.77rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 3px;
}

.footer-emergency-box a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-emergency-box a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  padding: 20px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 11px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.28);
}

.footer-copy a {
  color: rgba(255, 255, 255, 0.46);
  transition: color var(--transition);
}

.footer-copy a:hover {
  color: var(--blue-light);
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.46);
  font-size: 0.72rem;
  font-weight: 600;

  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 100px;
}

/* Scroll to top */

#scrollTop {
  position: fixed;
  bottom: 26px;
  right: 26px;

  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);

  border: none;
  border-radius: 50%;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: var(--shadow-md);

  opacity: 0;
  transform: translateY(14px);

  transition:
    opacity 0.3s,
    transform 0.3s,
    background 0.3s;

  z-index: 999;
}

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

#scrollTop:hover {
  background: var(--navy);
}

#scrollTop svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

/* =============================================
   RESPONSIVE
============================================= */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-card {
    display: none;
  }

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

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

  .info-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .map-wrapper {
    grid-template-columns: 1fr;
  }

  .map-embed {
    min-height: 340px;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reviews-intro {
    flex-direction: column;
    gap: 18px;
  }

  .reviews-intro-divider {
    width: 70px;
    height: 1px;
  }

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

  #services,
  #doctors,
  #info,
  #reviews {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.55rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 16px;
  }

  .hero-content {
    padding: 100px 0 56px;
  }

  .doctor-card,
  .map-panel {
    padding: 26px 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
