/* --- Page Header / Subpage Hero --- */
.page-hero {
  background: linear-gradient(180deg, var(--background-cream) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
  padding: var(--space-xl) 0 var(--space-lg) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(var(--primary-rgb), 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: var(--space-xs);
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--muted-text);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Optimized About Doctor Page Styles --- */

.container-premium {
  max-width: 1240px; /* Content container max-width 1200-1280px */
  margin: 0 auto;
  padding: 0 var(--space-md);
  box-sizing: border-box;
}

/* Hero Section */
.about-hero {
  background: linear-gradient(180deg, var(--background-cream) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
  padding: 80px 0 70px 0; /* Premium hero padding */
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Base decorative background layers */
.about-hero-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Elegant Dotted Grid */
.about-hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: radial-gradient(var(--primary) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

/* Floating Radial Glow Orb 1 - Gold */
.about-hero-orb-1 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
  filter: blur(80px);
  animation: floatBg 20s ease-in-out infinite alternate;
}

/* Floating Radial Glow Orb 2 - Purple */
.about-hero-orb-2 {
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.12) 0%, transparent 70%);
  filter: blur(100px);
  animation: floatBg 25s ease-in-out infinite alternate-reverse;
}

/* Subtle Golden Arch Ornament */
.about-hero-accent-arc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border: 1px solid rgba(var(--primary-rgb), 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.about-hero-accent-arc::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 1px solid transparent;
  border-top: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: 50%;
  animation: spinArc 40s linear infinite;
}

/* Content Container must be above background elements */
.about-hero .container {
  position: relative;
  z-index: 1;
  max-width: var(--max-width-narrow);
  padding: 0 var(--space-md);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--secondary);
  background: rgba(212, 179, 108, 0.1);
  border: 1px solid rgba(212, 179, 108, 0.35);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(212, 179, 108, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.about-hero-tag:hover {
  background: rgba(212, 179, 108, 0.15);
  border-color: rgba(212, 179, 108, 0.5);
  transform: translateY(-1px);
}

.hero-tag-icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
  animation: pulseSparkle 3s ease-in-out infinite;
}

.about-hero-title {
  font-size: 2.35rem; /* mobile h1 */
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 0.85rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

@media (min-width: 1024px) {
  .about-hero-title {
    font-size: 3.5rem; /* Desktop h1 */
  }
}

.about-hero-subtitle {
  font-size: 1.1rem; /* Subtitle: approx 18-21px desktop */
  color: var(--body-text); /* Higher contrast Slate 600 */
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .about-hero-subtitle {
    font-size: 1.25rem;
  }
}

/* Animations */
@keyframes floatBg {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-30px, 30px) scale(1.1);
  }
}

@keyframes spinArc {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseSparkle {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2) rotate(45deg);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Profile Section Layout */
.about-profile-section {
  background: linear-gradient(135deg, #fffdf9 0%, #faf8f3 45%, #f7f8fa 100%);
  position: relative;
  overflow: hidden;
}

.about-profile-section .container-premium {
  max-width: 1280px; /* max-width: 1280px */
  margin: 0 auto;
  padding: 90px 40px; /* padding: 90px 40px */
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* Background Art Layer Container */
.about-profile-bg-art {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* A) TOP-LEFT: A very large soft circular/organic shape */
.about-profile-bg-art .bg-art-top-left-circle {
  position: absolute;
  top: -180px;
  left: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(218, 184, 107, 0.08);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}

/* B) TOP-RIGHT: Large extremely subtle radial glow */
.about-profile-bg-art .bg-art-radial-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(218, 184, 107, 0.10) 0%, rgba(218, 184, 107, 0.035) 40%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* C) BOTTOM-RIGHT: A very subtle abstract circular/organic outline */
.about-profile-bg-art .bg-art-bottom-right-outline {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(218, 184, 107, 0.15); /* Thin champagne-gold with low opacity */
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* D) BACKGROUND MICRO-PATTERN: Scientific/dermatology inspired grid pattern */
.about-profile-bg-art .bg-art-dotted-grid {
  position: absolute;
  top: 10%;
  right: 15%;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(rgba(218, 184, 107, 0.25) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.12; /* Overall low opacity so it is subtle */
  pointer-events: none;
  z-index: 0;
}

/* E) PREMIUM VERTICAL ACCENT: champagne-gold vertical decorative line */
.about-profile-bg-art .bg-art-vertical-accent {
  position: absolute;
  top: 15%;
  left: 20px;
  width: 3px;
  height: 70%;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, #d8b46a, transparent);
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.about-profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center; /* Center visual and bio text vertically */
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .about-profile-grid {
    grid-template-columns: 40% 60%; /* left: approx 40%, right: approx 60% */
    gap: 60px; /* Gap: 60px approx */
  }
}

/* LEFT COLUMN: Image */
.about-profile-left-image {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  width: 100%;
  z-index: 2;
}

.about-profile-left-image .doctor-intro-visual {
  position: relative;
  max-width: 410px;
  width: 100%;
  margin: 0 auto;
}

.doctor-portrait-premium {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5; /* consistent 4:5 aspect ratio */
  border-radius: 20px; /* rounded card/container */
  border: 1px solid rgba(218, 184, 107, 0.18); /* premium subtle border */
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08); /* subtle premium shadow */
  overflow: hidden;
  background-color: var(--surface);
  z-index: 2; /* Set to 2 so it sits above z-index: 1 background deco elements */
}

.doctor-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* object fit cover */
  display: block;
}

/* Portrait Decorative Elements (Sparkles & Borders) */
.doctor-visual-deco-1 {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(215, 181, 109, 0.12) 0%, rgba(215, 181, 109, 0.03) 100%);
  border-radius: 20px;
  z-index: 1;
}

.doctor-visual-deco-2 {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 1.5px solid rgba(215, 181, 109, 0.35);
  border-radius: 20px;
  pointer-events: none;
  z-index: 1;
  transition: all var(--transition-normal);
}

.about-profile-left-image .doctor-intro-visual:hover .doctor-visual-deco-2 {
  transform: translate(5px, 5px);
  border-color: rgba(215, 181, 109, 0.6);
}

.doctor-visual-svg-sparkle-1,
.doctor-visual-svg-sparkle-2 {
  position: absolute;
  color: var(--primary);
  opacity: 0.55;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 2px 8px rgba(215, 181, 109, 0.3));
  transition: all var(--transition-normal);
}

