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

:root{
  /* Core Colors */
  --primary: oklch(28% .11 260);        /* Deep Navy Blue (#02245e) */
  --primary-foreground: oklch(99% 0 0); /* Soft White */
  --secondary: oklch(96% .02 250);      /* Very Soft Blue Tint (#e8f3ff) */
  --secondary-foreground: oklch(28% .11 260);
  --accent: oklch(63% .24 350);         /* Vibrant Pink/Magenta (#e92a9d) */
  --accent-foreground: oklch(99% 0 0);
  --muted: oklch(96% .01 255);          /* Muted Greyish Blue (#edf2f9) */
  --muted-foreground: oklch(50% .03 260); /* Slate Grey Text (#596475) */
  --background: oklch(100% 0 0);        /* Pure White Background */
  --foreground: oklch(22% .05 260);     /* Dark Slate Text (#0c1a32) */
  --ring: oklch(63% .24 350);           /* Pink/Magenta ring */

  /* Legacy Variable Mappings for Compatibility */
  --navy: var(--primary);
  --navy-dark: oklch(15% .03 260);      /* Extra Dark Navy (#081326) */
  --teal: var(--accent);
  --gold: var(--accent);
  --cream: oklch(96% .02 250 / 0.5);    /* Soft Blue Tint with 50% opacity */
  --gray: var(--muted-foreground);
  --border: oklch(90% .02 255);         /* Light Grey-Blue Border (#d5dfeb) */

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, oklch(97% .03 250) 0%, oklch(93% .05 240) 100%);
  --gradient-cta: linear-gradient(90deg, oklch(63% .24 350), oklch(40% .18 300)); /* Pink to Purple */

  /* Shadows */
  --shadow-soft: 0 10px 40px -12px oklch(28% .11 260/.18);
  --shadow-card: 0 4px 20px -8px oklch(28% .11 260/.15);
}

*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:'Segoe UI',Helvetica,Arial,sans-serif;
  color:#22292f;
  line-height:1.6;
  background:#fff;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
.container{max-width:1180px;margin:0 auto;padding:0 24px;}

.eyebrow{
  color:var(--teal);
  font-weight:700;
  letter-spacing:1.5px;
  text-transform:uppercase;
  font-size:0.85rem;
  margin-bottom:8px;
}
.center{text-align:center;}
h2{font-size:2rem;color:var(--navy-dark);margin-bottom:12px;}
.section-desc{color:var(--gray);max-width:640px;margin:0 auto 40px;}

