@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Luxury Design System Tokens --- */
:root {
  --bg-primary: #FAF8F5;
  --bg-secondary: #F2F1ED;
  --text-primary: #1E2328;
  --text-secondary: #5C6268;
  --accent-forest: #335C4B;
  --accent-forest-hover: #264639;
  --accent-copper: #B8815E;
  --accent-copper-hover: #9E6C4D;
  --accent-sage: #D9E6DF;
  --card-bg: #FFFFFF;
  --border-color: #E6E2DB;

  /* Gradients */
  --grad-ivory-sage: linear-gradient(135deg, #FAF8F5 0%, #D9E6DF 100%);
  --grad-stone-white: linear-gradient(135deg, #F2F1ED 0%, #FFFFFF 100%);
  --grad-forest-sage: linear-gradient(135deg, #335C4B 0%, #D9E6DF 100%);
  --grad-copper-ivory: linear-gradient(135deg, #B8815E 0%, #FAF8F5 100%);
  --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);

  /* Fonts */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-soft: 0 10px 40px -10px rgba(30, 35, 40, 0.04);
  --shadow-medium: 0 20px 50px -15px rgba(30, 35, 40, 0.08);
  --shadow-glass: 0 8px 32px 0 rgba(30, 35, 40, 0.03);

  /* Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base Styles --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #D1CBC4;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-copper);
}

/* Typography & Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(1.8rem, 3vw + 1rem, 3.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw + 0.5rem, 3.2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2vw + 0.5rem, 2rem);
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
}

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

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

section {
  padding: 8rem 0;
  position: relative;
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-copper);
  margin-bottom: 1rem;
  display: block;
}

.section-header {
  margin-bottom: 4.5rem;
  max-width: 700px;
}

.section-header h2 {
  margin-top: 0.5rem;
}

/* --- Buttons --- */
.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 40px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-forest);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--accent-forest-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(51, 92, 75, 0.15);
}

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

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-copper {
  background-color: var(--accent-copper);
  color: var(--bg-primary);
}

.btn-copper:hover {
  background-color: var(--accent-copper-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(184, 129, 94, 0.15);
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.contact-intro {
  margin-bottom: 3rem;
}

/* --- Navigation Header --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
  padding: 1.5rem 0;
}

.navbar.scrolled {
  background-color: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

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

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

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-copper);
  margin-top: 0.1rem;
}

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

@media (max-width: 991px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    padding: 8rem 3rem 3rem 3rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    z-index: 999;
    box-shadow: var(--shadow-medium);
  }

  .nav-links.active {
    right: 0;
  }
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  opacity: 0.8;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  opacity: 1;
}

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

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

.nav-cta .btn {
  padding: 0.7rem 1.6rem;
  font-size: 0.8rem;
}

/* Mobile Menu Toggle Button (Premium minimal design) */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

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

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
}

.mobile-nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

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

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 2rem;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.hero-left h1 {
  margin: 1rem 0 1.5rem 0;
}

.hero-left p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-credentials {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.credential-tag {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
}

.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 550px;
  z-index: 1;
}

@media (max-width: 991px) {
  .hero-right {
    height: 480px;
    margin-top: 2rem;
  }
}

/* Portrait Image & Organic Shapes */
.portrait-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 100%;
  border-radius: 40px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Organic Blob behind portrait */
.organic-shape-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  background: var(--grad-ivory-sage);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: 1;
  animation: morphBlob 16s ease-in-out infinite alternate;
  opacity: 0.85;
  filter: blur(20px);
}

.portrait-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  z-index: 2;
  border: 1px solid var(--border-color);
}

.portrait-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 10s ease-out;
}

.portrait-img-wrapper:hover img {
  transform: scale(1.05);
}

/* Floating Glass Cards */
.floating-glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-glass);
  z-index: 3;
}

