/* ==========================================================================
   PSYCHOREMEDY - Clinical & Online Therapy Platform
   Standard Professional Website Stylesheet
   ========================================================================== */

:root {
  --primary: #0f4c5c;
  --primary-dark: #09313c;
  --primary-light: #e0f2fe;
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --secondary: #3b82f6;
  --gold: #d97706;
  --dark: #0f172a;
  --slate: #334155;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 76, 92, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(15, 76, 92, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--slate);
  background-color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* Standard Full Width Layout Container */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 4.8rem 0;
}

/* Top Info Bar */
.top-bar {
  background: var(--dark);
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-info a, .top-info span {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.top-info a:hover {
  color: #ffffff;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-social a {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.top-social a:hover {
  color: #ffffff;
}

.top-wa-pill {
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80 !important;
  border: 1px solid rgba(74, 222, 128, 0.35);
  padding: 3px 11px;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.top-wa-pill:hover {
  background: #25d366;
  color: #ffffff !important;
}

.admin-top-pill {
  background: rgba(13, 148, 136, 0.25);
  color: #5eead4 !important;
  border: 1px solid rgba(94, 234, 212, 0.35);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  transition: all 0.2s ease;
}

.admin-top-pill:hover {
  background: rgba(13, 148, 136, 0.5);
  color: #ffffff !important;
}

/* Header & Smooth Animated Dropdown */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  height: 75px;
  max-height: 75px;
  overflow: visible;
}

.header-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 75px;
  max-height: 75px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 12px;
  text-decoration: none;
  height: 48px;
  max-height: 48px;
  flex-shrink: 0;
}

.logo-image {
  height: 46px !important;
  width: 46px !important;
  max-height: 46px !important;
  max-width: 46px !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-name {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-sub {
  font-size: 0.58rem !important;
  font-weight: 700 !important;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-top: 3px;
  white-space: nowrap;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: clamp(0.6rem, 1.25vw, 1.6rem);
  white-space: nowrap;
}

.nav-item {
  font-size: clamp(0.82rem, 0.9vw, 0.92rem);
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.nav-item:hover, .nav-item.active {
  color: var(--accent);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
}

/* Hover-Based Animated Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
  padding: 10px 0;
}

.drop-icon {
  font-size: 0.75rem;
  margin-left: 5px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown:hover .drop-icon {
  transform: rotate(180deg);
}

.dropdown-box {
  position: absolute;
  top: 100%;
  left: -10px;
  min-width: 250px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
  z-index: 9999;
}

.nav-dropdown:hover .dropdown-box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drop-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px;
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.drop-link i {
  color: var(--accent);
  font-size: 1rem;
  width: 20px;
  transition: transform 0.25s ease;
}

.drop-link:hover {
  background: #f0fdfa;
  color: var(--accent);
  padding-left: 24px;
}

.drop-link:hover i {
  transform: scale(1.15);
}

/* Right Header Action */
.header-right {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 15px;
  flex-shrink: 0;
}

.btn-book {
  background: var(--accent);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.22);
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-book:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
}

.btn-text-desktop {
  display: inline;
}

.btn-text-mobile {
  display: none;
}

/* Minimalist Hero Section Booking Pill */
.hero-top-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
  width: 100%;
}

.hero-minimalist-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.12);
  transition: var(--transition);
  white-space: nowrap;
}

.hero-minimalist-book-btn:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.28);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--dark);
  cursor: pointer;
}

/* Standard Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-sizing: border-box;
}

.btn i {
  flex-shrink: 0;
}

.btn span {
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
  background: var(--primary-light);
  color: var(--primary);
}

.btn-secondary:hover {
  background: rgba(224, 242, 254, 0.8);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* Elegant 2-Color Scheme Section Backgrounds */
.bg-mint, .bg-lavender, .bg-amber, .bg-sky {
  background: #f4f9f8;
}

.bg-dark-teal {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

/* Gen-Z Ultra-Modern Styles & Gradient Typography */
.text-gradient {
  background: linear-gradient(135deg, #0d9488 0%, #0f4c5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

/* Hero Slider Section Premium Background & Ambient Lighting */
.hero-slider-section {
  position: relative;
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 45%, #f8fafc 100%);
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(13, 148, 136, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(15, 76, 92, 0.08) 0%, transparent 45%),
    linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f8fafc 100%);
  padding: 3.5rem 0 4rem 0;
  border-bottom: 1.5px solid rgba(13, 148, 136, 0.18);
  overflow: hidden;
}

.genz-live-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(13, 148, 136, 0.2);
  box-shadow: 0 6px 20px rgba(15, 76, 92, 0.08);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Gen-Z Mood Check Interactive Box */
.genz-mood-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  margin-top: 2.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 10;
}

.mood-box-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mood-pills {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.mood-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f1f5f9;
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.mood-pill:hover {
  background: #f0fdfa;
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15);
}

.hero-floating-card.float-secondary {
  top: -15px;
  right: -15px;
  bottom: auto;
  left: auto;
  animation-delay: 2s;
}

.hero-slider-container {
  position: relative;
  min-height: 480px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), transform 0.75s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.75s ease;
  pointer-events: none;
}

.hero-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Smooth Staggered Reveal for Slide Text and Actions */
.hero-slide:not(.active) .hero-content > * {
  opacity: 0;
  transform: translateY(14px);
}

.hero-slide.active .hero-content > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-content .section-tag { transition-delay: 0.08s; }
.hero-slide.active .hero-content h1 { transition-delay: 0.16s; }
.hero-slide.active .hero-content .hero-description { transition-delay: 0.24s; }
.hero-slide.active .hero-content .hero-actions { transition-delay: 0.32s; }
.hero-slide.active .hero-content .hero-badges { transition-delay: 0.40s; }

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.2rem;
  position: relative;
  z-index: 10;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid var(--border);
  color: var(--primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: scale(1.08);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.35s ease;
}

