/* 
========================================================================
   DESIGN SYSTEM & CUSTOM STYLESHEET
   Dr. Srishti Agrawal - Pediatric Nephrologist Website
========================================================================
*/

/* 1. Imports & CSS Variables */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@500;600;700&family=Fredoka:wght@400;500;600;700&display=swap");

:root {
  /* Color Palette */
  --color-primary: #2a7f89; /* Deep Teal brand accent / CTAs */
  --color-primary-hover: #1e5d65;
  --color-secondary: #ffd38b; /* Gold/Orange accent */
  --color-secondary-dark: #e6bd7c;
  --color-bg: #ffffff;
  --color-accent-light: #82c3ca; /* Light Teal */
  --color-neutral-dark: #000000; /* Pure Black headings */
  --color-neutral-body: #1a1a1a; /* Dark body text */
  --color-neutral-light: #f5fbfc; /* Soft teal-tinted background */
  --color-neutral-border: #d8ebeb; /* Teal-tinted borders */

  /* Layout & Styling Tokens */
  --font-heading: "Poppins", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Premium Soft Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
  --shadow-medium: 0 16px 40px rgba(42, 127, 137, 0.05);
  --shadow-hover: 0 20px 48px rgba(42, 127, 137, 0.12);
  --shadow-header: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* 2. Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-neutral-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  font-weight: 600;
  line-height: 1.3;
}

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

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

/* Utility Layouts */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
 
  position: relative;
}

.section-bg-light {
  background-color: var(--color-neutral-light);
}

.section-bg-green {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-secondary) 100%);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  margin: 12px auto 0 auto;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-neutral-body);
}

/* Button & CTA System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(42, 127, 137, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42, 127, 137, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-neutral-border);
}

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

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

.btn-outline-primary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 127, 137, 0.2);
}

.btn i {
  margin-right: 8px;
  font-size: 1.1rem;
}

/* 3. Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  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(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: #ffffff;
  box-shadow: var(--shadow-header);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

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

.logo .brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-neutral-dark);
  line-height: 1.1;
}

.logo .brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--color-neutral-dark);
  font-size: 0.95rem;
      font-family: 'Fredoka', 'Poppins', sans-serif;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

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

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

.nav-btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-neutral-dark);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

/* Hamburger active transformation */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 4. Hero Section (Three Column split: Text, Services Grid, Circle Child Image) */
/* 4. Hero Section (Modern & Premium Design) */
.hero-modern-section {
    min-height: 500px;
    background: radial-gradient(circle at 10% 20%, rgba(253, 239, 244, 0.8) 0%, rgba(255, 255, 255, 1) 40%, rgba(230, 244, 233, 0.7) 100%);
    padding: 100px 0 20px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Ambient design elements */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: rgba(42, 127, 137, 0.15);
  top: 10%;
  left: -5%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: rgba(165, 201, 169, 0.2);
  bottom: 5%;
  right: -5%;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: rgba(251, 209, 238, 0.25);
  top: 40%;
  left: 50%;
}

.hero-modern-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-modern-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

/* Left Content Column */
.hero-modern-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42, 127, 137, 0.06);
  border: 1px solid rgba(42, 127, 137, 0.12);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.badge-icon {
  color: var(--color-primary);
  font-size: 0.8rem;
  animation: spin 6s linear infinite;
}

.badge-label {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-modern-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 3.2rem;
  color: var(--color-neutral-dark);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-modern-title span {
  color: var(--color-primary);
      background: linear-gradient(358deg, #2a7f89 0%, #35a4b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-modern-desc {
  color: var(--color-neutral-body);
  font-size: 1.1rem;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-modern-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-hero-modern {
  padding: 14px 32px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(42, 127, 137, 0.25);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.btn-hero-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(42, 127, 137, 0.35);
}

.hero-modern-call {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--color-neutral-dark);
  transition: var(--transition-smooth);
}

.call-icon-holder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
  border: 1px solid rgba(42, 127, 137, 0.1);
  transition: var(--transition-smooth);
}

.hero-modern-call:hover {
  color: var(--color-primary);
}

.hero-modern-call:hover .call-icon-holder {
  background: var(--color-primary);
  color: #ffffff;
  transform: scale(1.08) rotate(15deg);
  box-shadow: 0 10px 25px rgba(42, 127, 137, 0.2);
}

/* Right Illustration/Portal Column */
.hero-modern-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  animation: fadeIn 1s ease-out;
}

.hero-portal-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
}

.hero-portal-ring {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 2px dashed rgba(42, 127, 137, 0.25);
  animation: rotatePortal 20s linear infinite;
  z-index: 1;
}

.hero-main-photo-frame {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(42, 127, 137, 0.15);
  border: 6px solid #ffffff;
  z-index: 2;
  background-color: var(--color-secondary);
  animation: liquidBubble 8s ease-in-out infinite alternate;
}

.hero-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Glass Cards */
.floating-glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  transition: var(--transition-smooth);
}

.floating-glass-card:hover {
  transform: translateY(-5px) scale(1.05) !important;
  box-shadow: 0 15px 35px rgba(42, 127, 137, 0.12);
  background: #ffffff;
  border-color: rgba(42, 127, 137, 0.2);
}

.fg-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.fg-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-neutral-dark);
  white-space: nowrap;
}

