/* ===== DESIGN TOKENS ===== */
:root {
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --primary-light: #42A5F5;
  --primary-pale: #E3F2FD;
  --accent: #FF6F00;
  --accent-light: #FFA040;
  --bg-dark: #0A1628;
  --bg-section: #F5F8FC;
  --bg-white: #FFFFFF;
  --text-dark: #1A2332;
  --text-mid: #546E7A;
  --text-light: #90A4AE;
  --border: #DCE8F0;
  --success: #2E7D32;
  --whatsapp: #25D366;
  --shadow-sm: 0 2px 8px rgba(21, 101, 192, 0.07);
  --shadow-md: 0 8px 30px rgba(21, 101, 192, 0.10);
  --shadow-lg: 0 16px 50px rgba(21, 101, 192, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 50%;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden
}

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

a {
  text-decoration: none;
  color: inherit
}

ul {
  list-style: none
}

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

/* ===== UTILITY ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

.section-pad {
  padding: 90px 0
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary);
  margin-bottom: 14px
}

h2.welcome-text {
  color: var(--primary-pale);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h2.welcome-heading {
  font-family: var(--font-heading);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.welcome-heading .text-blue {
  color: var(--primary-light);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
}

.welcome-heading .text-white {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--text-dark);
  margin-bottom: 16px
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto 44px;
  text-align: center;
}

.text-center {
  text-align: center
}

.mx-auto {
  margin-left: auto;
  margin-right: auto
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .93rem;
  border: none;
  cursor: pointer;
  transition: var(--transition)
}

.btn-primary {
  background: var(--primary);
  color: #fff
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md)
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .5)
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .1)
}

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

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

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  border-radius: 30px
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px)
}

.btn-call {
  background: var(--primary);
  color: #fff;
  border-radius: 30px
}

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

/* ===== TOPBAR ===== */
.topbar {
  background: var(--primary-dark);
  color: #fff;
  font-size: .82rem;
  padding: 8px 0
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px
}

.topbar a {
  color: rgba(255, 255, 255, .85);
  transition: var(--transition)
}

.topbar a:hover {
  color: var(--accent-light)
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  transition: var(--transition)
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark)
}

.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center
}

.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  transition: var(--transition)
}

.nav-links a:hover {
  color: var(--primary)
}

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

.nav-links a:hover::after {
  width: 100%
}

.nav-cta {
  padding: 10px 22px !important;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important
}

.nav-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px)
}

.nav-cta::after {
  display: none !important
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition)
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #081222;
  /* Matches the dark solid blue from image */
  overflow: hidden
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  opacity: .12;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, .5), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, .5), transparent)
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2
}

.hero-content {
  padding: 40px 0
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 30px;
  padding: 8px 18px;
  margin-bottom: 30px;
  font-size: .82rem;
  color: var(--accent-light);
  font-weight: 600
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.3)
  }
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.5px
}

.hero h1 .highlight {
  color: var(--accent-light)
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.8
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.hero-buttons svg {
  margin-right: 2px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  align-items: center;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .15);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px dashed rgba(66, 165, 245, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-stat h3 {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700
}

.hero-stat p {
  font-size: .75rem;
  color: rgba(255, 255, 255, .45);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 2px
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 600px;
}

.hero-image-wrapper {
  width: 550px;
  height: 550px;
  border-radius: 50%;
  overflow: hidden;
  border: 18px solid rgba(25, 75, 150, 0.6);
  /* Thick blue border */
  box-shadow: 0 0 60px rgba(0, 0, 0, .3);
  position: absolute;
  right: -50px;
}

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

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-14px)
  }
}

.hero-float-card {
  position: absolute;
  background: linear-gradient(145deg, rgba(10, 22, 40, 0.7), rgba(10, 22, 40, 0.3));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  color: #fff;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-float-card.card-1 {
  bottom: 80px;
  left: -20px;
}

