/* ====================================================
   JP HOSPITAL - MULTISPECIALITY & WOMEN'S HEALTHCARE
   Complete CSS Design System
   ==================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary: #006666;
  --primary-dark: #004d4d;
  --primary-light: #e6f2f2;
  --primary-gradient: linear-gradient(135deg, #006666 0%, #004d4d 100%);
  --accent-gold: #f5b000;
  --accent-gold-hover: #d99b00;
  --red-accent: #d92626;
  --secondary: #0d9488;
  --dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 102, 102, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(0, 102, 102, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-body);
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.sub-tag {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--dark);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-muted);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--accent-gold);
  color: #1a1000;
}

.btn-gold:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 176, 0, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* ================= EXACT TOP BAR ================= */
.top-bar {
  background: #004d4d;
  color: var(--white);
  padding: 8px 0;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-info-item i {
  color: var(--accent-gold);
  font-size: 13px;
}

.top-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-social-icon {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  transition: var(--transition);
}

.top-social-icon.fb {
  background: #1877f2;
}

.top-social-icon.insta {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.top-social-icon.yt {
  background: #ff0000;
}

.top-social-icon.wa {
  background: #25d366;
}

.top-social-icon:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ================= EXACT NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-logo-img {
  height: 42px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  border: 3px solid var(--primary);
  box-shadow: 0 2px 8px rgba(0, 102, 102, 0.15);
}

.logo-text h1 {
  font-size: 24px;
  color: var(--primary);
  letter-spacing: 0.5px;
  font-weight: 800;
  line-height: 1;
}

.logo-text span {
  font-size: 11px;
  color: var(--red-accent);
  display: block;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  position: relative;
  padding: 6px 0;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.dropdown-icon {
  font-size: 10px;
  margin-left: 2px;
}

.mobile-toggle {
  display: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  display: none;
  flex-direction: column;
  z-index: 100;
  border: 1px solid var(--border-color);
}

.nav-dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  padding: 10px 20px;
  font-size: 13px;
  text-transform: none;
  color: var(--text-body);
}

.dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, #f0f7f7 0%, #e6f2f2 100%);
  padding: 80px 0 100px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 102, 102, 0.1);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 48px;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--primary);
  position: relative;
}

.hero-content p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 102, 102, 0.15);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon {
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.badge-text {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}

.hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  top: 10%;
  left: -20px;
}

.floating-card-2 {
  bottom: 10%;
  right: -10px;
}

@keyframes floatAnim {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-10px);
  }
}

.fc-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.fc-info h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.fc-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================= Services Bar ================= */
.quick-services {
  margin-top: -50px;
  position: relative;
  z-index: 20;
}

.qs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 102, 102, 0.1);
  border: 1px solid rgba(0, 102, 102, 0.08);
}

.qs-card {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--radius-md);
  background: var(--light-bg);
  transition: var(--transition);
  cursor: pointer;
}

.qs-card:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
}

.qs-card:hover h4,
.qs-card:hover p {
  color: var(--white);
}

.qs-icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 12px;
  transition: var(--transition);
}

.qs-card:hover .qs-icon {
  color: var(--accent-gold);
}

.qs-card h4 {
  font-size: 14px;
  margin-bottom: 4px;
}

.qs-card p {
  font-size: 11px;
  color: var(--text-muted);
}

/* ================= About Section ================= */
.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  display: block;
}

/* About Section Image Collage */
.about-collage {
  position: relative;
  width: 100%;
  height: 520px;
  /* Exact height to match the text section's content height */
  display: block;
}

.collage-img {
  position: absolute;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 102, 102, 0.12);
  border: 6px solid var(--white);
  object-fit: cover;
  transition: var(--transition);
}

.collage-img:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 102, 102, 0.25);
}

/* Image 1 (FOREGROUND): Dr. Yugal Kishor Chandra (Director) - PROMINENT IN FRONT */
.collage-img.img-front {
  top: 14%;
  left: 0;
  width: 60%;
  height: 74%;
  z-index: 10;
  border: 6px solid var(--white);
  box-shadow: 0 20px 45px rgba(0, 102, 102, 0.28);
}

