/* ==========================================================================
   TELLinMedicine LLC - Claymorphism Design System & 3D Medical Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --bg-main: #ebf3f8;
  --clay-card-bg: #f5f9fc;
  --clay-card-inner: #ffffff;

  --primary-teal: #00a896;
  --primary-teal-dark: #028090;
  --primary-teal-light: #e6f7f5;

  --accent-coral: #ff6b8b;
  --accent-coral-light: #fff0f3;

  --accent-purple: #705ec8;
  --accent-purple-light: #f1effc;

  --accent-amber: #f7b731;
  --accent-amber-light: #fff9eb;

  --text-dark: #1e293b;
  --text-medium: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Claymorphic Shadows */
  --clay-shadow-flat: 8px 8px 16px #d1dde6, -8px -8px 16px #ffffff;
  --clay-shadow-raised: 16px 16px 32px #cad7e3, -16px -16px 32px #ffffff;
  --clay-shadow-floating: 24px 28px 48px rgba(180, 195, 210, 0.65), -16px -16px 32px #ffffff;
  --clay-shadow-pressed: inset 6px 6px 12px #cad7e3, inset -6px -6px 12px #ffffff;

  --clay-inner-glow: inset 3px 3px 6px rgba(255, 255, 255, 0.95), inset -3px -3px 6px rgba(0, 0, 0, 0.04);
  --clay-pill-shadow: 6px 6px 14px #d1dde6, -6px -6px 14px #ffffff, inset 2px 2px 4px rgba(255, 255, 255, 0.8);

  /* Borders & Radius */
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 9999px;

  --transition-clay: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, background 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
}