.floating-glass-card .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--accent-sage);
  color: var(--accent-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.floating-glass-card span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.float-card-1 {
  top: 15%;
  right: -28%;
  left: auto;
  animation: floatCard1 6s ease-in-out infinite alternate;
}

.float-card-2 {
  bottom: 20%;
  right: -10%;
  animation: floatCard2 6.5s ease-in-out infinite alternate;
}

.float-card-3 {
  bottom: 8%;
  left: -8%;
  animation: floatCard3 7s ease-in-out infinite alternate;
}

@media (max-width: 576px) {
  .float-card-1 {
    top: 42%;
    right: -15px;
    transform: scale(0.65);
  }

  .float-card-2 {
    right: -5%;
    bottom: 15%;
  }

  .float-card-3 {
    left: 0;
    bottom: 5%;
  }
}

/* ECG Line Flow Background */
.hero-ecg-svg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100vw;
  height: 250px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.ecg-pulse-line {
  stroke: var(--accent-copper);
  stroke-width: 1.5;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawECGLine 8s linear infinite;
  fill: none;
}

/* --- Trust Strip --- */
.trust-strip {
  background-color: var(--bg-secondary);
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

@media (max-width: 991px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.trust-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-sage);
}

.trust-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--accent-forest);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.trust-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.trust-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.5;
}

/* --- About Section (Editorial layout) --- */
.about {
  background-color: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 6rem;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.about-image-column {
  position: relative;
}

.about-img-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 5;
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story h2 {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.about-story p {
  margin-bottom: 1.8rem;
}

.signature-block {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.signature-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-style: italic;
  color: var(--accent-copper);
  font-weight: 300;
}

.signature-title {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* About Timeline */
.timeline {
  margin-top: 4.5rem;
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid var(--border-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

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

.timeline-dot {
  position: absolute;
  left: -2.35rem;
  top: 0.25rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--accent-copper);
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 0 4px var(--accent-sage);
}

.timeline-year {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-copper);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

/* --- Expertise Section --- */
.expertise {
  background-color: var(--bg-secondary);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.expertise-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.8rem 2.2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-sage);
}

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

.expertise-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background-color: var(--bg-primary);
  color: var(--accent-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8rem;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}

.expertise-card:hover .expertise-icon-wrapper {
  background-color: var(--accent-forest);
  color: var(--bg-primary);
  border-color: var(--accent-forest);
}

.expertise-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.expertise-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Custom minimal SVG icons styling */
.expertise-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Philosophy Section --- */
.philosophy {
  background: var(--grad-ivory-sage);
  padding: 10rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.philosophy-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.philosophy-quote-mark {
  font-family: var(--font-heading);
  font-size: 6rem;
  color: var(--accent-copper);
  line-height: 1;
  opacity: 0.25;
  position: absolute;
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
}

.philosophy h2 {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3.4rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2.5rem;
}

.philosophy-author {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-forest);
}

/* --- Patient Journey Section --- */
.journey {
  background-color: var(--bg-primary);
}

.journey-container {
  position: relative;
  margin-top: 4rem;
}

.journey-line {
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  z-index: 1;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .journey-line {
    display: none;
  }

  .journey-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-left: 2rem;
    border-left: 1px solid var(--border-color);
  }
}

.journey-step {
  display: flex;
  flex-direction: column;
}

.journey-num-node {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--accent-copper);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

@media (max-width: 991px) {
  .journey-num-node {
    position: relative;
    margin-bottom: 1rem;
    left: -4.3rem;
    margin-top: -0.5rem;
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
  }
}

.journey-step:hover .journey-num-node {
  transform: scale(1.1);
  background-color: var(--accent-sage);
  border-color: var(--accent-forest);
  color: var(--accent-forest);
  box-shadow: var(--shadow-medium);
}

.journey-step h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.journey-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Featured Health Resources (Magazine Layout) --- */
.resources {
  background-color: var(--bg-secondary);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
}

@media (max-width: 991px) {
  .resources-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.resources-featured {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.resources-featured:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.resources-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

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

.resources-featured:hover .resources-img-wrapper img {
  transform: scale(1.03);
}

.resources-featured-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .resources-featured-content {
    padding: 1.8rem;
  }
}

.article-meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-copper);
  margin-bottom: 1rem;
}

.resources-featured-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.resources-featured-content p {
  margin-bottom: 2rem;
}

.read-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-forest);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.read-link::after {
  content: '→';
  transition: var(--transition-fast);
}

