/* ==========================================================================
   ALPHA NURSING HOME & DIAGNOSTIC CENTRE - Core Design System
   ========================================================================== */

:root {
  /* Colors */
  --primary: #0a737f;        /* Deep clinical teal */
  --primary-hover: #07565f;
  --primary-light: #e6f6f7;
  --accent: #2a6fdb;         /* Medical royal blue */
  --accent-light: #ebf2fe;
  --success: #10b981;        /* Wellness green */
  --success-light: #e6fcf5;
  --warning: #f59e0b;
  --danger: #ef4444;         /* Emergency red */
  --danger-light: #fee2e2;
  
  /* Neutral Palette */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;        /* Sleek slate blue */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  
  /* Text Colors */
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-primary: #0a737f;

  /* Typography */
  --font-en: 'Outfit', sans-serif;
  --font-bn: 'Hind Siliguri', sans-serif;
  
  /* Shadow Levels */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 16px rgba(10, 115, 127, 0.08);
  --shadow-lg: 0 16px 32px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 20px rgba(10, 115, 127, 0.35);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Container Width */
  --container-width: 1200px;
}

/* Lang-based Styling Adjustments */
html[lang="bn"] {
  font-family: var(--font-bn);
}

html[lang="en"] {
  font-family: var(--font-en);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

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

button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */

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

.text-center { text-align: center; }
.text-pulse { animation: pulse 2s infinite; }

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Section Common Styles */
section {
  padding: 80px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(10, 115, 127, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(10, 115, 127, 0.35);
}

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

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

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.badge-nabh {
  background-color: var(--warning);
  color: #5d3f00;
}

.badge-nabl {
  background-color: var(--accent);
  color: var(--text-light);
}

.badge-accent {
  background: var(--accent);
  color: var(--text-light);
}

.badge-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Colors Utilities */
.bg-blue-light { background-color: var(--accent-light); color: var(--accent); }
.bg-green-light { background-color: var(--success-light); color: var(--success); }
.bg-red-light { background-color: var(--danger-light); color: var(--danger); }

/* ==========================================================================
   TOP BAR & HEADER (STICKY NAVBAR)
   ========================================================================== */

.top-bar {
  background-color: var(--bg-dark);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-contacts {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-contacts a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
}

.top-contacts a:hover {
  color: var(--text-light);
}

.top-meta {
  display: flex;
  gap: 12px;
}

/* Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.main-header.scrolled {
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 10px rgba(10, 115, 127, 0.2);
  transition: var(--transition-smooth);
}

.logo:hover .logo-img {
  transform: rotate(360deg);
}

.logo-white .logo-img {
  border-color: var(--text-light);
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.15);
}

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

.logo-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Toggle Button */
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

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

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

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: var(--bg-card);
  z-index: 200;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-smooth);
}

.mobile-drawer.open {
  transform: translateX(-300px);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img-sm {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--primary);
}

.drawer-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.drawer-close {
  font-size: 1.5rem;
  color: var(--text-dark);
  background: transparent;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: auto;
}

.drawer-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.drawer-link:hover {
  color: var(--primary);
  padding-left: 8px;
}

.drawer-footer {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.drawer-footer p {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.drawer-phone {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 100px 0 120px 0;
  background-color: var(--bg-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(10, 115, 127, 0.75)), url('hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.85;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  color: var(--text-light);
}

.hero-badge-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.glow-text {
  background: linear-gradient(120deg, #ffffff, #8be3eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.sub-glow {
  color: #a5f3fc;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-address {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 40px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
}

.hero-address i {
  font-size: 1.4rem;
  color: var(--success);
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hero Quick Info Panel (Right Side) */
.hero-info-panel {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--text-light);
  box-shadow: var(--shadow-lg);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}

.panel-title-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.panel-header h3 {
  font-size: 1.25rem;
  color: var(--text-light);
}

.panel-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 600;
}

.info-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.panel-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--success);
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* ==========================================================================
   CASHLESS SCHEMES SECTION
   ========================================================================== */

.schemes-section {
  background-color: var(--bg-card);
  position: relative;
  z-index: 10;
  margin-top: -40px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 -20px 40px rgba(15, 23, 42, 0.05);
}

.schemes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.scheme-card {
  position: relative;
  background-color: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

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

.scheme-card-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(10, 115, 127, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.scheme-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.scheme-logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.card-swasthyasathi .scheme-logo-placeholder {
  background-color: var(--primary-light);
  color: var(--primary);
}

.card-ayushman .scheme-logo-placeholder {
  background-color: var(--accent-light);
  color: var(--accent);
}

.scheme-title-group h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.scheme-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scheme-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.scheme-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scheme-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* Banner Highlight */
.schemes-banner-highlight {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-light);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.banner-highlight-icon {
  font-size: 2.5rem;
  color: #a5f3fc;
  flex-shrink: 0;
}

.banner-highlight-text h4 {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.banner-highlight-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */

.services-section {
  background-color: var(--bg-main);
}

.services-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 400px;
  min-width: 280px;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

#services-search {
  width: 100%;
  padding: 14px 18px 14px 46px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
  background-color: var(--bg-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

#services-search:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 115, 127, 0.15);
}

.filter-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(10, 115, 127, 0.15);
}

/* Services Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  animation: cardFadeIn 0.5s ease-out forwards;
}

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

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 115, 127, 0.2);
}

.service-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.service-icon-bg {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background-color: var(--primary-light);
  color: var(--primary);
}

.service-card.diagnostic-card .service-icon-bg {
  background-color: var(--accent-light);
  color: var(--accent);
}

.service-badge-type {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.diagnostic-badge {
  background-color: var(--accent-light);
  color: var(--accent);
}

.surgery-badge {
  background-color: var(--primary-light);
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.service-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.service-card:hover .service-cta {
  gap: 10px;
  color: var(--primary-hover);
}

/* ==========================================================================
   DOCTORS SECTION
   ========================================================================== */

.doctor-section {
  background-color: var(--bg-card);
}

.doctor-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.doctor-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.doctor-badge-row .section-tag {
  margin-bottom: 0;
}

.doctor-info-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.doc-name {
  font-size: 2.25rem;
  color: var(--text-dark);
  margin-top: 8px;
}

.doc-degree {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.doc-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.doc-bio {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.doc-chamber-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  margin-bottom: 30px;
}

.chamber-detail-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--bg-main);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.chamber-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

.chamber-text .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.chamber-text .value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.doctor-notice-card {
  display: flex;
  gap: 16px;
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 18px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: var(--primary-hover);
}

/* ==========================================================================
   INSURANCE PARTNERS (LOGO MARQUEE)
   ========================================================================== */

.insurance-section {
  background-color: var(--bg-main);
  padding-bottom: 100px;
}

.logo-slider-container {
  overflow: hidden;
  padding: 30px 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.logo-slider-container::before,
.logo-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-card) 0%, transparent 100%);
}

.logo-slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-card) 0%, transparent 100%);
}

