@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CUSTOM PROPERTIES (DESIGN SYSTEM) --- */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  /* Color Palette matching Logo: Pink (#f52f7b) and Cyan/Blue (#008da8) */
  --primary-hsl: 190, 100%, 28%;
  --primary: hsl(var(--primary-hsl));
  --primary-light: hsl(190, 80%, 40%);
  --primary-dark: hsl(190, 100%, 15%);
  
  --secondary-hsl: 337, 91%, 57%;
  --secondary: hsl(var(--secondary-hsl));
  --secondary-light: hsl(337, 90%, 96%);

  --accent-hsl: 194, 71%, 54%;
  --accent: hsl(var(--accent-hsl));
  --accent-light: hsl(194, 70%, 95%);

  /* Neutrals */
  --neutral-100: hsl(210, 40%, 98%);
  --neutral-200: hsl(210, 30%, 94%);
  --neutral-300: hsl(210, 20%, 88%);
  --neutral-600: hsl(210, 15%, 45%);
  --neutral-800: hsl(210, 25%, 15%);
  --neutral-900: hsl(210, 30%, 8%);

  --white: #ffffff;
  
  /* System Colors */
  --success: hsl(142, 70%, 45%);
  --success-light: hsl(142, 70%, 95%);
  
  /* Spacing (Fluid scaling using clamp) */
  --space-2xs: clamp(0.5rem, 0.4vw + 0.4rem, 0.75rem);
  --space-xs: clamp(0.75rem, 0.6vw + 0.6rem, 1rem);
  --space-sm: clamp(1rem, 0.8vw + 0.8rem, 1.5rem);
  --space-md: clamp(1.5rem, 1.2vw + 1.2rem, 2.25rem);
  --space-lg: clamp(2rem, 1.6vw + 1.6rem, 3rem);
  --space-xl: clamp(3rem, 2.4vw + 2.4rem, 4.5rem);
  --space-2xl: clamp(4rem, 3.2vw + 3.2rem, 6rem);

  /* Elevation */
  --shadow-sm: 0 2px 8px -2px rgba(13, 148, 136, 0.08);
  --shadow-md: 0 12px 24px -8px rgba(13, 148, 136, 0.12);
  --shadow-lg: 0 24px 48px -12px rgba(13, 148, 136, 0.16);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--neutral-100);
  color: var(--neutral-800);
  line-height: 1.6;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--neutral-900);
  font-weight: 700;
  line-height: 1.25;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* --- REUSABLE UTILITIES & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}

.section {
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  font-family: var(--font-heading);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(13, 148, 136, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(13, 148, 136, 0.5);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

/* --- HEADER & NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.2);
}

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--primary-dark);
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--neutral-600);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--neutral-800);
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-dark);
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* --- HERO SECTION --- */
.hero {
  padding-top: calc(80px + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  background: radial-gradient(circle at 90% 10%, var(--secondary-light) 0%, var(--neutral-100) 70%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--secondary-light);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw + 1rem, 3.75rem);
  color: var(--neutral-900);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 1vw + 0.8rem, 1.2rem);
  color: var(--neutral-600);
  margin-bottom: var(--space-md);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero-art-wrapper {
  position: relative;
}

.hero-art {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Beautiful dynamic background pattern inside hero image placeholder */
.hero-art::before {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 10%, transparent 60%);
  animation: rotate-bg 20s linear infinite;
}

@keyframes rotate-bg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-art-content {
  color: var(--white);
  text-align: center;
  padding: var(--space-md);
  z-index: 2;
}

.hero-art-content svg {
  width: 80px;
  height: 80px;
  margin-bottom: var(--space-sm);
  fill: currentColor;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

.hero-art-title {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero-art-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Float badge details for aesthetic */
.floating-stat-card {
  position: absolute;
  bottom: 20px;
  left: -40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: float 4s ease-in-out infinite;
}

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

.floating-stat-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-stat-title {
  font-weight: 700;
  color: var(--neutral-900);
}

.floating-stat-lbl {
  font-size: 0.75rem;
  color: var(--neutral-600);
}

/* --- VERIFICATION & CREDENTIALS BAR --- */
.credentials-bar {
  background-color: var(--neutral-900);
  color: var(--white);
  padding: var(--space-md) 0;
  position: relative;
  border-bottom: 3px solid var(--accent);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  align-items: center;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.credential-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.credential-icon svg {
  width: 24px;
  height: 24px;
}

.credential-content {
  display: flex;
  flex-direction: column;
}

.credential-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neutral-300);
  font-weight: 600;
}

.credential-value {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--white);
}

/* --- SERVICES SECTION --- */
.section-header {
  max-width: 600px;
  margin: 0 auto var(--space-xl) auto;
  text-align: center;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 3vw + 0.5rem, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.2);
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: var(--secondary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-card-desc {
  color: var(--neutral-600);
  font-size: 0.95rem;
}

/* --- ABOUT SECTION --- */
.about {
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image-card {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 0.85;
  background: linear-gradient(135deg, var(--neutral-200), var(--neutral-300));
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(13, 148, 136, 0.1) 100%);
}

.about-image-content {
  text-align: center;
  color: var(--primary-dark);
  padding: var(--space-md);
}

.about-image-content svg {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  fill: var(--primary);
}

.about-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.about-role {
  font-size: 0.85rem;
  color: var(--neutral-600);
}

.about-badge {
  position: absolute;
  top: 20px;
  right: -20px;
  background-color: var(--accent);
  color: var(--neutral-900);
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  transform: rotate(15deg);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-sm);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.about-paragraph {
  color: var(--neutral-600);
  font-size: 1.05rem;
}

.doctor-profile {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--neutral-200);
}

.doctor-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
}

.doctor-name {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.15rem;
}

.doctor-title {
  font-size: 0.85rem;
  color: var(--neutral-600);
  font-weight: 500;
}

/* --- APPOINTMENT SECTION --- */
.appointment {
  background: linear-gradient(135deg, var(--neutral-100), var(--secondary-light));
}

.appointment-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.appointment-info h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-xs);
}