.slider-dots .dot.active {
  width: 32px;
  border-radius: 20px;
  background: var(--accent);
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

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

.hero-content h1 {
  margin-bottom: 1.2rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--slate);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-badge-item i {
  color: var(--accent);
  font-size: 1.2rem;
}

.hero-badge-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
}

.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(13, 148, 136, 0.25), 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  border: 4px solid var(--white);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #ffffff;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 50%, rgba(13, 148, 136, 0.04) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-image-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -10px rgba(13, 148, 136, 0.32), 0 12px 25px -5px rgba(15, 23, 42, 0.12);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform-origin: center center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

/* Engaging Ken Burns Cinematic Zoom & Breathing Animation */
@keyframes heroKenBurns {
  0% {
    transform: scale(1.0);
    filter: brightness(0.99);
  }
  50% {
    transform: scale(1.045) translate(-3px, -1.5px);
    filter: brightness(1.02);
  }
  100% {
    transform: scale(1.0);
    filter: brightness(0.99);
  }
}

.hero-slide.active .hero-image-wrapper img {
  animation: heroKenBurns 10s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-image-wrapper:hover img {
  transform: scale(1.06);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--white);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(13, 148, 136, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.floating-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}

.floating-sub {
  font-size: 0.78rem;
  color: var(--slate);
}

/* Feature Cards & Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.3);
}

.card-icon {
  width: 54px;
  height: 54px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent);
  color: white;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--slate);
  margin-bottom: 1.4rem;
}

.card-link {
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   ULTRA-PREMIUM TAILORED PSYCHOLOGICAL INTERVENTIONS SECTION
   ========================================================================== */
.services-premium-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 45%, #e0f2fe 100%);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(15, 76, 92, 0.07) 0%, transparent 45%),
    linear-gradient(135deg, #f8fafc 0%, #f0fdfa 50%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(13, 148, 136, 0.15);
}

.services-header-box {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.2rem auto;
}

.services-header-box h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  color: var(--dark);
  margin-top: 0.6rem;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.services-header-box p {
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.service-card-premium {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(13, 148, 136, 0.16);
  border-radius: 22px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 10px 30px -8px rgba(15, 76, 92, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px -10px rgba(15, 76, 92, 0.15);
  border-color: rgba(13, 148, 136, 0.4);
  background: #ffffff;
}

.service-card-premium:hover::before {
  opacity: 1;
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(15, 76, 92, 0.08) 100%);
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  transition: all 0.35s ease;
}

.service-card-premium:hover .service-icon-wrapper {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: #ffffff;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
  border-color: transparent;
}

.service-badge-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  background: #f1f5f9;
  color: var(--primary);
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.service-card-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.service-card-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.service-card-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f766e;
  background: rgba(13, 148, 136, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(13, 148, 136, 0.15);
}

.service-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1.2rem;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-btn i {
  transition: transform 0.3s ease;
  color: var(--accent);
}

.service-card-premium:hover .service-card-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.25);
}

.service-card-premium:hover .service-card-btn i {
  color: #ffffff;
  transform: translateX(5px);
}

@media screen and (max-width: 992px) {
  .services-premium-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .services-premium-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  
  .service-card-premium {
    padding: 1.6rem 1.4rem;
    border-radius: 18px;
  }

  .service-card-btn {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }
}

/* Appointment Box */
.appointment-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 2.8rem;
}

/* ==========================================================================
   ULTRA-PREMIUM WEBSITE SECTIONS (TIMETABLE, ASSURANCE, BLOG, SPOTLIGHT, REVIEWS, GROUP, BOOKING)
   ========================================================================== */

/* 1. Timetable Premium Section */
.timetable-premium-section {
  background: #ffffff;
}

.timetable-card-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  box-shadow: 0 15px 35px -10px rgba(15, 76, 92, 0.08);
  overflow: hidden;
}

.timetable-custom-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.timetable-custom-table th {
  background: linear-gradient(135deg, #09313c 0%, #0f4c5c 100%);
  color: #ffffff;
  padding: 1.25rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.timetable-custom-table td {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.timetable-custom-table tr:hover td {
  background: #f0fdfa;
}

.table-doctor-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-doctor-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(15, 76, 92, 0.15) 100%);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(13, 148, 136, 0.2);
  flex-shrink: 0;
}

.table-doctor-name {
  font-weight: 800;
  color: var(--dark);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.table-doctor-sub {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.table-role-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #f1f5f9;
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.table-day-pill {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50px;
}

.table-time-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.table-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.table-book-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 76, 92, 0.3);
}

/* 2. Assurance Premium Section */
.assurance-premium-section {
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f8fafc 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.assurance-card-premium {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.4rem 2rem;
  border: 1px solid rgba(13, 148, 136, 0.18);
  box-shadow: 0 10px 30px -8px rgba(15, 76, 92, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.35s ease;
}

.assurance-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px -10px rgba(15, 76, 92, 0.14);
  border-color: var(--accent);
}

.assurance-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.15) 0%, rgba(15, 76, 92, 0.1) 100%);
  color: var(--accent);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.assurance-card-premium h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--dark);
}

.assurance-card-premium p {
  font-size: 0.92rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.assurance-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(13, 148, 136, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  margin-top: auto;
}

/* 3. Blog Premium Section */
.blog-premium-section {
  background: #ffffff;
}

.blog-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.8rem;
}

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

.blog-card-premium {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.blog-card-premium:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px -10px rgba(15, 76, 92, 0.12);
  border-color: rgba(13, 148, 136, 0.3);
}

.blog-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card-premium:hover .blog-card-img-wrapper img {
  transform: scale(1.06);
}

.blog-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #5eead4;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-card-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

.blog-card-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.blog-card-premium:hover .blog-card-link-btn {
  background: var(--primary);
  color: #ffffff;
}

/* 4. Spotlight Premium Section */
.spotlight-premium-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f0fdfa 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.spotlight-img-column {
  position: relative;
}

.spotlight-img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 76, 92, 0.2);
  border: 4px solid #ffffff;
}