/* Icon Colors mapping */
.c-pink { background: rgba(42, 127, 137, 0.08); color: #2a7f89; }
.c-teal { background: rgba(130, 195, 202, 0.15); color: #2a7f89; }
.c-purple { background: rgba(0, 0, 0, 0.05); color: #000000; }
.c-yellow { background: rgba(255, 211, 139, 0.15); color: #2a7f89; }
.c-blue { background: rgba(42, 127, 137, 0.08); color: #82c3ca; }
.c-orange { background: rgba(255, 211, 139, 0.15); color: #000000; }

/* Positioning & Animations of floating cards */
.fc-1 { top: 0%; left: -10%; animation: floatCardY 4s ease-in-out infinite alternate; }
.fc-2 { top: 5%; right: -12%; animation: floatCardY 4.5s ease-in-out infinite alternate 0.5s; }
.fc-3 { top: 40%; left: -22%; animation: floatCardX 5s ease-in-out infinite alternate 0.2s; }
.fc-4 { top: 45%; right: -25%; animation: floatCardX 5.5s ease-in-out infinite alternate 0.7s; }
.fc-5 { bottom: 0%; left: -5%; animation: floatCardY 4.8s ease-in-out infinite alternate 0.3s; }
.fc-6 { bottom: 5%; right: -5%; animation: floatCardY 5.2s ease-in-out infinite alternate 0.8s; }

/* Keyframes */
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes rotatePortal { 100% { transform: rotate(360deg); } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes floatCardY {
  from { transform: translateY(0px); }
  to { transform: translateY(-10px); }
}
@keyframes floatCardX {
  from { transform: translateX(0px); }
  to { transform: translateX(-10px); }
}
@keyframes liquidBubble {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 50% 60% 40%; }
}

/* Video Modal Styling */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  background-color: #ffffff;
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 600px;
  padding: 48px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-neutral-dark);
  transition: var(--transition-smooth);
}

.video-modal-close:hover {
  color: var(--color-primary);
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pulse-play-ring {
  width: 84px;
  height: 84px;
  background-color: rgba(42, 127, 137, 0.08);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(42, 127, 137, 0.4);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(42, 127, 137, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(42, 127, 137, 0);
  }
}

/* 5. About Section (PDF Profile Restructured) */
.about-pdf-section {
 padding: 30px 0 1px;
    background-color: #eaf1eb;
    border-top: 1px solid var(--color-neutral-border);
    border-bottom: 1px solid var(--color-neutral-border);
    position: relative;
    overflow: hidden;
}

.about-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  opacity: 0.45;
  pointer-events: none;
}

.blob-left {
  width: 400px;
  height: 400px;
  background: rgba(214, 232, 216, 0.4);
  top: 10%;
  left: -10%;
}

.blob-right {
  width: 500px;
  height: 500px;
  background: rgba(251, 209, 238, 0.35);
  bottom: 10%;
  right: -10%;
}

.about-pdf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.about-intro-grid {
     display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 30px;
}

/* Left Photo Column */
.about-pdf-photo-column {
  display: flex;
  justify-content: center;
}

.about-portrait-card-modern {
  position: relative;
  width: 340px;
  height: 400px;
}

.modern-bg-accent {
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  background: linear-gradient(135deg, var(--color-secondary-dark) 0%, var(--color-accent-light) 100%);
  border-radius: 24px;
  z-index: 1;
  opacity: 0.5;
}

.about-doctor-photo-modern {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 6px solid #ffffff;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.about-floating-card {
  position: absolute;
  bottom: 25px;
  left: -20px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  padding: 14px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  border: 1px solid rgba(42, 127, 137, 0.08);
  max-width: 280px;
  animation: floatCardY2 4s ease-in-out infinite alternate;
}

@keyframes floatCardY2 {
  from { transform: translateY(0px); }
  to { transform: translateY(-10px); }
}

.afc-icon {
  width: 42px;
  height: 42px;
  background: rgba(42, 127, 137, 0.08);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

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

.afc-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-neutral-dark);
}

.afc-sub {
  font-size: 0.75rem;
  color: var(--color-neutral-body);
  font-weight: 500;
}

/* Right Bio Column */
.about-pdf-bio-column {
  display: flex;
  flex-direction: column;
}

.section-tag-wrapper {
  margin-bottom: 12px;
}

.section-tag {
  background: rgba(42, 127, 137, 0.08);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.about-pdf-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 2.8rem;
  color: var(--color-neutral-dark);
      font-weight: 500;
  margin-bottom: 4px;
}

.about-pdf-subtitle {
  font-size: 1.15rem;
  color: var(--color-primary);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.title-decor-line {
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50px;
  margin-bottom: 24px;
}

.about-pdf-bio-text {
  font-size: 1.05rem;
  line-height: 1.65;
      color: #000000;
  margin-bottom: 30px;
}

/* Profile Summary Checklist */
.about-summary-panel {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.summary-panel-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-neutral-dark);
  margin-bottom: 18px;
}

.summary-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-icon {
  width: 24px;
  height: 24px;
  background: rgba(165, 201, 169, 0.15);
  color: #27ae60;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-text {
  font-size: 0.95rem;
  color: var(--color-neutral-body);
  font-weight: 500;
  line-height: 1.45;
}

/* Areas of Expertise Grid */
.about-expertise-panel {
  margin-top: 60px;
  margin-bottom: 70px;
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.02);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.details-section-title-modern {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.45rem;
  color: var(--color-neutral-dark);
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.details-section-title-modern i {
  color: var(--color-primary);
}

.expertise-badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.exp-badge {
  background: rgba(251, 209, 238, 0.2);
  color: var(--color-neutral-dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(42, 127, 137, 0.05);
  transition: var(--transition-smooth);
}

.exp-badge:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(42, 127, 137, 0.15);
  border-color: var(--color-primary);
}

/* Split Timelines */
.about-timeline-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

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

.pdf-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  padding-left: 24px;
  border-left: 2px dashed rgba(42, 127, 137, 0.15);
}

.timeline-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.01);
  border: 1px solid rgba(0,0,0,0.02);
  position: relative;
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 35px rgba(42, 127, 137, 0.05);
  border-color: rgba(42, 127, 137, 0.1);
}

.t-card-dot {
  position: absolute;
  top: 26px;
  left: -32px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid rgba(42, 127, 137, 0.4);
  z-index: 2;
  transition: var(--transition-smooth);
}

.t-card-dot.marker-active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  animation: pulseDot 2s infinite;
}

.timeline-card:hover .t-card-dot {
  border-color: var(--color-primary);
}