body {
  line-height: 1.6;
  background: radial-gradient(circle at 10% 20%, #f0f7fc 0%, #e5f0f7 90%);
  min-height: 100vh;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-gradient-teal {
  background: linear-gradient(135deg, var(--primary-teal-dark), var(--primary-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-coral {
  background: linear-gradient(135deg, #ff4757, var(--accent-coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-clay {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #00c9a7, var(--primary-teal));
  box-shadow: 0 6px 16px rgba(0, 168, 150, 0.3), inset 2px 2px 4px rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Claymorphic UI Component System
   ========================================================================== */

.clay-card {
  background: var(--clay-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow-raised);
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: var(--transition-clay);
}

.clay-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--clay-shadow-floating);
}

.clay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-clay);
  text-align: center;
  user-select: none;
}

.clay-button-primary {
  background: linear-gradient(135deg, #00c9a7, var(--primary-teal));
  color: #ffffff;
  box-shadow: 8px 12px 20px rgba(0, 168, 150, 0.35), inset 3px 3px 6px rgba(255, 255, 255, 0.4), inset -3px -3px 6px rgba(0, 0, 0, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.clay-button-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 12px 18px 28px rgba(0, 168, 150, 0.45), inset 3px 3px 6px rgba(255, 255, 255, 0.6);
}

.clay-button-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.2);
}

.clay-button-secondary {
  background: var(--clay-card-bg);
  color: var(--text-dark);
  box-shadow: var(--clay-shadow-flat);
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.clay-button-secondary:hover {
  transform: translateY(-3px);
  color: var(--primary-teal);
  box-shadow: var(--clay-shadow-raised);
}

.clay-button-coral {
  background: linear-gradient(135deg, #ff6b8b, #ff4757);
  color: #ffffff;
  box-shadow: 8px 12px 20px rgba(255, 107, 139, 0.35), inset 3px 3px 6px rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.clay-button-coral:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 12px 18px 28px rgba(255, 107, 139, 0.45);
}

/* Header & Navigation Marquee */
.header-topbar {
  background: linear-gradient(90deg, var(--primary-teal-dark), var(--primary-teal));
  color: #ffffff;
  padding: 0.65rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  user-select: none;
}

.topbar-marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.header-topbar:hover .topbar-marquee-track {
  animation-play-state: paused;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.topbar-item a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.topbar-item a:hover {
  opacity: 0.85;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(235, 243, 248, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: padding 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo img {
  height: 54px;
  width: auto;
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.08));
}

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

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-teal-dark);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-medium);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-teal-dark);
  background: var(--clay-card-bg);
  box-shadow: var(--clay-pill-shadow);
}

.mobile-toggle {
  display: none;
  background: var(--clay-card-bg);
  border: none;
  box-shadow: var(--clay-pill-shadow);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text-dark);
}

/* ==========================================================================
   Hero Section with Floating 3D Medical Visuals
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 2rem 0 7rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(235, 243, 248, 0.4) 0%, rgba(240, 248, 252, 0.7) 60%, rgba(0, 168, 150, 0.09) 100%);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(180deg, rgba(235, 243, 248, 0) 0%, rgba(0, 168, 150, 0.07) 50%, rgba(215, 235, 246, 0.5) 100%);
  pointer-events: none;
  z-index: 1;
}

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

.hero-text {
  position: relative;
  z-index: 10;
}

.hero-slogan {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  background: var(--clay-card-bg);
  box-shadow: var(--clay-pill-shadow);
  color: var(--primary-teal-dark);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  max-width: 620px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-visual-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.doctor-clay-frame,
.hero-syringe-frame {
  position: relative;
  width: 380px;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  animation: float-3d-slow 7s ease-in-out infinite;
}

.hero-syringe-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 168, 150, 0.35));
  transform: rotate(-15deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-syringe-frame:hover .hero-syringe-img {
  transform: rotate(-8deg) scale(1.08);
}

.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* 3D Floating Illustrations (Pure CSS + SVG Clay Styling) */

.floating-3d-element {
  position: absolute;
  z-index: 12;
  transition: transform 0.2s ease-out;
  pointer-events: auto;
}

/* 1. Floating 3D Injection / Syringe */
.element-syringe {
  top: 20px;
  left: -20px;
  animation: float-3d-slow 6s ease-in-out infinite;
}

.clay-3d-syringe {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #ffffff, #e6f7f5);
  border-radius: 28px;
  box-shadow: 12px 16px 28px rgba(0, 168, 150, 0.25), var(--clay-inner-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  transform: rotate(-12deg);
}

.clay-3d-syringe svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(4px 6px 8px rgba(0, 168, 150, 0.3));
}

/* 2. Floating 3D Capsule */
.element-capsule {
  bottom: 40px;
  left: -35px;
  animation: float-3d-reverse 7s ease-in-out infinite;
}

.clay-3d-capsule {
  width: 110px;
  height: 54px;
  background: linear-gradient(90deg, #ff6b8b 50%, #00a896 50%);
  border-radius: var(--radius-pill);
  box-shadow: 12px 16px 28px rgba(0, 168, 150, 0.3), inset 3px 3px 6px rgba(255, 255, 255, 0.7);
  border: 3px solid #ffffff;
  transform: rotate(24deg);
}

/* 3. Floating 3D Stethoscope Badge (Center Right) */
.element-stethoscope {
  top: 50%;
  right: -35px;
  transform: translateY(-50%);
  animation: float-3d-center-right 7s ease-in-out infinite;
}

@keyframes float-3d-center-right {

  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }

  50% {
    transform: translateY(-50%) translateX(10px);
  }
}

.clay-3d-badge {
  padding: 0.9rem 1.4rem;
  background: var(--clay-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow-floating);
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.badge-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.4);
}

.badge-text-box h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
}

.badge-text-box p {
  font-size: 0.8rem;
  color: var(--primary-teal-dark);
  font-weight: 700;
}

/* 4. Live Telehealth Status Floating Card */
.element-telehealth {
  bottom: 30px;
  left: -30px;
  animation: float-3d-slow 6.5s ease-in-out infinite 0.5s;
}

.status-dot-pulse {
  width: 10px;
  height: 10px;
  background-color: #2ed573;
  border-radius: 50%;
  box-shadow: 0 0 10px #2ed573;
  animation: pulse-green 2s infinite;
}

/* Keyframes for Floating Parallax */
@keyframes float-3d-slow {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-16px) rotate(4deg);
  }
}

@keyframes float-3d-reverse {

  0%,
  100% {
    transform: translateY(0px) rotate(24deg);
  }

  50% {
    transform: translateY(14px) rotate(18deg);
  }
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(46, 213, 115, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0);
  }
}

