
/* Fail-safe base styles */
ul.navbar-nav, .navbar-nav {
  list-style: none !important;
  padding-left: 0 !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}
.navbar-nav .nav-item {
  list-style: none !important;
  margin: 0 4px !important;
}
@media (max-width: 991px) {
  ul.navbar-nav, .navbar-nav {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}
.hero-doctor-card .doctor-img-wrap {
  width: 100% !important;
  height: 180px !important;
  max-width: 180px !important;
  margin: 0 auto 10px auto !important;
  overflow: hidden !important;
  border-radius: 12px !important;
}
.hero-doctor-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top !important;
}

﻿/* ==========================================================================
   SVRSC Modern Responsive Healthcare CSS
   Swami Vivekananda Regional Spine Centre & Pediatric Neurology
   ========================================================================== */

:root {
  --primary: #0a58ca;
  --primary-dark: #084298;
  --primary-light: #e7f1ff;
  --secondary: #0d9488;
  --secondary-dark: #0f766e;
  --secondary-light: #ccfbf1;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.65;
  padding-top: 105px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

/* --- Top Announcement / Emergency Bar --- */
.top-header-bar {
  background: var(--dark);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 6px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-header-bar a {
  color: #f1f5f9;
}

.top-header-bar a:hover {
  color: var(--accent);
}

.top-header-bar .badge-timing {
  background: rgba(13, 148, 136, 0.25);
  color: #5eead4;
  border: 1px solid #14b8a6;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* --- Main Navigation --- */
.navbar-custom {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 1029;
  padding: 0.6rem 0;
  transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--dark);
}

.navbar-custom .navbar-brand img {
  height: 48px;
  margin-right: 12px;
}

.navbar-custom .brand-subtext {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-custom .nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark-surface);
  padding: 0.55rem 0.85rem !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-item.active .nav-link {
  color: var(--primary);
  background-color: var(--primary-light);
}

.navbar-custom .nav-highlight {
  background: linear-gradient(135deg, #0a58ca, #0d9488);
  color: #ffffff !important;
  padding: 0.55rem 1rem !important;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(10, 88, 202, 0.35);
}

.navbar-custom .nav-highlight:hover {
  background: linear-gradient(135deg, #084298, #0f766e);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0d9488 100%);
  color: #ffffff;
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 650px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary-custom {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(10, 88, 202, 0.3);
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-accent-custom {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #111827 !important;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
  display: inline-block;
}

.btn-accent-custom:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #111827 !important;
  transform: translateY(-2px);
}

.btn-outline-light-custom {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.7);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  display: inline-block;
}

.btn-outline-light-custom:hover {
  background: rgba(255,255,255,0.15);
  border-color: #ffffff;
  color: #ffffff !important;
}

/* --- Hero Doctor Highlight Card --- */
.hero-doctor-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-doctor-card .doctor-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md);
}

.hero-doctor-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top;
}

.hero-doctor-card .cred-badge {
  display: inline-block;
  background: var(--secondary-light);
  color: var(--secondary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

/* --- Stats Counter Bar --- */
.stats-banner {
  background: var(--light-bg);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  text-align: center;
  padding: 0.75rem;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Section Styling --- */
.section-py {
  padding: 4rem 0;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* --- Cards --- */
.card-custom {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 88, 202, 0.3);
}

.card-custom .card-img-wrap {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.card-custom .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-custom:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-custom .card-body {
  padding: 1.5rem;
  flex: 1 1 auto;
}

.card-custom .card-footer {
  padding: 1rem 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

/* --- Doctor Profile Feature --- */
.doctor-feature-card {
  background: #ffffff;
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.doctor-feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-xl);
}

.doctor-feature-img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 4px solid #ffffff;
}

.qualification-badge {
  display: inline-block;
  background: #f1f5f9;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin: 3px;
  border: 1px solid var(--border-color);
}

.qualification-badge.highlight {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: #bfdbfe;
}

.condition-tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--text-main);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  margin: 3px;
  border: 1px solid var(--border-color);
}

.condition-tag:hover {
  background: var(--secondary-light);
  color: var(--secondary-dark);
  border-color: #99f6e4;
}

/* --- Condition & Therapy Grid --- */
.condition-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  height: 100%;
  transition: all 0.25s ease;
  position: relative;
  border-left: 4px solid var(--primary);
}

.condition-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--secondary);
}

.condition-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.condition-card ul {
  padding-left: 1.25rem;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.condition-card ul li {
  margin-bottom: 0.35rem;
}

/* --- FAQ Accordion --- */
.faq-accordion .card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-accordion .card-header {
  background: #ffffff;
  padding: 1.1rem 1.4rem;
  border: none;
}

.faq-accordion .card-header a {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}

.faq-accordion .card-header a:hover {
  color: var(--primary);
}

.faq-accordion .card-body {
  padding: 1.25rem 1.4rem;
  background: var(--light-bg);
  border-top: 1px solid var(--border-color);
  font-size: 0.98rem;
  color: var(--text-main);
}

/* --- Breadcrumbs --- */
.breadcrumb-custom {
  background: transparent;
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.breadcrumb-custom .breadcrumb-item a {
  color: var(--text-muted);
  font-weight: 500;
}

.breadcrumb-custom .breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

/* --- Contact & Location Cards --- */
.contact-info-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.contact-info-card h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 14px;
  flex-shrink: 0;
  color: #38bdf8;
}

/* --- Form Styles --- */
.form-custom .form-control {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.form-custom .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 88, 202, 0.15);
}

/* --- Floating Quick Action Bar for Mobile --- */
.mobile-quick-actions {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.12);
  z-index: 1040;
  padding: 8px 12px;
}

.mobile-quick-actions .btn-group-mobile {
  display: flex;
  gap: 8px;
}

.mobile-quick-actions .btn-action {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-action-call {
  background: var(--primary);
  color: #ffffff !important;
}

.btn-action-whatsapp {
  background: #25d366;
  color: #ffffff !important;
}

.btn-action-book {
  background: var(--accent);
  color: #111827 !important;
}

@media (max-width: 767.98px) {
  body {
    padding-top: 96px;
    padding-bottom: 60px;
  }
  .mobile-quick-actions {
    display: block;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .top-header-bar {
    font-size: 0.78rem;
  }
  .top-header-bar .hide-mobile {
    display: none;
  }
}

/* --- Footer --- */
.footer-custom {
  background: #090e17;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}

.footer-custom h4, .footer-custom h5 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-size: 1.15rem;
}

.footer-custom a {
  color: #94a3b8;
}

.footer-custom a:hover {
  color: #ffffff;
}

.footer-custom ul {
  list-style: none;
  padding-left: 0;
}

.footer-custom ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.85rem;
}