.t-card-year {
  display: inline-block;
  background: rgba(42, 127, 137, 0.06);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.t-card-year.current-tag {
  background: var(--color-primary);
  color: #ffffff;
}

.t-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-neutral-dark);
  margin-bottom: 4px;
}

.t-card-subtitle {
  font-size: 0.85rem;
  color: var(--color-neutral-body);
  font-weight: 500;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(42, 127, 137, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(42, 127, 137, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 127, 137, 0); }
}

/* Contact Details Panel */
.about-contact-panel {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.02);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info-card {
  background: #fafbfc;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,0.04);
  border-color: rgba(42, 127, 137, 0.1);
}

.cic-icon {
  width: 50px;
  height: 50px;
  background: rgba(42, 127, 137, 0.08);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.cic-details {
  display: flex;
  flex-direction: column;
}

.cic-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-neutral-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.cic-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-neutral-dark);
}

/* Areas of Expertise repositioned panel */
.about-expertise-modern-panel {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.02);
  margin-top: 10px;
}

.expertise-panel-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-neutral-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.expertise-panel-title i {
  color: var(--color-primary);
}

.expertise-badges-inline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.exp-badge-inline {
  background: rgba(251, 209, 238, 0.15);
  color: var(--color-neutral-dark);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(42, 127, 137, 0.03);
  text-align: center;
  transition: var(--transition-smooth);
}

.exp-badge-inline:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(42, 127, 137, 0.12);
  border-color: var(--color-primary);
}

/* 6. Treatments & Procedures Section */
.treatments-modern-section {
  padding: 40px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-neutral-border);
}

.treatments-modern-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.treatments-split-layout {
  display: grid;
  grid-template-columns:1fr;
  gap: 40px;
  align-items: start;
}

/* Left Column: Sticky Section Title & description */
.treatments-info-panel {

  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-clinical {
  color: var(--color-primary);
  background-color: rgba(42, 127, 137, 0.08);
  border: 1px solid rgba(42, 127, 137, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.treatments-info-panel h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-neutral-dark);
  margin-top: 14px;
  margin-bottom: 14px;
  line-height: 1.25;
}

.treatments-info-line {
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  margin-bottom: 24px;
  border-radius: 2px;
}

.treatments-info-panel p {
  color: var(--color-neutral-body);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.btn-treatments-cta {
  padding: 14px 30px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(42, 127, 137, 0.15);
}

/* Right Column: Equal-size Treatment Columns */
.treatments-accordion {
  display: flex;
  gap: 1px;
  width: 100%;
  height: 350px;
  background-image: url('../images/bg-for-treatments.png');
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  border: 1px solid rgba(22, 101, 110, 0.2);
}

.treatment-acc-panel {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
}

.treatment-acc-panel:last-child {
  border-right: none;
}

.treatment-acc-panel:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.3);
}

.panel-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(22, 101, 110, 0.8) 0%, rgba(13, 60, 66, 0.95) 100%);
  z-index: 1;
  transition: background 0.3s ease;
}

.treatment-acc-panel:hover .panel-background-overlay {
  background: linear-gradient(180deg, rgba(22, 101, 110, 0.7) 0%, rgba(13, 60, 66, 0.9) 100%);
}

/* Panel content */
.panel-content {
  position: relative;
  z-index: 2;
  padding: 36px 20px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-end;
}

.treatment-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffd645;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.treatment-acc-panel:hover .treatment-icon-circle {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: scale(1.1);
  border-color: var(--color-primary);
}