.hero-float-card.card-2 {
  top: 60px;
  right: -20px;
}

.hero-float-card .card-icon {
  font-size: 1.5rem;
  margin-bottom: 4px
}

.hero-float-card .card-label {
  font-size: .72rem;
  color: rgba(255, 255, 255, .55)
}

.hero-float-card .card-value {
  font-size: 1rem;
  font-weight: 700
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-white)
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center
}

.about-image-block {
  position: relative
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg)
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #fff;
  padding: 22px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md)
}

.about-experience-badge h3 {
  font-size: 2.2rem;
  line-height: 1
}

.about-experience-badge p {
  font-size: .78rem;
  opacity: .8
}

.about-text h2 {
  margin-bottom: 18px
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 18px
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 500
}

.about-feature .check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: .8rem;
  flex-shrink: 0
}

/* ===== SERVICES ===== */
.services {
  background: var(--bg-section)
}

.services-header {
  text-align: center
}

.services-header .section-subtitle {
  margin-left: auto;
  margin-right: auto
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px
}

.service-tab {
  padding: 10px 22px;
  border-radius: 30px;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-mid);
  transition: var(--transition)
}

.service-tab.active,
.service-tab:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.service-category {
  display: none
}

.service-category.active {
  display: block
}

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

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition)
}

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

.service-card:hover::before {
  transform: scaleX(1)
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px
}

.service-card p {
  font-size: .85rem;
  color: var(--text-mid);
  line-height: 1.6
}

/* ===== STATS ===== */
.stats-section {
  background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark));
  padding: 70px 0;
  position: relative;
  overflow: hidden
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(66, 165, 245, .06)
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 2
}

.stat-item h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--accent-light);
  font-weight: 800
}

.stat-item p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px
}

/* ===== DOCTORS ===== */
.doctors {
  background: var(--bg-white)
}

.doctors-header {
  text-align: center
}

.doctors-header .section-subtitle {
  margin-left: auto;
  margin-right: auto
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px
}

.doctor-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.doctor-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--border);
  transition: var(--transition)
}

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

.doctor-card:hover .doctor-image {
  border-color: var(--primary);
  box-shadow: var(--shadow-md)
}

.doctor-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px
}

.doctor-card .specialty {
  font-size: .85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px
}

.doctor-card .bio {
  font-size: .82rem;
  color: var(--text-mid);
  max-width: 280px;
  margin: 0 auto;
  margin-bottom: 16px;
  flex-grow: 1;
}

.doctor-btn {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
  border-color: var(--primary);
  color: var(--primary);
}

.doctor-btn:hover {
  background: var(--primary);
  color: #fff;
}

.doctor-image-link {
  display: block;
}

.doctor-card .btn-sm {
  padding: 8px 20px;
  font-size: .82rem;
  border-radius: 30px;
  margin-top: auto
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--bg-section)
}

.testimonials-header {
  text-align: center
}

.testimonials-header .section-subtitle {
  margin-left: auto;
  margin-right: auto
}

.testimonials-carousel {
  position: relative;
  overflow: hidden
}

.testimonials-track {
  display: flex;
  transition: transform .5s ease
}

.testimonial-slide {
  min-width: 33.333%;
  padding: 0 14px;
  box-sizing: border-box
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  height: 100%
}

.testimonial-stars {
  color: var(--accent);
  font-size: .9rem;
  margin-bottom: 14px;
  letter-spacing: 2px
}

.testimonial-card p {
  font-size: .88rem;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .95rem
}

.testimonial-name {
  font-weight: 600;
  font-size: .9rem
}

.testimonial-role {
  font-size: .75rem;
  color: var(--text-light)
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-mid);
  transition: var(--transition)
}

.carousel-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-pale)
}

/* ===== DOCTOR PROFILE PAGE ===== */
.doctor-profile-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d2847 50%, var(--primary-dark) 100%);
  padding: 120px 0 80px;
  color: #fff;
  text-align: center
}