.read-link:hover::after {
  transform: translateX(4px);
}

.resources-side-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-card-side {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.article-card-side:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.article-card-side h3 {
  font-size: 1.35rem;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.article-card-side p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* --- Testimonials Section --- */
.testimonials {
  background-color: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

@media (max-width: 991px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.stars {
  color: var(--accent-copper);
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.patient-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.patient-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-forest);
}

.patient-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.patient-condition {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}

/* --- Gallery Section (Two Sub-sections) --- */
.gallery {
  background-color: var(--bg-secondary);
}

/* Sub-section wrappers */
.gallery-subsection {
  margin-bottom: 5rem;
}

.gallery-subsection:last-child {
  margin-bottom: 0;
}

.gallery-sub-header {
  margin-bottom: 3rem;
}

.gallery-sub-header h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.8rem);
}

/* Elegant divider between sub-sections */
.gallery-section-divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 1rem 0 5rem;
}

.gallery-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
}

.gallery-divider-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-copper);
  white-space: nowrap;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  background-color: var(--bg-primary);
}

/* Clinic grid (original 12-col editorial) */
.gallery-grid-clinic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
}

/* Recognition grid: responsive auto-fit for portrait/landscape mix */
.gallery-grid-recognition {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  grid-auto-rows: 280px;
  grid-auto-flow: dense;
}

@media (max-width: 991px) {
  .gallery-grid-clinic,
  .gallery-grid-recognition {
    grid-auto-rows: 220px;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid-clinic,
  .gallery-grid-recognition {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .gallery-section-divider {
    gap: 1rem;
    margin: 0 0 3.5rem;
  }
  .gallery-divider-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
  }
  .gallery-subsection {
    margin-bottom: 3.5rem;
  }
  .gallery-sub-header {
    margin-bottom: 2rem;
  }
  .gallery-sub-header h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
}

/* Gallery items */
.gallery-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  content-visibility: auto;
  contain-intrinsic-size: 280px;
  cursor: pointer;
}

.gallery-item:hover {
  transform: scale(0.99);
  box-shadow: var(--shadow-medium);
}

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

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

/* Hover overlay */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 1.2rem 1.2rem;
  background: linear-gradient(to top, rgba(20, 24, 28, 0.92) 0%, rgba(20, 24, 28, 0.4) 70%, transparent 100%);
  color: #FFFFFF;
  opacity: 0;
  transition: var(--transition-fast);
  pointer-events: none;
}

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

/* On touch/mobile: always show overlay so title is readable */
@media (hover: none), (max-width: 768px) {
  .gallery-overlay {
    opacity: 1;
    padding: 1rem 1rem 0.9rem;
    background: linear-gradient(to top, rgba(15, 18, 22, 0.9) 0%, rgba(15, 18, 22, 0.5) 60%, transparent 100%);
  }
  .gallery-zoom-icon {
    opacity: 1;
    transform: scale(1);
  }
}

.gallery-overlay h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* Zoom icon badge */
.gallery-zoom-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: var(--transition-fast);
  pointer-events: none;
}

.gallery-zoom-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-forest);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Clinic grid spans (12-col) */
.gi-1 { grid-column: span 8; grid-row: span 2; }
.gi-2 { grid-column: span 4; grid-row: span 1; }
.gi-3 { grid-column: span 4; grid-row: span 2; }
.gi-4 { grid-column: span 8; grid-row: span 1; }

