/* Quicksand-300 (Light) */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/quicksand-v37-latin_latin-ext-300.woff2') format('woff2');
}

/* Quicksand-400 (Regular) */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/quicksand-v37-latin_latin-ext-regular.woff2') format('woff2');
}

/* Quicksand-500 (Medium) */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/quicksand-v37-latin_latin-ext-500.woff2') format('woff2');
}

/* Quicksand-600 (SemiBold) */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/quicksand-v37-latin_latin-ext-600.woff2') format('woff2');
}

/* Quicksand-700 (Bold) */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/quicksand-v37-latin_latin-ext-700.woff2') format('woff2');
}

/* --- Design Tokens --- */
:root {
  --font-primary: 'Quicksand', sans-serif;
  
  /* Color Palette */
  --color-bg-primary: #FAF0EB; /* Soft feminine sand-rose */
  --color-bg-secondary: #FFFFFF; /* Pure White */
  --color-bg-tertiary: #EAF1F2; /* Soft muted blue-grey */
  --color-accent: #226070; /* Friendlier Teal-Blue (more blue, lighter) */
  --color-accent-hover: #317A8F; /* Lighter hover state */
  --color-accent-soft: #7BA1AD; /* Muted soft teal-blue */
  --color-accent-light: #E4EFF2; /* Very light blue-teal tint */
  --color-text-dark: #23343A; /* Deep charcoal-blue for readability */
  --color-text-light: #526C75; /* Muted grey-blue for subtexts */
  --color-border: #E5ECEC;
  
  /* Layout & Spacing */
  --max-width: 1100px;
  --header-height: 80px;
  --transition-speed: 0.3s;
  --border-radius: 12px;
  --shadow-subtle: 0 4px 20px rgba(26, 81, 83, 0.04);
  --shadow-medium: 0 8px 30px rgba(26, 81, 83, 0.08);
}

/* --- Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-primary);
  background: linear-gradient(to bottom, #FFFFFF 0%, #FAF0EB 100%);
  background-attachment: fixed;
  color: var(--color-text-dark);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 400;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--color-accent-hover);
}

ul {
  list-style: none;
}

/* --- Layout Wrappers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 4.5rem 0;
}

.section-alt {
  background-color: rgba(255, 255, 255, 0.45);
}

/* --- Image Placeholders (Leonie Wirth style - clean & structured) --- */
.image-placeholder {
  background-color: var(--color-bg-tertiary);
  border: 1px dashed rgba(26, 81, 83, 0.25);
  border-radius: var(--border-radius);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  color: var(--color-text-light);
  transition: all var(--transition-speed) ease;
  aspect-ratio: 4 / 3;
  margin-bottom: 1.5rem;
  min-height: 250px;
}

.image-placeholder:hover {
  background-color: var(--color-accent-light);
  border-color: var(--color-accent);
}

.image-placeholder-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.image-placeholder-text {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

.image-placeholder-text span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 4px;
}

/* Grid layout with image and text */
.layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .layout-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .layout-split .image-placeholder,
  .layout-split .grid-image-wrapper {
    order: -1; /* Image always on top on mobile */
  }
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-speed) ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-subtle);
  height: 70px;
}

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

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.5px;
}

.logo span {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 1rem;
  display: block;
  margin-top: -4px;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-dark);
  position: relative;
  padding: 0.5rem 0;
}

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

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

.nav-link.active {
  color: var(--color-accent);
  font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-accent);
  transition: all var(--transition-speed) ease;
}

