/* ==========================================================================
  Fahad Pets Clinic Website - Main Stylesheet
  Author: Fahad Pets Clinic
   ========================================================================== */

/* ===================== CSS VARIABLES ===================== */
:root {
  /* Color Palette */
  --primary: #1a6b3c;
  --primary-dark: #0f4a28;
  --primary-light: #28a05a;
  --secondary: #4caf7d;
  --accent: #f0a500;
  --accent-light: #ffc844;

  --bg-white: #ffffff;
  --bg-light: #f7faf8;
  --bg-beige: #faf8f4;
  --bg-dark: #0d1f14;

  --text-dark: #1a2e22;
  --text-medium: #3d5a46;
  --text-light: #7a9486;
  --text-muted: #b0c4b8;

  --border-light: #e0ede6;
  --shadow-sm: 0 2px 12px rgba(26, 107, 60, 0.08);
  --shadow-md: 0 8px 32px rgba(26, 107, 60, 0.12);
  --shadow-lg: 0 20px 60px rgba(26, 107, 60, 0.18);
  --shadow-hover: 0 12px 40px rgba(26, 107, 60, 0.22);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1280px;
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --border-radius-lg: 24px;
  --border-radius-xl: 40px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-navbar: 1000;
  --z-modal: 2000;
  --z-tooltip: 3000;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(26, 107, 60, 0.08);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-label i {
  font-size: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 16px;
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.8;
}

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

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

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

/* ===================== LAYOUT ===================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: var(--section-padding);
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 200%;
  padding-bottom: 200%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: transform 0.5s ease;
}

.btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 20px rgba(26, 107, 60, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26, 107, 60, 0.45);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: white;
  color: var(--primary);
  border-color: white;
  transform: translateY(-3px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(240, 165, 0, 0.35);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(240, 165, 0, 0.45);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  padding: 20px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  padding: 14px 0;
  box-shadow: 0 2px 30px rgba(26, 107, 60, 0.12);
  backdrop-filter: blur(20px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(26, 107, 60, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .clinic-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.logo-text .clinic-tagline {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.navbar.scrolled .logo-text .clinic-name { color: var(--primary-dark); }

.navbar:not(.scrolled) .logo-text .clinic-name { color: white; }
.navbar:not(.scrolled) .logo-text .clinic-tagline { color: rgba(255,255,255,0.7); }
.navbar:not(.scrolled) .logo-icon { background: rgba(255,255,255,0.2); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-medium);
  position: relative;
  transition: var(--transition);
}

.navbar:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.88);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(26, 107, 60, 0.08);
}

.navbar:not(.scrolled) .nav-link:hover,
.navbar:not(.scrolled) .nav-link.active {
  color: white;
  background: rgba(255, 255, 255, 0.18);
}

.navbar-cta {
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar:not(.scrolled) .hamburger span {
  background: white;
}

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

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

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

/* ===================== MOBILE MENU ===================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 85vw);
  height: 100vh;
  background: white;
  z-index: calc(var(--z-navbar) + 1);
  padding: 30px;
  transition: var(--transition-slow);
  box-shadow: -10px 0 60px rgba(0,0,0,0.15);
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: calc(var(--z-navbar));
  backdrop-filter: blur(4px);
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-medium);
  transition: var(--transition);
}

.mobile-menu-close:hover {
  background: var(--primary);
  color: white;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 30px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-medium);
  transition: var(--transition);
}

.mobile-nav-link i {
  width: 20px;
  text-align: center;
  color: var(--primary);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: var(--bg-light);
  color: var(--primary);
}

.mobile-cta {
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  color: white;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.mobile-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ===================== HERO SECTION ===================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 18px;
  border-radius: 50px;
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: var(--accent-light);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: white;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--accent-light);
  position: relative;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-image-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hero-img-wrapper .main-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,0.2);
}

.hero-float-card {
  position: absolute;
  background: white;
  border-radius: var(--border-radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: floatCard 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 15%;
  left: -50px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 20%;
  right: -40px;
  animation-delay: 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.float-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.float-icon.green { background: rgba(26, 107, 60, 0.1); color: var(--primary); }
.float-icon.orange { background: rgba(240, 165, 0, 0.1); color: var(--accent); }

.float-card-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 700;
}

.float-card-text span {
  font-size: 0.76rem;
  color: var(--text-light);
}

.hero-decor {
  position: absolute;
  pointer-events: none;
}

.hero-decor.paw-1 {
  top: 10%;
  right: 8%;
  font-size: 3rem;
  color: rgba(255,255,255,0.08);
  animation: rotateSlow 12s linear infinite;
}

.hero-decor.paw-2 {
  bottom: 10%;
  left: 5%;
  font-size: 2rem;
  color: rgba(255,255,255,0.06);
  animation: rotateSlow 18s linear infinite reverse;
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===================== DOCTOR INTRO SECTION ===================== */
.doctor-intro {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.doctor-intro::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(26, 107, 60, 0.05), transparent 70%);
  pointer-events: none;
}