.appointment-info-p {
  color: var(--neutral-600);
  margin-bottom: var(--space-md);
}

.info-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.info-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.info-bullet-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-bullet-icon svg {
  width: 18px;
  height: 18px;
}

.appointment-form-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-800);
}

.form-control {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--neutral-300);
  background-color: var(--neutral-100);
  outline: none;
  transition: var(--transition-normal);
}

.form-control:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.form-control::placeholder {
  color: var(--neutral-600);
  opacity: 0.6;
}

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.contact-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-200);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-header {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.contact-header-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-header-icon svg {
  width: 24px;
  height: 24px;
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-body {
  color: var(--neutral-600);
  font-size: 0.95rem;
}

.contact-link-wrap {
  margin-top: auto;
}

.contact-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.contact-link:hover {
  color: var(--primary-light);
  gap: 0.5rem;
}

.contact-map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background-color: var(--neutral-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-300);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--neutral-600);
  margin-bottom: 0.5rem;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--neutral-900);
  color: var(--neutral-300);
  padding: var(--space-2xl) 0 var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-brand .logo-title {
  color: var(--white);
}

.footer-brand .logo-subtitle {
  color: var(--neutral-300);
}

.footer-desc {
  font-size: 0.9rem;
  max-width: 400px;
}

.footer-section-title {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-md);
}

/* --- LEGAL DOCUMENT PAGES --- */
.legal-layout {
  padding-top: calc(80px + var(--space-xl));
  padding-bottom: var(--space-xl);
}

.legal-header {
  margin-bottom: var(--space-md);
  border-bottom: 2px solid var(--neutral-200);
  padding-bottom: var(--space-xs);
}

.legal-meta {
  color: var(--neutral-600);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  background-color: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--neutral-200);
}

.legal-body h2 {
  font-size: 1.4rem;
  margin-top: 1rem;
  color: var(--primary-dark);
}

.legal-body p {
  color: var(--neutral-600);
}

.legal-body ul {
  padding-left: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--neutral-600);
}

/* --- DIALOG / MODAL (FOR BOOKING SUCCESS) --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  max-width: 480px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--neutral-200);
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition-normal);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  background-color: var(--success-light);
  color: var(--success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.modal-success-icon svg {
  width: 36px;
  height: 36px;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-desc {
  color: var(--neutral-600);
  margin-bottom: var(--space-md);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .hero-content {
    max-width: 100%;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .about-image-wrapper {
    order: 2;
  }
  .about-content {
    order: 1;
  }
  .appointment-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: var(--space-md);
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--neutral-200);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta {
    display: none; /* inside menu or hidden */
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .floating-stat-card {
    left: 20px;
    bottom: -20px;
  }
}