/* --- Hero Banner --- */
.hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
  background: linear-gradient(to bottom, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-circle-bg {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(26, 81, 83, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-tag {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

/* --- Subpage Hero Adjustments --- */
.hero-subpage {
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-subpage {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 0.75rem;
  }
  
  .hero-subpage h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .hero-subpage .hero-subtitle {
    margin-bottom: 1rem;
  }
  
  .hero-subpage + section {
    padding-top: 1rem !important;
  }
}

/* --- Homepage Header Customization --- */
.page-home header .logo {
  display: none;
}
@media (min-width: 769px) {
  .page-home .nav-container {
    justify-content: flex-end;
  }
}

/* --- Homepage Hero (hero-home) --- */
.hero-home {
  position: relative;
  overflow: hidden;
  text-align: left;
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 5rem;
}

.hero-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/background2.jpeg');
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  transform: scale(1.05); /* Prevents white edges from blur */
  z-index: 0;
}

@media (max-width: 768px) {
  .hero-home::before {
    background-image: url('../assets/background2_mobile.jpeg');
  }
}

.hero-home::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.72); /* Soft overlay for high readability */
  z-index: 1;
}

.hero-home .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-left: 0; /* Align container to the left */
}

.hero-home h1 {
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
  line-height: 1.15;
}

.hero-designation {
  font-size: 1.85rem;
  font-weight: 500;
  color: var(--color-text-dark);
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.hero-home .hero-btns {
  justify-content: flex-start; /* Align buttons to the left */
}

@media (max-width: 768px) {
  .hero-home {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3.5rem;
  }
  
  .hero-home h1 {
    font-size: 2.6rem;
  }
  
  .hero-designation {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-home .container {
    padding: 0 1.5rem;
  }
}

/* --- Call to Action Button --- */
.btn {
  display: inline-block;
  background-color: var(--color-accent);
  color: #FFFFFF;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.05rem;
  box-shadow: 0 4px 15px rgba(26, 81, 83, 0.15);
  transition: all var(--transition-speed) ease;
  border: 1px solid var(--color-accent);
  cursor: pointer;
}

.btn:hover {
  background-color: transparent;
  color: var(--color-accent);
  box-shadow: 0 4px 10px rgba(26, 81, 83, 0.05);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

/* --- Intro Text Flow --- */
.intro-flow {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-flow p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-bottom: 2rem;
  font-weight: 400;
}

.intro-flow p strong {
  font-weight: 600;
  color: var(--color-accent);
}

.quote-block {
  margin: 3.5rem auto;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-accent);
  line-height: 1.6;
  position: relative;
  padding: 0 2rem;
  max-width: 700px;
  font-weight: 400;
}

.quote-block cite {
  display: block;
  font-size: 0.95rem;
  font-style: normal;
  color: var(--color-text-light);
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* --- Home Services Overview --- */
.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.service-card {
  background-color: var(--color-bg-secondary);
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-border);
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

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

.service-card h3 {
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.card-link {
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.card-link::after {
  content: '→';
  transition: transform var(--transition-speed) ease;
}

.service-card:hover .card-link::after {
  transform: translateX(5px);
}

/* --- Portrait Timeline (Curriculum) --- */
.bio-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.bio-text {
  font-size: 1.15rem;
  line-height: 1.8;
}

.bio-text p {
  margin-bottom: 2rem;
}

.timeline-section-title {
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 31px;
  width: 2px;
  height: 100%;
  background-color: var(--color-accent-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 70px;
}

.timeline-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 32px;
  border-radius: 20px;
  background-color: var(--color-accent-light);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 2;
}

.timeline-content {
  background-color: var(--color-bg-secondary);
  padding: 1.75rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-border);
}

.timeline-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
  font-weight: 600;
}

.timeline-content p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text-light);
}

/* --- Interactive Therapy Circle Component --- */
.therapy-interactive-area {
  margin: 4rem 0;
}

.circle-layout-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  position: relative;
  margin-bottom: 4rem;
}

.circle-container {
  width: 420px;
  height: 420px;
  position: relative;
  border: 2px dashed rgba(26, 81, 83, 0.15);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-center {
  width: 140px;
  height: 140px;
  background-color: var(--color-bg-secondary);
  border: 3px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  box-shadow: var(--shadow-medium);
  z-index: 10;
  transition: all var(--transition-speed) ease;
}

.circle-center-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
}

