/* 
  ==========================================================================
  MED NOVA - MASTER STYLESHEET
  ==========================================================================
  This stylesheet contains all global styles, component designs, and
  utility classes for the Med Nova platform.
  
  TABLE OF CONTENTS:
  1.  GLOBAL VARIABLES & ROOT
  2.  BASE STYLES (Typography, Body)
  3.  UI COMPONENTS (Buttons, Cards, Inputs)
  4.  NAVIGATION (Navbar, Brand, Dropdowns)
  5.  SECTION SPECIFIC (Hero, About, Services)
  6.  PAGE SPECIFIC (Blood Donation, Emergency)
  7.  UTILITIES & ANIMATIONS
  8.  MEDIA QUERIES (Responsiveness)
  ==========================================================================
*/

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

/* 1. GLOBAL VARIABLES & ROOT */
:root {
  --blue-900: #0F172A;
  --blue-700: #1D4ED8;
  --accent: #2563EB;
  --muted: #64748B;
  --soft-bg: #F8FAFC;
  --card-bg: #FFFFFF;
  --radius: 16px;
  --font-montserrat: 'Montserrat', sans-serif;
  --font-sans: 'Montserrat', sans-serif;
}

/* 2. BASE STYLES (Typography, Body) */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: var(--font-montserrat) !important;
  color: #334155;
  background-color: var(--soft-bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-montserrat) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--blue-900);
}

.btn {
  border-radius: 12px !important;
  font-weight: 600 !important;
  padding: 0.65rem 1.5rem !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none;
}

.btn-primary {
  background-color: var(--accent) !important;
  color: white !important;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3) !important;
}

.btn-primary:hover {
  background-color: var(--blue-700) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25) !important;
}

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

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

.rounded-pill {
  border-radius: 9999px !important;
}

/* 4. PREMIUM FLOATING NAVIGATION (REFINED) */
.navbar {
  position: fixed !important;
  top: 15px !important;
  left: 50% !important;
  transform: translateX(-50%);
  width: 98% !important;
  max-width: 1540px !important;
  background: rgba(255, 255, 255, 0.98) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  border-radius: 999px !important;
  box-shadow: 0 15px 45px -12px rgba(15, 23, 42, 0.2) !important;
  padding: 0.5rem 1.8rem !important;
  z-index: 2000 !important;
  min-height: 60px !important;
  overflow: visible !important;
  display: flex !important;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-toggler {
  border: none !important;
  padding: 0 !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 23, 42, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar .nav-link {
  font-family: var(--font-montserrat);
  font-weight: 700 !important;
  font-size: 13.5px;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  padding: 0.52rem 0.8rem !important;
  color: #04214f !important;
  opacity: 1 !important;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar .nav-link:hover {
  color: var(--accent) !important;
  transform: translateY(-1px);
}

/* Status dots */
.nav-dot {
  width: 6px;
  height: 6px;
  background-color: var(--muted);
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.nav-link:hover .nav-dot,
.nav-item.active .nav-dot {
  background-color: var(--accent);
  opacity: 1;
  box-shadow: 0 0 8px var(--accent);
}

/* Dropdowns */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.95) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.15) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15) !important;
  padding: 0.75rem !important;
  margin-top: 15px !important;
  min-width: 220px;
}

.dropdown-item {
  font-family: var(--font-montserrat);
  font-size: 13.5px;
  padding: 0.5rem 1.25rem !important;
}

.navbar-brand .brand-text {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  padding: 0.75rem 1rem;
  background-color: #F8FAFC;
  box-shadow: none !important;
  transition: all 0.2s;
}

.form-control:focus,
.form-select:focus {
  background-color: #FFFFFF;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

.card,
.service-pro-card,
.doctor-pro-card,
.appointment-card,
.bd-card {
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05) !important;
  background: var(--card-bg) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.card:hover,
.service-pro-card:hover,
.doctor-pro-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04) !important;
}