.treatment-tag-label {
  font-size: 0.725rem;
  color: #ffffff;
  opacity: 0.8;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.expanded-title {
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffd645;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  line-height: 1.3;
}

.expanded-description {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #ffffff;
  margin: 0 0 20px 0;
  opacity: 0.9;
  min-height: 72px; /* Common height for description content */
}

.btn-read-more {
  padding: 10px 24px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  border: 2px solid #ffffff;
  background: transparent;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-read-more:hover {
  background-color: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

/* /* 7. Conditions Treated (Redesigned matching provided reference) */
.conditions-image-layout-section {
  position: relative;
         background-color: #fff6fa;
  overflow: hidden;
 padding: 30px 0px;
  border-bottom: 1px solid var(--color-neutral-border);
}

/* White left-side column backdrop */
.conditions-image-layout-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 100%;
    background-color: #efe2e8;
  z-index: 1;
}

.conditions-container-modern {
  display: grid;
  grid-template-columns: 4fr 6.5fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 40px;
  position: relative;
  z-index: 2;
}

.conditions-image-side {
  position: relative;
}

.conditions-aesthetic-img-container {
  width: 100%;
  aspect-ratio: 0.82 / 1;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #ffffff;
}

.conditions-aesthetic-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.conditions-text-side {
 color: var(--color-primary);
}

.conditions-content-inner {
      padding: 40px;

  
    -webkit-backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
 
}

.conditions-meta-tag {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(42, 127, 137, 0.7);
  font-weight: 600;
  margin-bottom: 12px;
}

.conditions-serif-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem;
  color: #2a7f89;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.conditions-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
}

.condition-item-arrow {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: default;
  transition: all 0.3s ease;
  border-bottom: 1px dashed rgba(42, 127, 137, 0.12); /* Modern elegant divider line */
  padding: 12px 0;
}

.condition-item-arrow:last-child {
  border-bottom: none;
}

.condition-item-arrow span {
  font-size: 1.05rem;
  color: rgb(0, 0, 0);
  font-weight: 400;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.cond-kidney-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(42, 127, 137, 0.08); /* Soft brand-teal circle backdrop */
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 8px rgba(42, 127, 137, 0.03);
}

.cond-kidney-icon svg {
  width: 20px;
  height: 20px;
  fill: #2a7f89;
  display: block;
  transition: var(--transition-smooth);
}

.cond-kidney-icon svg .accent-path {
  transition: var(--transition-smooth);
}

.cond-kidney-icon svg .cyst-path {
  fill: rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
}

/* Hover SVG Transitions */
.condition-item-arrow:hover .cond-kidney-icon svg {
  fill: #ffffff;
}

.condition-item-arrow:hover .cond-kidney-icon svg .accent-path {
  fill: #ffffff !important;
}

.condition-item-arrow:hover .cond-kidney-icon svg .cyst-path {
  fill: #2a7f89 !important;
}

/* Hover Micro-Interactions */
.condition-item-arrow:hover .cond-kidney-icon {
  background-color: #2a7f89;
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 6px 14px rgba(42, 127, 137, 0.2);
}

.condition-item-arrow:hover span {
  color: #2a7f89;
  transform: translateX(4px);
}

/* Responsiveness for Conditions Section */
@media (max-width: 992px) {
  .conditions-image-layout-section::before {
    display: none;
  }
  .conditions-container-modern {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 50px 24px;
  }
  .conditions-image-side {
    max-width: 450px;
    margin: 0 auto;
  }
  .conditions-content-inner {
    padding-left: 0;
    text-align: center;
  }
  .conditions-serif-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }
  .conditions-grid-modern {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* 8. Patient Reviews Section */
.testimonial-playful-section {
 padding: 30px 0;
    background-color: #eaf1eb;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-neutral-border);
}

.testimonial-split-container {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr;
  gap: 50px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Left Block visual styling */
.testimonial-left-block {
  position: relative;
  width: 100%;
  height: 480px;
}

.blob-backdrop-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.pastel-blob {
  position: absolute;
  border-radius: 50%;
}

.blob-purple {
  top: 10px;
  left: 10px;
  width: 320px;
  height: 380px;
  background-color: #e5def6;
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  opacity: 0.7;
}

.blob-green {
  top: 30px;
  left: 60px;
  width: 290px;
  height: 360px;
  background-color: #d8eed0;
  border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
  opacity: 0.6;
}

.blob-orange {
  top: 60px;
  left: 110px;
  width: 270px;
  height: 320px;
  background-color: #fde4d3;
  border-radius: 60% 40% 50% 50% / 40% 50% 50% 60%;
  opacity: 0.75;
}

.testimonial-girl-img {
  position: absolute;
  top: 30px;
  left: 45px;
  width: 310px;
  height: auto;
  z-index: 2;
  object-fit: contain;
}

.crayon-drawing {
  position: absolute;
  width: 48px;
  height: 110px;
  z-index: 3;
}

.drawing-pink {
  top: -25px;
  left: 15px;
  transform: rotate(-15deg);
}

.drawing-teal {
  top: -35px;
  left: 80px;
  transform: rotate(12deg);
}

.crayon-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.testimonial-planet-svg {
  position: absolute;
  bottom: -15px;
  left: 105px;
  width: 110px;
  height: 110px;
  z-index: 3;
}

.planet-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Right Block visual styling */
.testimonial-right-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.testimonial-section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-left: 20px;
}

.dashed-line {
  width: 80px;
  height: 0;
  border-bottom: 3px dashed #2a7f89;
  margin-bottom: 12px;
}

.testimonial-playful-title {
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
}

/* Slider core structure overrides */
.reviews-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

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

.review-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

/* Bubble Card styling */
.testimonial-bubble-card {
  background-color: #faf6f0;
  border-left: 5px solid #2a7f89;
  border-bottom: 5px solid #2a7f89;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 0;
  position: relative;
    padding: 48px 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.02);
  margin-left: 10px;
  margin-bottom: 20px;
}

.testimonial-bubble-card::after {
  content: '';
  position: absolute;
  bottom: -35px;
  left: -5px;
  width: 0;
  height: 0;
  border-left: 5px solid #2a7f89;
  border-right: 28px solid transparent;
  border-top: 30px solid #2a7f89;
}

.bubble-quote-open {
  position: absolute;
  top: 15px;
  left: 24px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: #2a7f89;
  line-height: 1;
  opacity: 0.18;
  pointer-events: none;
}

.bubble-quote-close {
  position: absolute;
  bottom: -40px;
  right: 32px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: #2a7f89;
  line-height: 1;
  opacity: 0.18;
  pointer-events: none;
}

.bubble-card-content-layout {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.bubble-text-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.bubble-review-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #2c3e50;
  margin-bottom: 16px;
  font-weight: 500;
  font-style: italic;
}

.bubble-author {
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000000;
}

/* Polaroid image styling */
.polaroid-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.polaroid-heart {
  width: 24px;
  height: 24px;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.polaroid-card {
  background-color: #ffffff;
  padding: 8px 8px 20px 8px;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: rotate(5deg);
  width: 130px;
  transition: transform 0.3s ease;
}

.polaroid-card:hover {
  transform: rotate(0deg) scale(1.05);
}

.polaroid-card img {
  width: 114px;
  height: 114px;
  object-fit: cover;
  display: block;
  border: 1px solid #f2f2f2;
}

/* Carousel Nav Controls styling */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--color-neutral-border);
  color: var(--color-neutral-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.carousel-btn:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: scale(1.05);
}

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

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-neutral-border);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carousel-dot.active {
  background-color: var(--color-primary);
  width: 24px;
  border-radius: 10px;
}

/* 9. Contact & Booking Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.contact-card {
  background-color: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-neutral-border);
}

.contact-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-card p {
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* Booking Form Elements */
.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

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

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

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  border: 1.5px solid var(--color-neutral-border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  background-color: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(42, 127, 137, 0.1);
}

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

.form-submit-btn {
  grid-column: span 2;
  padding: 16px;
  margin-top: 10px;
}

.form-status-msg {
  grid-column: span 2;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-status-msg.success {
  background-color: #def7ec;
  color: #03543f;
  border: 1px solid #bcf0da;
  display: block;
}

.form-status-msg.error {
  background-color: #fde8e8;
  color: #9b1c1c;
  border: 1px solid #fbd5d5;
  display: block;
}

/* Clinic Details and Sidebar Info */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.clinic-info-box {
  background-color: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-neutral-border);
}