.logo-slider {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.logo-slider:hover {
  animation-play-state: paused;
}

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

.partner-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-main);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  width: 180px;
  height: 90px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.partner-logo-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.partner-logo-item i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.partner-logo-item span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   FACILITIES & AMENITIES
   ========================================================================== */

.amenities-section {
  background-color: var(--bg-card);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.amenity-card {
  background-color: var(--bg-main);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10, 115, 127, 0.2);
  background-color: var(--bg-card);
}

.amenity-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(10, 115, 127, 0.1);
  transition: all var(--transition-fast);
}

.amenity-card:hover .amenity-icon-wrapper {
  background-color: var(--primary);
  color: var(--text-light);
  transform: rotate(360deg);
}

.amenity-card h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.amenity-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CONTACT & LOCATION SECTION
   ========================================================================== */

.contact-section {
  background-color: var(--bg-main);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-details-col {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 2.25rem;
  margin-top: 8px;
  margin-bottom: 16px;
}

.contact-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-item .info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-info-item .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.contact-info-item .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.contact-info-item .value a:hover {
  color: var(--primary);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

/* Appointment Form */
.form-container {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-container h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-container p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
  background-color: var(--bg-main);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(10, 115, 127, 0.12);
}

.form-response {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  text-align: center;
  display: none;
}

.form-response.success {
  display: block;
  background-color: var(--success-light);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-response.error {
  display: block;
  background-color: var(--danger-light);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 70px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.2fr;
  gap: 50px;
  padding-bottom: 50px;
}

.footer-brand .logo-white {
  margin-bottom: 20px;
}

.footer-brand .logo-white .logo-title {
  background: linear-gradient(135deg, #ffffff, #a5f3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-links-group h4,
.footer-emergency h4 {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links-group h4::after,
.footer-emergency h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-emergency p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.footer-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--primary);
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(10, 115, 127, 0.2);
}

.footer-call-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.social-icons a:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.footer-bottom {
  background-color: #090d16;
  padding: 24px 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   FLOATING WIDGETS
   ========================================================================== */

.floating-widgets {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.widget-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--text-light);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.widget-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.widget-call {
  background: linear-gradient(135deg, var(--accent), #1d4ed8);
}

.widget-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.widget-top {
  background-color: var(--bg-dark);
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: none; /* Controlled via JS scroll listener */
}

.widget-top.show {
  display: flex;
  animation: widgetFadeIn 0.3s ease-out forwards;
}

@keyframes widgetFadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.widget-tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.widget-btn:hover .widget-tooltip {
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-info-panel {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .doctor-wrapper {
    padding: 32px 24px;
  }
  
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

  .nav-menu {
    display: none; /* Toggle mobile menu instead */
  }

  .nav-cta-btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

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

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

  .schemes-banner-highlight {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .top-bar-content {
    justify-content: center;
    text-align: center;
  }
  
  .top-meta {
    width: 100%;
    justify-content: center;
  }
}

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .doc-chamber-details {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 24px;
  }
}