.btn{
  display:inline-block;
  padding:12px 28px;
  border-radius:9999px;
  font-weight:600;
  transition:all .2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary{
  background: var(--gradient-cta);
  color: #fff;
}
.btn-primary:hover{
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-outline{
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover{
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-block{width:100%;text-align:center;}

/* Top bar */
.topbar{background:var(--navy-dark);color:#cfe0ec;font-size:0.85rem;}
.topbar-inner{display:flex;justify-content:flex-end;gap:24px;padding:8px 24px;flex-wrap:wrap;}

/* Header */
.site-header{border-bottom:1px solid var(--border);position:sticky;top:0;background:#fff;z-index:1000;transition:transform 0.3s ease-in-out;}
.site-header.header-hidden{transform:translateY(-100%);}
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 14px 24px 8px;
  gap: 12px;
}
.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}
.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.header-accreditation {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
}
.nabh-logo-img-header {
  height: 34px;
  width: auto;
  border-radius: 4px;
  object-fit: contain;
  background: #ffffff;
  padding: 2px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.nabh-badge-header {
  background: var(--gradient-cta);
  color: #fff;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: inline-block;
  white-space: nowrap;
}
.header-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  justify-content: center;
}
.logo-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.site-header .logo-img {
  width: 120px;
  height: 120px;
}
.logo-letter {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  background: var(--gradient-cta);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.95rem;
  font-family: 'Poppins', sans-serif;
  box-shadow: var(--shadow-card);
}
.logo-text{display:flex;flex-direction:column;line-height:1.15;}
.logo-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: -0.5px;
  display: flex;
  gap: 6px;
}
.logo-name .hero-brand-blue {
  color: #0c5db6;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}
.logo-name .hero-brand-green {
  color: #00b050;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}
.logo-sub {
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  color: var(--muted-foreground);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.nav{display:flex;gap:28px;flex-wrap:wrap;}
.nav a{font-weight:500;color:var(--navy-dark);transition:color 0.2s ease;}
.nav a:hover{color:var(--accent);}

/* Hero */
.hero {
  position: relative;
  height: 250vh;
  background: transparent;
  padding: 0;
}
.hero-sticky {
  position: sticky;
  top: var(--header-height, 73px);
  height: calc(100vh - var(--header-height, 73px));
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--background);
}
.hero-inner {
  display: block;
  width: 100%;
  position: relative;
  z-index: 3;
  pointer-events: none;
  max-width: 100% !important;
  padding: 0 40px !important;
}
.hero-cta-bottom-right {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 10;
  pointer-events: auto;
}
@media (max-width: 991px) {
  .hero-cta-bottom-right {
    bottom: 20px;
    right: 24px;
  }
}
@media (max-width: 575px) {
  .hero-cta-bottom-right {
    bottom: 16px;
    right: 16px;
  }
  .hero-cta-bottom-right .btn {
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
  }
}
.hero-text {
  max-width: 100%;
  width: 100%;
  pointer-events: auto;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}
.hero .eyebrow {
  color: #ff9f1c;
  font-weight: 800;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 9.2vw, 10rem);
  font-weight: 900;
  margin: 12px 0 20px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -2px;
  word-spacing: 0.3em;
  white-space: nowrap;
}
.hero-brand-blue {
  background: linear-gradient(135deg, #1b82e6 0%, #005ebb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.hero-brand-green {
  background: linear-gradient(135deg, #10cf52 0%, #00a651 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.hero-tags {
  color: #ff9f1c;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 0.82rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}
.hero-desc {
  color: #fffdf0;
  font-weight: 600;
  margin-bottom: 28px;
  max-width: 520px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8), 0 0 1px rgba(0, 0, 0, 0.9);
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero .btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}
.hero .btn-outline:hover {
  background: #ffffff !important;
  color: var(--primary) !important;
  border-color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.05) 0%, rgba(233, 42, 157, 0.03) 90%);
  z-index: 2;
  pointer-events: none;
}
.animation-loader {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 0.85rem;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(15,58,95,0.15);
  font-weight: 600;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 4;
}
.animation-loader.hidden {
  opacity: 0;
  transform: scale(0.9);
}

/* About */
.about{padding:90px 0;}
.about-inner{display:grid;grid-template-columns:1fr 1.1fr;gap:56px;align-items:center;}
.about-image img{border-radius:16px;}
.about-text h2{margin-bottom:20px;}
.about-text p{color:var(--gray);margin-bottom:16px;}

/* Services */
.services{padding:90px 0;background:var(--cream);}
.grid{display:grid;gap:28px;}
.grid-4{grid-template-columns:repeat(4,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 6px 20px rgba(15,58,95,0.06);display:flex;flex-direction:column;}
.card img{height:170px;object-fit:cover;}
.card h3{padding:16px 20px 4px;color:var(--navy-dark);}
.card ul{padding:0 20px 12px;color:var(--gray);font-size:0.92rem;}
.card ul li{margin-bottom:4px;list-style:disc;margin-left:16px;}
.link-arrow{padding:0 20px 20px;display:block;color:var(--teal);font-weight:600;}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  background: var(--primary);
  color: var(--primary-foreground);
}
.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 2.5rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.stat span {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

/* Departments & Doctors Section */
.departments {
  padding: 90px 0;
  background: #fff;
}
.dept-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.dept-card-icon-wrapper {
  width: 100%;
  aspect-ratio: 1.1;
  background: var(--cream);
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease;
}
.dept-card:hover .dept-card-icon-wrapper {
  background: oklch(96% .02 250 / 0.85);
}
.dept-card-icon {
  width: 72px;
  height: 72px;
  color: var(--primary);
  opacity: 0.7;
  transition: transform 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}
.dept-card:hover .dept-card-icon {
  transform: scale(1.1);
  color: var(--accent);
  opacity: 1;
}
.dept-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.dept-card:hover .dept-card-img {
  transform: scale(1.05);
}
.dept-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
}
.dept-badge {
  background: var(--secondary);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dept-card-title {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 4px;
  font-family: 'Poppins', sans-serif;
}
.dept-card-edu {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: -4px;
}
.dept-card-desc {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 4px;
}

/* Packages */
.packages{padding:90px 0;}
.pkg-card{
  border:1px solid var(--border);
  border-radius:24px;
  padding:32px 28px;
  text-align:center;
  background:#fff;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.pkg-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-soft);
}
.pkg-loc{font-size:0.75rem;color:var(--gray);margin-bottom:8px;}
.pkg-card h3{color:var(--navy-dark);margin-bottom:8px;}
.price{font-size:1.8rem;color:var(--accent);font-weight:700;margin-bottom:16px;}
.pkg-card ul{text-align:left;margin-bottom:24px;color:var(--gray);font-size:0.92rem;}
.pkg-card ul li{margin-bottom:6px;list-style:none;margin-left:0;display:flex;align-items:center;gap:8px;}
.pkg-card ul li::before{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  flex-shrink:0;
}
/* Highlighted package card */
.pkg-card.featured{
  background:var(--primary);
  color:var(--primary-foreground);
  border-color:transparent;
  box-shadow:var(--shadow-card);
}
.pkg-card.featured:hover{
  box-shadow:var(--shadow-soft);
}
.pkg-card.featured h3, .pkg-card.featured .price {
  color:#fff;
}
.pkg-card.featured .pkg-loc {
  color:rgba(255,255,255,0.7);
}
.pkg-card.featured ul {
  color:rgba(255,255,255,0.85);
}
.pkg-card.featured ul li::before {
  background:#fff;
}
.pkg-card.featured .btn {
  background:#fff;
  color:var(--primary);
}
.pkg-card.featured .btn:hover {
  background:var(--secondary);
}

/* Highlights */
.highlights{padding:90px 0;background:var(--cream);color:var(--foreground);}
.highlights h2{color:var(--primary);margin-bottom:12px;}
.highlights .eyebrow{color:var(--accent);}
.highlight{
  padding:24px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  box-shadow:var(--shadow-card);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.highlight:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-soft);
}
.highlight h3{margin-bottom:10px;color:var(--primary);}
.highlight p{color:var(--muted-foreground);font-size:0.92rem;}

/* Doctors */
.doctors{padding:90px 0;background:#fff;}
.doctor-benefits{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 28px;margin:0 0 50px;color:var(--gray);font-size:0.9rem;}
.doctor-benefits li{list-style:none;margin-left:0;display:flex;align-items:center;gap:8px;}
.doctor-benefits li::before{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
}
.doctor-card{
  background:#fff;
  border-radius:16px;
  padding:36px 20px;
  text-align:center;
  box-shadow:var(--shadow-card);
  border:1px solid var(--border);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.doctor-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-soft);
}
.avatar{
  width:96px;
  height:96px;
  border-radius:50%;
  background:var(--primary);
  color:var(--primary-foreground);
  font-weight:700;
  font-size:2rem;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 20px;
  font-family:"Poppins",sans-serif;
}
.visit-date{font-size:0.8rem;color:var(--accent);font-weight:600;margin-bottom:8px;}
.doctor-card h3{color:var(--primary);margin-bottom:4px;}
.specialty{color:var(--muted-foreground);margin-bottom:20px;}

.testimonials{padding:90px 0;background:var(--cream);}

/* Google Review Styles */
.google-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: #ffffff;
  padding: 16px 28px;
  border-radius: 9999px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  max-width: fit-content;
  margin: 0 auto 40px;
  flex-wrap: wrap;
}
.google-logo-big {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy-dark);
}
.rating-stars-val {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rating-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ff9800;
}
.google-rating-summary .stars {
  display: flex;
  color: #ff9800;
}
.star-filled {
  fill: #ff9800;
  width: 18px;
  height: 18px;
  stroke: #ff9800;
  stroke-width: 1.5px;
}
.star-unfilled {
  color: #ccc;
  width: 18px;
  height: 18px;
  stroke: #ccc;
  stroke-width: 1.5px;
}
.star-filled-sm {
  fill: #ff9800;
  width: 14px;
  height: 14px;
  stroke: #ff9800;
  stroke-width: 1.5px;
}
.star-unfilled-sm {
  color: #ccc;
  width: 14px;
  height: 14px;
  stroke: #ccc;
  stroke-width: 1.5px;
}
.reviews-count {
  font-size: 0.88rem;
  color: var(--muted-foreground);
  font-weight: 500;
}
.write-review-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px !important;
  font-size: 0.85rem !important;
  font-weight: 600;
}

/* Testimonial Cards */
.testimonial-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  width: 100%;
}
.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-transform: uppercase;
}
.reviewer-meta {
  flex: 1;
}
.reviewer-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 2px;
}
.review-date {
  font-size: 0.76rem;
  color: var(--muted-foreground);
}
.google-icon {
  display: flex;
  align-items: center;
}
.card-stars {
  display: flex;
  gap: 2px;
  margin: 14px 0 8px;
}
.review-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--foreground);
  margin-bottom: 16px;
  flex-grow: 1;
  font-style: normal !important;
}
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #10b981;
  background: #ecfdf5;
  padding: 4px 10px;
  border-radius: 9999px;
  align-self: flex-start;
}
.verified-badge i {
  width: 12px;
  height: 12px;
}