/* Recognition grid spans (12-col) */
/* Row 1: 3 portrait × 4-col each */
.gi-r1  { grid-column: span 4; grid-row: span 2; }
.gi-r2  { grid-column: span 4; grid-row: span 2; }
.gi-r3  { grid-column: span 4; grid-row: span 2; }
/* Row 2 (dense-fills beside row1 overflow): 3 more portraits */
.gi-r4  { grid-column: span 4; grid-row: span 2; }
.gi-r5  { grid-column: span 4; grid-row: span 2; }
.gi-r6  { grid-column: span 4; grid-row: span 2; }
/* Row 3: landscape press clippings */
.gi-r7  { grid-column: span 4; grid-row: span 1; }
.gi-r8  { grid-column: span 4; grid-row: span 1; }
.gi-r9  { grid-column: span 4; grid-row: span 1; }
/* Row 4: wider landscape certificates */
.gi-r10 { grid-column: span 6; grid-row: span 1; }
.gi-r11 { grid-column: span 6; grid-row: span 1; }

@media (max-width: 768px) {
  /* Landscape images: comfortable viewing height */
  .gallery-item {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }
  /* Portrait documents (awards, certificates): taller so content is readable */
  .gallery-item.gi-portrait {
    aspect-ratio: 3 / 4;
    min-height: 320px;
  }
}

/* -----------------------------------------------
   Lightbox
----------------------------------------------- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12, 14, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Desktop: pad sides so nav arrows don't overlap content */
  padding: 4.5rem 5rem 2rem;
  animation: lightboxFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Close button — always top-right */
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(184, 129, 94, 0.7);
  border-color: var(--accent-copper);
  transform: rotate(90deg) scale(1.1);
}

/* Prev / Next — desktop: floating beside image */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 10001;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Content wrapper */
.lightbox-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 860px;
  max-height: 100%;
  animation: lightboxSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.lightbox-img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  /* Leave room for caption below */
  max-height: calc(100vh - 11rem);
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: calc(100vh - 11rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  display: block;
}

/* Caption */
.lightbox-caption {
  text-align: center;
  padding: 0 0.5rem;
  width: 100%;
}

