/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #00c9b1; /* teal/cyan accent */
  --primary-dark: #00a99d;
  --primary-glow: rgba(0, 201, 177, 0.25);
  --secondary: #0077b6; /* deep blue */
  --text-dark: #1a2535;
  --text-muted: #5a6a7e;
  --nav-bg: rgba(240, 252, 255, 0.92); /* frosted light blue */
  --nav-shadow: 0 4px 30px rgba(0, 119, 182, 0.1);
  --radius-pill: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Space Grotesk', sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: #f0faff;
}

/* ============================================================
   NAVBAR BASE
   ============================================================ */
.custom-navbar {
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 201, 177, 0.15);
  box-shadow: var(--nav-shadow);
  padding: 0.65rem 0;
  transition: var(--transition);
}

/* Scrolled state adds stronger shadow */
.custom-navbar.scrolled {
  box-shadow: 0 6px 40px rgba(0, 119, 182, 0.18);
}

/* ============================================================
   BRAND / LOGO
   ============================================================ */
.navbar-brand {
  text-decoration: none;
  gap: 10px;
}

.brand-icon svg {
  filter: drop-shadow(0 2px 8px rgba(0, 201, 177, 0.45));
  transition: var(--transition);
}
.navbar-brand:hover .brand-icon svg {
  filter: drop-shadow(0 4px 14px rgba(0, 201, 177, 0.7));
  transform: rotate(-4deg) scale(1.07);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-subtitle {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================================
   NAV LINKS
   ============================================================ */
.navbar-nav .nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
}

/* Underline indicator on hover */
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
  background: rgba(0, 201, 177, 0.08);
}

.navbar-nav .nav-link:hover::after {
  width: 55%;
}

/* Active / current page */
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background: rgba(0, 201, 177, 0.1);
}

.navbar-nav .nav-link.active::after {
  width: 55%;
}

/* ============================================================
   CTA BUTTON — "Make an Appointment"
   ============================================================ */
.btn-appointment {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.4rem;
  box-shadow: 0 4px 18px var(--primary-glow);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-appointment:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #005f8e 100%);
  box-shadow: 0 6px 28px rgba(0, 201, 177, 0.45);
  transform: translateY(-2px) scale(1.03);
  color: #fff !important;
}

.btn-appointment:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* ============================================================
   MOBILE TOGGLER
   ============================================================ */
.navbar-toggler {
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  transition: var(--transition);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2300C9B1' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   RESPONSIVE — MOBILE COLLAPSED MENU
   ============================================================ */
@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 0.8rem 0;
    gap: 0.25rem !important;
  }

  .navbar-nav .nav-link {
    padding: 0.55rem 1rem;
  }

  .navbar-nav .nav-link::after {
    left: 1rem;
    transform: none;
  }

  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    width: 40%;
  }

  .btn-appointment {
    width: 100%;
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  #mainNav {
    border-top: 1px solid rgba(0, 201, 177, 0.12);
    margin-top: 0.4rem;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(155deg, #e8f9fd 0%, #d0f4ef 40%, #b8edf5 100%);
  position: relative;
  padding: 6rem 0 130px; /* extra bottom for wave */
  overflow: hidden;
}

/* Subtle radial decorative glow behind content */
.hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(0, 201, 177, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
}

/* ---------- LEFT: Text ---------- */
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  color: var(--primary);
  display: block;
}

.hero-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-description strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Contact Us Now button */
.btn-hero-contact {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary) !important;
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.75rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-hero-contact:hover {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 6px 24px var(--primary-glow);
  transform: translateY(-2px);
}

/* ---------- RIGHT: Illustration ---------- */
.hero-image-col {
  position: relative;
}

.hero-illustration-wrap {
  position: relative;
  display: inline-block;
}

.hero-real-img {
  width: min(380px, 85vw);
  height: auto;
  animation: heroFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 15px 35px rgba(0, 119, 182, 0.2));
  border-radius: 24px;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* Floating stat badges */
.hero-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: 50px;
  padding: 0.45rem 1rem;
  box-shadow: 0 8px 28px rgba(0, 119, 182, 0.16);
  font-size: 0.78rem;
  color: var(--text-dark);
  white-space: nowrap;
  z-index: 2;
  animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge i {
  font-size: 0.95rem;
  color: var(--primary);
}

.hero-badge--top {
  top: 10px;
  left: -10px;
  animation-delay: 0s;
}

.hero-badge--bottom {
  bottom: 18px;
  right: -10px;
  animation-delay: 1.5s;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 28px rgba(0, 119, 182, 0.14);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 12px 36px rgba(0, 119, 182, 0.22);
  }
}

/* ---------- Wave Divider ---------- */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 90px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 4rem 0 120px;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-illustration-wrap {
    margin-top: 1rem;
  }

  .hero-badge--top {
    left: 0;
  }
  .hero-badge--bottom {
    right: 0;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.75rem;
  }
  .hero-real-img {
    width: 90vw;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.8rem;
  }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: #fff;
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