.hero-blob-bg {
  width: min(500px, 90vw);
  height: min(500px, 90vw);
  background: radial-gradient(circle, #DBEAFE 0%, transparent 60%);
}

.bg-soft {
  background-color: #F8FAFC !important;
}

/* --- ORIGINAL CSS BELOW --- */
/* style.css - custom styling to match Figma landing page */





/* NAVBAR */
.navbar-gradient {
  background: linear-gradient(90deg, var(--blue-900), var(--blue-700));
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff
}

.brand-logo {
  height: 48px !important;
  max-width: 180px;
  width: auto;
  transition: all 0.3s ease;
  object-fit: contain;
}

.brand-text {
  font-weight: 600;
  color: var(--blue-900);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
}

.bd-hero-modern {
  background: linear-gradient(135deg, #04214f 0%, #061e3d 100%);
  padding-top: 190px !important;
  color: white;
}

/* HERO */
.hero-redesign {
  padding-top: 180px !important;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: #f0f7ff;
}

.hero-redesign-title {
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-redesign-sub {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.hero-blob-bg {
  position: absolute;
  width: min(600px, 100vw);
  height: min(600px, 100vw);
  background: radial-gradient(circle, #e0eeff 0%, transparent 70%);
  top: -50px;
  right: -50px;
  z-index: -1;
}

.hero-float-card {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  width: 220px;
}

.huge-text {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}

/* STATS */
.stats-section-container {
  transform: translateY(-40px);
  position: relative;
  z-index: 10;
}

.stats-blue-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card-blue {
  background: var(--accent);
  color: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card-blue:hover {
  transform: translateY(-5px);
}

.stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* INFINITY SCROLL (Partner Ribbon) */
.infinity-scroll-container {
  overflow: hidden;
  white-space: nowrap;
  background: white;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.infinity-scroll-track {
  display: inline-block;
  animation: scroll 40s linear infinite;
}

.infinity-scroll-item {
  display: inline-block;
  margin-right: 50px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.infinity-scroll-item span {
  color: var(--accent);
  font-weight: bold;
  margin-right: 5px;
}

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

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

/* SPECIALIZATIONS */
.service-pro-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-pro-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  border-color: transparent;
}

.service-icon-box {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-learn-more {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

/* ABOUT MODERN */
.about-img-composition {
  position: relative;
}

.about-main-img {
  border-radius: 20px;
  width: 100%;
  object-fit: cover;
}

.about-overlay-card {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: white;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--blue-900);
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  background: #e0eeff;
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* DOCTORS */
.doctor-pro-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.doctor-pro-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.doctor-img-box {
  height: 280px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 15px;
}

.doctor-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-name {
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 5px;
}

.doctor-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.doctor-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.social-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f0f7ff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

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

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-card {
  background: white;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--blue-900);
}

.faq-header.active {
  background: #fcfcfc;
  color: var(--accent);
}

.faq-body {
  padding: 0 20px 20px;
  color: var(--muted);
  display: none;
}

.faq-icon-wrapper i {
  transition: transform 0.3s ease;
}

.faq-header.active .faq-icon-wrapper i {
  transform: rotate(180deg);
}

/* BLOG */
.blog-pro-card {
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-badge {
  background: #e0eeff;
  color: var(--accent);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-title {
  font-weight: 700;
  color: var(--blue-900);
  margin: 10px 0;
  font-size: 1.25rem;
}

.blog-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* APPOINTMENT FORM */
.appointment-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* CHATBOT */
.chatbot-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chatbot-launcher {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.chatbot-launcher img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.chatbot-launcher:hover {
  transform: scale(1.1);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--accent), var(--blue-700));
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.chatbot-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  padding: 2px;
}

.chatbot-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-message-row {
  display: flex;
  gap: 10px;
  margin-bottom: 5px;
}

.chat-message-row.user {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
}

.chat-bubble.bot {
  background: white;
  border-top-left-radius: 2px;
  border: 1px solid #eee;
  color: var(--blue-900);
}

.chat-bubble.user {
  background: var(--accent);
  color: white;
  border-top-right-radius: 2px;
}

.chat-time {
  font-size: 0.65rem;
  opacity: 0.7;
  margin-top: 4px;
  text-align: right;
}

.chatbot-input-area {
  padding: 15px;
  background: white;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.chatbot-input-area input {
  flex: 1;
  border: 1px solid #ddd;
  padding: 8px 15px;
  border-radius: 20px;
  outline: none;
  transition: border-color 0.2s;
}

.chatbot-input-area input:focus {
  border-color: var(--accent);
}

.chatbot-input-area button {
  background: var(--accent);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.chatbot-input-area button:hover {
  background: var(--blue-700);
}

.chatbot-label {
  position: absolute;
  right: 70px;
  top: 15px;
  background: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  animation: popIn 0.5s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.chatbot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 15px;
  margin-bottom: 10px;
}

.action-chip {
  background: #e0eeff;
  color: var(--accent);
  border: none;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.action-chip:hover {
  background: var(--accent);
  color: white;
}

/* BLOOD DONATION */
.bd-hero {
  background: linear-gradient(135deg, #e63946, #d00000);
  padding: 80px 0;
  color: white;
}

.bd-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 30px;
  margin-top: -50px;
  position: relative;
  z-index: 5;
}

.bd-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 10px 20px;
  font-weight: bold;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
}

.bd-tab-btn.active {
  color: #e63946;
  border-color: #e63946;
}

.bd-form {
  margin-top: 30px;
}

.bd-btn-primary {
  background: #e63946;
  color: white;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s;
}

.bd-btn-primary:hover {
  background: #d00000;
}

.bd-btn-secondary {
  background: #ffb703;
  color: black;
  border: none;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s;
}

.bd-btn-secondary:hover {
  background: #fb8500;
  color: white;
}

.bd-alert {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 500;
}

.bd-alert-success {
  background: #d4edda;
  color: #155724;
}

.bd-alert-warning {
  background: #fff3cd;
  color: #856404;
}

/* UTILS */
.hover-lift:hover {
  transform: translateY(-3px);
}

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

.text-primary {
  color: var(--accent) !important;
}

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

.btn-primary:hover {
  background-color: var(--blue-700);
  border-color: var(--blue-700);
}

.container-fluid-custom {
  width: 100%;
  padding-right: var(--bs-gutter-x, .75rem);
  padding-left: var(--bs-gutter-x, .75rem);
  margin-right: auto;
  margin-left: auto;
  max-width: 1400px;
}

/* FOOTER REDESIGN - PREMIUM DARK THEME */
.site-footer {
  background: #04214f !important;
  background: linear-gradient(180deg, #04214f 0%, #02122b 100%) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  padding: 100px 0 40px !important;
  font-family: var(--font-montserrat);
  border-top: none;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), transparent);
}

.site-footer h5,
.site-footer h6 {
  color: #FFFFFF !important;
  font-family: var(--font-montserrat);
  font-weight: 800;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.site-footer .text-muted,
.site-footer .muted {
  color: rgba(255, 255, 255, 0.55) !important;
  line-height: 1.8;
  font-size: 0.95rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.65) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  text-decoration: none !important;
  display: inline-block;
  margin-bottom: 12px;
}

.site-footer a:hover {
  color: var(--accent) !important;
  transform: translateX(8px);
}

.site-footer .footer-social {
  display: flex !important;
  gap: 12px;
  margin-top: 20px;
}

.footer-social .social-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.footer-social .social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.site-footer .row.g-5 {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

.site-footer .map-iframe-container {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.site-footer .map-iframe {
  min-height: 235px;
}

body.landing-page > section + section {
  margin-top: 1.35rem;
}

body.landing-page .stats-section-container {
  margin-bottom: 0.5rem;
}

body.landing-page .site-footer {
  margin-top: 2rem;
}

body.landing-page #services {
  padding-top: 6.5rem !important;
  padding-bottom: 6.5rem !important;
}

body.landing-page #services > .container-fluid-custom > .text-center.mb-5 {
  margin-bottom: 4rem !important;
}

body.landing-page #services .card.border-0.shadow-sm.rounded-4.overflow-hidden {
  border-radius: 32px !important;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.08) !important;
}

body.landing-page #services .bg-gradient-primary {
  background: linear-gradient(135deg, #0c2d66 0%, #2563eb 100%) !important;
}

body.landing-page #services .p-4.p-md-5.bg-white {
  padding-left: 2.25rem !important;
  padding-right: 2.25rem !important;
}

body.landing-page #services .row.g-3 {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

body.landing-page #services .icon-box-50 {
  width: 54px !important;
  height: 54px !important;
}

body.landing-page #services .btn {
  padding-left: 1.35rem !important;
  padding-right: 1.35rem !important;
}

@media (max-width: 991.98px) {
  body.landing-page #services {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
  }

  body.landing-page #services > .container-fluid-custom > .text-center.mb-5 {
    margin-bottom: 2.75rem !important;
  }

  body.landing-page #services .p-4.p-md-5.bg-white {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  body.landing-page #services {
    padding-top: 4.75rem !important;
    padding-bottom: 4.75rem !important;
  }

  body.landing-page #services .card.border-0.shadow-sm.rounded-4.overflow-hidden {
    border-radius: 24px !important;
  }
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .stats-blue-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-redesign {
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .hero-redesign-title,
  .hero-redesign-sub {
    max-width: none;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .hero-visual-shell {
    padding: 12px 0 24px;
  }

  .hero-float-card-primary {
    left: 12px;
    bottom: 6px;
  }

  .about-feature-grid {
    grid-template-columns: 1fr;
  }

  .chatbot-window {
    width: 300px;
    height: 450px;
    bottom: 80px;
    right: 10px;
  }
}

@media (max-width: 576px) {
  .stats-blue-grid {
    grid-template-columns: 1fr;
  }

  .hero-kicker-pill {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .hero-image-frame {
    border-radius: 24px;
    padding: 12px;
  }

  .hero-trust-item {
    width: 100%;
    justify-content: center;
  }

  .hero-float-card-primary,
  .hero-float-card-secondary {
    position: static;
    width: 100%;
    margin-top: 16px;
    animation: none;
  }

  .stat-card-blue {
    padding: 20px;
  }
}

.internal-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.internal-hero-title {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* DOCTOR CARDS */
.doctor-card-pro {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.doctor-card-pro:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.doctor-img-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.doctor-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #eef6ff;
  margin: 0 auto;
  display: block;
}

.doctor-name {
  font-weight: 600;
  color: var(--blue-900);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.doctor-specialty {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 500;
}

.doctor-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 15px;
}

.doctor-rating i {
  font-size: 0.8rem;
}

.doctor-rating span {
  font-size: 0.9rem;
  color: #666;
}

/* SOCIAL BUTTONS */
.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f8f9fa;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.social-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.blog-pro-card:hover {
  transform: translateY(-8px);
}

/* -------------------------------------------------------
   Homepage Hero Refresh
-------------------------------------------------------- */
.hero-redesign {
  padding-top: 190px !important;
  padding-bottom: 110px;
  background: 
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(20, 184, 166, 0.1) 0%, transparent 40%),
    linear-gradient(135deg, #04214f 0%, #061e3d 100%) !important;
  color: #FFFFFF !important;
}

.hero-redesign .container {
  position: relative;
  z-index: 2;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
  opacity: 0.7;
}

.hero-orb-one {
  width: 260px;
  height: 260px;
  top: -60px;
  left: -80px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.18) 0%, rgba(29, 78, 216, 0) 72%);
  animation: heroOrbFloat 14s ease-in-out infinite;
}

.hero-orb-two {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.16) 0%, rgba(20, 184, 166, 0) 70%);
  animation: heroOrbFloat 16s ease-in-out infinite reverse;
}

.hero-kicker-pill {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  color: #0f766e;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #10b981, #2563eb);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
}

.hero-redesign-title {
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 11ch;
  font-size: clamp(3rem, 5vw, 5.4rem);
  color: white !important;
}

.hero-redesign-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  margin-bottom: 34px;
  line-height: 1.75;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.85) !important;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
}

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