/* Floating Director Badge on Dr. Yugal's Image */
.director-front-badge {
  position: absolute;
  bottom: 8px;
  left: 12px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--accent-gold);
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.director-front-badge i {
  color: var(--accent-gold);
  font-size: 14px;
}

.director-front-badge span {
  display: block;
  font-size: 10px;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Background Image 1 (Top-Right): Advanced 24x7 Critical Care ICU */
.collage-img.img-bg-1 {
  top: 0;
  right: 0;
  width: 56%;
  height: 52%;
  z-index: 2;
  border-radius: var(--radius-md);
}

/* Background Image 2 (Bottom-Right): Automated Diagnostic & Pathology Lab */
.collage-img.img-bg-2 {
  bottom: 0;
  right: 2%;
  width: 50%;
  height: 48%;
  z-index: 1;
  border-radius: var(--radius-md);
}

@media (max-width: 991px) {
  .about-collage {
    height: 420px;
    max-width: 550px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .about-collage {
    height: 320px;
  }

  .collage-img {
    border-width: 4px;
  }
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 32px 0;
}

.af-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
}

.af-item i {
  color: var(--primary);
  font-size: 18px;
}

/* ================= Doctors Section ================= */
.doctors-section {
  padding: 90px 0;
  background: var(--light-bg);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.doctor-img-wrap {
  position: relative;
  /* height: 260; */
  height: 400px;
  overflow: hidden;
}

.doctor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.doctor-card:hover img {
  transform: scale(1.05);
}

.doctor-info {
  padding: 24px;
  text-align: center;
}

.doctor-info h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 4px;
}

.doctor-qual {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.doctor-spec {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.doctor-exp {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* View All Doctors Button */
.view-all-doctors-wrap {
  text-align: center;
  margin-top: 45px;
}

.btn-view-all-doctors {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #006666 0%, #004d4d 100%);
  color: #ffffff;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 102, 102, 0.3), 0 0 0 3px rgba(245, 176, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-view-all-doctors:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 35px rgba(0, 102, 102, 0.45), 0 0 0 4px rgba(245, 176, 0, 0.7);
  color: #f5b000;
}

.btn-view-all-doctors i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-view-all-doctors:hover i {
  transform: translateX(6px);
}


/* ================= Treatments Grid ================= */
.treatments-section {
  padding: 90px 0;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.treatment-card {
  background: var(--white);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.treatment-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary);
  transition: var(--transition);
  z-index: 1;
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.treatment-card:hover::after {
  height: 4px;
}

.treatment-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 20px auto;
  transition: var(--transition);
  z-index: 2;
}

.treatment-card:hover .treatment-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(360deg);
}

.treatment-card h4 {
  font-size: 17px;
  color: var(--dark);
  font-weight: 700;
  margin-bottom: 10px;
  transition: var(--transition);
  z-index: 2;
}

.treatment-card:hover h4 {
  color: var(--primary);
}

.treatment-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  transition: var(--transition);
  z-index: 2;
  margin: 0;
}

/* ================= Counter Banner ================= */
.counter-banner {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 60px 0;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.counter-item h3 {
  font-size: 42px;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.counter-item p {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* ================= Gallery Section ================= */
.gallery-section {
  padding: 90px 0;
  background: var(--light-bg);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 102, 102, 0.85);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  padding: 20px;
  text-align: center;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 4px;
}

.gallery-overlay span {
  font-size: 12px;
  color: var(--accent-gold);
  font-weight: 700;
}

/* ================= Appointment Section ================= */
.appointment-section {
  padding: 90px 0;
}

.appointment-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}

.appt-info-side {
  background: var(--primary-gradient);
  color: var(--white);
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.appt-info-side h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 16px;
}

.appt-info-side p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.appt-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.acl-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.acl-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 18px;
}

.acl-text h4 {
  color: var(--white);
  font-size: 14px;
}

.acl-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin: 0;
}

.appt-form-side {
  padding: 50px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 102, 0.1);
}