/* ---------- Left: Image wrap ---------- */
.about-image-col {
  position: relative;
}

.about-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Decorative radial blob behind SVG */
.about-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(
    ellipse at center,
    #d6f5f0 0%,
    #b8edf5 50%,
    transparent 80%
  );
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  animation: blobMorph 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes blobMorph {
  0%,
  100% {
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  }
  33% {
    border-radius: 45% 55% 40% 60% / 60% 45% 55% 40%;
  }
  66% {
    border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
  }
}

.about-real-img {
  position: relative;
  z-index: 1;
  width: min(450px, 85vw);
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 20px 40px rgba(0, 119, 182, 0.15));
}

/* Floating stat cards */
.about-stat-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 16px;
  padding: 0.7rem 1.1rem;
  box-shadow: 0 10px 35px rgba(0, 119, 182, 0.14);
  animation: badgePulse 3.5s ease-in-out infinite;
}

.about-stat--tl {
  top: 170px;
  left: -10px;
  animation-delay: 0s;
}

.about-stat--br {
  bottom: 40px;
  right: -10px;
  animation-delay: 1.8s;
}

.about-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ---------- Right: Text Content ---------- */
.about-content {
  padding-left: 1rem;
}

.about-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.about-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.4rem;
}

.about-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.8rem;
}

.about-description strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Feature pills */
.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dark);
  background: linear-gradient(
    135deg,
    rgba(0, 201, 177, 0.1),
    rgba(0, 119, 182, 0.07)
  );
  border: 1px solid rgba(0, 201, 177, 0.3);
  border-radius: 50px;
  padding: 0.35rem 0.9rem;
  transition: var(--transition);
}

.about-pill i {
  color: var(--primary);
  font-size: 0.7rem;
}

.about-pill:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 201, 177, 0.2),
    rgba(0, 119, 182, 0.12)
  );
  transform: translateY(-2px);
}

/* Action buttons */
.about-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.btn-about-primary {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.75rem;
  box-shadow: 0 4px 18px var(--primary-glow);
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-about-primary:hover {
  box-shadow: 0 8px 28px rgba(0, 201, 177, 0.45);
  transform: translateY(-2px) scale(1.03);
  color: #fff !important;
}

.btn-about-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark) !important;
  text-decoration: none;
  transition: var(--transition);
}

.btn-about-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.8rem;
  transition: var(--transition);
}

.btn-about-text:hover .btn-about-arrow {
  background: var(--primary);
  color: white;
  transform: translateX(4px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .about-section {
    padding: 4rem 0;
  }
  .about-content {
    padding-left: 0;
    text-align: center;
  }
  .about-features {
    justify-content: center;
  }
  .about-actions {
    justify-content: center;
  }
  .about-stat--tl {
    left: 0;
  }
  .about-stat--br {
    right: 0;
  }
  .about-blob {
    width: 300px;
    height: 300px;
  }
}

/* ============================================================
   SERVICES (TREATMENTS) SECTION
   ============================================================ */
.services-section {
  padding: 2rem 0;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(224, 247, 250, 0.4) 100%
  );
  position: relative;
  z-index: 1;
}

.services-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.services-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

.services-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 201, 177, 0.15);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-12px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 50px rgba(0, 119, 182, 0.12);
  border-color: rgba(0, 201, 177, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

/* Icon Wrap */
.service-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  transition: var(--transition);
  z-index: 2;
}

.service-icon-wrap i {
  color: var(--primary);
  transition: var(--transition);
}

.icon-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-glow);
  border-radius: 50%;
  z-index: -1;
  animation: pulseRotate 4s linear infinite;
}

@keyframes pulseRotate {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.2;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.service-card:hover .service-icon-wrap i {
  color: #fff;
}

.service-card:hover .icon-pulse {
  animation: pulseRotate 1.5s linear infinite;
  background: var(--primary-glow);
}

/* Card Content */
.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.service-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Specific Icon Colors/Styles */
.rct-icon {
  background: rgba(0, 201, 177, 0.12);
}
.restorative-icon {
  background: rgba(0, 119, 182, 0.1);
}
.veneers-icon {
  background: rgba(0, 201, 177, 0.15);
}
.bridge-icon {
  background: rgba(0, 119, 182, 0.08);
}
.post-icon {
  background: rgba(0, 201, 177, 0.1);
}
.implant-icon {
  background: rgba(0, 119, 182, 0.12);
}
.rehab-icon {
  background: rgba(0, 201, 177, 0.08);
}
.gum-icon {
  background: rgba(0, 119, 182, 0.15);
}
.ortho-icon {
  background: rgba(0, 201, 177, 0.12);
}
.extraction-icon {
  background: rgba(0, 119, 182, 0.1);
}
.fracture-icon {
  background: rgba(0, 201, 177, 0.15);
}
.pediatric-icon {
  background: rgba(0, 119, 182, 0.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 767.98px) {
  .services-section {
    padding: 5rem 0;
  }
  .service-card {
    padding: 2.5rem 1.5rem;
  }
}

/* ============================================================
   TREATMENT GALLERY SECTION
   ============================================================ */
.treatment-gallery {
  padding: 1rem 0.5rem;
  background: #fff;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 10px 0 30px;
}

.gallery-card {
  flex: 0 0 calc(20% - 15px);
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  transition: var(--transition);
  cursor: pointer;
}

@media (max-width: 1200px) {
  .gallery-card {
    flex: 0 0 calc(33.33% - 15px);
  }
}

@media (max-width: 991px) {
  .gallery-card {
    flex: 0 0 calc(50% - 15px);
    height: 350px;
  }
}

@media (max-width: 575px) {
  .gallery-card {
    flex: 0 0 100%;
    height: 320px;
  }
}

.gallery-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 1;
}

.gallery-card-title {
  position: absolute;
  bottom: 25px;
  left: 20px;
  right: 20px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 119, 182, 0.15);
}