.doctor-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.doctor-img-wrapper {
  position: relative;
}

.doctor-img-frame {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.doctor-img-frame img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.doctor-img-frame:hover img {
  transform: scale(1.04);
}

.doctor-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: white;
  border-radius: var(--border-radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 140px;
}

.doctor-badge-card .badge-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.doctor-badge-card .badge-text {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.3;
}

.doctor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.specialty-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(26, 107, 60, 0.08);
  border: 1px solid rgba(26, 107, 60, 0.15);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

.specialty-tag i {
  font-size: 0.72rem;
}

.doctor-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.doctor-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: white;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
}

.info-icon {
  width: 38px;
  height: 38px;
  background: rgba(26, 107, 60, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.info-content strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.info-content span {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* ===================== SERVICES SECTION ===================== */
.services-home {
  background: var(--bg-white);
}

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

.service-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-sm);
  background: rgba(26, 107, 60, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.service-link:hover {
  gap: 12px;
  color: var(--primary-dark);
}

/* ===================== WHY CHOOSE US ===================== */
.why-us {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 0C17.9 0 0 17.9 0 40s17.9 40 40 40 40-17.9 40-40S62.1 0 40 0zm0 72C22.3 72 8 57.7 8 40S22.3 8 40 8s32 14.3 32 32-14.3 32-32 32z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.why-us .section-label {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.why-us .section-title {
  color: white;
}

.why-us .section-subtitle {
  color: rgba(255,255,255,0.72);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius);
  padding: 36px 30px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.why-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.22);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-light);
  margin-bottom: 20px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--accent-light);
  color: var(--primary-dark);
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
}

/* ===================== STATISTICS ===================== */
.stats-section {
  background: var(--bg-beige);
  padding: 80px 0;
}

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

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: var(--border-light);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(26, 107, 60, 0.25);
}

.stat-count {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-title {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===================== PROCESS SECTION ===================== */
.process-section {
  background: var(--bg-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  flex-shrink: 0;
}

.step-card:hover .step-number {
  background: var(--primary);
  transform: scale(1.1);
}

.step-number .num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  transition: var(--transition);
}

.step-card:hover .step-number .num {
  color: white;
}

.step-icon {
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 2px;
  transition: var(--transition);
}

.step-card:hover .step-icon {
  color: rgba(255,255,255,0.8);
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-content p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials-section {
  background: var(--bg-white);
}

.testimonials-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 4px;
}

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

.testimonial-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 28px;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  color: var(--accent);
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 700;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  background: white;
}

.testimonial-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(26, 107, 60, 0.05);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  transition: var(--transition);
  cursor: pointer;
}

.testimonial-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ===================== GALLERY SECTION ===================== */
.gallery-section {
  background: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: 1/2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15, 74, 40, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
}