/* ==========================================================================
   Live Practice Status Bar & Care Hours
   ========================================================================== */

.status-bar-section {
  margin-top: -2rem;
  position: relative;
  z-index: 20;
}

.status-bar-card {
  padding: 1.5rem 2.5rem;
  background: var(--clay-card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--clay-shadow-raised);
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.status-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--clay-inner-glow);
}

.status-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
}

.status-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* ==========================================================================
   Four Pillars of Care Section
   ========================================================================== */

.pillars-section {
  padding: 6rem 0;
  border-radius: 48px 48px 0 0;
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  background: radial-gradient(circle at 50% 0%, #f7fcff 0%, #ebf3f8 100%);
  box-shadow: 0 -16px 36px rgba(0, 168, 150, 0.08);
  border-top: 4px solid #ffffff;
}

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

.section-title {
  font-size: 2.6rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-medium);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2.25rem;
}

.pillar-card {
  padding: 2.5rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.pillar-card,
.service-card,
.gallery-card,
.article-card,
.calculator-card,
.doctor-main-card {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  will-change: opacity, transform;
}

.pillar-card.is-revealed,
.service-card.is-revealed,
.gallery-card.is-revealed,
.article-card.is-revealed,
.calculator-card.is-revealed,
.doctor-main-card.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Staggered Card Scroll Reveal Delays for Grids */
.pillars-grid .pillar-card:nth-child(1),
.services-grid .service-card:nth-child(1),
.gallery-grid .gallery-card:nth-child(1),
.articles-grid .article-card:nth-child(1) {
  transition-delay: 0.08s;
}

.pillars-grid .pillar-card:nth-child(2),
.services-grid .service-card:nth-child(2),
.gallery-grid .gallery-card:nth-child(2),
.articles-grid .article-card:nth-child(2) {
  transition-delay: 0.2s;
}

.pillars-grid .pillar-card:nth-child(3),
.services-grid .service-card:nth-child(3),
.gallery-grid .gallery-card:nth-child(3),
.articles-grid .article-card:nth-child(3) {
  transition-delay: 0.32s;
}

.pillars-grid .pillar-card:nth-child(4),
.services-grid .service-card:nth-child(4),
.gallery-grid .gallery-card:nth-child(4) {
  transition-delay: 0.44s;
}

.services-grid .service-card:nth-child(5) {
  transition-delay: 0.56s;
}

.services-grid .service-card:nth-child(6) {
  transition-delay: 0.68s;
}

.pillar-img-box {
  width: 100%;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.pillar-3d-img {
  max-height: 190px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 168, 150, 0.25));
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pillar-card:hover .pillar-3d-img {
  transform: scale(1.12) translateY(-8px) rotate(2deg);
}

/* ==========================================================================
   Dedicated 3D Visual Showcase Gallery Section
   ========================================================================== */

.gallery-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 30% 20%, #eaf4fb 0%, #dbeaf6 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.25rem;
}

.gallery-card {
  padding: 2.25rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-img-wrap {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.gallery-3d-img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 168, 150, 0.28));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-card:hover .gallery-3d-img {
  transform: scale(1.15) translateY(-10px);
}

.gallery-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.gallery-card-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Practice Working Hours Section (Interactive 3D Clay Calendar)
   ========================================================================== */

.hours-section {
  padding: 6rem 0;
  background: radial-gradient(circle at 70% 30%, #f4fafc 0%, #e6f2f9 100%);
}

.hours-section .badge-clay {
  background: linear-gradient(135deg, #00c9a7, var(--primary-teal));
  color: #ffffff;
}

.calendar-clay-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  background: linear-gradient(135deg, #00c9a7, var(--primary-teal));
  border-radius: var(--radius-xl);
  box-shadow: 18px 24px 44px rgba(0, 168, 150, 0.4), inset 4px 4px 8px rgba(255, 255, 255, 0.4), inset -4px -4px 8px rgba(0, 0, 0, 0.15);
  border: 3px solid rgba(255, 255, 255, 0.6);
  padding: 2.5rem;
  color: #ffffff;
}

.calendar-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 880px) {
  .calendar-layout-grid {
    grid-template-columns: 1fr;
  }
}

.calendar-widget-card {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.3), 0 8px 20px rgba(0, 0, 0, 0.1);
}