.doctor-profile-hero .doctor-profile-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 28px;
  border: 5px solid rgba(255, 255, 255, .15);
  box-shadow: 0 0 60px rgba(21, 101, 192, .3)
}

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

.doctor-profile-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 8px
}

.doctor-profile-hero .doctor-title {
  color: var(--accent-light);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px
}

.doctor-profile-hero .doctor-quals {
  color: rgba(255, 255, 255, .55);
  font-size: .9rem
}

.doctor-profile-body {
  padding: 70px 0;
  background: var(--bg-white)
}

.doctor-profile-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start
}

.doctor-profile-body h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-dark)
}

.doctor-profile-body p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px
}

.specialization-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px
}

.spec-tag {
  background: var(--primary-pale);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 600
}

.doctor-sidebar {
  background: var(--bg-section);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border)
}

.doctor-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 18px
}

.doctor-sidebar .sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--text-mid)
}

.doctor-sidebar .sidebar-item:last-child {
  border-bottom: none
}

.doctor-sidebar .sidebar-icon {
  font-size: 1.2rem
}

/* ===== BRANCHES PAGE ===== */
.branches-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d2847 50%, var(--primary-dark) 100%);
  padding: 120px 0 80px;
  color: #fff;
  text-align: center
}

.branches-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 14px
}

.branches-hero p {
  color: rgba(255, 255, 255, .65);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto
}

.branches-section {
  padding: 70px 0;
  background: var(--bg-section)
}

.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px
}

.branch-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition)
}

.branch-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px)
}

.branch-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--primary-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .9rem
}

.branch-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.branch-card-body {
  padding: 28px
}

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

.branch-card-body .branch-address {
  display: flex;
  gap: 10px;
  align-items: start;
  font-size: .88rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.6
}

.branch-card-body .branch-address span:first-child {
  flex-shrink: 0;
  font-size: 1.1rem
}

.branch-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px
}

.branch-contact-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition)
}

.branch-contact-list a:hover {
  color: var(--primary-dark)
}

.branch-map {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--border)
}

.branch-map iframe {
  width: 100%;
  height: 100%;
  border: none
}

@media(max-width:1024px) {
  .doctor-profile-grid {
    grid-template-columns: 1fr
  }

  .branches-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:768px) {
  .doctor-profile-hero {
    padding: 100px 0 60px
  }

  .branches-hero {
    padding: 100px 0 60px
  }
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .03)
}

.cta-section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: #fff;
  margin-bottom: 14px
}

.cta-section p {
  color: rgba(255, 255, 255, .8);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-white)
}

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

.contact-info h2 {
  margin-bottom: 18px
}

.contact-info>p {
  color: var(--text-mid);
  margin-bottom: 28px
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px
}

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

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

.contact-item h4 {
  font-size: .92rem;
  margin-bottom: 3px
}

.contact-item p {
  font-size: .85rem;
  color: var(--text-mid)
}

.contact-form {
  background: var(--bg-section);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border)
}

.contact-form h3 {
  font-size: 1.2rem;
  margin-bottom: 22px
}

.form-group {
  margin-bottom: 16px
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: var(--transition);
  background: #fff
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .08)
}

.form-group textarea {
  resize: vertical;
  min-height: 90px
}

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

.form-error {
  color: #d32f2f;
  font-size: .78rem;
  margin-top: 4px;
  display: none
}

/* ===== MAP ===== */
.map-section {
  width: 100%;
  height: 350px;
  filter: grayscale(20%)
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .7);
  padding: 60px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px
}

.footer-brand .nav-logo {
  margin-bottom: 14px;
  color: #fff
}

.footer-brand p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
  max-width: 280px
}

.footer h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 16px
}

.footer ul li {
  margin-bottom: 9px
}

.footer ul li a {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
  transition: var(--transition)
}