.clinic-info-box h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 12px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(42, 127, 137, 0.06);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-text p,
.info-text a {
  font-size: 0.875rem;
  color: var(--color-neutral-body);
}

.info-text a:hover {
  color: var(--color-primary);
}

.map-wrapper {
  width: 100%;
  height: 240px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--color-neutral-border);
  margin-top: 10px;
  box-shadow: var(--shadow-soft);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* 10. FAQ Section */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--color-neutral-border);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(42, 127, 137, 0.2);
  box-shadow: var(--shadow-medium);
}

.faq-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-neutral-dark);
  padding-right: 16px;
}

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

.faq-item.active .faq-icon-indicator {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content-inner {
  padding: 0 24px 24px 24px;
  font-size: 0.95rem;
  color: var(--color-neutral-body);
  border-top: 1px solid transparent;
}

.faq-item.active .faq-content-inner {
  border-top-color: var(--color-neutral-border);
}

/* 11. Footer Section */
.kids-footer {
    background-color: #eaf1eb;
  color: #555555;
  padding: 80px 0 0 0; /* No bottom padding since illustration goes to bottom */
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.kids-footer .footer-grid {
display: grid;
    grid-template-columns: 1.2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
  max-height: 80px;
  margin-bottom: 20px;
}

.footer-brand-col p {
  line-height: 1.6;
  color: #666666;
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-box {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: #ffffff;
  color: #666666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-box:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(42, 127, 137, 0.15);
}

.footer-col h4 {
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 35px;
  height: 3px;
  background-color: var(--color-primary);
  margin-top: 8px;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li {
  position: relative;
  padding-left: 0;
}

.footer-links li::before {
  display: none;
}

.footer-links a {
  color: #666666;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-links a i {
  margin-right: 8px;
  color: var(--color-primary);
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover i {
  transform: translateX(3px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-block p {
  margin: 4px 0 0 0;
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.4;
}

.contact-block a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-block a:hover {
  color: var(--color-primary);
}

.contact-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
    color: #404040;
  font-size: 0.9rem;
  text-transform: capitalize;
}

/* Newsletter Signup styles */
.footer-newsletter-form {
  margin-bottom: 12px;
  width: 100%;
}

.newsletter-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.newsletter-input {
  width: 100%;
  padding: 14px 50px 14px 18px;
  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #faf3e8; /* Warm light tan */
  font-size: 0.9rem;
  color: #666666;
  transition: all 0.3s ease;
  outline: none;
}

.newsletter-input::placeholder {
  color: #b0a595;
}

.newsletter-input:focus {
  border-color: var(--color-primary);
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(42, 127, 137, 0.08);
}

.newsletter-btn {
  position: absolute;
  right: 4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffd645;
  border: none;
  color: #d85c27;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.newsletter-btn:hover {
  transform: scale(1.05) rotate(-10deg);
  background-color: var(--color-primary);
  color: #ffffff;
}

.newsletter-desc {
  font-size: 0.85rem;
  color: #888888;
  line-height: 1.4;
  margin: 0;
}

/* Illustration Bottom Styles */
.footer-illustration-wrapper {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: 20px;
}

.footer-svg {
  width: 100%;
  height: auto;
  min-height: 120px;
  max-height: 180px;
  display: none;
}

/* Copyright green bar */
.footer-copyright-bar {
     background: linear-gradient(17deg, rgba(42, 123, 155, 1) 0%, rgb(72 174 140) 50%, rgb(42 127 137) 100%);
  color: #ffffff;
  padding: 16px 0;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}

.footer-copyright-bar p {
  margin: 0;
  letter-spacing: 0.5px;
}

/* 12. Floating & Interactive UX Features */

/* Scroll To Top Widget */
.scroll-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(42, 127, 137, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  z-index: 99;
}

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

.scroll-to-top:hover {
  background-color: var(--color-primary-hover);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 18px rgba(42, 127, 137, 0.4);
}

/* Floating WhatsApp Widget */
.whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  background-color: #25d366;
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  cursor: pointer;
  transition: var(--transition-smooth);
  animation: pulseWhatsapp 2s infinite;
}

.whatsapp-widget i {
  font-size: 1.4rem;
  margin-right: 8px;
}

.whatsapp-widget:hover {
  background-color: #128c7e;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Mobile Sticky CTA Dock */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  display: none; /* Controlled via media query */
  grid-template-columns: 1fr 1fr;
  padding: 12px 16px;
  gap: 12px;
  z-index: 999;
}

.mobile-sticky-cta .btn {
  padding: 12px;
  font-size: 0.85rem;
  border-radius: 20px;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* 13. Responsive Media Queries */

/* Tablet & Smaller Screens (Desktop Down Design) */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }

  .hero-text-content h1 {
    font-size: 2.5rem;
  }

  .treatments-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .treatments-info-panel {
    position: static;
    align-items: center;
    text-align: center;
  }

  .treatments-info-line {
    margin-left: auto;
    margin-right: auto;
  }
}

.logo img {
  height: 100px;
      padding: 10px;
}

@media (max-width: 992px) {
  .hero-grid-three {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
  }

  .hero-col-services {
    grid-column: span 2;
    padding-top: 10px;
  }

  .hero-circle-mask-wrapper {
    width: 260px;
    height: 260px;
  }

  .about-top-block {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }

  .about-bio-panel {
    align-items: center;
    text-align: center;
  }

  .about-bio-line {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-sidebar {
    order: 2;
  }

  .contact-card {
    order: 1;
  }

  /* Treatments Mobile Fallback preserving Design Structure */
  .treatments-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #ffffff;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(22, 101, 110, 0.2);
    height: auto;
  }
  .treatment-acc-panel {
    width: 100%;
    height: auto;
    min-height: 180px;
    flex: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background-image: url('../images/bg-for-treatments.png');
    background-size: cover;
    background-position: center;
    padding: 0;
  }
  .treatment-acc-panel:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  .treatment-acc-panel .panel-background-overlay {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(22, 101, 110, 0.82) 0%, rgba(13, 60, 66, 0.96) 100%);
    z-index: 1;
  }
  .treatment-acc-panel .panel-content {
    position: relative;
    z-index: 2;
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
  }
  .treatment-acc-panel .treatment-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffd645;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  .treatment-acc-panel .treatment-tag-label {
    font-size: 0.725rem;
    color: #ffffff;
    opacity: 0.85;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .treatment-acc-panel .expanded-title {
    font-family: 'Fredoka', 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffd645;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  .treatment-acc-panel .expanded-description {
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.55;
    margin: 0 0 20px 0;
    opacity: 0.95;
  }
  .treatment-acc-panel .btn-read-more {
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff;
    border: 2px solid #ffffff;
    background: transparent;
    border-radius: 30px;
    padding: 10px 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
  }
  .treatment-acc-panel .btn-read-more:hover {
    background-color: #ffffff;
    color: #000000;
  }

  /* Conditions Treated Mobile Overrides */
  .conditions-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .conditions-image-panel {
    justify-content: center;
    align-items: center;
    margin-top: 20px;
  }
  .conditions-child-img {
    max-height: 280px;
  }
  .conditions-blob-backdrop {
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
  }

  /* Testimonial Mobile Overrides */
  .testimonial-split-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .testimonial-left-block {
    height: 380px;
    max-width: 480px;
    margin: 0 auto;
  }
  .testimonial-girl-img {
    width: 240px;
    left: 50%;
    transform: translateX(-50%);
  }
  .blob-backdrop-wrapper {
    display: flex;
    justify-content: center;
  }
  .blob-purple { width: 260px; height: 320px; left: 10%; }
  .blob-green { width: 230px; height: 290px; left: 25%; }
  .blob-orange { width: 200px; height: 260px; left: 40%; }
  .testimonial-planet-svg {
    bottom: -10px;
    left: 15%;
    width: 80px;
    height: 80px;
  }
  .testimonial-section-header {
    align-items: center;
    padding-left: 0;
  }
  .dashed-line {
    margin: 0 auto 12px auto;
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  
  section {
    padding: 70px 0;
  }

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

  .section-header h2 {
    font-size: 1.85rem;
  }

  /* Header menu drawer */
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    align-items: stretch;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    text-align: center;
  }

  .nav-links a {
    font-size: 1.15rem;
    display: block;
    padding: 10px 0;
  }

  .nav-btn {
    width: 100%;
    margin-top: 10px;
  }

  /* Modern Hero & About Section Responsive */
  .hero-modern-section {
    padding: 110px 0 50px 0;
    min-height: auto;
  }
  .hero-modern-grid {
    grid-template-columns: 1fr;
    gap: 45px;
    text-align: center;
  }
  .hero-modern-text {
    align-items: center;
  }
  .hero-modern-title {
    font-size: 2.4rem;
  }
  .hero-modern-desc {
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: 480px;
  }
  .hero-modern-actions {
    justify-content: center;
    gap: 16px;
  }
  .hero-portal-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    height: auto;
  }
  .hero-portal-ring {
    display: none;
  }
  .hero-main-photo-frame {
    grid-column: span 2;
    margin: 0 auto 20px auto;
    position: relative;
    width: 250px;
    height: 250px;
    top: auto;
    left: auto;
  }
  .hero-portal-wrapper .floating-glass-card {
    position: static !important;
    animation: none !important;
    transform: none !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    justify-content: center;
    padding: 10px 14px;
  }

  /* About Restructured Responsive */
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-portrait-card-modern {
    width: 290px;
    height: 340px;
    margin: 0 auto;
  }
  .about-floating-card {
    left: 50%;
    transform: translateX(-50%) !important;
    bottom: -20px;
    animation: none !important;
    width: 90%;
  }
  .about-pdf-title {
    font-size: 2.2rem;
    text-align: center;
  }
  .about-pdf-subtitle {
    text-align: center;
  }
  .title-decor-line {
    margin: 0 auto 20px auto;
  }
  .about-pdf-bio-text {
    text-align: center;
  }
  .about-expertise-panel {
    padding: 24px 20px;
  }
  .expertise-badges-grid {
    justify-content: center;
    gap: 10px;
  }
  .exp-badge {
    padding: 6px 14px;
    font-size: 0.85rem;
  }
  .about-timeline-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-contact-panel {
    padding: 24px 20px;
  }
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
  /* Review Cards padding */
  .review-card {
    padding: 30px 20px;
  }

  .quote-icon {
    font-size: 2rem;
    left: 20px;
    top: 10px;
  }

  .review-text {
    font-size: 1rem;
  }

  /* Booking form to 1 col */
  .booking-form {
    grid-template-columns: 1fr;
  }

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

  .form-submit-btn {
    grid-column: span 1;
  }

  /* Footer layout */
  .kids-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Show Sticky mobile dock */
  .mobile-sticky-cta.active {
    display: grid;
  }

  /* Move widgets up to clear the mobile sticky cta */
  .scroll-to-top {
    bottom: 150px;
  }

  .whatsapp-widget {
    bottom: 80px;
    padding: 10px 14px;
  }

  .whatsapp-widget span {
    display: none; /* Hide label text on mobile, icon is enough */
  }

  /* Conditions mobile overrides */
  .conditions-columns-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .conditions-leaves-left {
    width: 120px;
    height: 120px;
  }
  .conditions-leaves-middle {
    width: 140px;
    height: 80px;
    left: 35%;
  }

  /* Testimonials 768px Overrides */
  .bubble-card-content-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
  }
  .bubble-text-col {
    text-align: center;
  }
  .polaroid-wrapper {
    margin-top: 10px;
  }
  .testimonial-bubble-card {
    padding: 36px 30px;
  }
  .bubble-quote-open {
    font-size: 4rem;
    top: 5px;
    left: 15px;
  }
  .bubble-quote-close {
    font-size: 4rem;
    bottom: -20px;
    right: 20px;
  }
  .testimonial-split-container {
    display: block;
    grid-template-columns: 1.15fr 1.45fr 1.35fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero-modern-title {
    font-size: 1.9rem;
  }
  .hero-modern-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    gap: 12px;
  }
  .btn-hero-modern {
    width: 100%;
    justify-content: center;
  }
  .hero-modern-call {
    width: 100%;
    justify-content: center;
    background: rgba(42, 127, 137, 0.05);
    border: 1px solid rgba(42, 127, 137, 0.1);
    padding: 12px 24px;
    border-radius: 50px;
  }
  .hero-portal-wrapper {
    grid-template-columns: 1fr;
  }
  .hero-main-photo-frame {
    grid-column: span 1;
    width: 200px;
    height: 200px;
  }
  .about-portrait-card-modern {
    width: 240px;
    height: 290px;
    margin: 0 auto;
  }
  .about-pdf-title {
    font-size: 1.8rem;
  }
  .expertise-badges-inline-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .exp-badge-inline {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

/* 12. Consulting Places Section styling */
.consulting-places-section {
  padding: 40px 0;
     background-color: #eaf1eb;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-neutral-border);
}

.section-header-modern {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag-modern {
  background: rgba(42, 127, 137, 0.08);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title-modern {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 2.8rem;
  color: var(--color-neutral-dark);
  font-weight: 700;
  margin-bottom: 16px;
}

.title-decor-line-center {
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 50px;
  margin: 0 auto;
}

.places-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.place-card {
 background: #2d8295;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.place-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary-dark) 100%);
  transition: var(--transition-smooth);
}

.place-card-body {
  padding: 40px;
  position: relative;
  z-index: 2;
      background: linear-gradient(17deg, rgba(42, 123, 155, 1) 0%, rgb(54 147 138) 50%, rgb(14 143 158) 100%);
}

.place-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(42, 127, 137, 0.08);
  border-color: rgba(42, 127, 137, 0.1);
}

.place-card:hover .place-card-accent {
  height: 10px;
}

.place-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.place-icon {
 width: 48px;
    height: 48px;
    background: rgb(255 255 255 / 93%);
    color: #d69034;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.place-title {
    font-family: 'Fredoka', cursive, sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: #ffffff;
}

.place-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.detail-icon {
    color: #ffffff;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.detail-text {
  font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.55;
    margin: 0;
}

.place-link {
 color: #ffffff;
    font-weight: 600;
    transition: var(--transition-smooth);
}

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

.badge-appt {
  display: inline-block;
    background: rgb(104 171 132 / 77%);
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 6px;
}

/* Mobile responsive Consulting Places */
@media (max-width: 768px) {
  .consulting-places-section {
    padding: 70px 0;
  }
  .section-title-modern {
    font-size: 2.2rem;
  }
  .places-cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .place-card-body {
    padding: 30px;
  }
}

@media (max-width: 480px) {
  .section-title-modern {
    font-size: 1.8rem;
  }
}

/* ========================================================================
   ABOUT SECTION TABS & RESPONSIVE ACCORDION STYLES
   ======================================================================== */
.about-tabs-accordion-container {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  margin-top: 40px;
}

.about-tabs-nav {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #000000; /* Dark navy/teal matching branding */
}

.about-tab-link {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-bottom: 3px solid transparent;
}

.about-tab-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
}

.about-tab-link.active {
  background-color: #ffffff;
  color: #000000;
  border-bottom: 3px solid var(--color-primary);
}

.about-tabs-content-wrapper {
  background-color: #ffffff;
}

.about-tab-panel {
  display: none;
}

.about-tab-panel.active {
  display: block;
}

.about-tab-body {
  padding: 40px;
}

/* Mobile Accordion Header (hidden on desktop) */
.about-mobile-header {
  display: none;
  padding: 20px 24px;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Fredoka', 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.about-mobile-header .mobile-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-mobile-header .mobile-header-arrow {
  transition: transform 0.3s ease;
}

.about-tab-panel.active .about-mobile-header {
  background-color: #ffffff;
  color: #000000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.about-tab-panel.active .about-mobile-header .mobile-header-arrow {
  transform: rotate(180deg);
  color: var(--color-primary);
}

/* Publications List styles */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pub-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--color-neutral-light);
  padding: 18px 24px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.01);
  transition: var(--transition-smooth);
}

.pub-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 24px rgba(42, 127, 137, 0.03);
  border-color: rgba(42, 127, 137, 0.05);
}

.pub-item i {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.pub-item span {
  font-size: 0.95rem;
  color: var(--color-neutral-body);
  line-height: 1.6;
}

/* ========================================================================
   DEDICATED ABOUT PAGE STYLES
   ======================================================================== */
.about-hero-banner {
  background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(42, 127, 137, 0.05) 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-neutral-border);
  position: relative;
}

.about-hero-banner h1 {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 3rem;
  color: var(--color-neutral-dark);
  margin-bottom: 12px;
}

.about-hero-banner p {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0;
  letter-spacing: 0.5px;
}

.about-bio-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 60px;
  align-items: center;
}