.gallery-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: var(--transition);
}

.gallery-item:hover .gallery-zoom {
  transform: translate(-50%, -50%) scale(1);
}

/* ===================== LIGHTBOX ===================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.lightbox.active {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: 0 30px 100px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: white;
  color: var(--text-dark);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-caption {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  text-align: center;
}

/* ===================== APPOINTMENT SECTION ===================== */
.appointment-section {
  background: var(--bg-white);
}

.appointment-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.appointment-info {
  position: sticky;
  top: 120px;
}

.appointment-info-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--border-radius-lg);
  padding: 48px 40px;
  color: white;
  margin-bottom: 24px;
}

.appointment-info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.appointment-info-card p {
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 32px;
}

.appointment-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.appt-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.appt-text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2px;
}

.appt-text span {
  font-size: 0.95rem;
  font-weight: 500;
}

.appointment-form-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.form-title {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-medium);
  letter-spacing: 0.03em;
}

.form-group label span.required {
  color: #e53e3e;
  margin-left: 2px;
}

.form-control {
  padding: 13px 16px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  width: 100%;
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(26, 107, 60, 0.08);
}

.form-control.error {
  border-color: #e53e3e;
  background: #fff5f5;
}

.form-error {
  font-size: 0.78rem;
  color: #e53e3e;
  display: none;
}

.form-error.visible {
  display: block;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  font-size: 1rem;
  justify-content: center;
}

.success-message {
  display: none;
  text-align: center;
  padding: 40px;
}

.success-message.visible {
  display: block;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(26, 107, 60, 0.3);
}

.success-message h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.success-message p {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ===================== FAQ SECTION ===================== */
.faq-section {
  background: var(--bg-beige);
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.4;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
}

.footer-brand .logo-text .clinic-name {
  color: white;
}

.footer-brand .logo-text .clinic-tagline {
  color: rgba(255,255,255,0.5);
}

.footer-brand .logo-icon {
  background: rgba(255,255,255,0.1);
  box-shadow: none;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin: 20px 0 28px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-link i {
  font-size: 0.65rem;
  color: var(--primary-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  width: 18px;
  color: var(--secondary);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.6;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-copyright {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

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

.footer-legal a:hover {
  color: rgba(255,255,255,0.8);
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(26, 107, 60, 0.4);
  cursor: pointer;
  transform: translateY(80px);
  opacity: 0;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  transform: translateY(0);
  opacity: 1;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 107, 60, 0.5);
}

/* ===================== SCROLL REVEAL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.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; }

/* ===================== PAGE HERO (for inner pages) ===================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: white;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.75);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb i {
  font-size: 0.7rem;
}

/* ===================== ABOUT PAGE ===================== */
.about-content-section {
  background: var(--bg-light);
}

.about-doc-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 0 0 3px rgba(26, 107, 60, 0.2);
}

.timeline-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(26, 107, 60, 0.08);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

.philosophy-section {
  background: var(--bg-white);
}

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

.philosophy-card {
  padding: 36px 30px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.philosophy-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.philosophy-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.philosophy-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.philosophy-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
}

.mission-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  text-align: center;
  padding: 80px 0;
}

.mission-section h2 {
  color: white;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 20px;
}

.mission-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 36px;
}

/* ===================== SERVICES PAGE ===================== */
.services-page {
  background: var(--bg-light);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-detail-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 40px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: transparent;
}

.service-detail-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--border-radius-sm);
  background: rgba(26, 107, 60, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-detail-card:hover .service-detail-icon {
  background: var(--primary);
  color: white;
}

.service-detail-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--text-dark);
}

.service-detail-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-benefits {
  margin-bottom: 20px;
}

.service-benefits h5 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-medium);
  margin-bottom: 10px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--text-medium);
  margin-bottom: 6px;
}