.spotlight-img-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.spotlight-badge-floating {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: #ffffff;
  padding: 1.1rem 1.4rem;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
}

.spotlight-text-column h2 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.spotlight-desc {
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.spotlight-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.spotlight-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.spotlight-chip i {
  color: var(--accent);
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* 5. Reviews Premium Section */
.reviews-premium-section {
  background: #ffffff;
}

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

.review-card-premium {
  background: rgba(248, 250, 252, 0.8);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  border: 1.5px solid var(--border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s ease;
}

.review-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px -8px rgba(15, 76, 92, 0.1);
  border-color: rgba(13, 148, 136, 0.3);
  background: #ffffff;
}

.review-stars-box {
  color: #f59e0b;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.review-body-text {
  font-style: italic;
  font-size: 0.96rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.review-user-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.review-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-user-name {
  font-weight: 800;
  color: var(--dark);
  font-size: 0.95rem;
}

.review-user-treatment {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
}

/* 6. Group Premium Section */
.group-premium-section {
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 50%, #f8fafc 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.group-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.group-pillar-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  border: 1.5px solid var(--border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.35s ease;
}

.group-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px -8px rgba(15, 76, 92, 0.12);
  border-color: var(--accent);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.group-pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.pillar-loc-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.group-pillar-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* 7. Booking Section Premium Portal */
.booking-section-premium {
  background: #ffffff;
}

.booking-portal-card {
  background: linear-gradient(135deg, #09313c 0%, #0f4c5c 60%, #0d9488 100%);
  border-radius: 28px;
  padding: 3.5rem;
  box-shadow: 0 25px 50px -12px rgba(15, 76, 92, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.booking-portal-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
  color: #ffffff;
}

.booking-portal-header h2 {
  color: #ffffff;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  margin-top: 0.6rem;
  margin-bottom: 0.8rem;
}

.booking-portal-header p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
}

@media screen and (max-width: 992px) {
  .assurance-grid, .blog-premium-grid, .reviews-premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .group-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spotlight-card-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media screen and (max-width: 768px) {
  .assurance-grid, .blog-premium-grid, .reviews-premium-grid, .group-pillars-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .booking-portal-card {
    padding: 2rem 1.4rem;
    border-radius: 20px;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

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

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

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--dark);
  transition: var(--transition);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

/* Blog Cards */
.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.3);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Patient Reviews Cards */
.review-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

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

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.review-text {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--slate);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal Popup for Adding Review */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 90%;
  max-width: 550px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #64748b;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: #94a3b8;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--white);
}

/* Prevent iOS Auto-Zoom on form input focus */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
  font-size: 16px !important;
  max-width: 100%;
  border-radius: 8px;
}

/* Touch Friendly Self-Assessment Option Labels */
.test-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  margin-bottom: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.92rem;
  font-weight: 500;
  width: 100%;
}

.test-option-label:hover, .test-option-label:has(input:checked) {
  border-color: var(--accent);
  background: #f0fdfa;
  color: var(--primary-dark);
}

.test-option-label input[type="radio"],
.test-option-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

/* Responsive Momentum Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--white);
}

body.menu-open {
  overflow: hidden !important;
}

/* Dynamic Mobile Drawer Overlay & Premium Responsive Styles */
.mobile-nav-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 999995 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.mobile-nav-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Decoupled Standalone Mobile Drawer Panel */
.mobile-drawer-panel {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  transform: translateX(-105%) !important;
  width: 86% !important;
  max-width: 340px !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: #ffffff !important;
  box-shadow: 10px 0 35px rgba(0, 0, 0, 0.28) !important;
  z-index: 999999 !important;
  padding: 1.25rem 1.25rem calc(2.5rem + env(safe-area-inset-bottom, 20px)) 1.25rem !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform !important;
}

.mobile-drawer-panel.active {
  transform: translateX(0) !important;
}

.mdrawer-item {
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  color: var(--dark) !important;
  text-decoration: none !important;
}

.mdrawer-item:hover, .mdrawer-item.active {
  background: #f0fdfa !important;
  color: var(--accent) !important;
}

.mdrawer-acc-item {
  width: 100%;
}

.mdrawer-acc-header {
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  color: var(--dark) !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.mdrawer-acc-header:hover {
  background: #f8fafc !important;
}

.mdrawer-acc-box {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-top: 4px;
}

.mdrawer-acc-item.open .mdrawer-acc-box {
  display: flex !important;
}

.mdrawer-acc-item.open .drop-icon {
  transform: rotate(180deg) !important;
}

/* Mobile Drawer CTAs and Footer */
.mobile-drawer-cta {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: auto !important;
  padding-top: 1.2rem !important;
  border-top: 1px solid var(--border) !important;
}

.mdrawer-btn-book {
  width: 100% !important;
  justify-content: center !important;
  padding: 11px 16px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.22) !important;
}

.mdrawer-btn-wa {
  width: 100% !important;
  justify-content: center !important;
  padding: 10px 16px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  border: 1.5px solid #25d366 !important;
  color: #15803d !important;
  background: #f0fdf4 !important;
}

.mdrawer-btn-wa:hover {
  background: #25d366 !important;
  color: #ffffff !important;
}

.mdrawer-footer-links {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 1rem !important;
  margin-top: 0.4rem !important;
  border-top: 1px dashed var(--border) !important;
}

.mdrawer-social-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

.mdrawer-social-row a {
  color: #64748b !important;
  font-size: 1.15rem !important;
  transition: color 0.2s ease !important;
}

.mdrawer-social-row a:hover {
  color: var(--accent) !important;
}

.mdrawer-admin-link {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 4px 9px !important;
  border-radius: 6px !important;
  background: #f1f5f9 !important;
  transition: all 0.2s ease !important;
}

.mdrawer-admin-link:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   ULTRA-PREMIUM DIAGNOSTIC BANNER SECTION
   ========================================================================== */
.diagnostic-banner-section {
  padding: 3.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.diagnostic-banner-card {
  background: linear-gradient(135deg, #09313c 0%, #0f4c5c 55%, #0d9488 100%);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(13, 148, 136, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    linear-gradient(135deg, #09313c 0%, #0f4c5c 55%, #0d9488 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 40px -10px rgba(15, 76, 92, 0.3);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.diagnostic-info-box {
  color: #ffffff;
}

.diagnostic-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.14);
  color: #5eead4;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}

.diagnostic-info-box h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.diagnostic-info-box p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.diagnostic-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.diagnostic-option-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.diagnostic-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #5eead4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.diagnostic-text-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.diagnostic-option-title {
  font-weight: 800;
  color: #ffffff;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.diagnostic-option-sub {
  font-size: 0.76rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.diagnostic-arrow {
  color: #5eead4;
  margin-left: auto;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.diagnostic-option-card:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.diagnostic-option-card:hover .diagnostic-icon-box {
  background: #0d9488;
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08);
}

.diagnostic-option-card:hover .diagnostic-arrow {
  color: #ffffff;
  transform: translateX(5px);
}

@media screen and (max-width: 992px) {
  .diagnostic-banner-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.2rem 1.8rem;
  }
}

@media screen and (max-width: 576px) {
  .diagnostic-banner-card {
    padding: 1.6rem 1.2rem;
    border-radius: 18px;
  }
  
  .diagnostic-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .diagnostic-option-card {
    padding: 1rem;
  }
}

@media screen and (min-width: 993px) {
  .mobile-drawer-panel, .mobile-nav-backdrop, .mobile-toggle {
    display: none !important;
  }
}

/* Responsive Styles strictly under 992px (Tablet & Mobile Devices) */
@media screen and (max-width: 992px) {
  .desktop-only {
    display: none !important;
  }
  
  .site-header #desktopNav {
    display: none !important;
  }
  
  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    background: #f1f5f9 !important;
    border: 1px solid var(--border) !important;
    font-size: 1.2rem !important;
    color: var(--primary) !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
  }

  .mobile-toggle:hover {
    background: var(--primary-light) !important;
    color: var(--primary-dark) !important;
  }

  .mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
  }

  .mobile-drawer-brand {
    display: flex;
    flex-direction: column;
  }

  .mobile-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    font-size: 1.2rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-drawer-close:hover {
    background: #fee2e2;
    color: #ef4444;
  }

  .nav-icon-mobile {
    display: inline-block;
    width: 22px;
    color: var(--accent);
    margin-right: 8px;
    font-size: 1.05rem;
  }

  .nav-item {
    font-size: 1rem;
    padding: 12px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--dark);
  }

  .nav-item:hover, .nav-item.active {
    background: #f0fdfa;
    color: var(--accent);
  }

  .nav-item.active::after {
    display: none;
  }

  /* Accordion Mobile Submenu */
  .nav-dropdown {
    width: 100%;
    padding: 0;
  }

  .dropdown-box {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--border);
    padding: 6px;
    background: #f8fafc;
    border-radius: 10px;
    margin-top: 4px;
    display: none;
    flex-direction: column;
    gap: 4px;
  }

  .nav-dropdown.open .dropdown-box {
    display: flex;
  }

  .nav-dropdown.open .drop-icon {
    transform: rotate(180deg);
  }

  .drop-link {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
  }

  .drop-link:hover {
    background: #ffffff;
  }

  .mobile-drawer-cta {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
  }

  /* Diagnostic Finder & Spotlight Responsive Layouts */
  .diagnostic-finder-box {
    background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    border: 1.5px solid var(--accent);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .diagnostic-btn-grid {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    max-width: 500px;
  }

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

  /* Layout Grids to prevent zoom-out */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    max-width: 480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1.5rem !important;
    box-sizing: border-box !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .hero-floating-card {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    animation: none;
  }

  .diagnostic-finder-box {
    padding: 1.4rem 1.2rem !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    text-align: center !important;
  }

  .diagnostic-btn-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .diagnostic-btn-grid .btn {
    width: 100% !important;
    padding: 0.75rem 0.6rem !important;
    font-size: 0.82rem !important;
    border-radius: 12px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
  }

  .spotlight-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }

  .spotlight-grid img {
    max-width: 280px !important;
    margin: 0 auto !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Screen Breakpoint (< 768px) */
@media screen and (max-width: 768px) {
  /* Hero Section Mobile Optimization */
  .hero-slider-section {
    padding: 2.2rem 0 2.5rem 0 !important;
  }

  .genz-live-bar {
    display: flex !important;
    justify-content: center !important;
    padding: 6px 14px !important;
    font-size: 0.76rem !important;
    margin-bottom: 1.2rem !important;
    text-align: center !important;
    width: fit-content !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  .hero-content h1 {
    font-size: clamp(1.65rem, 5.5vw, 2.2rem) !important;
    line-height: 1.25 !important;
    margin-bottom: 0.8rem !important;
  }

  .hero-description {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.4rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

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

  .hero-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    height: auto !important;
    padding: 0.8rem 1rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .hero-actions .btn i {
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }

  .hero-actions .btn span {
    display: inline-block !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .hero-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.5rem 1rem !important;
    padding-top: 1rem !important;
    border-top: 1px dashed var(--border) !important;
  }

  .hero-badge-item {
    font-size: 0.78rem !important;
  }

  .hero-media {
    margin-top: 0.8rem !important;
    position: relative !important;
  }

  .hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 auto !important;
    border-radius: 16px !important;
    box-shadow: 0 15px 30px rgba(15, 76, 92, 0.15) !important;
    background: #ffffff !important;
    border: 3px solid #ffffff !important;
  }

  .hero-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  .hero-floating-card {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0.8rem auto 0 auto !important;
    padding: 0.7rem 1rem !important;
    box-shadow: 0 6px 20px rgba(15, 76, 92, 0.1) !important;
    animation: none !important;
  }

  .hero-floating-card.float-secondary {
    display: none !important;
  }

  .genz-mood-box {
    padding: 1.2rem 1rem !important;
    margin-top: 1.5rem !important;
    border-radius: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.9rem !important;
    text-align: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mood-box-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .mood-pills {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mood-pill {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.35 !important;
    border: 1px solid var(--border) !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
  }

  .hero-slider-controls {
    margin-top: 1.2rem !important;
    gap: 0.8rem !important;
  }

  .slider-arrow {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.9rem !important;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .container {
    padding: 0 16px;
  }

  /* Mobile Single-Row Streamlined Top Bar */
  .top-bar {
    padding: 5px 0 !important;
    background: #0f172a !important;
  }

  .top-bar-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .top-info {
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .top-phone-link {
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    color: #e2e8f0 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .top-social {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  .top-wa-pill {
    padding: 2px 9px !important;
    font-size: 0.72rem !important;
    gap: 4px !important;
  }

  .top-wa-pill .wa-label {
    display: inline-block !important;
  }

  /* Seamless Mobile Sticky Header */
  .site-header {
    height: 62px !important;
    max-height: 62px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(15, 76, 92, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  }

  .header-wrapper {
    height: 62px !important;
    max-height: 62px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .site-logo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    height: 42px !important;
    max-height: 42px !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
  }

  .logo-image {
    height: 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
  }

  .logo-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .logo-name {
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    color: var(--primary) !important;
    white-space: nowrap !important;
  }

  .logo-sub {
    display: block !important;
    font-size: 0.44rem !important;
    font-weight: 700 !important;
    color: var(--accent) !important;
    letter-spacing: 0.03em !important;
    margin-top: 1px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .header-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .btn-book {
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    background: var(--accent) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(13, 148, 136, 0.22) !important;
  }

  .btn-text-desktop {
    display: none !important;
  }

  .btn-text-mobile {
    display: inline !important;
  }

  .mobile-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 10px !important;
    background: #f0fdfa !important;
    border: 1.5px solid rgba(13, 148, 136, 0.25) !important;
    color: var(--accent) !important;
    font-size: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(13, 148, 136, 0.08) !important;
  }

  .mobile-toggle:hover, .mobile-toggle:active {
    background: #ccfbf1 !important;
    color: var(--primary) !important;
    transform: scale(0.96) !important;
  }

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

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

  .appointment-box {
    padding: 1.6rem 1.2rem;
  }

  /* Ultra-Premium Site Footer Mobile Layout */
  .site-footer {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    text-align: left;
  }

  .footer-brand {
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: 0.8rem;
    color: #94a3b8;
  }

  .footer-brand .top-social {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 1.2rem !important;
  }

  .footer-brand .top-social a {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    transition: all 0.25s ease !important;
  }

  .footer-brand .top-social a:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    transform: translateY(-2px) !important;
  }

  .footer-col {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 1.2rem 1rem;
  }

  .footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 8px;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 36px;
    height: 2.5px;
    background: var(--accent);
    border-radius: 2px;
  }

  /* Ultra-Premium 2-Column Grid Pills for Mobile Footer Links */
  .footer-links {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .footer-links li {
    margin-bottom: 0 !important;
    width: 100% !important;
  }

  .footer-links a {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.25 !important;
    min-height: 38px !important;
  }

  .footer-links a::before {
    content: '›';
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    flex-shrink: 0;
    line-height: 1;
  }

  .footer-links a:hover, .footer-links a:active {
    background: rgba(13, 148, 136, 0.22) !important;
    border-color: rgba(13, 148, 136, 0.5) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.15) !important;
  }

  .footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0.9rem !important;
    padding-top: 1.8rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-size: 0.82rem !important;
  }

  .footer-bottom-links {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  .footer-bottom-links a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 14px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
  }

  .footer-bottom-links a:hover {
    color: #ffffff !important;
    background: rgba(13, 148, 136, 0.25) !important;
    border-color: var(--accent) !important;
  }

  /* Gen-Z Mood Box Mobile Layout - Full Text Responsive */
  .mood-pills {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    overflow-x: visible !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  .mood-pill {
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0.75rem 0.6rem !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    border: 1px solid var(--border) !important;
    background: #f8fafc !important;
  }
}

/* Extra Small Mobile Devices (< 480px) */
@media screen and (max-width: 480px) {
  .site-header, .header-wrapper {
    height: 58px !important;
    max-height: 58px !important;
  }

  .header-wrapper {
    padding: 0 12px !important;
    gap: 6px !important;
  }

  .site-logo {
    gap: 6px !important;
    height: 38px !important;
    max-height: 38px !important;
  }

  .logo-image {
    height: 32px !important;
    width: 32px !important;
    min-width: 32px !important;
  }

  .logo-name {
    font-size: 1.08rem !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.02em !important;
    color: var(--primary) !important;
    white-space: nowrap !important;
  }

  .logo-sub {
    display: block !important;
    font-size: 0.40rem !important;
    font-weight: 700 !important;
    color: var(--accent) !important;
    letter-spacing: 0.02em !important;
    margin-top: 1px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .header-right {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .btn-book {
    padding: 6px 11px !important;
    font-size: 0.76rem !important;
    border-radius: 50px !important;
    gap: 4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.2) !important;
  }

  .btn-book i {
    font-size: 0.74rem !important;
  }

  .mobile-toggle {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 8px !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
  }

  @media screen and (max-width: 360px) {
    .header-wrapper {
      padding: 0 8px !important;
      gap: 4px !important;
    }

    .site-logo {
      gap: 5px !important;
    }

    .logo-image {
      height: 28px !important;
      width: 28px !important;
      min-width: 28px !important;
    }

    .logo-name {
      font-size: 0.98rem !important;
    }

    .logo-sub {
      font-size: 0.36rem !important;
      letter-spacing: 0.01em !important;
    }

    .btn-book {
      padding: 5px 8px !important;
      font-size: 0.70rem !important;
    }

    .mobile-toggle {
      width: 34px !important;
      height: 34px !important;
      min-width: 34px !important;
    }
  }

  /* Hero Actions Stacked Full Width - Permanent Solution for Full Button Text */
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 1.5rem !important;
    box-sizing: border-box !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 48px !important;
    height: auto !important;
    padding: 0.85rem 1.2rem !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
    box-sizing: border-box !important;
  }

  .hero-actions .btn i {
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
  }

  .hero-actions .btn span {
    display: inline-block !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
  }

  .mood-pills {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  .mood-pill {
    padding: 0.8rem 1rem !important;
    font-size: 0.82rem !important;
    border-radius: 12px !important;
  }

  .hero-badges {
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
  }

  .whatsapp-float {
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    right: 18px;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   Conditions Unique Architecture Styles
   ========================================================================== */

.condition-hero-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 2.5rem;
}

@media (max-width: 850px) {
  .condition-hero-split {
    grid-template-columns: 1fr;
    padding: 1.8rem;
    gap: 2rem;
  }
}

.condition-urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.9rem;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}

.condition-meter-card {
  background: linear-gradient(135deg, #0f4c5c 0%, #09313c 100%);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 15px 35px -5px rgba(15, 76, 92, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.meter-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5eead4;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.severity-bar-wrapper {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  margin: 1rem 0 0.6rem 0;
  overflow: hidden;
  position: relative;
}

.severity-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #5eead4 0%, #f59e0b 50%, #f87171 100%);
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

.severity-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #cbd5e1;
  font-weight: 700;
}

.symptom-somatic-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .symptom-somatic-split {
    grid-template-columns: 1fr;
  }
}

.symptom-card-box {
  background: #ffffff;
  border-radius: 22px;
  padding: 2.2rem;
  border: 1.5px solid var(--border);
  box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.04);
}

.somatic-card-box {
  background: #f0fdfa;
  border-radius: 22px;
  padding: 2.2rem;
  border: 1.5px solid rgba(13, 148, 136, 0.25);
  box-shadow: 0 8px 25px -5px rgba(13, 148, 136, 0.06);
}

.timeline-wrapper {
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--accent);
  margin-left: 1rem;
}

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

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.65rem;
  top: 0.2rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.timeline-phase {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

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

.timeline-desc {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Ultra-Premium Footer Contact Ribbon & Structured Box
   ========================================================================== */

.footer-contact-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.8rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.f-contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: inherit;
}

.f-contact-card:hover {
  background: rgba(13, 148, 136, 0.15);
  border-color: rgba(13, 148, 136, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.2);
}

.f-contact-wa {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
}

.f-contact-wa:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.2);
}

.f-contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.2);
  color: #5eead4;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(13, 148, 136, 0.3);
}