.doctor-visual-svg-sparkle-1 svg,
.doctor-visual-svg-sparkle-2 svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.doctor-visual-svg-sparkle-1 {
  top: -25px;
  right: -20px;
  width: 28px;
  height: 28px;
}

.doctor-visual-svg-sparkle-2 {
  bottom: 25px;
  left: -25px;
  width: 22px;
  height: 22px;
}

.about-profile-left-image .doctor-intro-visual:hover .doctor-visual-svg-sparkle-1 {
  transform: translate(-3px, 3px) scale(1.15) rotate(15deg);
  opacity: 0.9;
}

.about-profile-left-image .doctor-intro-visual:hover .doctor-visual-svg-sparkle-2 {
  transform: translate(3px, -3px) scale(1.15) rotate(-15deg);
  opacity: 0.9;
}

/* Cards Grid (Row 2) */
.about-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px; /* Between cards on mobile: 20-24px */
  margin-top: 40px; /* Spacing between top visual and cards */
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .about-cards-grid {
    grid-template-columns: 40% 60%; /* Matches top grid columns */
    gap: 60px; /* Gap: 60px */
    align-items: stretch; /* BOTH CARDS: Same top/bottom alignment & visual height */
  }
}

/* Credentials Card style - floating translucent with gold border */
.doctor-credentials-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(218, 184, 107, 0.22); /* Thin gold border */
  border-radius: 20px; /* Refined corner radius */
  padding: 30px; /* consistent padding */
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.045); /* Soft float shadow */
  backdrop-filter: blur(8px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%; /* Fill cell height */
  position: relative;
  z-index: 2;
}