.hero-visual-shell {
  position: relative;
  isolation: isolate;
  padding: 28px 22px 36px;
}

.hero-image-frame {
  position: relative;
  padding: 18px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 34px 70px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-image-frame::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  pointer-events: none;
}

.hero-main-image {
  animation: heroImageFloat 6.5s ease-in-out infinite;
}

.hero-blob-bg {
  width: min(620px, 100vw);
  height: min(620px, 100vw);
  background: radial-gradient(circle, rgba(191, 219, 254, 0.95) 0%, rgba(224, 238, 255, 0.28) 52%, transparent 72%);
  top: -10px;
  right: -10px;
  animation: pulseGlow 7s ease-in-out infinite;
}

.hero-float-card {
  background: rgba(255, 255, 255, 0.88);
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 55px rgba(15, 23, 42, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-float-card-primary {
  bottom: 24px;
  left: -18px;
  width: 240px;
  animation: floatCardLeft 6s ease-in-out infinite;
}

.hero-float-card-secondary {
  top: 56px;
  right: -14px;
  width: 260px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatCardRight 7s ease-in-out infinite;
}

.hero-float-label {
  font-family: var(--font-montserrat);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
}

.hero-mini-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
}

.stat-card-blue {
  background: linear-gradient(135deg, #0f4fd6 0%, #2563eb 60%, #22c1ee 100%);
  border-radius: 24px;
  box-shadow: 0 24px 40px rgba(37, 99, 235, 0.22);
  position: relative;
  overflow: hidden;
}

.stat-card-blue::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 48%, transparent 100%);
  transform: translateX(-130%);
  transition: transform 0.8s ease;
}