.circle-center-subtext {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sphere Nodes placement */
.circle-node {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: var(--color-bg-secondary);
  border: 2px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translate(-50%, -50%);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  line-height: 1.3;
  z-index: 5;
}

.circle-node:hover {
  border-color: var(--color-accent);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: var(--shadow-medium);
  color: var(--color-accent);
}

.circle-node.active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #FFFFFF;
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 8px 25px rgba(26, 81, 83, 0.3);
}

/* Detail Panel */
.therapy-detail-panel {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-border);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  min-height: 250px;
}

.therapy-detail-panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.detail-header {
  background-color: var(--color-accent-light);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-header h3 {
  margin: 0;
  color: var(--color-accent);
  font-weight: 600;
}

.detail-price-badge {
  background-color: var(--color-accent);
  color: #FFFFFF;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.detail-body {
  padding: 2.5rem 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.detail-body p {
  margin-bottom: 1.25rem;
}

.detail-body p:last-child {
  margin-bottom: 0;
}

.detail-quote {
  font-style: italic;
  color: var(--color-accent-soft);
  border-left: 3px solid var(--color-accent-soft);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* --- Pricing & Offers Page --- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.price-card {
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  transition: all var(--transition-speed) ease;
}

.price-card:hover {
  box-shadow: var(--shadow-medium);
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.price-header h3 {
  margin: 0;
  font-weight: 600;
  font-size: 1.4rem;
}

.price-tag {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-accent);
  text-align: right;
  white-space: nowrap;
}

.price-tag span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-light);
  display: block;
}

.price-body {
  font-size: 1.05rem;
  line-height: 1.7;
}

.price-body p {
  margin-bottom: 1rem;
}

.price-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
}

.price-body ul li {
  margin-bottom: 0.5rem;
}

.price-note {
  font-size: 0.95rem;
  color: var(--color-accent);
  font-style: italic;
  font-weight: 500;
}

/* Special Mentoring Card styling */
.price-card.featured {
  border: 2px solid var(--color-accent);
  background-color: var(--color-accent-light);
  position: relative;
}

.price-card.featured::after {
  content: 'Empfehlung';
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  background-color: var(--color-accent);
  color: #FFFFFF;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Krankenkassen Block --- */
.recognition-block {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-radius: var(--border-radius);
  padding: 4rem 3rem;
  box-shadow: var(--shadow-medium);
  margin-top: 4rem;
}

.recognition-block h2 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.recognition-block-light {
  background-color: var(--color-accent-light);
  color: var(--color-text-dark);
  border-radius: var(--border-radius);
  padding: 4rem 3rem;
  border: 1px solid var(--color-border);
  margin-top: 4rem;
}

.recognition-block-light h2 {
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.recognition-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.recognition-text {
  font-size: 1.15rem;
  line-height: 1.8;
}

.recognition-block .recognition-text p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.recognition-block-light .recognition-text p {
  margin-bottom: 1.5rem;
  color: var(--color-text-dark);
}

.recognition-text p:last-child {
  margin-bottom: 0;
}

.recognition-block .recognition-text strong {
  color: #FFFFFF;
  font-weight: 600;
}

.recognition-block-light .recognition-text strong {
  color: var(--color-text-dark);
  font-weight: 600;
}

.recognition-badge-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.recognition-block-light .recognition-badge-container {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  color: var(--color-text-dark);
}

.emr-logo-placeholder {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.recognition-block-light .emr-logo-placeholder {
  color: var(--color-accent);
}

.emr-subtext {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.recognition-block-light .emr-subtext {
  color: var(--color-text-light);
}

.emr-separator {
  width: 30px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 1rem 0;
}

.recognition-block-light .emr-separator {
  background-color: var(--color-border);
}

.recognition-badge-container p {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}

/* --- Contact & Footer Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  font-size: 1.1rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 0.9rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.contact-item-text p, .contact-item-text a {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Contact Form */
.contact-form {
  background-color: var(--color-bg-secondary);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-primary);
  border-radius: 6px;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-text-dark);
  transition: all var(--transition-speed) ease;
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent);
  background-color: var(--color-bg-secondary);
  box-shadow: 0 0 0 4px rgba(26, 81, 83, 0.08);
}

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

/* Legal content pages specific styling */
.legal-content {
  background-color: var(--color-bg-secondary);
  padding: 3.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--color-border);
  margin-top: 2rem;
}