.f-contact-wa .f-contact-icon {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.3);
}

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

.f-contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 2px;
}

.f-contact-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-contact-details-box {
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.2rem;
}

.f-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
}

.f-detail-item i {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
}

.f-detail-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
}

.f-detail-item a {
  color: #5eead4;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.f-detail-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.f-detail-item span {
  color: #cbd5e1;
  font-weight: 600;
  line-height: 1.4;
}

/* Mobile Responsiveness for Footer Contact */
@media screen and (max-width: 992px) {
  .footer-contact-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
  }
}

@media screen and (max-width: 576px) {
  .footer-contact-ribbon {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .f-contact-card {
    padding: 0.9rem 1rem;
  }

  .f-contact-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .f-contact-val {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   CV Upload Dropzone & Doctor Registration Form Enhancements
   ========================================================================== */

.cv-upload-dropzone {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(13, 148, 136, 0.5);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cv-upload-dropzone:hover {
  background: rgba(13, 148, 136, 0.12);
  border-color: #5eead4;
}

.cv-upload-dropzone input[type="file"] {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

/* ==========================================================================
   UNIVERSAL COMPREHENSIVE MOBILE-RESPONSIVE ENGINE (320px - 768px - 992px)
   Guarantees 100% fluid responsiveness across all phones, tablets & desktop.
   ========================================================================== */

/* Universal Responsive Base Grid & Container Classes */
.contact-grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.psych-stats-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

.clinicians-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.leader-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  align-items: stretch;
}

.doctor-form-container {
  padding: 3.2rem 2.8rem;
}

.test-contact-row {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.test-scale-options {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.btn-submit-responsive {
  padding: 1.05rem 2.5rem !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.3s ease !important;
}

/* --------------------------------------------------------------------------
   Medium Devices & Tablets (max-width: 992px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 992px) {
  .clinicians-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }

  .leader-card-grid {
    grid-template-columns: 1fr !important;
  }

  .leader-card-grid > div:first-child {
    border-bottom: 2px solid rgba(13, 148, 136, 0.3) !important;
  }

  .contact-grid-split {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .publications-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  }

  div[style*="minmax(4"] {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   Mobile Devices & Small Screens (max-width: 768px)
   Zero overflow, single-column graceful stacking, normalized touch targets.
   -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  /* Prevent horizontal page blowouts */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative !important;
  }

  *, *::before, *::after {
    box-sizing: border-box !important;
  }

  .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  section {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  /* Force all multi-column grids to 1 column */
  .contact-grid-split,
  .psych-doctors-grid,
  #doctors-grid,
  #blog-grid,
  .cards-grid,
  .clinicians-cards-grid,
  .publications-grid,
  .leader-card-grid,
  .test-contact-row,
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: repeat(3, 1fr)"],
  div[style*="grid-template-columns: repeat(2, 1fr)"],
  div[style*="minmax(3"],
  div[style*="minmax(4"],
  div[style*="minmax(28"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  /* Compact excessive card padding */
  .appointment-box,
  .doctor-form-container,
  #doctor-form-card,
  .leader-card,
  .booking-portal-card,
  .symptom-card-box,
  .somatic-card-box,
  .condition-hero-split,
  .diagnostic-banner-card,
  div[style*="padding: 3rem"],
  div[style*="padding: 3.2rem"],
  div[style*="padding: 2.8rem"],
  div[style*="padding: 2.5rem"] {
    padding: 1.5rem 1.1rem !important;
    border-radius: 18px !important;
  }

  .leader-card > div > div:not([style*="max-width"]) {
    padding: 1.5rem 1.1rem !important;
  }

  /* Button text wrapping, sizing & thumb targets */
  button,
  .btn,
  a.btn,
  input[type="submit"],
  .btn-submit-responsive {
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .btn-submit-responsive {
    width: 100% !important;
    padding: 0.95rem 1.2rem !important;
    font-size: 0.96rem !important;
    border-radius: 12px !important;
  }

  /* Fluid Form inputs and stop iOS Safari auto-zoom on focus */
  .form-control,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  input[type="file"],
  select,
  textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
  }

  .phone-prefix-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .phone-prefix-row select {
    width: 115px !important;
    flex-shrink: 0 !important;
    font-size: 0.82rem !important;
    padding: 0.5rem 0.4rem !important;
  }

  .phone-prefix-row input {
    flex: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  /* Smooth horizontal scrolling for timetables & wide data tables */
  .table-responsive {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    margin: 0 0 1rem 0 !important;
    border-radius: 14px !important;
    border: 1px solid var(--border) !important;
  }

  .timetable-custom-table th,
  .timetable-custom-table td {
    white-space: nowrap !important;
    padding: 10px 12px !important;
    font-size: 0.82rem !important;
  }

  /* Filter buttons flex wrapping */
  #specialty-filters,
  #blog-category-filters,
  #blog-category-filters,
  .diagnostic-btn-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .filter-tab,
  .blog-tab,
  .faq-pill {
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    border-radius: 50px !important;
  }

  /* Touch-friendly interactive details / accordion summary */
  details summary {
    font-size: 0.98rem !important;
    padding: 1rem 1.1rem !important;
    line-height: 1.4 !important;
  }

  details > div {
    padding: 0.8rem 1.1rem 1.1rem 1.1rem !important;
    font-size: 0.92rem !important;
  }

  /* Responsive image scaling */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Extra-Small Mobile Phones (max-width: 480px / 320px - 375px)
   -------------------------------------------------------------------------- */
@media screen and (max-width: 480px) {
  .container {
    padding-left: 11px !important;
    padding-right: 11px !important;
  }

  /* Typography scale down for compact screens */
  h1 {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem) !important;
    line-height: 1.22 !important;
  }

  h2 {
    font-size: clamp(1.3rem, 5.2vw, 1.6rem) !important;
    line-height: 1.25 !important;
  }

  h3 {
    font-size: clamp(1.1rem, 4.4vw, 1.3rem) !important;
  }

  /* Psychologist trio stats bar stacks cleanly */
  .psych-stats-trio {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }

  /* Impact ribbon 2x2 grid on small screens */
  div[style*="max-width: 860px"][style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 1rem 0.8rem !important;
    text-align: center !important;
  }

  /* Take test options scale stack into 1 column */
  .test-scale-options {
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
  }

  .test-scale-options label {
    padding: 0.75rem 0.85rem !important;
    font-size: 0.82rem !important;
  }

  /* Stack phone prefix select over input on extra small screens */
  .phone-prefix-row {
    flex-direction: column !important;
    gap: 6px !important;
  }

  .phone-prefix-row select {
    width: 100% !important;
  }

  /* Filter tabs compact padding */
  .filter-tab,
  .blog-tab,
  .faq-pill {
    padding: 5px 9px !important;
    font-size: 0.74rem !important;
  }

  /* Card paddings for extra narrow screens */
  .card,
  .appointment-box,
  .doctor-form-container,
  #doctor-form-card,
  .leader-card,
  .symptom-card-box,
  .somatic-card-box {
    padding: 1.2rem 0.85rem !important;
    border-radius: 15px !important;
  }

  .leader-card > div > div:not([style*="max-width"]) {
    padding: 1.2rem 0.85rem !important;
  }

  /* CV Dropzone on mobile */
  .cv-upload-dropzone {
    padding: 1.4rem 0.9rem !important;
    border-radius: 14px !important;
  }

  .cv-upload-dropzone input[type="file"] {
    font-size: 0.8rem !important;
  }
}

/* ========================================================
   PROF. OSAMA RAZA - ACADEMIC PORTFOLIO & RESEARCH STYLES
   ======================================================== */
.portfolio-hero-wrap {
  background: linear-gradient(135deg, #072129 0%, #0f4c5c 55%, #0d9488 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.portfolio-hero-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12) 0%, rgba(15, 76, 92, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.portfolio-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.portfolio-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(94, 234, 212, 0.15);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.35);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.portfolio-hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 0.6rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.portfolio-hero-subtitle {
  font-size: 1.22rem;
  font-weight: 600;
  color: #99f6e4;
  margin-bottom: 1.1rem;
  line-height: 1.45;
}

.portfolio-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.4rem;
}

.portfolio-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 500;
}

.portfolio-hero-quote {
  border-left: 3px solid #5eead4;
  padding-left: 1.2rem;
  font-style: italic;
  font-size: 1.08rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  background: rgba(15, 23, 42, 0.25);
  padding: 1rem 1.2rem;
  border-radius: 0 10px 10px 0;
}

.portfolio-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.portfolio-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.portfolio-btn-primary {
  background: #0d9488;
  color: #ffffff;
  border: 1px solid #14b8a6;
}

.portfolio-btn-primary:hover {
  background: #0f766e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(13, 148, 136, 0.35);
}

.portfolio-btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.portfolio-btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Profile Photo Card */
.portfolio-photo-card {
  background: #0f172a;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(94, 234, 212, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  position: relative;
  text-align: center;
}

.portfolio-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #091319;
}

.portfolio-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.portfolio-verified-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.portfolio-photo-footer {
  padding: 1.4rem;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-photo-footer .orcid-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a3e635;
  font-weight: 600;
  font-size: 0.84rem;
  text-decoration: none;
  background: rgba(163, 230, 53, 0.1);
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid rgba(163, 230, 53, 0.25);
}

.portfolio-photo-footer .orcid-link:hover {
  background: rgba(163, 230, 53, 0.2);
}

/* Metric Counters Ribbon */
.portfolio-metrics-ribbon {
  background: #091a21;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.8rem 0;
}

.portfolio-metrics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.portfolio-metric-item h4 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #5eead4;
  margin-bottom: 2px;
  letter-spacing: -0.5px;
}

.portfolio-metric-item p {
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Sticky In-Page Navigation */
.portfolio-nav-bar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.portfolio-nav-links {
  display: flex;
  gap: 1.8rem;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.85rem 0;
  scrollbar-width: none;
}

.portfolio-nav-links::-webkit-scrollbar {
  display: none;
}

.portfolio-nav-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s ease;
}

.portfolio-nav-link:hover,
.portfolio-nav-link.active {
  color: #0d9488;
}

.portfolio-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -0.85rem;
  left: 0;
  right: 0;
  height: 2px;
  background: #0d9488;
}

/* Layout Container for Sections */
.portfolio-body-container {
  padding: 3.5rem 0 5rem;
}

.portfolio-section-block {
  margin-bottom: 4rem;
  scroll-margin-top: 70px;
}

.portfolio-sec-head {
  margin-bottom: 1.8rem;
}

.portfolio-sec-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 4px;
}

.portfolio-sec-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.portfolio-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 4px 18px rgba(15, 76, 92, 0.04);
  line-height: 1.75;
  color: #334155;
  font-size: 1rem;
}

.portfolio-content-card p {
  margin-bottom: 1.2rem;
}

.portfolio-content-card p:last-child {
  margin-bottom: 0;
}

/* Theory & Scholarly Box */
.portfolio-theory-box {
  background: linear-gradient(135deg, #092c35 0%, #0f4c5c 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 76, 92, 0.15);
}

.portfolio-theory-box h3 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.portfolio-theory-box p {
  color: #e2e8f0;
  line-height: 1.7;
}

.portfolio-citation-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 10px;
  padding: 1.2rem;
  margin-top: 1.6rem;
  position: relative;
}

.portfolio-citation-card pre {
  margin: 0;
  color: #5eead4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Psychometric Scales Grid */
.portfolio-scales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.4rem;
}

.scale-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.3rem;
  transition: all 0.2s ease;
  position: relative;
}

