/* Custom Design System & Variables */
:root {
  --primary: #0b2545;
  --primary-light: #134074;
  --secondary: #08a045;
  --secondary-hover: #068337;
  --accent: #0284c7;
  --accent-light: #e0f2fe;
  
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-ice: #eef4f8;
  --bg-dark: #0f172a;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  --border-color: #e2e8f0;
  --border-focus: #38bdf8;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(11, 37, 69, 0.08), 0 8px 10px -6px rgba(11, 37, 69, 0.04);
  --shadow-glow: 0 0 20px rgba(8, 160, 69, 0.15);
  --shadow-glow-blue: 0 0 25px rgba(2, 132, 199, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-round: 9999px;
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.grid-2-lg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

/* Section Header styling */
.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-top: 12px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-round);
}

.badge-teal {
  background-color: var(--accent-light);
  color: var(--accent);
}

.badge-emerald {
  background-color: #d1fae5;
  color: var(--secondary);
}

.badge-teal-light {
  background-color: rgba(2, 132, 199, 0.1);
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 160, 69, 0.25);
}

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

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

.btn-text {
  color: var(--secondary);
  padding: 10px 0;
  border-radius: 0;
  border: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-text:hover {
  color: var(--secondary-hover);
  padding-left: 8px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* Icons */
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Top bar contact details */
.top-bar {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 24px;
  align-items: center;
}

.top-bar-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-link:hover {
  color: var(--text-white);
}

.whatsapp-link:hover {
  color: #25d366;
}

.top-bar-location {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Main Navigation Header */
.main-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
}

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

.logo-bold {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--text-main);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
}

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

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

.nav-cta {
  font-size: 0.85rem;
  padding: 10px 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  margin: 6px 0;
  transition: var(--transition-fast);
}

/* Hero Section Styles */
.hero {
  background: radial-gradient(circle at 80% 20%, var(--bg-ice) 0%, var(--bg-white) 100%);
  padding: 80px 0 100px 0;
  overflow: hidden;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 8px;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--primary-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.3;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  gap: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.hero-badge-item {
  display: flex;
  flex-direction: column;
}

.badge-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.badge-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 140px;
  line-height: 1.2;
  margin-top: 2px;
}

/* Hero Image frame with dynamic layout */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-frame-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  background: var(--accent-light);
  z-index: 1;
  filter: blur(20px);
  transform: scale(0.9);
  opacity: 0.7;
}

.image-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--bg-white);
  transition: var(--transition-slow);
}

.image-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(11, 37, 69, 0.15);
}

.doctor-photo {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  background-color: var(--bg-ice);
}

.experience-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
}

.icon-accent {
  width: 32px;
  height: 32px;
  color: var(--secondary);
}

.experience-card h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 2px;
}

.experience-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Affiliations Ticker Section */
.affiliations {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
}

.affiliations-title {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 24px;
}

.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.partner-logo span {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-light);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.partner-logo:hover span {
  color: var(--primary-light);
}

/* About Section Styles */
.about {
  padding: 100px 0;
}

.about-visual {
  position: relative;
}