.benefit-item i {
  color: var(--primary);
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===================== DOCTORS PAGE ===================== */
.doctors-section {
  background: var(--bg-light);
}

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

.doctor-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

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

.doctor-card-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.doctor-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-card-image img {
  transform: scale(1.06);
}

.doctor-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15, 74, 40, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.doctor-card:hover .doctor-card-overlay {
  opacity: 1;
}

.doctor-card-social {
  display: flex;
  gap: 10px;
}

.doctor-card-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  transition: var(--transition);
}

.doctor-card-social a:hover {
  background: white;
  color: var(--primary);
}

.doctor-card-info {
  padding: 28px;
}

.doctor-specialty-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(26, 107, 60, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.doctor-card-info h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.doctor-card-info .title {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.doctor-card-info p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.doctor-exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-medium);
}

.doctor-exp-badge i {
  color: var(--accent);
}

/* ===================== CONTACT PAGE ===================== */
.contact-section {
  background: var(--bg-light);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--border-radius-lg);
  padding: 48px 40px;
  color: white;
}

.contact-info-card h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}

.contact-detail-text span {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.hours-table td {
  padding: 6px 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--accent-light);
}

.map-placeholder {
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border-light);
  position: relative;
  margin-top: 24px;
}

.map-placeholder-inner {
  text-align: center;
  color: var(--text-light);
}

.map-placeholder-inner i {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.4;
  margin-bottom: 12px;
}

.map-placeholder-inner p {
  font-size: 0.88rem;
}

.contact-form-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

/* ===================== UTILITY CLASSES ===================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-primary {
  background: rgba(26, 107, 60, 0.1);
  color: var(--primary);
}

.badge-accent {
  background: rgba(240, 165, 0, 0.1);
  color: var(--accent);
}

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

/* Large Desktop */
@media (max-width: 1400px) {
  :root { --container-max: 1200px; }
}

/* Desktop */
@media (max-width: 1200px) {
  .container { padding: 0 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 40px; }
  .hero-float-card.card-1 { left: -20px; }
  .hero-float-card.card-2 { right: -15px; }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
  :root { --section-padding: 80px 0; }

  .navbar-menu,
  .navbar-cta .btn { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero-inner { grid-template-columns: 1fr; gap: 60px; text-align: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-img-wrapper { max-width: 380px; }
  .hero-float-card.card-1 { left: -10px; top: 5%; }
  .hero-float-card.card-2 { right: -10px; bottom: 10%; }

  .doctor-intro-inner { grid-template-columns: 1fr; gap: 50px; }
  .doctor-img-frame img { height: 420px; }

  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .stat-item:nth-child(2)::after { display: none; }

  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }

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

  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 1; }
  .gallery-item.tall { grid-row: span 1; aspect-ratio: 1; }

  .appointment-inner { grid-template-columns: 1fr; gap: 40px; }
  .appointment-info { position: static; }

  .faq-inner { grid-template-columns: 1fr; gap: 50px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }

  .about-doc-inner { grid-template-columns: 1fr; gap: 50px; }
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }

  .service-detail-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  :root { --section-padding: 70px 0; }
  .container { padding: 0 24px; }

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

  .hero { padding: 120px 0 70px; }
  .hero-img-wrapper .main-img { height: 380px; }
  .hero-float-card { display: none; }

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

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item::after { display: none; }

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

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

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

  .appointment-form-card { padding: 32px 24px; }

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

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

  .contact-form-card { padding: 32px 24px; }
  .contact-info-card { padding: 36px 28px; }

  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Mobile */
@media (max-width: 480px) {
  :root { --section-padding: 60px 0; }
  .container { padding: 0 20px; }

  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .btn-lg { padding: 16px 32px; }

  .process-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  .back-to-top { bottom: 20px; right: 20px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ===================== PRINT STYLES ===================== */
@media print {
  .navbar, .back-to-top, .mobile-menu, .mobile-menu-overlay { display: none; }
  body { padding-top: 0; }
}
