/* -------------------------------------------------------------
 * LUV KUSH NURSING HOME - CUSTOM FLAT MODERN DESIGN SYSTEM
 * ------------------------------------------------------------- */

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS VARIABLES */
:root {
  /* Colors */
  --primary: #0f172a;          /* Navy Slate */
  --primary-light: #1e293b;
  --accent: #0d9488;           /* Healing Teal */
  --accent-hover: #0f766e;
  --accent-light: #ccfbf1;
  --secondary: #d97706;        /* Warm Gold */
  --secondary-light: #fef3c7;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  
  --border-color: #e2e8f0;
  --border-focus: #0d9488;
  --border-error: #ef4444;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Dimensions & Scales */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.04), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  
  --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.bg-alt {
  background-color: var(--bg-secondary);
}

.text-center {
  text-align: center;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

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

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

.btn-outline:hover {
  border-color: var(--primary);
  background-color: var(--bg-tertiary);
}

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

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

.btn-emergency {
  background-color: #ef4444;
  color: white;
  border-color: #ef4444;
}

.btn-emergency:hover {
  background-color: #dc2626;
  border-color: #dc2626;
}

/* SECTION HEADER */
.section-header {
  max-width: 650px;
  margin: 0 auto 4rem auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  background-color: var(--accent-light);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

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

/* STICKY HEADER & NAVBAR */
/* BRAND & ACTION HEADER */
.brand-header {
  display: none; /* hidden on PC/desktop by default */
  background-color: white;
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
  transition: var(--transition-smooth);
}

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

.brand-logo {
  text-decoration: none;
}

.header-actions {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background-color: white;
  padding: 1.5rem 0.85rem;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  border: 1px solid var(--border-color);
  border-right: none;
  transition: var(--transition-smooth);
}

.header-actions:hover {
  box-shadow: 0 10px 40px rgba(13, 148, 136, 0.2);
}

.header-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  width: 65px;
}

.header-action-item .action-icon {
  width: 42px;
  height: 42px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.header-action-item .action-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-heading);
}

/* WhatsApp Icon Styling */
.header-action-item.whatsapp .action-icon {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.header-action-item.whatsapp:hover .action-icon {
  background-color: #22c55e;
  color: white;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.header-action-item.whatsapp:hover .action-label {
  color: #22c55e;
}

/* Emergency Icon Styling (pulsing red) */
.header-action-item.emergency .action-icon {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  position: relative;
}

.header-action-item.emergency .action-icon.pulsing::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  border: 2px solid #ef4444;
  animation: pulseEmergency 2s infinite;
  opacity: 0;
}

@keyframes pulseEmergency {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

.header-action-item.emergency:hover .action-icon {
  background-color: #ef4444;
  color: white;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.header-action-item.emergency:hover .action-label {
  color: #ef4444;
}

/* Contact Icon Styling */
.header-action-item.contact .action-icon {
  background-color: rgba(13, 148, 136, 0.1);
  color: var(--accent);
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.header-action-item.contact:hover .action-icon {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.header-action-item.contact:hover .action-label {
  color: var(--accent);
}

.navbar {
  position: sticky;
  top: 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

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

#nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

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

.logo-icon {
  background-color: var(--accent);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

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

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-left: auto; /* push the menu to the right to prevent overlap with logo */
  margin-right: 2rem; /* generous spacing between menu links and actions */
}

.navbar-btn {
  display: none; /* hidden inside menu list on desktop since the actions group has it */
}

/* Unified Desktop Header Actions Group */
.navbar-actions-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-action-item {
  width: 38px;
  height: 38px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.nav-action-item.whatsapp {
  background-color: rgba(34, 197, 94, 0.08);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.nav-action-item.whatsapp:hover {
  background-color: #22c55e;
  color: white;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.25);
  transform: translateY(-1px);
}

.nav-action-item.emergency {
  background-color: rgba(239, 68, 68, 0.08);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.nav-action-item.emergency:hover {
  background-color: #ef4444;
  color: white;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.25);
  transform: translateY(-1px);
}

.nav-action-item.emergency .pulsing {
  animation: pulseEmergencyShort 2s infinite;
}

@keyframes pulseEmergencyShort {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.nav-book-btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 6px;
}

.nav-link {
  font-weight: 550;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
}

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

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

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

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

/* HERO SECTION - REBUILT TO MATCH 12.html BANNER OVERLAY */
.hero {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
}

.hero-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 30%, rgba(15, 23, 42, 0.7) 60%, rgba(15, 23, 42, 0.3) 100%);
  z-index: 2;
}

.hero-container-overlay {
  position: relative;
  z-index: 3;
}

.hero-banner-content {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.825rem;
  margin-bottom: 0.5rem;
}

.hero-tag i {
  color: var(--accent-light);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.6;
}

/* DYNAMIC HERO SEARCH BAR */
.hero-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-top: 1.25rem;
}

.search-input-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: white;
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.25rem 0.25rem 1rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.search-icon {
  color: var(--text-muted);
  font-size: 1.15rem;
}

.hero-search-input {
  border: none;
  outline: none;
  background: transparent;
  flex-grow: 1;
  font-size: 1rem;
  color: var(--text-dark);
  padding: 0.75rem 0;
  min-width: 100px;
}

/* Prevent zoom on focus on iOS */
@media (max-width: 768px) {
  .hero-search-input {
    font-size: 16px;
  }
}

.hero-search-wrapper button {
  height: 46px;
  padding: 0 1.75rem;
  font-size: 0.95rem;
}

.search-suggestions-box {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  z-index: 110;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.search-suggestions-box.active {
  display: flex;
}

.suggestion-row {
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.suggestion-row:last-child {
  border-bottom: none;
}

.suggestion-row:hover {
  background-color: var(--bg-secondary);
  color: var(--accent);
}

.suggestion-row small {
  color: var(--text-muted);
  margin-left: 0.5rem;
}

/* HERO ACTIONS LAYOUT AND BUTTON CONTRAST */
.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-top: 1.5rem;
  width: 100%;
}

.btn-hero-cta {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-hero-explore {
  padding: 1rem 2.25rem;
  font-size: 1.1rem;
  color: white !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.btn-hero-explore:hover {
  color: var(--primary) !important;
  border-color: white !important;
  background-color: white !important;
}

/* EMERGENCY QUICK ACTION BAR */
.quick-actions-bar {
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

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

.action-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition-smooth);
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.action-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-tertiary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.action-card.emergency-card .action-card-icon {
  background-color: #fee2e2;
  color: #ef4444;
}

.action-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.action-card p {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.action-card .card-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.action-card.emergency-card .card-link {
  color: #ef4444;
}

.action-card .card-link:hover i {
  transform: translateX(4px);
}

.action-card .card-link i {
  transition: var(--transition-smooth);
}

/* DYNAMIC KEYWORDS & A-Z PROCEDURES SEARCH SECTION */
.search-specialty-section {
  background-color: white;
  border-bottom: 1px solid var(--border-color);
}

.keyword-tags-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.tags-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tags-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.keyword-tag {
  display: inline-block;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  letter-spacing: 0.03em;
}

.keyword-tag:hover {
  border-color: var(--accent);
  background-color: var(--accent-light);
  color: var(--accent-hover);
  transform: translateY(-1px);
}



/* ABOUT SECTION */
.about .container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: center;
}

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

/* ABOUT CAROUSEL SLIDER STYLING */
.about-slider {
  position: relative;
  width: 100%;
  height: 418px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: white;
  padding: 0.75rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.about-slider:hover {
  box-shadow: var(--shadow-lg);
}

.about-slides-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 4px);
}

.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  z-index: 1;
}

.about-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 4px);
}

/* Glassmorphism Slide Caption */
.slide-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 3;
}

.slide-caption i {
  color: var(--accent);
}

/* Slider controls overlay */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.slider-control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
  pointer-events: auto;
  opacity: 0;
}

.about-slider:hover .slider-control-btn {
  opacity: 1;
}

.slider-control-btn:hover {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

/* Slider Indicator Dots overlay */
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
  pointer-events: auto;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50px;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.dot.active {
  background-color: var(--accent);
  width: 20px;
  box-shadow: 0 0 6px rgba(13, 148, 136, 0.5);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-stat-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.about-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-list {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
}

.about-list-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* CO-FOUNDERS & DIRECTORS SECTION */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.founder-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.founder-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.founder-image-wrapper {
  width: 42%;
  flex-shrink: 0;
  overflow: hidden;
}

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

.founder-card:hover .founder-image-wrapper img {
  transform: scale(1.03);
}

.founder-info {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.75rem;
}

.founder-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-hover);
  background-color: var(--accent-light);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.founder-info h3 {
  font-size: 1.35rem;
  color: var(--primary);
}

.founder-credentials {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
}

.founder-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0.25rem 0 0.5rem 0;
}

.founder-cta {
  width: 100%;
}

.founder-cta .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  width: 100%;
}



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

.service-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  background-color: var(--accent);
  color: white;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  width: 100%;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-feature-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.service-feature-tag i {
  color: var(--accent);
  font-size: 0.8rem;
}

/* INTERACTIVE CARE-MATCH SCHEDULER WIDGET */
.scheduler-widget {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.scheduler-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3.5rem;
}

.scheduler-steps-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.widget-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.widget-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50px;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.widget-step-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

/* STEP 1: DEPARTMENTS GRID */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.dept-btn {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.25rem 0.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.dept-btn i {
  font-size: 1.5rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.dept-btn span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.dept-btn:hover {
  border-color: var(--accent);
  background-color: var(--bg-secondary);
}

.dept-btn.active {
  border-color: var(--accent);
  background-color: var(--accent-light);
}

.dept-btn.active i {
  color: var(--accent);
}

.dept-btn.active span {
  color: var(--accent-hover);
}

/* STEP 2: DOCTOR SELECTOR */
.doctors-selection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.doc-select-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.doc-select-card:hover {
  border-color: var(--accent);
  background-color: var(--bg-secondary);
}

.doc-select-card.active {
  border-color: var(--accent);
  background-color: var(--accent-light);
}

.doc-select-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  background-color: var(--bg-tertiary);
}

.doc-select-card.active .doc-select-avatar {
  border-color: var(--accent);
}

.doc-select-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.doc-select-info .doc-specialty {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.doc-select-info .doc-experience {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.doc-select-card.active .doc-select-info .doc-experience {
  color: var(--accent-hover);
}

/* STEP 3: DATE & TIME */
.schedule-datetime-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.calendar-input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calendar-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.custom-date-picker {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.custom-date-picker:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.slots-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slots-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.slots-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.slot-btn {
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background-color: white;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  transition: var(--transition-smooth);
}

.slot-btn:hover:not(.disabled) {
  border-color: var(--accent);
  background-color: var(--bg-secondary);
}

.slot-btn.active {
  border-color: var(--accent);
  background-color: var(--accent);
  color: white;
}

.slot-btn.disabled {
  background-color: var(--bg-tertiary);
  color: var(--text-muted);
  border-color: var(--border-color);
  cursor: not-allowed;
  opacity: 0.5;
}

/* SCHEDULER SIDEBAR: SUMMARY */
.scheduler-sidebar {
  border-left: 1px solid var(--border-color);
  padding-left: 3.5rem;
  display: flex;
  flex-direction: column;
}

.summary-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.summary-card h3 {
  font-size: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex-grow: 1;
}

.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.summary-item-icon {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.summary-item-text {
  display: flex;
  flex-direction: column;
}

.summary-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.summary-item-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.summary-item-value.placeholder {
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
}

.btn-book-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1rem;
  background-color: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-book-submit:hover {
  background-color: var(--accent-hover);
}

/* SUCCESS MODAL POPUP */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-content {
  background-color: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 3rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

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

.modal-success-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem auto;
}

.modal-content h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.modal-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rating-stars {
  display: flex;
  gap: 0.25rem;
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
  background-color: var(--bg-tertiary);
}

.testimonial-user-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-user-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* CONTACT & LOCATION SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-form-wrapper {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-form-wrapper p {
  font-size: 0.925rem;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

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

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

.form-control {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  width: 100%;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-status-msg {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status-msg.success {
  display: block;
  background-color: var(--accent-light);
  color: var(--accent-hover);
  border: 1px solid var(--accent);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p {
  font-size: 0.875rem;
}

/* FLAT MAP MOCKUP */
.map-mockup {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 280px;
  background-color: var(--bg-tertiary);
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}

.map-icon {
  font-size: 2.5rem;
  color: var(--accent);
  animation: bouncePin 2s infinite ease-in-out;
}

.map-placeholder h4 {
  font-size: 1.1rem;
}

.map-placeholder p {
  font-size: 0.85rem;
  max-width: 320px;
}

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

/* FOOTER */
.footer-top {
  background-color: var(--primary);
  color: white;
  padding: 5rem 0 3rem 0;
  border-bottom: 1px solid var(--primary-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-col .logo-title {
  color: white;
}

.footer-col .logo-subtitle {
  color: #94a3b8;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--accent);
  color: white;
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #334155;
  padding-bottom: 0.5rem;
}

.footer-hours-list span:last-child {
  color: white;
  font-weight: 600;
}

.footer-credentials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.credential-item {
  border: 1px solid #334155;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  text-align: center;
  flex-grow: 1;
}

.credential-item span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: #64748b;
  margin-top: 0.15rem;
}

.footer-bottom {
  background-color: #020617;
  color: #64748b;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

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

/* RESPONSIVE DESIGN (MOBILE & TABLET) */
/* MOBILE DRAWER OVERLAY BACKDROP */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

/* APPOINTMENT DETAILED MODAL SUMMARY */
.modal-summary-injection {
  text-align: left;
  background-color: var(--bg-tertiary);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-summary-injection div {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.modal-summary-injection div strong {
  color: var(--primary);
  font-weight: 700;
}

.modal-summary-injection .slot-time-highlight {
  color: var(--accent);
  font-weight: 800;
}

.modal-summary-injection .modal-location-footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

.modal-summary-injection .modal-location-footer span {
  color: var(--text-muted);
}

.location-badge-top {
  background-color: var(--accent-light);
  color: var(--accent-hover) !important;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* RESPONSIVE DESIGN (MOBILE & TABLET) */
@media (max-width: 1024px) {
  .hero {
    min-height: 500px;
    padding: 4rem 0;
    text-align: center;
  }
  
  .hero-banner-overlay {
    background: radial-gradient(circle, rgba(15, 23, 42, 0.92) 20%, rgba(15, 23, 42, 0.8) 60%, rgba(15, 23, 42, 0.5) 100%);
  }

  .hero-banner-content {
    align-items: center;
    max-width: 100%;
  }
  
  .quick-actions-bar {
    margin-top: 3rem;
  }
  
  .quick-actions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  

  
  .scheduler-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .scheduler-sidebar {
    border-left: none;
    padding-left: 0;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    padding: 4rem 2rem 2rem 2rem;
    gap: 1.25rem;
    align-items: flex-start;
    justify-content: flex-start;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: slideInMenu 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  @keyframes slideInMenu {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex !important;
    width: 36px;
    height: 36px;
    border-radius: 50px;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    background-color: rgba(15, 23, 42, 0.05);
    color: var(--primary);
    border: 1px solid rgba(15, 23, 42, 0.1);
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 1001;
  }

  .nav-toggle:hover {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
  }

  /* Hide duplicate second navbar on mobile completely, except let menu open */
  .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    padding: 0 !important;
    margin: 0;
    border: none !important;
    background: transparent !important;
    overflow: visible;
    box-shadow: none !important;
    pointer-events: none;
  }

  .navbar .container {
    display: block !important;
    width: 0;
    height: 0;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    overflow: visible;
    box-shadow: none !important;
  }

  #nav-logo {
    display: none !important;
  }

  #nav-menu {
    pointer-events: auto;
  }
  
  .brand-header {
    display: block !important; /* show top action bar on mobile */
  }

  .nav-menu {
    margin: 0 !important;
  }

  .navbar-btn {
    display: block !important; /* show book now button in the drawer */
  }

  .navbar-actions-group {
    display: none !important; /* hide unified actions group on mobile */
  }
  
  /* Hero Phone Fine-tuning */
  .hero {
    min-height: 480px;
    padding: 5rem 0;
    text-align: center;
  }

  .hero-banner-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0.75) 80%, rgba(15, 23, 42, 0.45) 100%);
  }

  .hero-banner-content {
    align-items: center;
    text-align: center;
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    color: rgba(248, 250, 252, 0.85);
    margin-bottom: 1rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column !important;
    gap: 0.75rem;
    width: 100%;
    max-width: 320px;
    align-items: center;
    margin: 1.25rem auto 0 auto;
  }

  .hero-actions .btn {
    width: 100% !important;
    max-width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 48px;
    font-size: 0.95rem;
    margin: 0;
  }


  
  /* Scheduler Mobile Refinements */
  .scheduler-widget {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }

  .dept-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .dept-btn {
    padding: 1rem 0.25rem;
    min-height: 48px;
    gap: 0.5rem;
  }

  .dept-btn span {
    font-size: 0.75rem;
  }
  
  .doctors-selection-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .doc-select-card {
    padding: 0.75rem;
    min-height: 48px;
    gap: 0.75rem;
  }

  .doc-select-avatar {
    width: 46px;
    height: 46px;
  }

  .doc-select-info h4 {
    font-size: 0.9rem;
  }
  
  .schedule-datetime-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  


  .founder-card {
    flex-direction: column;
  }

  .founder-image-wrapper {
    width: 100%;
    height: 280px;
  }

  .founder-info {
    padding: 1.5rem;
    width: 100%;
    align-items: stretch;
    text-align: left;
  }

  .founder-bio {
    font-size: 0.875rem;
    line-height: 1.4;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .brand-header-container {
    padding: 0 1rem;
  }

  .header-actions {
    position: static !important;
    transform: none !important;
    flex-direction: row !important;
    background-color: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    gap: 0.85rem !important;
    width: auto !important;
  }

  .header-action-item {
    width: auto !important;
    gap: 0.25rem !important;
  }

  .header-action-item .action-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.05rem !important;
  }

  .header-action-item .action-label {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
  }

  .btn, .slot-btn, .form-control {
    min-height: 48px;
  }
}

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

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

  .section-title {
    font-size: 1.6rem;
  }

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

  .logo-title {
    font-size: 1.15rem;
  }

  .logo-subtitle {
    font-size: 0.65rem;
  }
  .about-slider {
    height: 280px;
  }
  .founder-info {
    padding: 1.5rem;
  }



  .scheduler-sidebar {
    padding: 1rem;
  }
}