.calendar-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.cal-month-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.cal-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-clay);
}

.cal-nav-btn:hover {
  background: #ffffff;
  color: #008070;
  transform: scale(1.08);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.45rem;
}

.cal-day-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.cal-day-cell:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px) scale(1.05);
  border-color: #ffffff;
}

.cal-day-cell.is-selected {
  background: #ffffff !important;
  color: #007060 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22), inset 2px 2px 4px rgba(255, 255, 255, 0.9);
  border: 2px solid #ffffff;
  transform: translateY(-3px) scale(1.08);
  font-weight: 800;
}

.cal-day-cell.is-today {
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
}

.cal-day-cell.is-sunday {
  background: rgba(241, 239, 252, 0.25);
}

.cal-day-cell.is-other-month {
  opacity: 0.3;
  pointer-events: none;
}

/* Day Inspector Card */
.day-inspector-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: var(--text-dark);
  box-shadow: 0 16px 36px rgba(0, 50, 40, 0.25);
  border: 2px solid #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.inspector-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1.5px solid #e2e8f0;
}

.badge-day-type {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #008070;
  background: var(--primary-teal-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.inspector-date-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 0.4rem;
}

.inspector-status-indicator {
  font-size: 0.82rem;
  font-weight: 700;
  color: #10b981;
  background: #ecfdf5;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
}

.slot-group {
  margin-bottom: 1.25rem;
}

.slot-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.slot-time-range {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.slot-pills-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.slot-pill-btn {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition-clay);
}

.slot-pill-btn.available-clinic {
  background: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  border-color: rgba(0, 168, 150, 0.3);
}

.slot-pill-btn.available-virtual {
  background: var(--accent-purple-light);
  color: var(--accent-purple);
  border-color: rgba(112, 94, 200, 0.3);
}

.slot-pill-btn.unavailable {
  background: #f1f5f9;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.65;
  cursor: not-allowed;
}

.slot-pill-btn:hover:not(.unavailable) {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.inspector-footer {
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1.5px solid #e2e8f0;
}

.inspector-footer .clay-button-primary {
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #00c9a7, var(--primary-teal));
  color: #ffffff;
  border: none;
}

.pillar-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #eaf5fc);
  box-shadow: var(--clay-shadow-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  border: 2px solid #ffffff;
  transition: transform 0.4s ease;
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.1) rotate(6deg);
}

.pillar-title {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.pillar-desc {
  color: var(--text-medium);
  font-size: 0.98rem;
  line-height: 1.6;
}

.pillar-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--primary-teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Meet Dr. Jasper Ngomba Section
   ========================================================================== */

.doctor-section {
  padding: 6rem 0;
  position: relative;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.doctor-portrait-box {
  position: relative;
}

.doctor-main-card {
  padding: 1.5rem;
  background: var(--clay-card-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--clay-shadow-floating);
  border: 4px solid #ffffff;
}

.doctor-portrait-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.doctor-bio-content h2 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
}

.doctor-bio-content .badge-clay {
  margin-bottom: 20px !important;
}

.doctor-credentials {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-teal-dark);
  margin-bottom: 1.5rem;
}

.doctor-quote-box {
  padding: 1.5rem 1.75rem;
  background: var(--primary-teal-light);
  border-radius: var(--radius-md);
  border-left: 5px solid var(--primary-teal);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-teal-dark);
  font-style: italic;
  box-shadow: var(--clay-inner-glow);
}

/* Career Timeline */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.timeline-year {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--clay-card-bg);
  box-shadow: var(--clay-pill-shadow);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--accent-coral);
  white-space: nowrap;
}

.timeline-text h4 {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.timeline-text p {
  font-size: 0.9rem;
  color: var(--text-medium);
}

/* ==========================================================================
   Full Services Suite (Comprehensive Medical Offerings - Green Theme)
   ========================================================================== */

.services-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #00b899, #028090);
  position: relative;
  color: #ffffff;
}

.services-section .section-title {
  color: #ffffff;
}

.services-section .section-subtitle {
  color: rgba(255, 255, 255, 0.92);
}

.services-section .badge-clay {
  background: #ffffff;
  color: #008070;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: var(--transition-clay);
}