.scale-card:hover {
  transform: translateY(-3px);
  border-color: #0d9488;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.08);
  background: #ffffff;
}

.scale-code-badge {
  display: inline-block;
  background: #0f4c5c;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.scale-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}

.scale-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

/* Feature Grid for Clinical Suite */
.portfolio-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.4rem;
}

.feature-pill-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1rem 1.2rem;
  border-radius: 10px;
}

.feature-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.feature-pill-text h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.feature-pill-text p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* Timeline Components */
.portfolio-timeline {
  position: relative;
  padding-left: 2rem;
  margin-top: 1.2rem;
}

.portfolio-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #cbd5e1;
}

.timeline-entry {
  position: relative;
  margin-bottom: 1.8rem;
}

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

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0d9488;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #0d9488;
}

.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.timeline-sub {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 6px;
}

/* Research Tags Cluster */
.portfolio-research-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.2rem;
}

.research-pill {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Mobile Responsiveness for Portfolio */
@media screen and (max-width: 992px) {
  .portfolio-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .portfolio-photo-card {
    max-width: 420px;
    margin: 0 auto;
  }
  .portfolio-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  .portfolio-scales-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .portfolio-hero-wrap {
    padding: 3rem 0 2.5rem;
  }
  .portfolio-hero-title {
    font-size: 2.1rem;
  }
  .portfolio-hero-subtitle {
    font-size: 1.05rem;
  }
  .portfolio-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .portfolio-metric-item h4 {
    font-size: 1.55rem;
  }
  .portfolio-scales-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-content-card {
    padding: 1.5rem 1.1rem;
  }
  .portfolio-theory-box {
    padding: 1.6rem 1.1rem;
  }
  .portfolio-sec-title {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 480px) {
  .portfolio-hero-title {
    font-size: 1.8rem;
  }
  .portfolio-hero-links {
    flex-direction: column;
    align-items: stretch;
  }
  .portfolio-btn {
    justify-content: center;
  }
}

/* ========================================================
   CONTACT & BOOKING APPOINTMENT RESPONSIVE OPTIMIZATION
   ======================================================== */
.contact-container-wide {
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
}

.booking-portal-responsive {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 2.8rem 2.4rem !important;
  border: 1.5px solid var(--border) !important;
  box-shadow: 0 20px 45px -10px rgba(15, 76, 92, 0.08) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media screen and (max-width: 992px) {
  .contact-container-wide {
    padding: 0 14px !important;
  }
  .booking-portal-responsive {
    padding: 2rem 1.5rem !important;
    border-radius: 20px !important;
  }
}

@media screen and (max-width: 768px) {
  .contact-page-section {
    padding: 2.2rem 0 !important;
  }
  .contact-container-wide {
    padding: 0 10px !important;
  }
  .booking-portal-responsive {
    padding: 1.5rem 1rem !important;
    border-radius: 16px !important;
  }
  .contact-grid-split {
    gap: 1.4rem !important;
    margin-bottom: 2rem !important;
  }
  .doctor-card-item > div:first-child {
    padding: 1.2rem 1rem !important;
  }
  .doctor-card-item > div:last-child {
    padding: 0.9rem !important;
  }
}

@media screen and (max-width: 480px) {
  .contact-page-section {
    padding: 1.6rem 0 !important;
  }
  .contact-container-wide {
    padding: 0 6px !important;
  }
  .booking-portal-responsive {
    padding: 1.2rem 0.75rem !important;
    border-radius: 14px !important;
  }
  .doctor-card-item > div:first-child {
    padding: 1rem 0.75rem !important;
  }
  .doctor-card-item > div:last-child {
    padding: 0.8rem 0.75rem !important;
  }
}