.lightbox-caption h4 {
  font-family: var(--font-heading);
  color: #FFFFFF;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

/*.lightbox-caption p {*/
/*  color: rgba(255, 255, 255, 0.55);*/
/*  font-size: clamp(0.65rem, 2vw, 0.78rem);*/
/*  text-transform: uppercase;*/
/*  letter-spacing: 0.1em;*/
/*  margin: 0;*/
/*}*/
.lightbox-caption p {
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(0.65rem, 2vw, 0.78rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

/* ---- Mobile lightbox: full-screen, nav moves to bottom row ---- */
@media (max-width: 600px) {
  .gallery-lightbox {
    /* Remove side padding — nav goes below, not beside */
    padding: 3.5rem 0.75rem 0.75rem;
    align-items: flex-start;
  }

  /* Nav buttons — inline row at the bottom of the screen */
  .lightbox-nav {
    position: fixed;
    top: auto;
    bottom: 1.2rem;
    transform: none;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
  }
  .lightbox-nav:hover {
    transform: scale(1.08);
  }
  .lightbox-prev { left: calc(50% - 54px); }
  .lightbox-next { right: calc(50% - 54px); }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .lightbox-content {
    gap: 0.75rem;
    /* Reserve bottom space for nav buttons */
    max-height: calc(100vh - 5rem);
    padding-bottom: 4rem;
  }

  .lightbox-img-wrapper {
    border-radius: 12px;
    max-height: calc(100vh - 10rem);
  }

  .lightbox-img-wrapper img {
    max-height: calc(100vh - 10rem);
    border-radius: 10px;
  }

  .lightbox-caption h4 {
    font-size: 1.05rem;
  }

  .lightbox-caption p {
    font-size: 0.68rem;
    letter-spacing: 0.07em;
  }
}

/* --- Luxury Appointment CTA --- */
.appointment-cta-sec {
  background-color: var(--bg-primary);
  padding: 6rem 0;
}

.appointment-cta-card {
  background: var(--accent-forest);
  border-radius: 32px;
  padding: 6rem 5rem;
  text-align: center;
  color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

@media (max-width: 768px) {
  .appointment-cta-card {
    padding: 4rem 2rem;
  }
}

.appointment-cta-card h2 {
  color: var(--bg-primary);
  font-size: clamp(2.2rem, 4vw + 0.5rem, 3.8rem);
  margin-bottom: 1.5rem;
}

.appointment-cta-card p {
  color: var(--accent-sage);
  max-width: 600px;
  margin: 0 auto 3rem auto;
  font-size: 1.15rem;
}

.appointment-cta-card .btn-group {
  justify-content: center;
}

/* Background blob inside CTA */
.cta-blob {
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(217, 230, 223, 0.08);
  border-radius: 50%;
  bottom: -150px;
  right: -100px;
  pointer-events: none;
}

/* --- Contact & Booking Section --- */
.contact {
  background-color: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.contact-info-column {
  display: flex;
  flex-direction: column;
}

.contact-details {
  margin-bottom: 3.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--accent-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.contact-item-content h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.contact-item-content p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Map Placeholder Styled Elegantly */
.map-placeholder {
  width: 100%;
  height: 280px;
  border-radius: 20px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(1.2);
  /* elegant dark/light mapping style */
  opacity: 0.85;
}

/* Appointment Form */
.booking-form-wrapper {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .booking-form-wrapper {
    padding: 2rem;
  }
}

.booking-form h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.form-control {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.9rem 1.2rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-copper);
  background-color: var(--card-bg);
  box-shadow: 0 0 0 4px var(--accent-sage);
}

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

.payment-option-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.payment-radio-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.payment-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  transition: var(--transition-fast);
}

.payment-radio input[type="radio"] {
  margin-top: 0.2rem;
  accent-color: var(--accent-copper);
}

.payment-radio:has(input:checked) {
  border-color: var(--accent-copper);
  background-color: var(--accent-sage);
}

.payment-fixed-note {
  margin: 0.4rem 0 0;
  padding: 0.75rem 1rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-primary);
}

.booking-form .btn {
  width: 100%;
  margin-top: 1rem;
}

/* Form success message states */
.form-feedback {
  display: none;
  background-color: var(--accent-sage);
  border: 1px solid var(--accent-forest);
  color: var(--accent-forest);
  border-radius: 12px;
  padding: 1.2rem;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 1.5rem;
  animation: fadeIn 0.4s ease-in-out;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 3rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.footer-brand {
  max-width: 320px;
}

.footer-brand p {
  font-size: 0.95rem;
  margin-top: 1.2rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 576px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

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

.footer-menu a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-menu a:hover {
  color: var(--accent-copper);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.social-links a:hover {
  color: var(--accent-copper);
}

/* --- Scroll-Reveal & Utility Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-blur {
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.98);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-blur.reveal-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* --- Keyframe Definitions --- */

@keyframes morphBlob {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  50% {
    border-radius: 50% 50% 30% 70% / 50% 60% 40% 50%;
  }

  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

@keyframes floatCard1 {
  0% {
    transform: translateY(0) rotate(1deg);
  }

  100% {
    transform: translateY(-12px) rotate(-1deg);
  }
}

@keyframes floatCard2 {
  0% {
    transform: translateY(0) rotate(-1deg);
  }

  100% {
    transform: translateY(-15px) rotate(1deg);
  }
}

@keyframes floatCard3 {
  0% {
    transform: translateY(0) rotate(0);
  }

  100% {
    transform: translateY(-10px) rotate(-1.5deg);
  }
}

@keyframes drawECGLine {
  0% {
    stroke-dashoffset: 2000;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-brand .logo-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.footer-brand .logo-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-copper);
  margin-top: 0.1rem;
}

/* ===========================
   ABOUT PAGE
=========================== */

.about-details {
  padding: 120px 0;
  background: var(--grad-stone-white);
  position: relative;
}

.about-details::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(217, 230, 223, .45), transparent 35%),
    radial-gradient(circle at bottom left, rgba(184, 129, 94, .12), transparent 35%);
  pointer-events: none;
}

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

/* Heading */




.section-label {
  display: inline-block;
  color: var(--accent-copper);
  font-size: .9rem;
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 18px;
  justify-content: center;

}

p {
  text-align: justify;
}

/* Biography */

.about-content {
  /*background:var(--card-bg);*/
  padding: 55px;
  border-radius: 28px;
  /*border:1px solid var(--border-color);*/
  /*box-shadow:var(--shadow-medium);*/
  margin-bottom: 45px;
  transition: var(--transition-smooth);
}


/* note */

.note-box {
  margin-top: 30px;
  padding: 16px 20px;
  background: rgba(217, 230, 223, .35);
  border-left: 4px solid var(--accent-fores);
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
}

.note-box strong {
  color: var(--accent-forest);
  font-style: normal;
}

/* ===========================
   About Banner
=========================== */

.about-banner {
  width: 100%;
  margin: 50px 0 60px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-medium);
  border: 1px solid var(--border-color);
}

.about-banner img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.about-banner:hover img {
  transform: scale(1.05);
}

/* Dark Overlay */

.about-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(30, 35, 40, .45),
      rgba(30, 35, 40, .05));
  pointer-events: none;
}

/* Responsive */

@media (max-width: 992px) {

  .about-banner img {
    height: 420px;
  }

}

@media (max-width: 768px) {

  .about-banner {
    margin: 35px 0 45px;
    border-radius: 18px;
  }

  .about-banner img {
    height: 280px;
  }

}


.about-content:hover {
  transform: translateY(-8px);
}

.about-content p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 2;
  margin-bottom: 24px;
}

.about-content strong {
  color: var(--accent-forest);
  font-weight: 700;
}

/* Cards */

.about-card {
  /*background:var(--card-bg);*/
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 45px;
  margin-bottom: 35px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  overflow: hidden;
  position: relative;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--grad-forest-sage);
}

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

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--accent-forest);
  margin-bottom: 30px;
}