.credentials-card-title {
  font-size: 0.95rem; /* card heading */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.credentials-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.credentials-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(var(--primary-rgb), 0.07);
}

.credentials-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.credentials-label {
  font-size: 12.5px; /* Labels: 12-13px */
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.credentials-val {
  font-size: 14px; /* Credential values: 13-15px */
  color: var(--body-text);
  font-weight: 500;
  text-align: right;
}

/* RIGHT COLUMN: Bio, Philosophy */
.about-profile-right-bio {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.about-section-heading {
  font-size: 1.85rem; /* Heading: 32–38px desktop */
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 25px; /* Spacing between heading and content: 25–35px */
  line-height: 1.25;
}

@media (min-width: 1024px) {
  .about-section-heading {
    font-size: 2.25rem; /* 36px desktop */
  }
}

.about-bio-text p {
  font-size: 17.5px; /* Body text: 16-18px */
  line-height: 1.7; /* Line-height: approx 1.7 */
  color: var(--body-text);
  margin-top: 0;
  margin-bottom: 22px; /* spacing 20-26px */
  max-width: 700px; /* Maximum paragraph width around 700px */
}

/* Philosophy Quote */
.about-philosophy-quote {
  position: relative;
  background-color: var(--surface);
  border-left: 4px solid var(--primary);
  padding: 1.1rem var(--space-md);
  border-radius: 4px var(--radius-md) var(--radius-md) 4px;
  margin: 10px 0 25px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.01);
  max-width: 700px;
}

.about-philosophy-quote .quote-icon {
  position: absolute;
  top: 10px;
  right: 15px;
  width: 32px;
  height: 32px;
  color: rgba(var(--primary-rgb), 0.04);
}

.about-philosophy-quote p {
  font-style: italic;
  font-size: 0.95rem; /* body / quote font size */
  line-height: 1.6;
  color: var(--muted-text);
  margin: 0;
}

/* Mission Card */
.about-mission-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(218, 184, 107, 0.22); /* Thin gold border */
  border-left: 4px solid var(--primary); /* Maintain gold left accent */
  border-radius: 20px; /* Refined corner radius */
  padding: 40px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.045); /* Soft float shadow */
  backdrop-filter: blur(8px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center content */
  height: 100%; /* Fill cell height */
}