.legal-content h3 {
  margin-top: 2rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.legal-content p, .legal-content ul {
  font-size: 1.05rem;
  color: var(--color-text-dark);
  margin-bottom: 1.25rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 2rem;
}

.legal-content ul li {
  margin-bottom: 0.5rem;
}

/* General Footer */
footer {
  background-color: var(--color-accent);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem 0;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 3rem;
  margin-bottom: 2rem;
}

.footer-col h3, .footer-col h4 {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-privacy-note {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  text-align: center;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* --- Responsive Adaptations (Media Queries) --- */

@media (max-width: 900px) {
  section {
    padding: 2.75rem 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .recognition-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-col:first-child {
    grid-column: span 2;
  }
  
  .legal-content {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  header.scrolled {
    height: 70px;
  }

  .logo a {
    font-size: 1.3rem;
  }
  
  .logo span {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 3rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    z-index: 999;
  }
  
  .nav-menu.open {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 1.25rem;
  }
  
  /* Menu Burger Animations */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
  }
  
  /* Timeline Responsive */
  .timeline::before {
    left: 15px;
  }
  
  .timeline-item {
    padding-left: 45px;
  }
  
  .timeline-badge {
    width: 50px;
    height: 28px;
    font-size: 0.85rem;
  }
  
  /* Therapy circle mobile representation */
  .circle-layout-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
    margin-bottom: 3rem;
  }

  .circle-container {
    width: 290px;
    height: 290px;
  }

  .circle-center {
    width: 95px;
    height: 95px;
    padding: 0.4rem;
    border-width: 2px;
  }

  .circle-center-logo {
    font-size: 0.8rem;
  }

  .circle-center-subtext {
    font-size: 0.6rem;
    margin-top: 1px;
    letter-spacing: 0.5px;
  }

  .circle-node {
    width: 76px;
    height: 76px;
    font-size: 0.72rem;
    padding: 0.35rem;
  }

  .circle-node:hover,
  .circle-node.active {
    transform: translate(-50%, -50%) scale(1.06);
  }

  .therapy-detail-panel {
    display: block; /* Show detail panel on mobile */
    min-height: auto;
    margin-bottom: 3rem;
  }

  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
  }

  .detail-header h3 {
    font-size: 1.25rem;
  }

  .detail-body {
    padding: 1.5rem;
  }
  
  .therapy-mobile-list {
    display: none; /* Hide static fallback since circle is active */
  }
}

@media (min-width: 769px) {
  .therapy-mobile-list {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-col:first-child {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
}

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

.fade-in-element {
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Modal Dialog (Glassmorphism Overlay & Pop-in transition) --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 81, 83, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  padding: 3rem;
  width: 90%;
  max-width: 550px;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--color-border);
  position: relative;
  transform: translateY(-30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text-light);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition-speed) ease;
}

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

body.modal-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .modal-container {
    padding: 2rem 1.5rem;
  }
}

/* --- Image Slideshow Component --- */
.slideshow-container {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.image-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}

.image-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: block;
}

.image-slideshow .slide.active {
  opacity: 1;
  z-index: 1;
}

/* Dots navigation */
.slideshow-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.slideshow-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.slideshow-dots .dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.slideshow-dots .dot.active {
  background-color: #FFFFFF;
  transform: scale(1.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  border-color: #FFFFFF;
}

/* --- FAQ Accordion Component --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-bg-secondary);
  overflow: hidden;
  transition: all var(--transition-speed) ease;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  font-family: var(--font-primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-accent);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.active {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-subtle);
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-dark);
}

/* --- WhatsApp Floating Button Component --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  animation: waFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: #FFFFFF;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
}

@keyframes waFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 1025px) {
  .whatsapp-float {
    display: none;
  }
}