/* ================= EXACT FOOTER DESIGN ================= */
.footer {
  background: #004d4d;
  color: #e2e8f0;
  padding: 60px 0 20px 0;
  font-size: 13.5px;
}

.footer-5col-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.3fr 1.6fr 1.6fr;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-col {
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-col h3 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  color: #cbd5e1;
  font-size: 13px;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-brand p {
  line-height: 1.6;
  font-size: 13px;
  margin: 14px 0 20px 0;
  color: #cbd5e1;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
}

.footer-social-btn.fb {
  background: #1877f2;
}

.footer-social-btn.insta {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-social-btn.yt {
  background: #ff0000;
}

.footer-social-btn.wa {
  background: #25d366;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: #cbd5e1;
}

.footer-contact-item i {
  color: var(--accent-gold);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Emergency Column 5 */
.emergency-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.emergency-box h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.emergency-box h2 {
  color: var(--white);
  font-size: 38px;
  font-weight: 800;
  margin: 4px 0;
}

.emergency-box p {
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.btn-emergency-call {
  display: block;
  width: 100%;
  padding: 12px 10px;
  background: var(--accent-gold);
  color: #1a1000;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(245, 176, 0, 0.3);
  transition: var(--transition);
}

.btn-emergency-call:hover {
  background: var(--accent-gold-hover);
  transform: scale(1.02);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: #cbd5e1;
}

.footer-bottom-links a {
  color: #cbd5e1;
  margin-left: 16px;
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-whatsapp {
  background: #25d366;
}

.float-call {
  background: var(--primary);
}

/* Mobile Responsive */
@media (max-width: 1100px) {
  .footer-5col-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-col {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 992px) {

  .hero-grid,
  .about-grid,
  .appointment-box {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .qs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .doctors-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-5col-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    gap: 12px;
  }

  .nav-links.active {
    display: flex !important;
    animation: mobileNavSlide 0.25s ease-out forwards;
  }

  .nav-links a {
    padding: 10px 0;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
    width: 100%;
    display: block;
  }

  .mobile-toggle {
    display: block;
  }
}

@keyframes mobileNavSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {

  .qs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctors-grid,
  .gallery-grid,
  .treatments-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: span 1;
  }

  .footer-5col-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================= SERVICES & DEPARTMENTS STYLES ================= */
.services-section,
.departments-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.services-category-block {
  margin-bottom: 50px;
}

.services-category-header {
  border-bottom: 3px solid var(--primary-light);
  padding-bottom: 12px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.services-category-header i {
  font-size: 28px;
  color: var(--primary);
}

.services-category-header h2 {
  font-size: 26px;
  margin: 0;
}

.services-category-header span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 5px;
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.services-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.services-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--primary);
}

.services-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.services-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.services-card-content h3 {
  font-size: 19px;
  color: var(--primary);
  margin-bottom: 10px;
}

.services-card-content h3 span {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  font-weight: 500;
  margin-top: 2px;
}

.services-card-content p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.services-list {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services-list-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.4;
}

.services-list-item i {
  color: var(--secondary);
  font-size: 12px;
  margin-top: 4px;
}

.services-list-item.bold-text {
  font-weight: 700;
  color: var(--dark);
}

/* Department Card Grid */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.dept-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
  border-left: 6px solid var(--primary);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.dept-icon {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 16px;
}

.dept-card h3 {
  font-size: 23px;
  color: var(--dark);
  margin-bottom: 6px;
}

.dept-card h3 span {
  font-size: 15px;
  color: var(--text-muted);
  display: block;
  font-weight: 500;
  margin-top: 2px;
}

.hod-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-light);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin: 18px 0;
}

.hod-avatar {
  width: 45px;
  height: 45px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.hod-info h5 {
  font-size: 14px;
  color: var(--primary-dark);
  margin: 0;
}

.hod-info p {
  font-size: 12px;
  color: var(--text-body);
  margin: 0;
}

.dept-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Callout Info Boxes */
.custom-callout {
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.custom-callout.alert-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-left: 5px solid #d97706;
  color: #92400e;
}

.custom-callout.alert-danger {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-left: 5px solid #dc2626;
  color: #991b1b;
}

.custom-callout-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.custom-callout-text h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: inherit;
}

.custom-callout-text p {
  font-size: 13.5px;
  margin: 0;
  line-height: 1.4;
  color: inherit;
}

/* Additional Responsive Media Queries */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dept-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .dept-card {
    padding: 24px;
  }

  .services-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ================= TPA & CASHLESS INSURANCE STYLES ================= */
.gov-scheme-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
  border: 2px solid #fdba74;
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.gov-scheme-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #f97316, #16a34a);
}

.gov-scheme-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid #fed7aa;
  padding: 10px;
}

.gov-scheme-info h3 {
  font-size: 24px;
  color: #c2410c;
  margin-bottom: 10px;
}

.gov-scheme-info h3 span {
  font-size: 15px;
  color: #16a34a;
  font-weight: 700;
  display: inline-block;
  margin-left: 10px;
  background: #dcfce7;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.gov-scheme-info p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.gov-scheme-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gov-scheme-tag {
  font-size: 13px;
  font-weight: 700;
  color: #431407;
  background: #ffedd5;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.tpa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.tpa-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.tpa-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-light);
  transition: var(--transition);
}

.tpa-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.tpa-card:hover::after {
  background: var(--primary);
}

.tpa-logo-wrapper {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.tpa-logo-wrapper svg,
.tpa-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tpa-card h4 {
  font-size: 14.5px;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.3;
}

/* Additional Responsive Media Queries for TPA */
@media (max-width: 1100px) {
  .tpa-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .gov-scheme-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }

  .gov-scheme-logo {
    width: 160px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .tpa-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .tpa-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= GLOBAL SUBPAGE HEADER BANNER ================= */
.page-header-banner {
  background: linear-gradient(135deg, #004d4d 0%, #006666 100%);
  color: var(--white);
  padding: 65px 0;
  position: relative;
  overflow: hidden;
}

.page-header-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.breadcrumb {
  font-size: 13.5px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--accent-gold);
  transition: var(--transition);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-header-banner h1 {
  font-size: 40px;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  font-weight: 800;
  line-height: 1.2;
}

.page-header-banner p {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  line-height: 1.5;
  margin: 0;
}

.page-header-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition);
}

.page-header-img:hover {
  transform: scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Page Header Banner Mobile Responsiveness */
@media (max-width: 992px) {
  .page-header-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .page-header-banner p {
    margin: 0 auto;
  }

  .page-header-img {
    max-width: 450px;
    height: 180px;
    margin: 0 auto;
  }
}

/* ================= HD IMAGE LIGHTBOX & ZOOM VIEWER ================= */
.hd-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hd-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 15, 18, 0.94);
  backdrop-filter: blur(8px);
}

.hd-lightbox-content {
  position: relative;
  z-index: 2;
  width: 95vw;
  max-width: 1300px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  background: #0f172a;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.hd-lightbox-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: #090e17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 12px;
}

.hd-lightbox-title {
  color: #f8fafc;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 15px;
}

.hd-lightbox-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.hd-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.hd-btn:hover {
  background: #006666;
  border-color: #006666;
  color: #ffffff;
}

.hd-btn-close:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.hd-lightbox-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #020617;
}