.about-mission-card .mission-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.about-mission-card .mission-icon {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.about-mission-card h3 {
  font-size: 17px; /* Card headings 16-18px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 0;
}

.about-mission-card p {
  font-size: 16px; /* body text 16-18px */
  line-height: 1.6;
  color: var(--body-text);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.about-mission-card p:last-child {
  margin-bottom: 0;
}

/* --- Core Competencies Section --- */
.about-competencies-section {
  background-color: var(--surface); /* Warm ivory/white background variation */
  padding: 80px 0; /* Spacing between major sections: 60-80px */
  border-bottom: 1px solid var(--border);
  position: relative;
}

.section-tag-gold-center {
  display: inline-block;
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-title-premium {
  font-size: 1.85rem; /* Heading: 32–38px */
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 30px; /* Spacing between heading and grid: 25-35px */
  text-align: center;
}

@media (min-width: 1024px) {
  .section-title-premium {
    font-size: 2.25rem;
  }
}

.competencies-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px; /* Between cards: 20–24px */
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .competencies-grid-2x2 {
    grid-template-columns: 1fr 1fr; /* 2x2 desktop grid */
  }
}

.competency-card-premium {
  background-color: var(--background);
  padding: var(--space-md) var(--space-lg);
  border-radius: 16px;
  border: 1px solid rgba(var(--primary-rgb), 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.competency-card-premium:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px -5px rgba(var(--primary-rgb), 0.06);
}

.card-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.competency-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary);
}

.competency-card-premium h3 {
  font-size: 17px; /* Card headings 16-18px */
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.competency-card-premium p {
  font-size: 16px; /* body text 16-18px */
  color: var(--body-text);
  line-height: 1.55;
  margin: 0;
}

/* Timeline Layout */
.doctor-timeline {
  position: relative;
  margin-top: var(--space-xl);
  padding: var(--space-sm) 0;
}

/* Timeline central line */
.doctor-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 16px; /* Align to left on mobile */
  width: 3px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
  padding-left: 45px; /* Offset for left line on mobile */
  width: 100%;
  box-sizing: border-box;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Timeline Dot styling */
.timeline-dot {
  position: absolute;
  left: 10px; /* Align to left line center on mobile */
  top: 24px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--surface);
  border: 3.5px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.15);
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card content style */
.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 22px;
  left: -7px;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transform: rotate(45deg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Interactive hover states */
.timeline-item:hover .timeline-content {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(var(--primary-rgb), 0.05);
  border-color: var(--primary);
}

.timeline-item:hover .timeline-content::before {
  border-color: var(--primary);
}

.timeline-item:hover .timeline-dot {
  background-color: var(--primary);
  border-color: var(--secondary);
  box-shadow: 0 0 0 6px rgba(var(--secondary-rgb), 0.18);
  transform: scale(1.25);
}

/* Year Badge */
.timeline-year {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-headings);
  font-size: 0.775rem;
  font-weight: 800;
  color: var(--secondary);
  background: rgba(var(--secondary-rgb), 0.06);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.05em;
  border: 1px solid rgba(var(--secondary-rgb), 0.1);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-year {
  background: var(--secondary);
  color: var(--surface);
  border-color: var(--secondary);
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 8px;
  line-height: 1.3;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.6;
  margin: 0;
}

/* Responsive Desktop Alternating Timeline Layout */
@media (min-width: 768px) {
  .doctor-timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline-item {
    width: 50%;
    padding-left: 0;
    margin-bottom: var(--space-xl);
    clear: both;
  }

  /* Left-aligned items */
  .timeline-item:nth-child(odd) {
    float: left;
    padding-right: 45px;
    text-align: right;
  }

  .timeline-item:nth-child(odd) .timeline-content::before {
    left: auto;
    right: -7px;
    border-left: none;
    border-bottom: none;
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
  }

  .timeline-item:nth-child(odd):hover .timeline-content::before {
    border-color: var(--primary);
  }

  /* Right-aligned items */
  .timeline-item:nth-child(even) {
    float: right;
    padding-left: 45px;
    text-align: left;
  }

  .timeline-item:nth-child(even) .timeline-content::before {
    left: -7px;
  }

  .timeline-dot {
    transform: translateX(-50%);
    top: 24px;
  }

  .timeline-item:nth-child(odd) .timeline-dot {
    left: 100%;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 0;
  }

  .timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.25);
  }
  
  /* Clear floats */
  .doctor-timeline::after {
    content: '';
    display: table;
    clear: both;
  }
}

/* Premium Timeline Section Background styling */
.about-timeline-section {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, #FAF8F5 50%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.timeline-section-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.timeline-section-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  background-image: radial-gradient(var(--secondary) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
}

.timeline-section-glow-1 {
  position: absolute;
  top: 10%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.timeline-section-glow-2 {
  position: absolute;
  bottom: 10%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.08) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
}

.about-timeline-section .container {
  position: relative;
  z-index: 1;
}

.timeline-background-illustration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

/* --- Our Approach Section Styles --- */
.about-approach-section {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(var(--primary-rgb), 0.02) 50%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
  overflow: hidden;
}

.approach-section-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.approach-glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, transparent 70%);
  filter: blur(120px);
}

.approach-glow-2 {
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.07) 0%, transparent 70%);
  filter: blur(120px);
}

.approach-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.12;
  background-image: radial-gradient(var(--primary) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
}

.approach-background-illustration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.about-approach-section .container-premium {
  position: relative;
  z-index: 1;
}

.approach-section-desc {
  max-width: 800px;
  margin: 0 auto 50px auto;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--body-text);
}

.about-approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  text-align: left;
}