.footer ul li a:hover {
  color: var(--accent-light)
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .9rem;
  transition: var(--transition)
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 20px 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(255, 255, 255, .3)
}

/* ===== FLOATING BUTTONS ===== */
.floating-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: var(--transition)
}

.float-btn:hover {
  transform: scale(1.1)
}

.float-btn.whatsapp {
  background: var(--whatsapp)
}

.float-btn.call {
  background: var(--primary)
}

.float-btn.scroll-top {
  background: var(--primary-dark);
  opacity: 0;
  pointer-events: none
}

.float-btn.scroll-top.visible {
  opacity: 1;
  pointer-events: all
}

.emergency-strip {
  background: linear-gradient(90deg, #d32f2f, #b71c1c);
  color: #fff;
  padding: 10px 0;
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .5px
}

.emergency-strip a {
  color: #fff;
  text-decoration: underline;
  margin-left: 8px
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: .7s cubic-bezier(.4, 0, .2, 1)
}

.reveal.active {
  opacity: 1;
  transform: translateY(0)
}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center
  }

  .hero-visual {
    display: none
  }

  .hero-desc,
  .hero-buttons,
  .hero-stats {
    margin-left: auto;
    margin-right: auto;
    justify-content: center
  }

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

  .about-image-block {
    max-width: 500px;
    margin: 0 auto
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .doctors-grid {
    grid-template-columns: repeat(2, 1fr)
  }

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

  .testimonial-slide {
    min-width: 50%
  }

  .contact-grid {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:768px) {
  .topbar {
    display: none
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 1001
  }

  .nav-links.open {
    display: flex
  }

  .nav-links a {
    color: #fff !important;
    font-size: 1.15rem
  }

  .hamburger {
    display: flex
  }

  .services-grid,
  .doctors-grid,
  .testimonials-grid {
    grid-template-columns: 1fr
  }

  .testimonial-slide {
    min-width: 100%
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .footer-grid {
    grid-template-columns: 1fr
  }

  .about-features {
    grid-template-columns: 1fr
  }

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

  .service-tabs {
    gap: 6px
  }

  .service-tab {
    padding: 8px 16px;
    font-size: .8rem
  }
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.welcome-text {
  color: #42A5F5;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background: var(--bg-section);
}

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

.gallery-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Gallery Tabs */
.gallery-tabs {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.gallery-tab {
  padding: 12px 32px;
  border-radius: 30px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--text-mid);
  transition: var(--transition);
  font-family: var(--font-body);
}

.gallery-tab.active,
.gallery-tab:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.25);
}

/* Gallery Grid */
.gallery-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.gallery-grid.active {
  display: grid;
}

/* Gallery Items */
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-thumb {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

/* Colour themes for each room type */
.gallery-thumb--reception {
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 60%, #1a237e 100%);
}
.gallery-thumb--ot {
  background: linear-gradient(135deg, #006064 0%, #00838F 100%);
}
.gallery-thumb--lab {
  background: linear-gradient(135deg, #4527A0 0%, #6A1B9A 100%);
}
.gallery-thumb--mics {
  background: linear-gradient(135deg, #00695C 0%, #004D40 100%);
}
.gallery-thumb--consult {
  background: linear-gradient(135deg, #1565C0 0%, #283593 100%);
}
.gallery-thumb--optical {
  background: linear-gradient(135deg, #E65100 0%, #BF360C 100%);
}
.gallery-thumb--exam {
  background: linear-gradient(135deg, #37474F 0%, #263238 100%);
}
.gallery-thumb--retina {
  background: linear-gradient(135deg, #1A237E 0%, #311B92 100%);
}
.gallery-thumb--pharmacy {
  background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
}
.gallery-thumb--ward {
  background: linear-gradient(135deg, #1565C0 0%, #37474F 100%);
}

.gallery-thumb-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
  padding: 20px;
  text-align: center;
}

.gallery-icon {
  font-size: 2.8rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.gallery-label {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Hover Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom {
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 10px 22px;
  border-radius: 30px;
  letter-spacing: .5px;
  transition: var(--transition);
  font-family: var(--font-body);
}

.gallery-zoom:hover {
  background: var(--accent);
}

/* Placeholder note */
.gallery-upload-note {
  text-align: center;
  font-size: .85rem;
  color: var(--text-light);
  background: var(--bg-white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-top: 8px;
}

.gallery-upload-note code {
  background: var(--primary-pale);
  color: var(--primary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .82rem;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 34, 0.92);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 700px;
  width: 92vw;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 10;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--accent);
  transform: rotate(90deg);
}

.lightbox-img-wrap {
  width: 100%;
  background: #0a1628;
}

.lightbox-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 40px 24px;
  text-align: center;
}

.lightbox-placeholder-icon {
  font-size: 5rem;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 12px rgba(66,165,245,0.3));
}

.lightbox-caption-inner {
  color: rgba(255,255,255,0.6);
  font-size: .88rem;
  font-family: var(--font-body);
}

.lightbox-caption {
  padding: 16px 24px;
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.85);
  font-size: .88rem;
  font-family: var(--font-body);
  text-align: center;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ===== BRANCH CARD IMAGE HEADERS ===== */
.branch-card-img {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.branch-card-img--rewari {
  background: linear-gradient(135deg, #0D47A1 0%, #1565C0 40%, #1976D2 70%, #0A1628 100%);
}

.branch-card-img--kosli {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 40%, #388E3C 70%, #0A1628 100%);
}

/* Decorative pattern overlay */
.branch-card-img--rewari::before,
.branch-card-img--kosli::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

.branch-card-img--rewari::after,
.branch-card-img--kosli::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.branch-preview-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  z-index: 1;
}

.branch-preview-badge {
  display: inline-block;
  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: .72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
  font-family: var(--font-body);
}

.branch-preview-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.branch-preview-sub {
  font-size: .85rem;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  margin-bottom: 16px;
}

.branch-preview-icons {
  display: flex;
  gap: 14px;
}

.branch-preview-icons span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: default;
  transition: var(--transition);
}

.branch-card:hover .branch-preview-icons span {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ===== GALLERY RESPONSIVE ===== */
@media(max-width:1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery-thumb {
    height: 160px;
  }

  .gallery-icon {
    font-size: 2rem;
  }

  .branch-card-img {
    height: 200px;
  }

  .branch-preview-title {
    font-size: 1.1rem;
  }
}

.branch-preview-overlay--dark {
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.15) 100%);
}

.gallery-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

@media(max-width:480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-photo {
    height: 220px;
  }
}

/* ===== HOMEPAGE BRANCHES SECTION ===== */
.branches-home {
  background: var(--bg-section);
}

.branches-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.branch-home-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.branch-home-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(21,101,192,.15);
}

/* Photo header with real image */
.branch-home-photo {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}

.branch-home-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 55%, rgba(0,0,0,.08) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem 1.4rem;
}

.branch-home-badge {
  display: inline-block;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 30px;
  padding: .25rem .75rem;
  margin-bottom: .55rem;
  width: fit-content;
}

.branch-home-name {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 .2rem;
  line-height: 1.2;
}

.branch-home-city {
  color: rgba(255,255,255,.78);
  font-size: .85rem;
  margin: 0;
}

/* Body info rows */
.branch-home-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.branch-home-info {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.bhi-row {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.bhi-row a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.bhi-row a:hover {
  text-decoration: underline;
}

.bhi-highlight {
  color: #2e7d32;
  font-weight: 600;
  font-size: .82rem;
  background: #e8f5e9;
  padding: .35rem .7rem;
  border-radius: 6px;
  border-left: 3px solid #43a047;
}

.branch-home-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 700px) {
  .branches-home-grid {
    grid-template-columns: 1fr;
  }
  .branch-home-photo {
    height: 190px;
  }
}