﻿@charset "UTF-8";
/* =============================================
   SKM DENTAL CLINIC — GLOBAL STYLES
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --green-dark: #1a4a3a;
  --green-mid: #2d6e56;
  --green-light: #4a9e7e;
  --green-pale: #e8f5ef;
  --green-accent: #6dbf9a;
  --white: #ffffff;
  --off-white: #f8faf9;
  --text-dark: #1a2e25;
  --text-mid: #3d5a4d;
  --text-light: #7a9a8a;
  --border: #d4e8de;
  --shadow: 0 8px 40px rgba(26,74,58,0.12);
  --shadow-lg: 0 20px 60px rgba(26,74,58,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

section {
  scroll-margin-top: 80px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }

/* =============================================
   UTILITY CLASSES
   ============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title span { color: var(--green-mid); }
.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 520px;
  line-height: 1.7;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--green-dark);
  padding: 13px 27px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--green-dark);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(26,74,58,0.1);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  max-width: 1300px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}
.logo img {
  height: 65px;
  width: auto;
  display: block;
}
.navbar.scrolled .logo { color: var(--green-dark); }
.logo-icon {
  width: 38px; height: 38px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.logo-icon i { color: var(--green-dark); font-size: 1rem; }
.navbar.scrolled .logo-icon { background: var(--green-dark); }
.navbar.scrolled .logo-icon svg path { fill: var(--white); }
.navbar.scrolled .logo-icon i { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  position: relative;
}
.navbar.scrolled .nav-links a { color: var(--text-mid); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green-light);
  transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
.navbar.scrolled .nav-links a:hover { color: var(--green-dark); }
.clinic-name {
  display: none;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1.2rem;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-cta {
  background: var(--white) !important;
  color: var(--green-dark) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  transition: var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--green-pale) !important; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.navbar.scrolled .nav-cta { background: var(--green-dark) !important; color: var(--white) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--green-dark); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--green-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; display: flex; }
.mobile-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--green-accent); }
.mobile-nav .close-btn {
  position: absolute;
  top: 24px; right: 28px;
  background: none; border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: var(--green-dark);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 70% 30%, rgba(77,158,126,0.15) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(109,191,154,0.1) 0%, transparent 40%);
}
.hero-leaves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-leaves i { color: rgba(255,255,255,0.35); }
.leaf {
  position: absolute;
  font-size: 1.8rem;
  animation: floatLeaf linear infinite;
  opacity: 0.25;
}
.leaf:nth-child(1) { top: 10%; left: 15%; animation-duration: 8s; animation-delay: 0s; }
.leaf:nth-child(2) { top: 20%; left: 75%; animation-duration: 10s; animation-delay: 2s; }
.leaf:nth-child(3) { top: 60%; left: 88%; animation-duration: 7s; animation-delay: 1s; font-size: 1.2rem; }
.leaf:nth-child(4) { top: 80%; left: 10%; animation-duration: 9s; animation-delay: 3s; font-size: 2.2rem; }
.leaf:nth-child(5) { top: 40%; left: 50%; animation-duration: 11s; animation-delay: 4s; font-size: 1rem; }

@keyframes floatLeaf {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 40px 80px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}
.hero-content { position: relative; z-index: 2; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--green-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease both;
}
.hero-label::before { content: '✨'; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.15s both;
}
.hero-title em { color: var(--green-accent); font-style: normal; }
.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}
.hero-btns .btn-primary { background: var(--white); color: var(--green-dark); }
.hero-btns .btn-primary:hover { background: var(--green-pale); }
.hero-btns .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--white); }
.hero-btns .btn-outline:hover { background: rgba(255,255,255,0.1); }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.stat-item {}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeInRight 1s ease 0.3s both;
}
.hero-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.hero-img-main {
  grid-column: 1 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  position: relative;
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-sm {
  border-radius: var(--radius);
  overflow: hidden;
  height: 180px;
  position: relative;
}
.hero-img-sm img { width: 100%; height: 100%; object-fit: cover; }

/* Badge */
.hero-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}
.badge-icon { font-size: 1.6rem; }
.badge-icon i { color: var(--green-dark); }
.badge-text span { display: block; font-size: 0.7rem; color: var(--text-light); }
.badge-text strong { font-size: 0.95rem; color: var(--text-dark); font-weight: 600; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =============================================
   SECTION SHARED
   ============================================= */
section { padding: 90px 0; }
section:nth-child(even) { background: var(--off-white); }

/* =============================================
   SERVICES PREVIEW (index)
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-mid), var(--green-accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: var(--transition);
}
.service-icon i { color: var(--green-dark); font-size: 1.3rem; }
.service-card:hover .service-icon { background: var(--green-dark); }
.service-card:hover .service-icon i { color: var(--white); }
.service-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.service-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* =============================================
   DOCTORS PREVIEW
   ============================================= */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-img {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--green-pale), var(--border));
}
.doctor-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.doctor-card:hover .doctor-img img { transform: scale(1.05); }
.doctor-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--green-mid);
  font-size: 3rem;
  gap: 8px;
}
.doctor-placeholder i { font-size: 2.6rem; }
.doctor-placeholder small { font-size: 0.75rem; font-family: 'DM Sans', sans-serif; color: var(--text-light); }
.doctor-info { padding: 20px; }
.doctor-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.doctor-qual {
  font-size: 0.8rem;
  color: var(--green-mid);
  font-weight: 500;
  margin-bottom: 8px;
}
.doctor-bio {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
  display: inline-flex;
  gap: 4px;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.author-avatar i { color: var(--green-dark); font-size: 1rem; }
.author-name { font-weight: 600; font-size: 0.88rem; color: var(--text-dark); }
.author-role { font-size: 0.75rem; color: var(--text-light); }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: var(--green-dark) !important;
  text-align: center;
  padding: 80px 20px;
}
.cta-section .section-title { color: var(--white); }
.cta-section .section-sub { color: rgba(255,255,255,0.7); margin: 0 auto 36px; }
.cta-section .btn-primary { background: var(--white); color: var(--green-dark); }
.cta-section .btn-primary:hover { background: var(--green-pale); }

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.55); max-width: 280px; }
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: var(--green-accent); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact-item span:first-child { font-size: 1rem; margin-top: 2px; }
.footer-contact-item i { color: var(--green-accent); font-size: 0.95rem; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--green-dark);
  padding: 140px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(77,158,126,0.2) 0%, transparent 60%);
}
.page-hero .section-label { color: var(--green-accent); }
.page-hero .section-title { color: var(--white); }
.page-hero .section-sub { color: rgba(255,255,255,0.7); margin: 0 auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: var(--green-accent); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* =============================================
   SCROLL REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   APPOINTMENT CTA STRIP
   ============================================= */
.appt-strip {
  background: var(--green-mid);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.appt-strip p { color: var(--white); font-size: 0.95rem; }
.appt-strip-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.appt-strip-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
}
.appt-strip-meta .status-pill {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
}
.appt-strip p strong { font-weight: 700; }
.appt-strip a {
  background: var(--white);
  color: var(--green-dark);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: var(--transition);
}
.appt-strip a:hover { background: var(--green-pale); }

/* =============================================
   WORKING HOURS
   ============================================= */
.hours-card {
  position: relative;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(212,232,222,0.9);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(26,74,58,0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
}
.hours-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(109,191,154,0.16), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}
.hours-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(26,74,58,0.14);
  border-color: rgba(109,191,154,0.45);
}
.hours-card > * {
  position: relative;
  z-index: 1;
}
.hours-card-glass {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 45px rgba(0,0,0,0.18);
  backdrop-filter: blur(16px);
}
.hours-card-glass::before {
  background:
    radial-gradient(circle at top right, rgba(109,191,154,0.22), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 60%);
}
.hours-card-glass .hours-card-title,
.hours-card-glass .hours-card-status,
.hours-card-glass .hours-label,
.hours-card-glass .hours-value,
.hours-card-glass .hours-caption {
  color: var(--white);
}
.hours-card-glass .hours-icon {
  background: rgba(255,255,255,0.14);
  color: var(--white);
}
.hours-card-glass .hours-row {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}
.hours-card-glass .hours-row.is-today {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.18);
}
.hours-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 0 4px;
}
.hours-card-title-wrap {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.hours-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--green-pale);
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hours-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.hours-card-status {
  font-size: 0.88rem;
  color: var(--text-mid);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(109,191,154,0.14);
  color: var(--green-dark);
  white-space: nowrap;
  margin-left: auto;
}
.status-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(109,191,154,0.18);
}
.status-pill.is-closed {
  background: rgba(122,154,138,0.15);
  color: var(--text-mid);
}
.hours-list {
  display: grid;
  gap: 10px;
  padding: 0 4px;
}
.hours-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(212,232,222,0.9);
  background: rgba(248,250,249,0.92);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.hours-row:hover {
  background: var(--white);
  transform: translateX(2px);
}
.hours-row.is-today {
  background: rgba(109,191,154,0.12);
  border-color: rgba(109,191,154,0.35);
}
.hours-row.is-today .hours-label,
.hours-row.is-today .hours-value {
  color: var(--green-dark);
}
.hours-card-glass .hours-row .hours-label,
.hours-card-glass .hours-row .hours-value {
  color: var(--white);
}
.hours-card-glass .hours-row.is-today .hours-label,
.hours-card-glass .hours-row.is-today .hours-value {
  color: var(--white);
}
.hours-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}
.hours-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  text-align: right;
}
.hours-caption {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 0 4px;
}
.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-hours strong {
  color: var(--white);
  font-weight: 600;
}