@media (min-width: 768px) {
  .about-approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-approach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Card Styling */
.approach-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3.5px solid var(--primary); /* Left accent border */
  border-radius: var(--radius-md);
  padding: 30px var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.approach-card:nth-child(even) {
  border-left-color: var(--secondary); /* Alternating accents */
}

/* Card Header row with numbers */
.approach-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.approach-card-num {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.approach-card:nth-child(even) .approach-card-num {
  color: var(--secondary);
  background: rgba(var(--secondary-rgb), 0.06);
}

.approach-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0;
  line-height: 1.3;
}

.approach-card-text {
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.6;
  margin: 0;
}

/* Hover Elevations */
.approach-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 12px 30px rgba(var(--primary-rgb), 0.06);
  border-color: var(--primary);
  border-left-width: 5px;
}

.approach-card:nth-child(even):hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg), 0 12px 30px rgba(var(--secondary-rgb), 0.06);
}

.approach-card:hover .approach-card-num {
  background: var(--primary);
  color: var(--surface);
}

.approach-card:nth-child(even):hover .approach-card-num {
  background: var(--secondary);
  color: var(--surface);
}

/* --- Gallery & Masonry Styles --- */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(var(--heading-rgb), 0.8) 0%, rgba(var(--heading-rgb), 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-text {
  color: var(--surface);
}

.gallery-text h4 {
  color: var(--surface);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.gallery-text p {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 0;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--heading-rgb), 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 80vh;
}

.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 4px solid var(--surface);
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  color: var(--surface);
  font-size: 2rem;
  cursor: pointer;
  background: none;
}

.lightbox-caption {
  color: var(--surface);
  text-align: center;
  margin-top: var(--space-sm);
  font-weight: 500;
}

/* --- Blog Page Styles --- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.blog-grid-full {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .blog-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
  border-color: transparent;
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  background-color: var(--border);
  position: relative;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-category {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background-color: var(--primary);
  color: var(--surface);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.blog-card-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.75rem;
  color: var(--muted-text);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--body-text);
  margin-bottom: var(--space-md);
  line-height: 1.5;
  flex-grow: 1;
}

.blog-card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Sidebar styling */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sidebar-widget {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.sidebar-widget h4 {
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: var(--space-md);
}

.search-form {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.65rem 2.5rem 0.65rem 1rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.search-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-text);
}

.category-list li {
  margin-bottom: 0.5rem;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--body-text);
  font-weight: 500;
}

.category-list a:hover {
  color: var(--primary);
}

.category-list span {
  background-color: var(--background);
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--muted-text);
}

/* --- Contact & Maps Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  box-shadow: var(--shadow-sm);
}

.contact-detail-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background-color: rgba(var(--primary-rgb), 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-detail-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 0.9rem;
  color: var(--body-text);
  margin-bottom: 0;
}

.emergency-notice {
  background-color: rgba(var(--cta-rgb), 0.04);
  border: 1px solid rgba(var(--cta-rgb), 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  gap: var(--space-sm);
}

.emergency-notice svg {
  color: var(--error);
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.emergency-notice h4 {
  color: var(--error);
  font-size: 0.95rem;
  font-weight: 700;
}

.emergency-notice p {
  font-size: 0.85rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.map-container {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-sm);
  box-shadow: var(--shadow-premium);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
  color: var(--muted-text);
  text-align: center;
  padding: var(--space-lg);
}

.map-placeholder svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

/* Responsive adjustments for about doctor section background art */
@media (max-width: 1024px) {
  .about-profile-bg-art .bg-art-top-left-circle {
    width: 320px;
    height: 320px;
    top: -140px;
    left: -140px;
  }
  .about-profile-bg-art .bg-art-radial-glow {
    width: 380px;
    height: 380px;
    top: -30px;
    right: -30px;
  }
  .about-profile-bg-art .bg-art-bottom-right-outline {
    width: 250px;
    height: 250px;
    bottom: -80px;
    right: -80px;
  }
  .about-profile-bg-art .bg-art-dotted-grid {
    width: 100px;
    height: 100px;
  }
  .about-profile-bg-art .bg-art-vertical-accent {
    opacity: 0.15;
    height: 60%;
  }
}