.tab-btn.active,
.tab-btn:hover {
  background: #ffffff;
  color: #008070;
  border-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 2px 2px 4px rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
  gap: 2rem;
  justify-content: center;
}

.service-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 32px rgba(0, 60, 50, 0.25), inset 2px 2px 4px rgba(255, 255, 255, 0.9);
  border: 2px solid #ffffff;
  transition: var(--transition-clay);
  width: 100%;
  max-width: 380px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 44px rgba(0, 40, 30, 0.35);
  background: #ffffff;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #00c9a7, #00a896);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 14px rgba(0, 168, 150, 0.3);
}

.service-title {
  font-size: 1.3rem;
}

.service-body {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.75rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.service-features li svg {
  color: var(--primary-teal);
}

/* ==========================================================================
   Patient Education & Health Calculator
   ========================================================================== */

.education-section {
  padding: 6rem 0;
}

.calculator-card {
  padding: 3rem;
  background: var(--clay-card-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--clay-shadow-floating);
  border: 4px solid #ffffff;
  margin-bottom: 4rem;
}

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

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

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.clay-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: #f0f6fa;
  box-shadow: var(--clay-shadow-pressed);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  outline: none;
}

.clay-input:focus {
  border-color: var(--primary-teal);
  background: #ffffff;
}

.calc-result-box {
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-teal-light), #f0fafb);
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary-teal);
  text-align: center;
}

.calc-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-teal-dark);
  line-height: 1;
  margin: 0.5rem 0;
}

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.article-card {
  padding: 2rem;
}

.article-category {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Appointment Booking Modal & Dialog
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-clay-dialog {
  width: 100%;
  max-width: 680px;
  background: var(--clay-card-bg);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2), var(--clay-shadow-raised);
  border: 5px solid #ffffff;
  padding: 2.5rem;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .modal-clay-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
}

.modal-title {
  font-size: 1.75rem;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--clay-card-bg);
  box-shadow: var(--clay-shadow-flat);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-medium);
}

.care-option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.care-option-card {
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  background: #f0f6fa;
  border: 2px solid transparent;
  box-shadow: var(--clay-shadow-flat);
  cursor: pointer;
  text-align: center;
  transition: var(--transition-clay);
}

.care-option-card.selected,
.care-option-card:hover {
  border-color: var(--primary-teal);
  background: var(--primary-teal-light);
  transform: translateY(-3px);
}