.stat-card-blue:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 50px rgba(37, 99, 235, 0.28);
}

.stat-card-blue:hover::before {
  transform: translateX(130%);
}

@keyframes heroImageFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes floatCardLeft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes floatCardRight {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 12px, 0); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes heroOrbFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(14px, 18px, 0); }
}

/* -------------------------------------------------------
   Motion & Interactions (Global UI Polish)
-------------------------------------------------------- */

/* Better focus styles (keyboard users) */
:focus-visible {
  outline: 3px solid rgba(58, 190, 249, 0.35);
  outline-offset: 2px;
}

/* Subtle nav behavior on scroll */
.mn-nav-scrolled {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mn-nav-scrolled .brand-logo {
  transform: translateZ(0) scale(0.95);
}

/* Scroll-reveal animation */
.mn-reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 650ms ease, transform 650ms ease;
  will-change: opacity, transform;
}

.mn-reveal.mn-reveal--up {
  transform: translate3d(0, 18px, 0);
}

.mn-reveal.mn-reveal--left {
  transform: translate3d(-14px, 0, 0);
}

.mn-reveal.mn-reveal--right {
  transform: translate3d(14px, 0, 0);
}

.mn-reveal.mn-reveal--scale {
  transform: translate3d(0, 10px, 0) scale(0.98);
}

.mn-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Back-to-top button */
.mn-back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  color: var(--blue-900);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, background 200ms ease;
  z-index: 1055;
  /* above sticky nav */
}

.mn-back-to-top:hover {
  background: white;
  transform: translateY(2px);
}

.mn-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Button ripple */
.mn-ripple {
  position: absolute;
  border-radius: 999px;
  transform: scale(0);
  animation: mn-ripple 550ms ease-out;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  mix-blend-mode: overlay;
}

@keyframes mn-ripple {
  to {
    transform: scale(5);
    opacity: 0;
  }
}

/* Form micro-interactions */
.form-control,
.form-select {
  transition: box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(58, 190, 249, 0.18) !important;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

  .mn-reveal,
  .mn-back-to-top,
  .infinity-scroll-track,
  .chatbot-window,
  .hero-main-image,
  .hero-float-card,
  .hero-orb,
  .hero-blob-bg,
  .stat-card-blue::before {
    transition: none !important;
    animation: none !important;
  }
}

/* ===== OUR TEAM SECTION ===== */
.team-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  pointer-events: none;
}

.team-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.05) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  border-radius: 50%;
  pointer-events: none;
}

.team-section-badge {
  background: linear-gradient(135deg, #EEF2FF, #DBEAFE);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.team-section-badge i {
  font-size: 0.9rem;
}

/* --- Team Card --- */
.team-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 20px;
  padding: 36px 24px 28px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -8px rgba(37, 99, 235, 0.15),
              0 8px 16px -4px rgba(0, 0, 0, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
}

/* Glow effect on hover */
.team-card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: 0 0 4px 4px;
}

.team-card:hover .team-card-glow {
  opacity: 1;
}

/* --- Avatar --- */
.team-avatar-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover .team-avatar {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.18);
}

.team-avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(37, 99, 235, 0.25);
  animation: team-ring-spin 12s linear infinite;
}

@keyframes team-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.team-card:hover .team-avatar-ring {
  border-color: var(--accent);
  border-width: 2.5px;
}

/* --- Text --- */
.team-name {
  font-weight: 700;
  color: var(--blue-900);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-role {
  display: inline-block;
  background: linear-gradient(135deg, #EEF2FF, #DBEAFE);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.team-bio {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* --- Social Buttons --- */
.team-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
}

/* CTA Button Overrides */
.navbar-cta-group .btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  border: none !important;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2) !important;
}

.navbar-cta-group .btn-accent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border: none !important;
  color: white !important;
}

.team-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-social-linkedin {
  background: #EEF2FF;
  color: #0A66C2;
}

.team-social-linkedin:hover {
  background: #0A66C2;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.team-social-email {
  background: #FEF2F2;
  color: #DC2626;
}