@media (max-width: 768px) {
  /* On mobile, keep only subtle elements and hide others to prevent clutter and layout overflow */
  .about-profile-bg-art .bg-art-top-left-circle,
  .about-profile-bg-art .bg-art-bottom-right-outline,
  .about-profile-bg-art .bg-art-vertical-accent,
  .about-profile-bg-art .bg-art-dotted-grid {
    display: none; /* Hide clutter */
  }
  .about-profile-bg-art .bg-art-radial-glow {
    width: 250px;
    height: 250px;
    opacity: 0.05;
  }
}

/* ==========================================================================
   Redesigned Premium Appointment Page Styles
   ========================================================================== */

.appointment-page-section {
  background-color: #FAF9F6;
  position: relative;
  overflow: hidden;
  padding: 4rem 0 6rem 0;
}

/* Background elements */
.appointment-decor-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.appointment-decor-circle-1 {
  position: absolute;
  top: 30%;
  left: -100px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.appointment-decor-circle-2 {
  position: absolute;
  bottom: 15%;
  right: -50px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(var(--primary-rgb), 0.06);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.appointment-decor-curve {
  position: absolute;
  top: 50%;
  right: 15%;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(var(--primary-rgb), 0.04);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  pointer-events: none;
  z-index: 0;
}

/* Hero Intro Header */
.appointment-hero-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.appointment-eyebrow {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.appointment-main-title {
  font-family: var(--font-headings);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--heading);
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.appointment-lead-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--body-text);
  margin: 0;
}

/* Main Two-Column Layout */
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: stretch;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

/* Left panel style */
.appointment-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 1rem;
}

.appointment-info-eyebrow {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.appointment-info-card h2 {
  font-family: var(--font-headings);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 1.25rem 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.appointment-info-text {
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--body-text);
  margin: 0 0 2.5rem 0;
}

.appointment-trust-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.appointment-trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.trust-icon-wrapper svg {
  width: 14px;
  height: 14px;
}

.trust-content h3 {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--heading);
  margin: 0;
}

.appointment-details-block {
  border-top: 1px solid rgba(var(--primary-rgb), 0.15);
  padding-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.details-section {
  display: flex;
  gap: 1rem;
}

.details-icon-wrapper {
  color: var(--primary);
  flex-shrink: 0;
  padding-top: 2px;
}

.details-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.details-content h4 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.35rem 0;
}

.details-content p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--body-text);
  margin: 0;
}

/* Right panel style */
.appointment-form-card {
  background-color: var(--surface);
  border-radius: 24px;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  box-shadow: 0 20px 50px -15px rgba(22, 23, 21, 0.05), 0 10px 30px -15px rgba(var(--primary-rgb), 0.05);
  padding: 3.5rem;
  box-sizing: border-box;
}

.appointment-form-card .form-title {
  font-family: var(--font-headings);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}

.appointment-form-card .form-subtitle {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted-text);
  margin: 0 0 2.25rem 0;
}

.appointment-form-element {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-custom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label-custom {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0.01em;
}

.form-control-custom {
  font-family: var(--font-body);
  font-size: 0.95rem;
  height: 52px;
  padding: 0 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(71, 85, 105, 0.2);
  background-color: #FAF9F6;
  color: var(--heading);
  outline: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
  width: 100%;
}

select.form-control-custom {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1rem;
  padding-right: 3rem;
}

.form-control-custom:focus {
  border-color: var(--primary);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.18);
}

.btn-submit-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.975rem;
  height: 54px;
  border-radius: var(--radius-full);
  border: none;
  background-color: var(--primary);
  color: #FFFFFF;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 14px 0 rgba(var(--primary-rgb), 0.35);
  transition: all var(--transition-normal);
  letter-spacing: 0.02em;
}

.btn-submit-premium:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(var(--primary-rgb), 0.45);
}

.form-disclaimer-custom {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted-text);
  margin: 0;
  text-align: left;
}