/* Contact */
.contact{padding:90px 0;background:#fff;color:var(--foreground);}
.contact-inner{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;}
.contact-info .eyebrow{color:var(--accent);}
.contact-info h2{color:var(--primary);margin-bottom:16px;}
.contact-info>p{color:var(--muted-foreground);margin-bottom:32px;}
.info-item{display:flex;align-items:start;gap:16px;margin-bottom:24px;}
.info-icon{
  width:44px;
  height:44px;
  border-radius:12px;
  background:var(--gradient-cta);
  color:#fff;
  display:grid;
  place-items:center;
  flex-shrink:0;
}
.info-icon svg{
  width:20px;
  height:20px;
}
.info-text-wrapper{display:flex;flex-direction:column;}
.info-item h4{color:var(--primary);font-size:1rem;font-weight:600;margin-bottom:4px;}
.info-item p{color:var(--muted-foreground);font-size:0.95rem;}
.contact-form{background:#fff;border-radius:24px;padding:36px;box-shadow:var(--shadow-card);border:1px solid var(--border);display:flex;flex-direction:column;gap:16px;}
.contact-form h3{color:var(--primary);font-size:1.5rem;font-weight:700;margin-bottom:4px;}
.contact-form input,.contact-form select,.contact-form textarea{
  width:100%;
  padding:12px 16px;
  border:1px solid var(--border);
  border-radius:12px;
  font-size:0.95rem;
  background:#fff;
  color:var(--foreground);
  transition:border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px oklch(63% .24 350 / 0.15);
}

.privacy-disclaimer {
  font-size: 0.76rem;
  color: var(--muted-foreground);
  margin: -4px 0 2px 0;
  line-height: 1.35;
  text-align: left;
}

/* Footer */
.site-footer{background:var(--primary);color:rgba(255,255,255,0.8);padding:60px 0 0;}
.footer-inner{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,0.1);}
.footer-brand .logo{color:#fff;margin-bottom:14px;}
.footer-brand .logo span {color:#fff;}
.footer-brand .logo .logo-letter {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}
.footer-col h4{color:#fff;margin-bottom:14px;font-size:0.9rem;text-transform:uppercase;letter-spacing:1px;}
.footer-col ul li{margin-bottom:8px;font-size:0.9rem;}
.footer-col ul li a:hover{color:#fff;}
.footer-bottom{padding:20px 24px;text-align:center;font-size:0.85rem;color:rgba(255,255,255,0.6);}

/* Mobile Navigation Toggle (Hamburger) */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, background-color 0.3s ease;
}
.mobile-nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: #fff;
}
.mobile-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: #fff;
}

/* Mobile Navigation Overlay Backdrop */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 19, 38, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  z-index: 99;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile-only and Desktop-only CTA */
.mobile-only-cta {
  display: none !important;
  background: linear-gradient(135deg, #5adb80 0%, #15803d 100%) !important;
  color: #fff !important;
}
.mobile-only-cta:hover {
  opacity: 0.95;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.35);
}
.desktop-only-cta {
  display: inline-block;
  background: linear-gradient(135deg, #5adb80 0%, #15803d 100%) !important;
  color: #fff !important;
}
.desktop-only-cta:hover {
  opacity: 0.95;
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.35);
}

/* Responsive Styles */
@media(max-width:960px){
  .hero-inner,.about-inner,.contact-inner{grid-template-columns:1fr;}
  .hero-inner {
    padding: 0 20px !important;
  }
  .hero-overlay {
    background: transparent;
  }
  .hero-text {
    max-width: 100%;
    text-align: left;
    margin: 0;
  }
  .hero-cta {
    justify-content: flex-start;
  }
  .animation-loader {
    bottom: 16px;
    right: 50%;
    transform: translateX(50%);
  }
  .animation-loader.hidden {
    transform: translateX(50%) scale(0.9);
  }
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)) !important;}
  .footer-inner{grid-template-columns:1fr 1fr;}
}