/* =============================================
   FORM STYLES
   ============================================= */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,110,86,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* Success msg */
.form-success {
  display: none;
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  color: var(--green-dark);
  font-weight: 500;
}
.form-success.show { display: block; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  html { zoom: 0.9; }
  .navbar {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 24px rgba(26,74,58,0.12);
  }
  .navbar-inner {
    padding: 16px 20px;
    position: relative;
  }
  .clinic-name {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: 60%;
    text-align: center;
    pointer-events: none;
    z-index: 1;
  }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hamburger span { background: var(--green-dark); }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 100px 20px 60px;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    text-align: center;
    padding: 0 6px;
  }
  .hero-title { margin-left: auto; margin-right: auto; }
  .hero-desc { margin: 0 auto 36px; max-width: 520px; }
  .hero-label {
    background: rgba(255,255,255,0.95);
    color: var(--green-dark);
    border: 1px solid rgba(255,255,255,0.6);
    padding: 10px 18px;
    border-radius: 999px;
    letter-spacing: 0.08em;
    justify-content: center;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }
  .hero-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #20c997;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 0 4px rgba(32,201,151,0.2);
  }
  .hero-btns {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
  }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 999px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns .btn-primary {
    background: var(--white);
    color: var(--green-dark);
    box-shadow: 0 10px 24px rgba(26,74,58,0.25);
  }
  .hero-btns .btn-primary:hover { background: var(--green-pale); }
  .hero-btns .btn-outline {
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
    background: transparent;
  }
  .hero-stats {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 18px 10px;
    justify-content: space-between;
    gap: 0;
    margin: 28px auto 24px;
    width: 100%;
    max-width: 360px;
  }
  .stat-item {
    flex: 1;
    text-align: center;
    position: relative;
  }
  .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255,255,255,0.18);
  }
  .stat-num {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.55rem;
  }
  .stat-label {
    font-size: 0.7rem;
    line-height: 1.2;
    color: rgba(255,255,255,0.7);
  }
  /* Enhanced Mobile Hero Images */
  .hero-inner { padding-bottom: 40px; } /* reduce empty green space */
  .hero-visual { 
    display: block; 
    margin-top: -10px; 
    animation: fadeInUp 0.8s ease 0.3s both; 
  }
  .hero-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .hero-img-main {
    grid-column: 1 / 3;
    height: 200px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
  }
  .hero-img-sm {
    height: 140px;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
  }
  .hero-img-main:hover, .hero-img-sm:hover,
  .hero-img-main:active, .hero-img-sm:active {
    transform: scale(1.02);
  }
  .hero-badge {
    bottom: -15px;
    left: 10px;
    transform: scale(0.85);
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .appt-strip { flex-direction: column; text-align: center; padding: 18px 20px; }
  .appt-strip-content { align-items: center; }
  .appt-strip-meta {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .appt-strip-meta > span:not(.status-pill) {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    padding-left: 0;
  }
  .appt-strip-meta .status-pill {
    margin: 8px auto 0;
    align-self: center;
  }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  section { padding: 60px 0; }
  .hours-card {
    padding: 24px 20px;
    border-radius: 20px;
  }
  .hours-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .hours-row {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: left;
  }
  .hours-value {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .doctor-img { height: 160px; }
  .service-card { padding: 18px 14px; }
  .section-title { font-size: 1.6rem; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 768px) {
  body .timeline::before {
    left: 20px;
    transform: none;
  }

  body .timeline .timeline-dot {
    left: 20px;
    transform: none;
  }

  body .timeline .timeline-item {
    width: 100%;
    padding-left: 50px;
    text-align: left;
  }
}

/* =============================================
   CARD BACKGROUNDS
   ============================================= */
.card-large,
.card-small {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card-large {
  background: url('./images/1.jpg.webp') center / cover no-repeat !important;
  background-position: center;
  min-height: 300px;
}

.card-small {
  background-position: center top;
  min-height: 200px;
}

.card-small-1 {
  background: url('./images/2.jpg.webp') center top / cover no-repeat !important;
}

.card-small-2 {
  background: url('./images/3.jpg.webp') center top / cover no-repeat !important;
}