.hd-img-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 20px;
}

.hd-img-container img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  user-select: none;
  transition: transform 0.2s ease-out;
}

.hd-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}

.hd-nav-btn:hover {
  background: #006666;
  border-color: #008080;
  transform: translateY(-50%) scale(1.1);
}

.hd-nav-prev { left: 20px; }
.hd-nav-next { right: 20px; }

.hd-lightbox-footer {
  padding: 10px 20px;
  background: #090e17;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .hd-lightbox-content {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
  }
  .hd-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }
  .hd-nav-prev { left: 10px; }
  .hd-nav-next { right: 10px; }
  .hd-lightbox-toolbar {
    padding: 10px 14px;
  }
  .hd-lightbox-title {
    font-size: 14px;
  }
  .hd-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* ================= ANIMATED COUNTER BANNER ================= */
.counter-banner {
  background: linear-gradient(135deg, #004d4d 0%, #006666 50%, #061c1c 100%);
  color: var(--white);
  padding: 65px 0;
  position: relative;
  overflow: hidden;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(245, 176, 0, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
  border: 1px solid rgba(245, 176, 0, 0.3);
  transition: all 0.3s ease;
}

.counter-item:hover .counter-icon-box {
  transform: translateY(-4px) scale(1.08);
  background: var(--accent-gold);
  color: #061c1c;
}

.counter-val,
.counter-val-static {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 6px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.counter-item p {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ================= WHAT OUR PATIENTS SAY (TESTIMONIALS) ================= */
.testimonials-section {
  padding: 90px 0;
  background: #f8fafc;
  position: relative;
}

.rating-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--dark);
}

.rating-badge-header .stars {
  color: #f59e0b;
  display: flex;
  gap: 3px;
  font-size: 14px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px 24px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 102, 102, 0.12);
  border-color: #006666;
}

.t-quote-icon {
  font-size: 24px;
  color: rgba(0, 102, 102, 0.25);
  margin-bottom: 12px;
}

.t-stars {
  color: #f59e0b;
  font-size: 14px;
  margin-bottom: 14px;
  display: flex;
  gap: 3px;
}

.t-comment {
  font-size: 14px;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.t-patient {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.t-meta h4 {
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 2px;
}

.t-meta span {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

.t-meta .verified-badge {
  color: #10b981;
  font-weight: 700;
  font-size: 11px;
  margin-top: 3px;
}

/* ================= TPA & CORPORATE TIE-UPS AUTO-SCROLL MARQUEE ================= */
.tpa-marquee-section {
  padding: 55px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.tpa-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tpa-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: tpaScroll 45s linear infinite;
}

.tpa-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes tpaScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.tpa-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 0.25s;
  flex-shrink: 0;
}

.tpa-chip:hover {
  border-color: #006666;
  box-shadow: 0 8px 22px rgba(0, 102, 102, 0.15);
  transform: translateY(-3px);
}

.tpa-chip-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 102, 102, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.tpa-chip:hover .tpa-chip-icon {
  background: var(--primary);
  color: #ffffff;
}

.tpa-chip-info h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.tpa-chip-info span {
  font-size: 11px;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Rules for New Sections: Testimonials Strictly 1 Single Row (Requirement 7) */
@media (max-width: 1100px) {
  .testimonials-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 18px;
    padding-bottom: 14px;
    scrollbar-width: thin;
  }
  .testimonials-grid .testimonial-card {
    min-width: 285px;
    max-width: 320px;
    flex: 0 0 295px;
    scroll-snap-align: start;
  }
}

@media (max-width: 992px) {
  .counter-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .about-collage {
    height: 440px;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .counter-val,
  .counter-val-static {
    font-size: 32px;
  }
  .about-collage {
    height: 360px;
  }
  .collage-img.img-front {
    width: 70%;
    height: 75%;
  }
  .director-front-badge {
    padding: 6px 12px;
    font-size: 11px;
  }
}

/* ================= ADVANCED FLOATING & MICRO-ANIMATIONS ================= */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.8deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 102, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(0, 102, 102, 0);
  }
}

@keyframes shimmerEffect {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.floating-badge {
  animation: floatGentle 4.5s ease-in-out infinite;
}

.pulsing-element {
  animation: pulseGlow 2.5s infinite;
}

.director-front-badge {
  animation: floatGentle 5s ease-in-out infinite;
}