@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr !important;
  }
  /* Section Spacings & Typography */
  section, .leadership, .packages, .about, .departments, .testimonials, .contact {
    padding: 50px 0 !important;
  }
  
  .hero h1 {
    font-size: clamp(1.8rem, 9.2vw, 4.5rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -1px !important;
    white-space: nowrap !important;
  }
  h2 {
    font-size: 1.8rem !important;
  }
  .hero-desc {
    font-size: 0.95rem !important;
  }

  /* Header mobile adjustment */
  .header-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 12px 20px;
    gap: 0;
    align-items: center;
    justify-content: space-between;
  }
  .header-top {
    width: auto;
  }
  .header-left {
    gap: 12px;
  }
  .header-accreditation {
    border-left: none;
    padding-left: 0;
    height: auto;
  }
  .nabh-badge-header {
    display: none;
  }
  .nabh-logo-img-header {
    height: 28px;
  }
  .header-bottom {
    border-top: none;
    padding-top: 0;
    width: 0;
    height: 0;
  }
  .logo-letter, .logo-img {
    width: 50px;
    height: 50px;
    font-size: 1.35rem;
  }
  .site-header .logo-img {
    width: 65px;
    height: 65px;
  }
  .logo-name {
    font-size: 1rem;
    letter-spacing: 0;
    gap: 4px;
  }
  .logo-sub {
    font-size: 0.7rem;
    letter-spacing: 0;
  }

  /* Toggle elements */
  .mobile-nav-toggle {
    display: flex;
  }
  .desktop-only-cta {
    display: none !important;
  }
  .mobile-only-cta {
    display: block !important;
    text-align: center;
    margin-top: 16px;
    width: 100%;
  }

  /* Mobile Navigation Drawer */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 300px;
    height: 100vh;
    background: var(--navy-dark);
    z-index: 100;
    padding: 96px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav.active {
    transform: translateX(0);
  }
  .nav a {
    color: #cfe0ec;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }
  .nav a:hover, .nav a:active {
    color: #fff;
    padding-left: 6px;
  }

  /* Hero responsive height adjustments */
  .hero-sticky {
    height: calc(100dvh - var(--header-height, 63px));
    top: var(--header-height, 63px);
  }
  .hero {
    height: 180vh;
  }
}