.care-option-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.care-option-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Footer & Contact */
.footer-section {
  background: linear-gradient(180deg, #ebf3f8 0%, #d8e5ef 100%);
  padding: 5rem 0 2rem;
  border-top: 3px solid rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1.5px solid rgba(100, 116, 139, 0.2);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 992px) {

  .hero-grid,
  .doctor-grid,
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 0.75rem;
    box-shadow: 0 16px 32px rgba(0, 50, 40, 0.15);
    border-bottom: 3px solid var(--primary-teal);
    z-index: 999;
  }

  .nav-menu.is-active {
    display: flex !important;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu .nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav-menu .clay-button {
    width: 100%;
    justify-content: center;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    cursor: pointer;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Contact Details Card Layout (Desktop Horizontal Row / Mobile Centered)
   ========================================================================== */

.contact-details-card {
  padding: 2.5rem;
  text-align: left;
}

.contact-card-title {
  font-size: 1.6rem;
  margin-bottom: 1.75rem;
  text-align: left;
}

.contact-detail-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

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

.contact-detail-item .service-icon {
  margin: 0;
  flex-shrink: 0;
}

.contact-detail-text {
  text-align: left;
}

.contact-detail-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.contact-detail-text p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .header-topbar {
    overflow: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .hero-section {
    overflow: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    padding: 1.5rem 0 4rem !important;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 2rem !important;
  }

  .hero-text {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .hero-title {
    font-size: 2rem !important;
    line-height: 1.25 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .hero-subtitle {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hero-actions .clay-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    font-size: 0.88rem !important;
    padding: 0.85rem 1rem !important;
    flex: none !important;
  }

  .hero-visual-stage {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin-top: 1rem !important;
  }

  .hero-syringe-frame {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }

  /* Hide floating badge elements on small mobile so they don't break horizontal screen bounds */
  .floating-3d-element,
  .element-stethoscope,
  .element-syringe,
  .element-telehealth {
    display: none !important;
  }

  /* Contact Details Mobile Layout: Centered Icons & Next Line Details */
  .contact-details-card {
    text-align: center !important;
    padding: 1.75rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-card-title {
    text-align: center !important;
  }

  .contact-detail-item {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.65rem !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .contact-detail-item .service-icon {
    margin: 0 auto !important;
  }

  .contact-detail-text {
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .calendar-clay-wrapper {
    padding: 1.25rem 0.85rem;
    border-radius: var(--radius-lg);
  }

  .calendar-widget-card,
  .day-inspector-card {
    padding: 1.1rem 0.85rem;
    border-radius: var(--radius-md);
  }

  .calendar-header-nav {
    margin-bottom: 1rem;
  }

  .cal-month-title {
    font-size: 1.1rem;
  }

  .cal-nav-btn {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }

  .calendar-weekdays {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
  }

  .calendar-days-grid {
    gap: 0.25rem;
  }

  .cal-day-cell {
    border-radius: 10px;
    font-size: 0.82rem;
  }

  .inspector-date-title {
    font-size: 1.1rem;
  }

  .slot-pill-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .slot-pills-flex {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .calendar-clay-wrapper {
    padding: 1rem 0.4rem;
  }

  .cal-day-cell {
    font-size: 0.78rem;
    border-radius: 8px;
  }
}

/* ==========================================================================
   Medical AI Chatbot Widget (Claymorphism Style)
   ========================================================================== */

.chat-widget-trigger {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #00c9a7, var(--primary-teal));
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 24px rgba(0, 168, 150, 0.4), inset 2px 2px 4px rgba(255, 255, 255, 0.5);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-clay);
}

.chat-widget-trigger:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 14px 30px rgba(0, 168, 150, 0.5);
}

.chat-trigger-icon {
  font-size: 1.25rem;
}

.chat-pulse-dot {
  width: 10px;
  height: 10px;
  background: #2ed573;
  border-radius: 50%;
  box-shadow: 0 0 10px #2ed573;
  animation: pulse-green 2s infinite;
}

/* Chat Window */
.chat-widget-window {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 540px;
  max-height: calc(100vh - 120px);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  border: 3px solid #ffffff;
  box-shadow: 0 24px 50px rgba(0, 50, 40, 0.25), inset 2px 2px 4px rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-widget-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Header */
.chat-window-header {
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #00c9a7, var(--primary-teal));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chat-assistant-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.1rem;
}

.chat-status-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-header-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-clay);
}

.chat-header-btn:hover {
  background: #ffffff;
  color: #008070;
}

/* Quick Chips */
.chat-quick-chips {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  overflow-x: auto;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  white-space: nowrap;
}

.chat-chip {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-clay);
  flex-shrink: 0;
}

.chat-chip:hover {
  background: var(--primary-teal-light);
  color: var(--primary-teal-dark);
  border-color: var(--primary-teal);
}

/* Message Feed */
.chat-messages-feed {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #fcfdfe;
}

.chat-message {
  display: flex;
  flex-direction: column;
  max-width: 82%;
}

.chat-message.bot-message {
  align-self: flex-start;
}

.chat-message.user-message {
  align-self: flex-end;
  align-items: flex-end;
}

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bot-message .chat-bubble {
  background: #ffffff;
  color: var(--text-dark);
  border: 1.5px solid #e2e8f0;
  border-top-left-radius: 4px;
}

.user-message .chat-bubble {
  background: linear-gradient(135deg, #00c9a7, var(--primary-teal));
  color: #ffffff;
  border-top-right-radius: 4px;
}

.chat-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  padding: 0 0.2rem;
}

/* Chat Input Form */
.chat-input-form {
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-top: 1.5px solid #f1f5f9;
  display: flex;
  gap: 0.5rem;
}

.chat-text-input {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.25s ease;
}

.chat-text-input:focus {
  border-color: var(--primary-teal);
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c9a7, var(--primary-teal));
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-clay);
}

.chat-send-btn:hover {
  transform: scale(1.08);
}