/* Quick Contact section */
.appointment-fast-cta {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.fast-cta-card {
  background: linear-gradient(135deg, #F8F2EB 0%, #FAF6F0 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 12px 36px -15px rgba(var(--primary-rgb), 0.12);
}

.fast-cta-card h3 {
  font-family: var(--font-headings);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 0.5rem 0;
}

.fast-cta-card p {
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.6;
  margin: 0 0 2rem 0;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.fast-cta-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-fast-call,
.btn-fast-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  min-width: 185px;
  box-sizing: border-box;
}

.btn-fast-call {
  background-color: var(--secondary);
  color: #FFFFFF;
}

.btn-fast-call:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(64, 50, 130, 0.25);
}

.btn-fast-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
}

.btn-fast-whatsapp:hover {
  background-color: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

.btn-fast-call svg,
.btn-fast-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Media Query overrides */
@media (max-width: 991px) {
  .appointment-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .appointment-info-panel {
    padding-right: 0;
  }
}

@media (max-width: 576px) {
  .appointment-page-section {
    padding: 3rem 0 4rem 0;
  }
  
  .appointment-hero-header {
    margin-bottom: 2.5rem;
  }
  
  .appointment-main-title {
    font-size: 2.15rem;
  }
  
  .appointment-info-card h2 {
    font-size: 1.85rem;
  }
  
  .appointment-form-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }
  
  .fast-cta-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }
}

/* Contact Details Section Styling */
.contact-details-section {
  background-color: #FAF9F6;
  position: relative;
  overflow: hidden;
}

.contact-decor-glow {
  position: absolute;
  top: 15%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.contact-decor-circle {
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(var(--primary-rgb), 0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* --- Blog Page Styles --- */

.featured-article-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  background-color: var(--surface);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .featured-article-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.featured-image-wrapper {
  position: relative;
  min-height: 350px;
  overflow: hidden;
}

.featured-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-article-card:hover .featured-image {
  transform: scale(1.03);
}

.featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  .featured-content {
    padding: 1.75rem;
  }
}

.featured-category {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.featured-title {
  font-family: var(--font-headings);
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.25;
}

@media (max-width: 576px) {
  .featured-title {
    font-size: 1.75rem;
  }
}

.featured-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--body-text);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.featured-meta {
  font-size: 0.85rem;
  color: var(--muted-text);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Sidebar and general layout */
.blog-layout {
  display: grid;
  grid-template-columns: 2.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.blog-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

@media (max-width: 768px) {
  .blog-grid-full {
    grid-template-columns: 1fr;
  }
}

/* Blog Sidebar overrides */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: sticky;
  top: 6rem;
}

.sidebar-widget {
  background-color: var(--surface);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h4 {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.sidebar-widget h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.search-form {
  display: flex;
  border: 1px solid rgba(71, 85, 105, 0.2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #FAF9F6;
}

.search-input {
  border: none;
  background: none;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  flex: 1;
  outline: none;
  color: var(--heading);
}

.search-btn {
  border: none;
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 0 1rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.search-btn:hover {
  background-color: var(--primary-hover);
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.blog-category-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.925rem;
  color: var(--body-text);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.blog-category-filter span {
  font-size: 0.8rem;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
}

.blog-category-filter:hover,
.blog-category-filter.active {
  color: var(--primary);
}

.blog-category-filter.active span {
  background-color: var(--primary);
  color: #FFFFFF;
}

/* Sidebar booking card widget */
.sidebar-booking-card {
  background: linear-gradient(135deg, #F8F2EB 0%, #FAF6F0 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.sidebar-booking-card h3 {
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.sidebar-booking-card p {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--body-text);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Blog Detail Page Styles */
.treatment-section-block {
  background-color: var(--surface);
  border: 1px solid rgba(var(--primary-rgb), 0.15);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.treatment-section-block h2 {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.treatment-section-block p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.treatment-section-block ul,
.treatment-section-block ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.treatment-section-block li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background-color: rgba(var(--primary-rgb), 0.1) !important;
  transform: translateY(-2px);
}