@media(max-width:600px){
  .topbar {
    display: none;
  }
  .grid-4{grid-template-columns:1fr;}
  .topbar-inner{justify-content:center;text-align:center;}
}

/* Viewport Border Frame Overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid #fff;
  pointer-events: none;
  z-index: 9999;
  transition: border-width 0.2s ease;
}
@media (max-width: 768px) {
  body::after {
    border-width: 1.5px;
  }
}

/* Detailed Services Grid styles */
.services-divider {
  height: 1px;
  background: var(--border);
  margin: 56px 0;
  border: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.service-item-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--primary);
}
.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-icon-box svg {
  width: 24px;
  height: 24px;
}
.service-item-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}
.service-item-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Founders & Leadership Section */
.leadership {
  padding: 90px 0;
  background: var(--background);
}
.founders-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 960px;
  margin: 40px auto 0;
}
.founder-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--primary);
}
.founder-image-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--secondary);
  flex-shrink: 0;
}
.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.founder-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
}
.founder-info h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin: 0;
}
.founder-edu {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.95rem;
}
.founder-spec {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}
.founder-reg {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  background: var(--muted);
  padding: 4px 8px;
  border-radius: 4px;
  align-self: flex-start;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .founders-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .founder-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  .founder-reg {
    align-self: center;
  }
  .dept-detail-grid, .dept-detail-grid.reverse {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .packages-hero h1 {
    font-size: 2.2rem !important;
  }
}

/* =====================================================
   NEW HEALTH PACKAGES & GENERAL STYLES
   ===================================================== */

/* Packages Page Hero */
.packages-hero {
  padding: 80px 0 40px;
  background: var(--gradient-hero);
  text-align: center;
}
.packages-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  color: var(--primary);
  margin: 12px 0;
  line-height: 1.2;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 60px;
}
.pkg-card.featured-pkg {
  border-color: var(--accent);
  box-shadow: 0 10px 30px -10px oklch(63% .24 350 / 0.15);
  transform: scale(1.02);
}
.pkg-card.featured-pkg:hover {
  transform: scale(1.02) translateY(-4px);
}
.pkg-card.featured-pkg .pkg-badge {
  background: var(--gradient-cta);
  color: #fff;
}
.pkg-header {
  margin-bottom: 24px;
  position: relative;
}
.pkg-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--secondary);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.pkg-desc {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-top: 6px;
  margin-bottom: 16px;
  line-height: 1.4;
}
.pkg-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-top: 12px;
}
.pkg-price .currency {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
}
.pkg-price .period {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--muted-foreground);
}
.pkg-price .text-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}
.pkg-features-list {
  text-align: left;
  margin-bottom: 28px;
}
.pkg-features-list h4 {
  font-size: 0.9rem;
  color: var(--navy-dark);
  margin-bottom: 16px;
  font-weight: 700;
}
.pkg-features-list ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pkg-features-list ul li {
  display: flex;
  align-items: start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--foreground);
  line-height: 1.4;
}
.pkg-features-list ul li svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Extra Tests Section */
.extra-tests-section {
  padding: 80px 0;
  background: var(--secondary);
  border-top: 1px solid var(--border);
}
.extra-tests-inner {
  max-width: 960px;
  margin: 0 auto;
}
.tests-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.test-item-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.test-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--primary);
}
.test-item-card .test-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--secondary);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.test-item-card .test-icon svg {
  width: 20px;
  height: 20px;
}
.test-item-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}
.test-item-card p {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  line-height: 1.4;
  margin: 0;
}