.gallery-card:hover img {
  transform: scale(1.1);
}
/* ============================================================
   MILESTONES SECTION
   ============================================================ */
.milestones-section {
  padding: 2rem 0;
  background-color: #f8fbff;
}

.milestone-timeline {
  position: relative;
  margin-top: 2rem;
}

/* Authentic Continuous Vertical Line */
.milestone-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--primary),
    var(--secondary-light)
  );
  z-index: 1;
}

.milestone-item {
  display: flex;
  gap: 25px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.milestone-item:last-child {
  margin-bottom: 0;
}

.milestone-icon-wrap {
  flex: 0 0 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 201, 177, 0.2);
  position: relative;
  z-index: 3;
  flex-shrink: 0; /* Prevents icon from shrinking */
}

.milestone-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.milestone-content p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

.milestone-img-wrap {
  position: relative;
  padding-left: 2rem;
}

@media (max-width: 991.98px) {
  .milestone-img-wrap {
    padding-left: 0;
    margin-top: 3rem;
  }
}

.milestone-item .fa-star {
  color: #0077b6;
}

.milestone-item .fa-square-check {
  color: #00c9b1;
}

/* ============================================================
   GLOBAL SECTION STYLES
   ============================================================ */
.eyebrow {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section {
  padding: 2rem 0;
  background-color: #fff;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  margin: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 119, 182, 0.1);
  border-color: rgba(0, 201, 177, 0.2);
}

.testimonial-content {
  position: relative;
  flex-grow: 1;
}

.quote-icon {
  font-size: 2rem;
  color: rgba(0, 201, 177, 0.2);
  margin-bottom: 1.5rem;
}

.feedback {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.stars {
  color: #ffc107;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.testimonial-info {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.patient-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.patient-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.patient-details .name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

.patient-details .role {
  font-size: 0.85rem;
  color: var(--primary);
  margin: 0;
  font-weight: 500;
}

/* Owl Carousel Dots Styling */
.testimonials-carousel .owl-dots {
  margin-top: 3rem !important;
}

.testimonials-carousel .owl-dot span {
  width: 12px !important;
  height: 12px !important;
  background: rgba(0, 201, 177, 0.2) !important;
  transition: var(--transition) !important;
}

.testimonials-carousel .owl-dot.active span {
  background: var(--primary) !important;
  width: 30px !important;
}

@media (max-width: 768px) {
  .testimonial-card {
    padding: 1.5rem;
  }

  .feedback {
    font-size: 0.95rem;
  }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 2rem 0;
  background-color: #fff;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 30px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 201, 177, 0.3);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
}

.cta-desc {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.cta-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-cta {
  padding: 1rem 2.5rem;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-cta.btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}

.btn-cta.btn-primary:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.cta-trust p {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Decorative Circles */
.cta-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.cta-circle-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  right: -100px;
}

.cta-circle-2 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: -50px;
}

@media (max-width: 991.98px) {
  .cta-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .cta-box {
    padding: 3rem 1.5rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-btns {
    flex-direction: column;
    gap: 15px;
  }

  .btn-cta {
    width: 100%;
  }
}

/* ============================================================
   FOOTER SECTION
   ============================================================ */
.footer {
  background-color: #e3f2fd; /* Light cyan tinted background */
  padding: 6rem 0 2rem;
  color: #444;
}

.footer-brand .brand-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.5px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 201, 177, 0.2);
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2rem;
  position: relative;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.contact-icon {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 3px;
}

.contact-text {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  color: #888;
  font-size: 0.9rem;
}

/* ============================================================
   FLOATING ICONS
   ============================================================ */
.floating-icons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-btn {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 8px 25px rgba(0, 201, 177, 0.3);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.floating-btn:hover {
  transform: translateY(-5px);
  background: var(--secondary);
  box-shadow: 0 12px 30px rgba(0, 119, 182, 0.4);
  color: #fff;
}

.float-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.float-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .footer {
    padding: 4rem 0 2rem;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .contact-text {
    text-align: left;
  }

  .floating-icons {
    bottom: 20px;
    right: 20px;
  }
}