.about-bio-section {
  padding: 30px 0;
  background: #ffffff;
}

@media (max-width: 992px) {
  .about-bio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .about-bio-grid div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .about-tabs-nav {
    display: none; /* Hide horizontal tabs on mobile */
  }

  .about-tab-panel {
    display: block; /* Show all panels stacked on mobile */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .about-mobile-header {
    display: flex; /* Show accordion header on mobile */
  }

  .about-tab-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .about-tab-panel.active .about-tab-body {
    padding: 24px;
    max-height: 1200px; /* High value to enable smooth animations */
  }
}

/* ========================================================================
   HOSPITAL ATTACHMENTS SECTION STYLES
   ======================================================================== */
.hospital-attachments-section {
  padding: 40px 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-neutral-border);
}

.attachments-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.attachment-card {
  background: #e5e5e5;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.attachment-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary-dark) 100%);
  transition: var(--transition-smooth);
}

.attachment-card-body {
  padding: 40px;
  width: 100%;
}

.attachment-logo-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px auto;
  border-radius: 20px;
  background: var(--color-neutral-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
}

.attachment-logo {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.attachment-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #2d3748;
  margin-bottom: 12px;
}

.attachment-location {
  font-size: 0.95rem;
  color: var(--color-neutral-body);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.attachment-location i {
  color: var(--color-primary);
}

.attachment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(42, 127, 137, 0.08);
  border-color: rgba(42, 127, 137, 0.1);
}