/* Floating Contact Buttons */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
}
.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.whatsapp-float {
  background-color: #25D366;
}
.phone-float {
  background-color: var(--accent);
}
.float-btn svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.25;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  z-index: 997;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.back-to-top.active {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover {
  background-color: var(--navy-dark);
  transform: translateY(-2px);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* FAQ Accordion */
.faq-section {
  padding: 90px 0;
  background: var(--background);
}
.faq-container {
  max-width: 800px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}
.faq-item details summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  user-select: none;
}
.faq-item details summary::-webkit-details-marker {
  display: none;
}
.faq-item details summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq-item details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}
.faq-item details[open] {
  border-bottom: none;
}
.faq-content {
  padding: 0 24px 20px 24px;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.5;
  border-top: 1px solid var(--border);
  background-color: var(--muted);
  padding-top: 16px;
}

/* Gallery Section */
.gallery-section {
  padding: 90px 0;
  background: var(--secondary);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(8, 19, 38, 0.9));
  color: #fff;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h4 {
  font-size: 1rem;
  margin: 0;
  font-weight: 700;
}
.gallery-overlay p {
  font-size: 0.8rem;
  opacity: 0.8;
  margin: 0;
}

/* Medical Department Details sections */
.dept-detail-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
}
.dept-detail-section:nth-of-type(even) {
  background-color: var(--secondary);
}
.dept-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.dept-detail-grid.reverse {
  grid-template-columns: 1fr 1.2fr;
}
.dept-detail-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}
.dept-detail-content .eyebrow {
  color: var(--accent);
}
.dept-detail-content h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.dept-detail-content p {
  color: var(--muted-foreground);
  margin-bottom: 28px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.features-bullet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}
.bullet-item:hover {
  transform: translateY(-2px);
}
.bullet-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Shalini Diagnostics Card */
.diagnostics-box {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary) 100%);
  color: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.diagnostics-box h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 6px;
}
.diagnostics-box .diag-sub {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.diag-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.diag-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
}
.diag-col p {
  font-size: 0.95rem !important;
  color: #cfe0ec !important;
  margin-bottom: 8px !important;
}
.diag-col p strong {
  color: #fff;
}