.aesthetic-card {
  background-color: var(--bg-ice);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.aesthetic-header {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.circle.red { background-color: #ff5f56; }
.circle.yellow { background-color: #ffbd2e; }
.circle.green { background-color: #27c93f; }

.aesthetic-body h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.aesthetic-body p {
  font-style: italic;
  color: var(--primary-light);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

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

.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 4px;
}

.bullet-list span {
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.about-text h2 {
  font-size: 2.25rem;
  margin-top: 12px;
  margin-bottom: 20px;
}

.about-text .lead {
  font-size: 1.15rem;
  color: var(--primary-light);
  margin-bottom: 18px;
  line-height: 1.5;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about-text .btn-group {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

/* Services Styles */
.services {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  padding: 100px 0;
}

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

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.2);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(2, 132, 199, 0.08);
  border-radius: var(--radius-md);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

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

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

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}

.service-link:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

/* Conditions Section Styles */
.conditions {
  padding: 100px 0;
}

.conditions-container {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 32px;
  margin-top: 48px;
}

.conditions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.condition-btn {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.condition-btn:hover {
  background: var(--bg-ice);
  color: var(--primary);
  border-color: var(--text-light);
}

.condition-btn.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.condition-details {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
  min-height: 380px;
  position: relative;
}

.condition-pane {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.condition-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.condition-pane h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.cond-intro {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

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

.cond-info-box h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--primary-light);
}

.cond-info-box ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cond-info-box li {
  font-size: 0.92rem;
  color: var(--text-main);
  position: relative;
  padding-left: 20px;
}

.cond-info-box li::before {
  content: "•";
  color: var(--secondary);
  font-weight: bold;
  font-size: 1.25rem;
  position: absolute;
  left: 0;
  top: -2px;
}

.cond-info-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Patient Resources & FAQs Layout */
.resources {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 100px 0;
}

.tabs-container {
  margin-top: 48px;
}

.tabs-header {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.tab-btn {
  background: transparent;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 12px 24px;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--secondary);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  width: 80%;
}

.tab-content {
  display: none;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.tab-intro {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.02rem;
}

/* Checklist guide styling */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.check-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.check-item:hover {
  border-color: rgba(8, 160, 69, 0.2);
}

.check-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--secondary);
  line-height: 1;
}

.check-item h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.check-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FAQ Accordion Styling */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-fast);
}

.accordion-item:hover {
  border-color: rgba(2, 132, 199, 0.25);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: var(--bg-light);
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  text-align: left;
  cursor: pointer;
}

.accordion-icon {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--secondary);
  transition: var(--transition-fast);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-white);
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.accordion-content p {
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.accordion-item.active .accordion-content {
  max-height: 400px;
  transition: max-height 0.4s cubic-bezier(0.85, 0, 0.15, 1);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

/* Appointment booking form block styling */
.appointment-section {
  padding: 100px 0;
}

.appointment-card {
  background-color: var(--primary);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: var(--text-white);
  box-shadow: var(--shadow-lg);
}

.appointment-info h2 {
  color: var(--text-white);
  font-size: 2.25rem;
  margin-top: 12px;
  margin-bottom: 16px;
}

.appointment-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  flex-shrink: 0;
}

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

.info-item h4 {
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.info-item p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.appointment-form-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px;
  color: var(--text-main);
  box-shadow: var(--shadow-md);
  position: relative;
}

.appointment-form {
  transition: opacity 0.3s ease;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.appointment-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-light);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.required {
  color: #ef4444;
  margin-left: 2px;
}

.error-message {
  font-size: 0.75rem;
  color: #ef4444;
  display: none;
  margin-top: 4px;
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-group.has-error .error-message {
  display: block;
}

/* Success form state overlay */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
  animation: fadeIn 0.4s ease;
}

.success-icon {
  width: 64px;
  height: 64px;
  background-color: rgba(8, 160, 69, 0.1);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
  margin-bottom: 28px;
}

/* Contact Details & Maps styling */
.contact {
  padding: 100px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.contact-details-box h2 {
  font-size: 2.25rem;
  margin-top: 12px;
  margin-bottom: 16px;
}

.contact-details-box .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.clinic-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.clinic-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--secondary);
}

.location-addr {
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
}

.clinic-detail {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.clinic-detail a {
  color: var(--primary-light);
  font-weight: 600;
}

.clinic-detail a:hover {
  color: var(--secondary);
}

.local-seo-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-left: 3px solid var(--secondary);
  padding-left: 16px;
}

/* Map Mockup visual styling */
.map-placeholder {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

.map-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

.map-icon {
  width: 18px;
  height: 18px;
  color: var(--secondary);
}

.map-graphic {
  background-color: #fafafa;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid {
  width: 100%;
  height: auto;
}

/* Main Footer design */
.main-footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}

.footer-brand h3 {
  color: var(--text-white);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.footer-brand .logo-sub {
  margin-bottom: 16px;
}

.footer-desc {
  line-height: 1.7;
}

.footer-links h4,
.footer-seo h4 {
  color: var(--text-white);
  font-size: 1.05rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

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

.footer-seo p {
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-seo .contact-details p {
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.footer-seo .contact-details strong {
  color: var(--text-white);
}

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

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.disclaimer {
  font-size: 0.75rem;
  max-width: 600px;
  line-height: 1.5;
  text-align: right;
  color: rgba(255, 255, 255, 0.45);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.75rem;
  }
  
  .hero-description {
    margin: 0 auto 32px auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-badges {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 460px;
    margin: 0 auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .conditions-container {
    grid-template-columns: 1fr;
  }
  
  .conditions-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .grid-2-lg {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .top-bar-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 8px;
  }
  
  /* Mobile Menu toggle states */
  .nav-toggle {
    display: block;
    z-index: 101;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
    padding: 100px 32px 40px 32px;
    transition: var(--transition-normal);
    z-index: 100;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .nav-cta {
    width: 100%;
    text-align: center;
  }
  
  /* Burger Animation */
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .about-visual {
    order: 2;
  }
  
  .about-text {
    order: 1;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .tabs-header {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  
  .tab-btn {
    width: 100%;
    text-align: center;
  }
  
  .tab-content {
    padding: 32px 20px;
  }
  
  .checklist {
    grid-template-columns: 1fr;
  }
  
  .appointment-card {
    padding: 32px 24px;
  }
  
  .appointment-form-wrapper {
    padding: 24px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .affiliations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .bottom-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  
  .disclaimer {
    text-align: center;
  }
}
