:root {
  --background: hsl(0 0% 98%);
  --foreground: hsl(30 15% 25%);
  --card: hsl(0 0% 100%);
  --accent-light: hsl(30 25% 92%);
  --accent: hsl(30 25% 88%);
  --primary: hsl(30 30% 35%);
  --primary-foreground: hsl(0 0% 100%);
  --muted: hsl(0 0% 45%);
  --border: hsl(30 20% 88%);
  --shadow-soft: 0 12px 40px -18px hsla(30, 30%, 35%, 0.35);
  --radius-lg: 1.75rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  /* font-family: "Playfair Display", "Inter", serif; */
  color: var(--foreground);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  display: block;
}

.section-padding {
  padding: 5rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-heading p {
  color: var(--muted);
}

.bg-accent-light {
  background-color: var(--accent-light);
}

.bg-accent {
  background-color: var(--accent);
}

.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--foreground);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: var(--primary);
}

.navbar-scrolled {
  background-color: hsla(0, 0%, 100%, 0.9);
  box-shadow: 0 10px 30px -18px hsla(30, 30%, 35%, 0.6);
  backdrop-filter: blur(8px);
}

.brand-logo {
  height: 48px;
  width: auto;
}

.hero-section {
  min-height: 90vh;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(249, 249, 247, 0.92) 0%, rgba(249, 249, 247, 0.85) 55%, rgba(249, 249, 247, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.text-highlight {
  color: var(--primary);
}

.text-shadow {
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-highlights {
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.about-highlight-track {
  gap: 2rem;
  animation: marquee 20s linear infinite;
  width: max-content;
}

.about-highlight-card {
  background-color: var(--card);
  border-radius: 1.5rem;
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  min-width: 260px;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(170, 140, 105, 0.12);
  color: var(--primary);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.about-commitment {
  max-width: 900px;
}

.services-grid .service-card,
.services-scroll .service-card {
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: var(--card);
  box-shadow: 0 30px 60px -40px rgba(16, 24, 40, 0.25);
  border: 1px solid rgba(170, 140, 105, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px -50px rgba(16, 24, 40, 0.35);
}

.service-image {
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-content {
  padding: 1.75rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 220px;
}

.service-content p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
}

.service-content .btn {
  font-weight: 600;
}

.gradient-brown {
  background: linear-gradient(135deg, rgba(193, 164, 133, 0.95), rgba(102, 74, 48, 0.95));
}

.gradient-blue {
  background: linear-gradient(135deg, rgba(162, 192, 215, 0.95), rgba(58, 92, 129, 0.95));
}

.gradient-pink {
  background: linear-gradient(135deg, rgba(230, 181, 196, 0.95), rgba(189, 86, 124, 0.95));
}

.services-scroll {
  overflow-x: auto;
  margin: 0 -1rem;
  padding: 0 1rem;
  scroll-snap-type: x mandatory;
}

.services-scroll .service-card {
  scroll-snap-align: center;
}

.services-scroll::-webkit-scrollbar,
.reasons-scroll::-webkit-scrollbar,
.testimonials-scroll::-webkit-scrollbar {
  display: none;
}

.reason-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background-color: var(--card);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 18px 45px -30px rgba(16, 24, 40, 0.45);
  min-width: 280px;
}

.reason-card i {
  font-size: 1.5rem;
}

.reasons-scroll {
  overflow-x: auto;
  margin: 0 -1rem;
  padding: 0 1rem;
  scroll-snap-type: x mandatory;
}

.reasons-scroll .reason-card {
  scroll-snap-align: center;
}

.doctor-carousel {
  background-color: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.doctor-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 6px solid rgba(170, 140, 105, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(170, 140, 105, 0.1);
  color: var(--primary);
  font-size: 4rem;
}

.doctor-highlights span {
  font-size: 0.95rem;
}

.doctor-highlights .separator {
  color: rgba(170, 140, 105, 0.4);
}

.gallery-section img {
  height: 540px;
  object-fit: cover;
}

.testimonial-card {
  background-color: var(--card);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 22px 55px -35px rgba(16, 24, 40, 0.35);
  border: 1px solid rgba(170, 140, 105, 0.12);
}

.testimonial-rating {
  color: #ffb947;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  border-top: 1px solid rgba(170, 140, 105, 0.25);
  padding-top: 1rem;
}

.testimonials-scroll {
  overflow-x: auto;
  margin: 0 -1rem;
  padding: 0 1rem;
  scroll-snap-type: x mandatory;
}

.testimonials-scroll .testimonial-card {
  scroll-snap-align: center;
}

.contact-info-cards .info-card {
  background-color: var(--card);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 18px 55px -40px rgba(16, 24, 40, 0.4);
  border: 1px solid rgba(170, 140, 105, 0.1);
}

.info-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(170, 140, 105, 0.15);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.community-card {
  background: rgba(170, 140, 105, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
}

.btn-cta {
  background: linear-gradient(135deg, rgba(119, 84, 49, 1), rgba(82, 51, 23, 1));
  color: var(--primary-foreground);
  border: none;
  font-weight: 600;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(82, 51, 23, 0.6);
}

.map-wrapper iframe {
  border: 0;
}

.footer .social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer .social-link:hover {
  transform: translateY(-4px);
  background: var(--primary);
}

.footer a {
  color: rgba(255, 255, 255, 0.65);
}

.footer a:hover {
  color: #fff;
}

.floating-book-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  box-shadow: 0 20px 45px -20px rgba(16, 24, 40, 0.45);
}

.toast {
  border-radius: 1rem;
  box-shadow: 0 18px 50px -25px rgba(16, 24, 40, 0.5);
}

@keyframes marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: 10rem;
  }
}

@media (min-width: 768px) {
  .floating-book-btn {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 80vh;
    padding: 6rem 0 4rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .services-scroll .service-card,
  .reasons-scroll .reason-card,
  .testimonials-scroll .testimonial-card {
    width: 85% !important;
  }

  .doctor-carousel {
    padding: 1.5rem;
  }

  .doctor-avatar {
    width: 150px;
    height: 150px;
    font-size: 3rem;
  }

  .gallery-section img {
    height: 320px;
  }

  .floating-book-btn {
    display: flex;
  }
}