/* Hero Eyebrow Accreditation Badge */
.hero-accreditation {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  vertical-align: middle;
}
.nabh-logo-img-hero {
  height: 38px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
  background: #ffffff;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.nabh-badge {
  background: var(--gradient-cta);
  color: #fff;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: inline-block;
}

/* Google Map Embed Container */
.map-container {
  width: 100%;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  margin-top: 24px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Emergency CTA styling in Hero */
.btn-emergency {
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  color: #fff !important;
  border-color: transparent;
}
.btn-emergency:hover {
  background: linear-gradient(90deg, #b91c1c, #991b1b);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}
.btn-emergency-outline {
  border: 2px solid #dc2626;
  color: #dc2626 !important;
  background: transparent;
}
.btn-emergency-outline:hover {
  background: linear-gradient(90deg, #dc2626, #b91c1c);
  color: #fff !important;
  border-color: transparent;
}
.emergency-icon {
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

/* Dropdown Menu Styles */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  border-radius: 12px;
  padding: 10px 0;
  z-index: 1000;
  border: 1px solid var(--border);
  margin-top: 10px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-menu a {
  color: var(--navy-dark) !important;
  padding: 10px 20px !important;
  display: block !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  border-bottom: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-menu a:hover {
  background-color: var(--secondary);
  color: var(--accent) !important;
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.active .dropdown-menu {
  display: block;
}
@media (max-width: 768px) {
  .nav-item-dropdown:hover .dropdown-menu {
    display: none;
  }
  .nav-item-dropdown.active .dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    background: transparent;
    border: none;
    padding-left: 15px;
    margin-top: 0;
  }
  .dropdown-menu a {
    color: #cfe0ec !important;
    padding: 8px 0 !important;
  }
  .dropdown-menu a:hover {
    background: transparent;
    color: #fff !important;
  }
}

/* Scroll-triggered Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ambulance Carousel */
.ambulance-gallery {
  position: relative;
  width: 100%;
  margin-top: 16px;
}
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-card);
}
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
}
.carousel-slide.active {
  opacity: 1;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(8, 19, 38, 0.75);
  color: #fff;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
.carousel-nav button {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.carousel-nav button:hover {
  background: var(--accent);
  transform: scale(1.05);
}

/* Receptionist Portal Styles */
.receptionist-body {
  background-color: var(--muted);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.portal-header {
  background: var(--navy-dark);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.portal-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.portal-header h1 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.portal-nav-tabs {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 8px;
}

.portal-tab-btn {
  background: transparent;
  color: #cfe0ec;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.portal-tab-btn.active {
  background: var(--accent);
  color: #fff;
}

.portal-tab-btn:hover:not(.active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Login Card styling */
.login-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.login-card {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.login-card h2 {
  text-align: center;
  margin-bottom: 8px;
  color: var(--navy-dark);
}

.login-card p {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

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

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

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--muted);
  color: var(--foreground);
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

/* Dashboard Container */
.dashboard-container {
  max-width: 1280px;
  margin: 32px auto;
  padding: 0 24px;
  width: 100%;
  flex: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-card span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

.stat-card h3 {
  font-size: 1.8rem;
  color: var(--navy-dark);
  font-weight: 700;
}

/* Control Panel */
.dashboard-panel {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 32px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.panel-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.panel-actions {
  display: flex;
  gap: 12px;
}

/* Table Styling */
.table-responsive {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.dashboard-table th {
  background-color: var(--muted);
  color: var(--foreground);
  font-weight: 600;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.dashboard-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.dashboard-table tr:last-child td {
  border-bottom: none;
}

.dashboard-table tr:hover {
  background-color: rgba(232, 243, 255, 0.3);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.badge-pending {
  background-color: #fef3c7;
  color: #d97706;
}

.badge-confirmed {
  background-color: #d1fae5;
  color: #059669;
}

.badge-cancelled {
  background-color: #fee2e2;
  color: #dc2626;
}

/* Availability Toggles */
.switch-container {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.switch-input {
  display: none;
}

.switch-slider {
  width: 44px;
  height: 24px;
  background-color: #cbd5e1;
  border-radius: 9999px;
  position: relative;
  transition: background-color 0.2s ease;
}

.switch-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.switch-input:checked + .switch-slider {
  background-color: var(--accent);
}

.switch-input:checked + .switch-slider::before {
  transform: translateX(20px);
}

.switch-status-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--foreground);
}

.switch-status-text.off {
  color: var(--muted-foreground);
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 19, 38, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--muted-foreground);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* Button variations */
.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 6px;
}

.btn-secondary {
  background-color: var(--muted);
  color: var(--foreground);
}

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

.btn-danger {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.btn-danger:hover {
  background-color: #fca5a5;
  color: #b91c1c;
}

.loading-spinner {
  border: 3px solid rgba(0, 0, 0, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border-left-color: var(--accent);
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom Division and Department Logos */
.diagnostics-header-flex {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
}
.diagnostics-header-text {
  flex: 1;
}
.diagnostics-header-text .eyebrow {
  margin-bottom: 4px;
  text-align: left;
}
.diagnostics-header-text h2 {
  margin: 6px 0 12px;
  text-align: left;
}
.diagnostics-header-text .section-desc {
  text-align: left;
  margin: 0;
  max-width: 720px;
}
.diagnostics-header-flex .diagnostics-logo-wrapper {
  margin-top: 0;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .diagnostics-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .diagnostics-header-text .eyebrow,
  .diagnostics-header-text h2,
  .diagnostics-header-text .section-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

.diagnostics-logo-wrapper {
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  margin-top: 20px;
}

.diagnostics-logo-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.diagnostics-logo {
  height: 60px;
  width: auto;
  display: block;
}


.maternal-logo-wrapper {
  display: block;
  width: max-content;
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.maternal-logo-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.maternal-logo {
  height: 45px;
  width: auto;
  display: block;
}

/* Printing Report Styles */
@media print {
  /* Hide all elements by default */
  body * {
    visibility: hidden;
  }
  /* Hide interactive components */
  .portal-header, 
  .portal-nav-tabs, 
  #user-controls, 
  .stats-grid, 
  .panel-header, 
  .modal-overlay, 
  .floating-contact, 
  .back-to-top,
  .dashboard-panel p {
    display: none !important;
  }
  
  /* Make only the bookings dashboard panel and its contents visible */
  #dashboard-section, 
  #tab-bookings, 
  .table-responsive, 
  .dashboard-table, 
  .dashboard-table * {
    visibility: visible;
  }
  
  /* Position the table flat on the page */
  #dashboard-section {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .dashboard-table {
    width: 100% !important;
    border-collapse: collapse !important;
  }
  
  .dashboard-table th, .dashboard-table td {
    border: 1px solid #000 !important;
    padding: 10px 8px !important;
    font-size: 11pt !important;
    color: #000 !important;
  }
  
  /* Hide action buttons (e.g. Issue Token, Delete) from printing */
  .dashboard-table button, 
  .dashboard-table .btn,
  .dashboard-table td:last-child {
    display: none !important;
  }
}

/* Style individual delete action buttons */
.btn-danger {
  background-color: var(--danger, #dc2626);
  color: #ffffff;
  border: none;
}
.btn-danger:hover {
  background-color: #b91c1c;
}
.btn-icon-only {
  padding: 6px 8px;
  line-height: 1;
}
.btn-icon-only i, .btn-icon-only svg {
  display: inline-block;
  width: 15px;
  height: 15px;
  vertical-align: middle;
}

/* Collaboration Blinking Text in Dialysis Section */
.collab-text-blinking {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: -12px;
  margin-bottom: 20px;
  display: block;
  animation: blink-colors 3s infinite ease-in-out;
}

@keyframes blink-colors {
  0%, 100% {
    color: var(--primary); /* Deep Navy */
    opacity: 1;
  }
  25% {
    color: var(--accent); /* Pink/Magenta */
    opacity: 0.85;
  }
  50% {
    color: oklch(69% .16 70); /* Warm Gold/Amber */
    opacity: 1;
  }
  75% {
    color: oklch(60% .18 140); /* Vibrant Green */
    opacity: 0.85;
  }
}

@media (max-width: 575px) {
  .collab-text-blinking {
    font-size: 0.78rem;
    margin-top: -8px;
    margin-bottom: 16px;
    letter-spacing: 0.4px;
  }
}