.attachment-card:hover .attachment-logo {
  transform: scale(1.05);
}

.attachment-card:hover .attachment-card-accent {
  height: 10px;
}

@media (max-width: 768px) {
  .attachments-cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hospital-attachments-section {
    padding: 70px 0;
  }
}

/* Smooth Tab Transition Animations */
.about-tab-panel {
  display: none;
}

.about-tab-panel.active {
  display: block;
  animation: tabFadeIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================================
   CLINIC GALLERY SECTION STYLES
   ======================================================================== */
.gallery-section {
  padding: 10px 0;
  background-color: var(--color-neutral-light);
  border-top: 1px solid var(--color-neutral-border);
  position: relative;
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 127, 137, 0.7); /* Themed pink overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-overlay i {
  font-size: 2rem;
  color: #ffffff;
  transform: scale(0.8);
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(42, 127, 137, 0.1);
  border-color: rgba(42, 127, 137, 0.15);
}

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

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

.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .gallery-section {
    padding: 70px 0;
  }
}

/* ========================================================================
   GALLERY LIGHTBOX MODAL STYLES
   ======================================================================== */
.gallery-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.94);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10001;
}

.gallery-lightbox.active .lightbox-content {
  animation: zoomIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes zoomIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 4px solid #ffffff;
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 18px;
  color: #ffffff;
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 44px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10005;
  user-select: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.lightbox-close:hover {
  color: #ffffff;
  background: var(--color-primary);
  transform: scale(1.05);
}

/* Navigation Buttons */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 60px;
  height: 60px;
  font-size: 20px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  user-select: none;
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 15px;
  }
  .lightbox-next {
    right: 15px;
  }
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 36px;
    width: 44px;
    height: 44px;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .lightbox-content img {
    border-width: 2px;
    max-height: 65vh;
  }
}