.team-social-email:hover {
  background: #DC2626;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .team-card {
    padding: 30px 20px 24px;
  }
}

@media (max-width: 575.98px) {
  .team-card {
    padding: 28px 18px 22px;
  }

  .team-avatar-wrapper {
    width: 100px;
    height: 100px;
  }

  .team-avatar {
    width: 90px;
    height: 90px;
  }
}

/* === LINT UTILITIES === */
.logo-h80 { height: 80px; }
@media (max-width: 991.98px) {
  .logo-h80 { height: 60px; }
}
.brand-text-sm { color: var(--blue-900); font-size: 1.25rem; }
.text-blue-900 { color: var(--blue-900) !important; }
.h-38 { height: 38px; }
.progress-h8 { height: 8px; border-radius: 4px; background-color: var(--accent-soft, #eef6ff); }
.success-icon-lg { width: 80px; height: 80px; font-size: 40px; }
.img-cover { object-fit: cover !important; }
/* Enlarged Profile Logo */
.brand-logo { 
  height: 52px !important; 
  width: auto; 
  object-fit: contain;
  margin-right: 12px;
}
.blog-card-img-wrapper { overflow: hidden; height: 200px; border-radius: 12px 12px 0 0; }
.max-w-720 { max-width: 720px; }
.max-w-700 { max-width: 700px; }
.max-w-600 { max-width: 600px; }
.max-w-540 { max-width: 540px; }
.max-w-420 { max-width: 420px; }
.max-w-320 { max-width: 320px; }
.min-w-120 { min-width: 120px; }

/* Modal & Specialty Utilities */
.rounded-20 { border-radius: 20px !important; }
.rounded-12 { border-radius: 12px !important; }
.rounded-14 { border-radius: 14px !important; }
.bg-gradient-primary { background: linear-gradient(135deg, #04214f, #1a6bff); }
.bg-gradient-success { background: linear-gradient(135deg, #064e3b, #16a34a); }
.bg-gradient-success-alt { background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%) !important; }
.fs-12 { font-size: 12px !important; }
.fs-13 { font-size: 13px !important; }
.icon-box-50 { width: 50px !important; height: 50px !important; display: flex !important; align-items: center !important; justify-content: center !important; flex-shrink: 0 !important; }
.fs-13 { font-size: 13px !important; }
.fs-15 { font-size: 15px !important; }
.fs-20 { font-size: 20px !important; }
.h-48 { height: 48px !important; }
.w-48 { width: 48px !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.border-2 { border-width: 2px !important; }
.transition-2 { transition: all 0.2s ease-in-out !important; }
.min-h-400 { min-height: 400px !important; }
.top-100 { top: 100px !important; }
.dosage-disclaimer { font-size: 0.75rem !important; line-height: 1.2; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.02em; }

/* Icon Positioning Utility */
.search-icon-abs { left: 15px; top: 50%; transform: translateY(-50%); }

/* Custom Login Cards */
.login-card-hospital { background: #eef6ff; border: 2px solid #c7deff; color: #04214f; }
.login-card-hospital:hover { border-color: #1a6bff; background: #dbeafe; }
.login-card-clinic { background: #f0fdf4; border: 2px solid #bbf7d0; color: #04214f; }
.login-card-clinic:hover { border-color: #16a34a; background: #dcfce7; }

/* NAVIGATION INLINE OVERRIDES */
/* NAVIGATION RESPONSIVENESS (100% FIX) */
@media (min-width: 992px) {
  .navbar-nav {
    flex-wrap: nowrap;
    flex-direction: row;
  }
}

/* ULTIMATE 100% RESPONSIVE FIX */
.navbar .container-fluid {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

@media (max-width: 991px) {
  .navbar .container-fluid {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
}


/* ── OVERFLOW PROTECTION ── */
html, body { overflow-x: hidden !important; width: 100% !important; position: relative; margin: 0; padding: 0; }

/* HERO PADDING FIX */
.internal-hero {
  padding-top: 180px !important;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-redesign {
  padding-top: 200px !important;
}

/* NAVBAR VISIBILITY & OVERFLOW PROTECTION */
.navbar .nav-link {
  color: #04214f !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  white-space: nowrap !important;
}

.navbar .btn {
  padding: 0.45rem 1rem !important;
  font-size: 13px !important;
  white-space: nowrap !important;
}

@media (min-width: 992px) {
  .navbar-collapse.collapse {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-basis: auto !important;
  }
  .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Navbar Alignment Fixes */
.navbar-collapse {
  justify-content: center;
}
@media (min-width: 992px) {
  .navbar-nav {
    flex: 1;
    justify-content: center;
  }
  .navbar .d-flex {
    flex: 0 0 auto;
  }
  .navbar-brand {
    flex: 0 0 auto;
  }
}
/* =========================================================
   HEALTH ASSESSMENT MODULE
   ========================================================= */

/* Hero Badge */
.ha-hero-badge {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* Tool Cards (Overview Grid) */
.ha-tool-card {
  background: var(--card-bg);
  border: 1px solid rgba(226,232,240,0.8);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.35s cubic-bezier(0.4,0,0.2,1),
              border-color 0.35s ease;
}

.ha-tool-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px -12px rgba(37,99,235,0.18),
              0 8px 16px -4px rgba(0,0,0,0.06);
  border-color: rgba(37,99,235,0.2);
}

.ha-tool-card h5 { color: var(--blue-900); }

/* Icon Boxes */
.ha-icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.ha-tool-card:hover .ha-icon-box {
  transform: scale(1.1) rotate(-4deg);
}

.ha-icon-bmi {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 12px 24px rgba(37,99,235,0.3);
}

.ha-icon-calorie {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 12px 24px rgba(245,158,11,0.3);
}

.ha-icon-water {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  box-shadow: 0 12px 24px rgba(6,182,212,0.3);
}

.ha-icon-blood {
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 12px 24px rgba(220,38,38,0.3);
}

/* Tool CTA link */
.ha-tool-cta {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.ha-tool-card:hover .ha-tool-cta {
  letter-spacing: 0.03em;
}

/* Calculator Card (Form Container) */
.ha-calculator-card {
  background: var(--card-bg);
  border: 1px solid rgba(226,232,240,0.8);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}

.ha-calculator-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

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

.ha-calc-header-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: white;
  flex-shrink: 0;
}

/* Result Container */
.ha-result-container {
  animation: haFadeIn 0.5s ease-out;
}

@keyframes haFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Result Card */
.ha-result-card {
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
  border: 1px solid rgba(37,99,235,0.1);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ha-result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 0 0 4px 4px;
}

.ha-result-value {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--blue-900);
  line-height: 1;
  margin-bottom: 8px;
}

.ha-result-label {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* Result Badges */
.ha-result-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ha-badge-under  { background: #fef3c7; color: #92400e; }
.ha-badge-normal { background: #d1fae5; color: #065f46; }
.ha-badge-over   { background: #ffedd5; color: #9a3412; }
.ha-badge-obese  { background: #fee2e2; color: #991b1b; }
.ha-badge-calorie { background: #dbeafe; color: #1d4ed8; }

/* BMI Bar */
.ha-result-bar {
  position: relative;
  margin-top: 20px;
}

.ha-bar-track {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  height: 36px;
}

.ha-bar-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ha-bar-under  { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.ha-bar-normal { background: linear-gradient(90deg, #34d399, #10b981); }
.ha-bar-over   { background: linear-gradient(90deg, #fb923c, #f97316); }
.ha-bar-obese  { background: linear-gradient(90deg, #f87171, #ef4444); }

.ha-bar-pointer {
  position: absolute;
  top: -8px;
  width: 4px;
  height: 52px;
  background: var(--blue-900);
  border-radius: 4px;
  transition: left 0.6s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.ha-bar-pointer::after {
  content: '▼';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--blue-900);
}

/* Mini Stat Cards (Calorie) */
.ha-mini-stat {
  background: var(--card-bg);
  border: 1px solid rgba(226,232,240,0.8);
  border-radius: 16px;
  padding: 20px 12px;
  text-align: center;
  transition: transform 0.25s ease;
}

.ha-mini-stat:hover {
  transform: translateY(-4px);
}

.ha-mini-stat-val {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.ha-mini-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Water Glass Icons */
.ha-water-glass-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  align-items: center;
}

.ha-water-glass {
  font-size: 1.5rem;
  color: #0ea5e9;
  animation: haGlassPop 0.4s ease-out both;
  opacity: 0;
}

.ha-water-glass:nth-child(1)  { animation-delay: 0.05s; }
.ha-water-glass:nth-child(2)  { animation-delay: 0.1s; }
.ha-water-glass:nth-child(3)  { animation-delay: 0.15s; }
.ha-water-glass:nth-child(4)  { animation-delay: 0.2s; }
.ha-water-glass:nth-child(5)  { animation-delay: 0.25s; }
.ha-water-glass:nth-child(6)  { animation-delay: 0.3s; }
.ha-water-glass:nth-child(7)  { animation-delay: 0.35s; }
.ha-water-glass:nth-child(8)  { animation-delay: 0.4s; }
.ha-water-glass:nth-child(9)  { animation-delay: 0.45s; }
.ha-water-glass:nth-child(10) { animation-delay: 0.5s; }
.ha-water-glass:nth-child(11) { animation-delay: 0.55s; }
.ha-water-glass:nth-child(12) { animation-delay: 0.6s; }
.ha-water-glass:nth-child(13) { animation-delay: 0.65s; }
.ha-water-glass:nth-child(14) { animation-delay: 0.7s; }
.ha-water-glass:nth-child(15) { animation-delay: 0.75s; }
.ha-water-glass:nth-child(16) { animation-delay: 0.8s; }

@keyframes haGlassPop {
  from { opacity: 0; transform: scale(0.5) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.ha-result-water {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-color: rgba(6,182,212,0.15);
}

/* Blood Eligibility */
.ha-result-eligible {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border-color: rgba(16,185,129,0.2);
}

.ha-result-eligible::before { background: linear-gradient(90deg, transparent, #10b981, transparent); }

.ha-result-ineligible {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-color: rgba(220,38,38,0.15);
}

.ha-result-ineligible::before { background: linear-gradient(90deg, transparent, #ef4444, transparent); }

.ha-result-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* Tip Box */
.ha-tip {
  background: #fffbeb;
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #78350f;
  line-height: 1.6;
}

/* Dropdown menu enhanced for Health Assessment */
.ha-dropdown-menu {
  min-width: 260px;
}

/* ── Health Assessment Responsive ── */
@media (max-width: 767.98px) {
  .ha-calculator-card {
    padding: 24px 18px;
  }

  .ha-result-value {
    font-size: 2.5rem;
  }

  .ha-bar-segment {
    font-size: 0.55rem;
  }

  .ha-calc-header {
    flex-direction: column;
    text-align: center;
  }

  .ha-mini-stat-val {
    font-size: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .ha-tool-card {
    padding: 24px 18px;
  }

  .ha-icon-box {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}
.ha-icon-large { width: 80px; height: 80px; font-size: 2rem; } 

.bmi-unit-hint {
  margin-top: -0.25rem;
  margin-bottom: 0.25rem;
}

#bmiImperialGroup .form-floating {
  min-width: 0;
}

/* Smart Features Dropdown */
.smart-dropdown-menu { min-width: 260px !important; }



.btn-sm { padding: 0.4rem 1rem !important; font-size: 11.5px !important; }


/* =========================================================
   PREMIUM HEALTH ASSESSMENT UI ENHANCEMENTS
   ========================================================= */

/* Hero Section Enhancement */
.internal-hero {
    background: linear-gradient(135deg, #04214f 0%, #0d47a1 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
}
.internal-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;utf8,<svg opacity="0.05" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="white"/></svg>') repeat;
    pointer-events: none;
}
.ha-hero-badge {
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
.internal-hero-title {
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-weight: 800;
}

/* Tool Cards */
.ha-tool-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.ha-tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(4, 33, 79, 0.08);
}
.ha-tool-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #0d47a1, #1976d2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.ha-tool-card:hover::after {
    transform: scaleX(1);
}
.ha-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    background: rgba(13, 71, 161, 0.05);
    color: #0d47a1;
    transition: all 0.3s ease;
}
.ha-tool-card:hover .ha-icon-box {
    background: #0d47a1;
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

.ha-tool-cta {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0d47a1;
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    transition: all 0.3s;
}
.ha-tool-card:hover .ha-tool-cta {
    letter-spacing: 0.5px;
}
.ha-tool-card:hover .ha-tool-cta i {
    transform: translateX(5px);
}

/* Calculator Cards */
.ha-calculator-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}
.ha-calculator-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background: linear-gradient(180deg, #0d47a1, #42a5f5);
}
.ha-calc-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}
.ha-calc-header-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #0d47a1;
    box-shadow: 0 8px 15px rgba(13, 71, 161, 0.1);
}

/* Form Inputs styling */
.ha-calculator-card .form-floating .form-control,
.ha-calculator-card .form-floating .form-select {
    border-radius: 12px;
    background-color: #f8f9fa !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease;
    font-weight: 500;
}
.ha-calculator-card .form-floating .form-control:focus,
.ha-calculator-card .form-floating .form-select:focus {
    border-color: #bbdefb !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 0.25rem rgba(13, 71, 161, 0.1) !important;
}
.ha-calculator-card .form-floating label {
    color: #6c757d;
    font-weight: 500;
}

/* Results Section */
.ha-result-container {
    animation: slideUpFade 0.5s ease forwards;
}
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.ha-result-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f5 100%);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.5);
}
.ha-result-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: #04214f;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}
.ha-result-label {
    font-size: 1.1rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ha-result-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.ha-badge-normal, .ha-result-eligible { background: linear-gradient(135deg, #11998e, #38ef7d); color: #fff; }
.ha-badge-over, .ha-badge-calorie { background: linear-gradient(135deg, #f2994a, #f2c94c); color: #fff; }
.ha-badge-obese, .ha-result-ineligible { background: linear-gradient(135deg, #eb3349, #f45c43); color: #fff; }
.ha-badge-under { background: linear-gradient(135deg, #36d1dc, #5b86e5); color: #fff; }

/* BMI Bar */
.ha-bar-track {
    display: flex;
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}
.ha-bar-under { background: #36d1dc; }
.ha-bar-normal { background: #38ef7d; }
.ha-bar-over { background: #f2c94c; }
.ha-bar-obese { background: #eb3349; }
.ha-bar-pointer {
    width: 20px; height: 20px;
    background: #fff;
    border: 3px solid #04214f;
    border-radius: 50%;
    position: relative;
    top: -16px;
    transform: translateX(-50%);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: left 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Water Glasses */
.ha-water-glass {
    font-size: 1.5rem;
    color: #42a5f5;
    text-shadow: 0 2px 5px rgba(66, 165, 245, 0.4);
    animation: float 2s infinite ease-in-out alternate;
}
@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
}

/* Mini Stats (Calories) */
.ha-mini-stat {
    background: #fff;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
}
.ha-mini-stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}
.ha-mini-stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
}

/* CTA Icon Large */
.ha-icon-large {
    width: 80px; height: 80px;
    font-size: 2rem;
}

/* Premium Health Assessment Enhancements */
.ha-recommendation-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 20px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04);
    text-align: left;
    animation: haSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ha-recommendation-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ha-recommendation-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: #475569;
}
.ha-recommendation-item:last-child {
    margin-bottom: 0;
}
.ha-recommendation-item i {
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Hydration Level Visual Indicator */
.ha-water-meter-container {
    margin: 24px auto;
    position: relative;
    width: 140px;
    height: 140px;
}
.ha-water-meter-svg {
    transform: rotate(-90deg);
}
.ha-water-meter-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 8;
}
.ha-water-meter-fill {
    fill: none;
    stroke: #38bdf8;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.ha-water-meter-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.ha-water-meter-percent {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0369a1;
    line-height: 1.1;
}
.ha-water-meter-subtext {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
}

/* Animations */
@keyframes haSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes haPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Premium Card States */
.ha-card-premium {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    overflow: hidden;
}
.ha-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border-color: rgba(37, 99, 235, 0.15);
}

.ha-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}
.ha-premium-result-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    animation: haSlideUp 0.5s ease-out;
}
.ha-value-display {
    font-size: 3rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 8px;
}
.ha-label-display {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* =========================================================
   GLOBAL NAVBAR + HOMEPAGE HERO POLISH
   ========================================================= */
.navbar .nav-link .nav-dot {
  display: none !important;
}

.navbar .navbar-nav {
  gap: 0.45rem;
}

.navbar .nav-item {
  display: flex;
  align-items: center;
}

.navbar .nav-link {
  padding: 0.7rem 1rem !important;
  border-radius: 999px;
  font-size: 14.5px;
  letter-spacing: 0.025em;
  padding-left: 1.05rem !important;
  padding-right: 1.05rem !important;
}

.navbar .dropdown-menu {
  margin-top: 1rem !important;
}

.navbar .dropdown-item {
  border-radius: 14px;
  font-size: 14px;
}

@media (min-width: 1200px) {
  .navbar .navbar-nav {
    justify-content: center;
  }
}

@media (max-width: 1199.98px) {
  .navbar {
    width: calc(100% - 1rem) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 28px !important;
  }

  .navbar .container-fluid {
    padding-left: 0.95rem !important;
    padding-right: 0.95rem !important;
  }

  .navbar-collapse {
    margin-top: 0.9rem;
    padding: 1rem 0.9rem 0.75rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 40px -20px rgba(15, 23, 42, 0.18);
  }

  .navbar .navbar-nav {
    gap: 0.3rem;
    align-items: stretch !important;
  }

  .navbar .nav-item,
  .navbar .nav-link,
  .navbar .dropdown-toggle,
  .navbar .dropdown-item {
    width: 100%;
  }

  .navbar .nav-link {
    justify-content: flex-start;
  }

  .navbar .d-flex.align-items-center.gap-1 {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.65rem !important;
    margin-top: 1rem !important;
  }

  .navbar .d-flex.align-items-center.gap-1 .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .navbar {
    top: 8px !important;
    width: calc(100% - 0.75rem) !important;
  }

  .navbar-brand .brand-logo {
    height: 46px !important;
  }
}

.navbar-brand .brand-logo {
  height: 54px !important;
  max-width: 198px;
}

.hero-redesign {
  background:
    radial-gradient(circle at top left, rgba(191, 219, 254, 0.92) 0%, transparent 38%),
    radial-gradient(circle at bottom right, rgba(167, 243, 208, 0.75) 0%, transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #edf5ff 48%, #f8fffd 100%) !important;
  color: #0f172a !important;
}

.hero-redesign .hero-kicker-pill {
  background: rgba(255, 255, 255, 0.9);
  color: #0369a1;
  border-color: rgba(191, 219, 254, 0.9);
}

.hero-redesign-title {
  max-width: 13.5ch;
  color: #0f172a !important;
  text-wrap: balance;
}

.hero-redesign-sub {
  color: #475569 !important;
  max-width: 38rem;
}

.hero-redesign .text-primary {
  color: #2563eb !important;
}

.hero-redesign .hero-trust-item {
  background: rgba(255, 255, 255, 0.9);
  color: #334155;
}

.hero-redesign .hero-trust-item i {
  color: #2563eb;
}

.hero-redesign .hero-blob-bg {
  background: radial-gradient(circle, rgba(191, 219, 254, 0.9) 0%, rgba(224, 242, 254, 0.35) 46%, transparent 72%);
}

.hero-redesign .hero-float-card {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(226, 232, 240, 0.95);
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.08);
}

.hero-redesign .hero-float-label,
.hero-redesign .text-muted {
  color: #64748b !important;
}

.stat-card-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 55%, #d9f9f1 100%);
  border: 1px solid rgba(191, 219, 254, 0.7);
  color: #0f172a;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.08);
}

.stat-card-blue .stat-num,
.stat-card-blue .stat-label {
  color: #0f172a;
}

.stat-card-blue:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px rgba(37, 99, 235, 0.12);
}

.service-pro-card,
.doctor-pro-card,
.appointment-card,
.bd-card,
.card.shadow-sm,
.card.shadow-lg {
  border-radius: 24px !important;
}

.service-pro-card:hover,
.doctor-pro-card:hover,
.appointment-card:hover,
.bd-card:hover {
  transform: translateY(-6px) !important;
}

@media (max-width: 991.98px) {
  .hero-redesign {
    padding-top: 150px !important;
    padding-bottom: 72px;
  }

  .hero-redesign-title {
    max-width: 100%;
    font-size: clamp(2.35rem, 9vw, 4rem);
  }

  .hero-redesign-sub {
    font-size: 1rem;
  }

  .stats-section-container {
    transform: translateY(-24px);
  }

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

@media (max-width: 575.98px) {
  .hero-redesign {
    padding-top: 138px !important;
    padding-bottom: 60px;
  }

  .hero-redesign .hero-trust-row {
    gap: 10px;
  }

  .hero-redesign .hero-trust-item {
    width: 100%;
    justify-content: flex-start;
  }

  .stats-blue-grid {
    grid-template-columns: 1fr;
  }

  .stat-card-blue {
    padding: 22px 18px;
  }
}