/* Lists */

.about-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 18px 30px;
}

.about-card li {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px 20px 18px 55px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.7;
  transition: var(--transition-fast);
}

.about-card li:hover {
  background: var(--accent-sage);
  transform: translateX(8px);
}

.about-card li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 24px;
  height: 24px;
  background: var(--accent-forest);
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: .8rem;
  font-weight: bold;
}

/* Responsive */

@media(max-width:992px) {

  .about-content,
  .about-card {
    padding: 35px;
  }

  .about-card ul {
    grid-template-columns: 1fr;
  }

}

@media(max-width:768px) {

  .about-details {
    padding: 80px 0;
  }

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

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

  .about-content {
    padding: 25px;
    border-radius: 20px;
  }

  .about-card {
    padding: 25px;
    border-radius: 20px;
  }

  .about-content p {
    font-size: 1rem;
  }

  .about-card h3 {
    font-size: 1.8rem;
  }

  .about-card li {
    padding: 16px 18px 16px 48px;
  }

}

/* ==========================
   Floating WhatsApp
========================== */

.whatsapp-float {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
  z-index: 9999;
  transition: .3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1EBE5D;
}

@keyframes whatsappPulse {

  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }

}

@media(max-width:768px) {

  .whatsapp-float {
    width: 55px;
    height: 55px;
    right: 18px;
    bottom: 18px;
  }

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

}

/* Hidden by default */
.appointment-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  z-index: 99999;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 20px 15px;
}


/* Popup Box */
.popup-content {
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 18px;
  margin-top: 30px;
  padding: 20px;
  position: relative;
  animation: popup .35s ease;
}


/* Close Button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 15px;

  width: 36px;
  height: 36px;

  border: none;
  border-radius: 50%;

  background: #f5f5f5;
  color: #333;

  font-size: 26px;
  line-height: 30px;

  cursor: pointer;
}


/* Animation */
@keyframes popup {

  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* Mobile Only */
@media (min-width: 768px) {

  .appointment-popup {
    display: none !important;
  }

}