/* ========================================================================
   AREAS OF CLINICAL EXPERTISE (ABOUT PAGE)
   ======================================================================== */
.expertise-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.expertise-modern-card {
  background: #ffffff;
  border: 1px solid var(--color-neutral-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.expertise-modern-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.expertise-modern-card:hover {
  border-color: rgba(42, 127, 137, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(42, 127, 137, 0.06);
}

.expertise-modern-card:hover::after {
  opacity: 1;
}

.exp-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: rgba(42, 127, 137, 0.07);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.expertise-modern-card:hover .exp-icon-box {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: scale(1.05);
}

.exp-content h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-neutral-dark);
  margin: 0;
}

/* ========================================================================
   VIEW ALL GALLERY BUTTON (HOMEPAGE)
   ======================================================================== */
.gallery-action-container {
  text-align: center;
  margin-top: 50px;
}

.btn-modern-gallery {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  border-radius: 50px;
  background: #ffffff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(42, 127, 137, 0.04);
  text-decoration: none;
}

.btn-modern-gallery:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(42, 127, 137, 0.15);
}

/* ========================================================================
   DEDICATED GALLERY PAGE BANNER & STRUCTURE
   ======================================================================== */
.gallery-hero-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffd7e6 0%, #eaf1eb 100%);
  text-align: center;
}

.gallery-hero-banner h1 {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 3rem;
  color: var(--color-neutral-dark);
  margin-bottom: 8px;
}

.gallery-hero-banner p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: #2a7f89;
  font-weight: 500;
  margin: 0;
}

.gallery-main-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.gallery-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

@media (max-width: 992px) {
  .gallery-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .gallery-grid-4col {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* ========================================================================
   ABOUT PAGE RESTRUCTURED CUSTOM STYLES
   ======================================================================== */
.about-profile-summary-tag {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.about-profile-title {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 2.5rem;
  color: var(--color-neutral-dark);
  margin-top: 0;
  margin-bottom: 8px;
  font-weight: 700;
}

.about-profile-credentials {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-profile-divider {
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-bottom: 24px;
}

.about-profile-text-1 {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--color-neutral-body);
  font-size: 1.025rem;
}

.about-profile-text-2 {
  line-height: 1.8;
  color: var(--color-neutral-body);
  margin-bottom: 30px;
  font-size: 1.025rem;
}

.about-profile-consultation-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-details-tabs-section {
  padding: 20px 0;
  background-color: var(--color-neutral-light);
  border-top: 1px solid var(--color-neutral-border);
  border-bottom: 1px solid var(--color-neutral-border);
}

/* Simplified Inline Badges for Clinical Expertise on About Page */
.about-expertise-panel-simple {
  margin-top: 10px;
  margin-bottom: 10px;
  background: #ffffff;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid var(--color-neutral-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.about-expertise-title-simple {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.4rem;
  color: var(--color-neutral-dark);
  margin-top: 0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.about-expertise-title-simple i {
  color: var(--color-primary);
}

.about-expertise-badges-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.exp-badge-inline {
  background-color: rgba(42, 127, 137, 0.05);
  color: #2a7f89;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(42, 127, 137, 0.08);
  transition: all 0.25s ease;
}

.exp-badge-inline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(42, 127, 137, 0.15);
}

.about-readmore-container {
  margin-top: 3px;
}

.btn-modern-readmore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  border-radius: 50px;
  background: #ffffff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(42, 127, 137, 0.04);
  text-decoration: none;
}

.btn-modern-readmore:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(42, 127, 137, 0.15);
}

