/*
Theme Name: global nursing home
Theme URI: http://globalnursinghomeraiganj/hospital
Author: tbhcr custom software solutions
Description: A professional hospital website theme for Global Nursing Home, Raiganj.
Version: 1.0.2
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: globalnursing
Tags: healthcare, hospital, medical, responsive, custom-menu, featured-images
*/

:root {
  --primary: #1e1278;
  --primary-dark: #130c52;
  --primary-light: #2d1fa8;
  --accent: #f5a623;
  --accent-light: #ffd166;
  --teal: #00b4a0;
  --red: #e84040;
  --pink: #ff6b9d;
  --green: #27ae60;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-grey: #f0f2f8;
  --mid-grey: #9099b2;
  --dark-grey: #4a5170;
  --text: #1c1f3a;
  --border: #e2e6f0;
  --shadow-sm: 0 2px 8px rgba(30, 18, 120, 0.08);
  --shadow-md: 0 6px 24px rgba(30, 18, 120, 0.12);
  --shadow-lg: 0 16px 48px rgba(30, 18, 120, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
	overflow-x: hidden; /* Prevents horizontal scrolling/white gaps */
    width: 100%;
    margin: 0;
    padding: 0;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
	overflow-x: hidden; /* Prevents horizontal scrolling/white gaps */
    width: 100%;
    margin: 0;
    padding: 0;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

ul {
  list-style: none;
}

iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}
.hero-banner {
    position: relative;
    width: 100%;
    height: 100vh; /* Full Viewport Height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000; /* Fallback color */
  }

  /* Full Background Video Wrapper */
  .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* Prevents user interaction with the video */
  }

  /* Scaling iframe to cover the container (Video Background Hack) */
  .video-background iframe {
    width: 100vw;
    height: 56.25vw; /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 ratio */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* Overlay for text legibility */
  .hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust opacity for darkness */
    z-index: 2;
  }

  /* Content Styling & Animation */
  .hero-banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 20px;
	  
  }

  .animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s ease-out forwards;
  }

  .delay-1 { animation-delay: 0.5s; }
  .delay-2 { animation-delay: 1s; }

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  background: var(--white);
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(30, 18, 120, 0.18);
  border-color: var(--primary);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Montserrat", "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

h3 {
  font-size: 1.15rem;
}

h4 {
  font-size: 1rem;
}

p {
  color: var(--dark-grey);
}

.section-label {
	text-align:center;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
	text-align:center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--text);
  margin-bottom: 1rem;
}

.section-title strong,
.section-title span {
  color: var(--primary);
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

.section,
.site-main.section {
  padding: 72px 0;
}

.section-sm {
  padding: 48px 0;
}

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

.text-left {
  text-align: left;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 {
	display:flex;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
	max-width:fit-content;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 999px;
  margin: 12px 0 28px;
}

.divider.center {
  margin-right: auto;
  margin-left: auto;
}

.section-header {
  margin-bottom: 48px;
}

.section-header p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--mid-grey);
}

.btn-primary,
.btn-book,
.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  
  /* Critical for smooth animation */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  position: relative;
  overflow: hidden;
}

.btn-primary {
  align-self: flex-start;
  background: var(--primary);
  color: var(--white);
  padding: 13px 28px;
}

/* Hover State: Lift, Scale, and Glow */
.btn-primary:hover,
.btn-book:hover,
.btn-load-more:hover {
  transform: translateY(-4px) scale(1.03); /* Lifts and grows slightly */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
  filter: brightness(1.1); /* Subtle highlight */
}

/* Active State: Pressed effect */
.btn-primary:active {
  transform: translateY(-1px) scale(1);
}
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}

.top-contact {
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.top-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.top-links a:hover {
  color: var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(30, 18, 120, 0.08);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
}

.site-logo {
  flex: 0 1 auto;
  min-width: 0;
}

.site-logo .custom-logo-link,
.site-logo .text-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo img {
  width: auto;
  max-height: 64px;
}

.text-logo-title {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 900;
  font-family: "Montserrat", sans-serif;
}

.text-logo-title span {
  font-weight: 700;
}

.text-logo-subtitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

.primary-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu > li > a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--dark-grey);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--primary);
  background: rgba(30, 18, 120, 0.06);
}

.btn-book {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 18px !important;
  font-size: 0.84rem !important;
  white-space: nowrap;
}

.btn-book:hover {
  background: var(--primary-light) !important;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(30, 18, 120, 0.06);
  border: 1px solid rgba(30, 18, 120, 0.08);
  border-radius: 12px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 4px solid var(--accent);
  background: var(--primary-dark);
}

.hero-banner-media,
.hero-banner-content {
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(19, 12, 82, 0.52);
}

.hero-banner-image {
  width: 100%;
  min-height: 550px;
  object-fit: cover;
}

.hero-banner-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  padding: 80px 20px;
  color: var(--white);
  text-align: center;
}

.hero-banner-fallback h1,
.hero-banner-fallback p {
  color: var(--white);
}

.hero-banner-fallback p {
  max-width: 640px;
  opacity: 0.92;
}

.quick-actions {
	max-width:fit-content;
	display:inline;
	
  position: relative;
  padding: 0 0 32px;
  background: var(--off-white);
  overflow: hidden;
}

.quick-actions-grid {
	max-width:fit-content;
	display:inline;
  position: relative;
  z-index: 10;
  margin-top: 40px;
}

.quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  min-height: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.quick-card-icon,
.service-icon,
.price-card-icon,
.mvv-icon {
  flex-shrink: 0;
}

.quick-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  font-size: 1.4rem;
}

.quick-card-icon.green {
  background: #e8f8f1;
}

.quick-card-icon.orange {
  background: #fff4e6;
}

.quick-card-icon.blue {
  background: #e8f0ff;
}

.quick-card-icon.red {
  background: #ffe8e8;
}

.quick-card-text h4 {
  margin-bottom: 2px;
  color: var(--text);
  font-size: 1rem;
}

.quick-card-text span {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.services-section,
.about-section,
.testimonials-section,
.blog-section {
  position: relative;
  overflow: hidden;
}

.services-section {
  padding: 72px 0;
  background: var(--off-white);
}

.services-grid {
	max-width:fit-content;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 22px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--light-grey);
  font-size: 1.6rem;
}

.service-card h3 {
  margin-bottom: 6px;
}

.service-card p {
  margin-bottom: 16px;
  color: var(--mid-grey);
  font-size: 0.86rem;
  line-height: 1.55;
}

.explore-link,
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--primary);
  font-size: 0.84rem;
  font-weight: 700;
}

.explore-link::before,
.blog-read-more::before {
  content: "→";
}

.explore-link:hover,
.blog-read-more:hover {
  gap: 10px;
}

.price-list-section {
  position: relative;
  padding: 80px 0;
  color: var(--white);
  overflow: hidden;
  background: linear-gradient(135deg, #130c52 0%, #1e1278 100%);
}

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

.price-card {
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.price-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
}

.price-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 14px;
  font-size: 1.6rem;
}

.price-table {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.price-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-table tr:last-child {
  border-bottom: 0;
}

.price-table td {
  padding: 15px 0;
}

.price-table td:last-child {
  text-align: right;
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.about-section {
  padding: 72px 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: center;
}

.about-video-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--light-grey);
  aspect-ratio: 4 / 3;
}

.about-video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e1278 0%, #2d4db5 100%);
}

.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 1.8rem;
  backdrop-filter: blur(4px);
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--dark-grey);
  font-size: 0.92rem;
}

.about-feature .check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.mvv-section {
  padding: 60px 0;
  background: var(--off-white);
}

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

.mvv-card {
  position: relative;
  overflow: hidden;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
}

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

.mvv-card.mission {
  background: linear-gradient(135deg, #e8f0ff 0%, #d0ddff 100%);
}

.mvv-card.vision {
  background: linear-gradient(135deg, #32aa96 0%, #c2f0ea 100%);
}

.mvv-card.values {
  background: linear-gradient(135deg, #ede8ff 0%, #ddd0ff 100%);
}

.mvv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mvv-label {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.mvv-card p {
  font-size: 0.9rem;
}

.doctor-card {
	
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.doctors-grid {
  display: grid;
  width: 100%;
  gap: 24px;
  /* Default to 1 column for mobile */
  grid-template-columns: 1fr; 
}

/* Tablet screens (768px and up) */
@media (min-width: 768px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop screens (1024px and up) */
@media (min-width: 1024px) {
  .doctors-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

.doctor-card > div:last-child {
  padding: 24px;
}

.testimonials-section {
  padding: 72px 0;
  background: var(--white);
}

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

.testimonial-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  background: var(--light-grey);
}

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

.testimonial-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.testimonial-bg.card1 {
  background: linear-gradient(135deg, #1a1464 0%, #4040a0 100%);
}

.testimonial-bg.card2 {
  background: linear-gradient(135deg, #2c0e6e 0%, #6a3fc9 100%);
}

.testimonial-bg.card3 {
  background: linear-gradient(135deg, #1e1278 0%, #3a5fc0 100%);
}

.testimonial-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
}

.testimonial-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-overlay h4,
.testimonial-overlay span {
  color: var(--white);
}

.testimonial-overlay span:last-child {
  opacity: 0.76;
  font-size: 0.75rem;
}

.blog-section {
  padding: 72px 0;
  background: var(--off-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.blog-card {
  overflow: hidden;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}

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

.blog-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--light-grey);
}

.blog-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  width: 100%;
  height: 100%;
  font-size: 3rem;
}

.blog-img-placeholder.nature {
  background: linear-gradient(135deg, #2d6a4f 0%, #74c69d 100%);
}

.blog-img-placeholder.medical {
  background: linear-gradient(135deg, #1a6985 0%, #48cae4 100%);
}

.blog-img-placeholder.wellness {
  background: linear-gradient(135deg, #264653 0%, #2a9d8f 100%);
}

.blog-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(30, 18, 120, 0.88);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-content {
  padding: 22px;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--mid-grey);
  font-size: 0.75rem;
}

.blog-content h3 {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.4;
}

.blog-view-all {
  margin-top: 28px;
  color: var(--dark-grey);
  font-size: 0.9rem;
}

.blog-view-all a {
  color: var(--primary);
  font-weight: 700;
}

.network-section {
  position: relative;
  padding: 72px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
  overflow: hidden;
}

.contact-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.route-card,
.network-card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.route-step,
.network-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(30, 18, 120, 0.08);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-card h3,
.network-card h3 {
  margin: 16px 0 10px;
  color: var(--primary-dark);
}

.route-card p,
.network-card p {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.route-card .contact-chip-row {
  margin-top: 18px;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.network-card-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.network-card-list li {
  position: relative;
  padding-left: 18px;
  color: var(--dark-grey);
  font-size: 0.92rem;
}

.network-card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1;
}

.network-meta,
.bilingual-text {
  color: var(--mid-grey);
  font-size: 0.84rem;
}

.contact-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--off-white);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-chip:hover {
  background: rgba(30, 18, 120, 0.12);
}

.network-card--featured {
  background: linear-gradient(135deg, #130c52 0%, #24148c 100%);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.network-card--featured .network-card-label {
  background: rgba(255, 255, 255, 0.14);
  color: var(--accent-light);
}

.network-card--featured h3,
.network-card--featured p,
.network-card--featured .network-meta,
.network-card--featured .bilingual-text,
.network-card--featured .network-card-list li {
  color: rgba(255, 255, 255, 0.9);
}

.network-card--featured .network-card-list li::before {
  color: var(--accent-light);
}

.network-card--featured .contact-chip {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.umbrella-panel {
  margin-top: 32px;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(135deg, #130c52 0%, #1e1278 100%);
  box-shadow: var(--shadow-lg);
}

.umbrella-panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.umbrella-panel-header h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.umbrella-panel-header p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 700px;
}

.umbrella-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-pill {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
}

.location-directory {
  margin-top: 56px;
}

.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 60px;
}

.mobile-action-bar {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-name {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
}

.footer-brand-name span {
  display: inline-block;
  margin-top: 4px;
  color: var(--red);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-brand-col p {
  color: inherit;
}

.footer-brand-col strong {
  color: var(--white);
}

.footer-col h4 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-med-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.85rem;
}

.footer-social a:hover {
  background: var(--primary-light);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

.bg-svg-dots {
  background-color: var(--off-white);
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231e1278' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.bg-svg-cross {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 10h4v8h8v4h-8v8h-4v-8h-8v-4h8v-8z' fill='%231e1278' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.bg-svg-waves {
  background-color: var(--off-white);
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.184 20c.392-5.351-2.352-10-8.993-10-6.641 0-9.385 4.649-9.777 10H0bC.396 13.336 4.315 8 12.191 8 20.067 8 23.986 13.336 24.382 20h-3.198z' fill='%231e1278' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.page-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-row .btn-primary {
  align-self: auto;
}

.hero-center-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-center-page p,
.hero-center-page h1 {
  color: var(--white);
}

.emergency-icon {
  font-size: clamp(3.5rem, 10vw, 5rem);
  margin-bottom: 20px;
}

.emergency-title {
  font-size: clamp(2rem, 7vw, 3rem);
  margin-bottom: 20px;
}

.emergency-number {
  display: inline-block;
  padding: 18px 32px;
  border-radius: 999px;
  background: var(--white);
  color: var(--red);
  font-size: clamp(1.35rem, 5vw, 2rem);
  font-weight: 900;
}

.single-post-shell {
  max-width: 860px;
}

.single-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--mid-grey);
  font-size: 0.8rem;
}

.single-post-content {
  color: var(--dark-grey);
  font-size: 0.96rem;
  line-height: 1.8;
}

.single-post-content > * + * {
  margin-top: 1em;
}

.posts-navigation .nav-links {
  display: flex;
  justify-content: center;
}

.posts-navigation a {
  color: var(--primary);
  font-weight: 700;
}

.wpcf7 form p {
  margin-bottom: 16px;
}

.wpcf7-submit,
input[type="submit"] {
  width: auto;
  min-width: 160px;
  border: 0;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .services-grid,
  .grid-4,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-list-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-route-grid,
  .umbrella-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-links {
    gap: 12px 16px;
  }
}

@media (max-width: 900px) {
  .about-inner,
  .grid-3,
  .mvv-grid {
    grid-template-columns: 1fr;
  }

  .network-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    gap: 16px;
  }

  .footer-med-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding: 0 20px;
  }

  .section,
  .site-main.section,
  .services-section,
  .about-section,
  .testimonials-section,
  .blog-section,
  .mvv-section,
  .price-list-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .top-bar {
    display: none;
  }

  .header-inner {
    padding: 12px 20px;
  }

  .site-logo img {
    max-height: 54px;
  }

  .text-logo-title {
    font-size: 1.2rem;
  }

  .text-logo-subtitle {
    font-size: 0.68rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    flex: 0 0 auto;
    gap: 12px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    gap: 6px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu > li > a {
    padding: 12px 14px;
    white-space: normal;
  }

  .btn-book {
    padding: 10px 14px !important;
    font-size: 0.78rem !important;
  }

  .hero-banner,
  .hero-banner-image,
  .hero-banner-fallback {
    min-height: 340px;
  }

  .hero-banner-fallback {
    padding: 64px 2px;
  }

  .quick-actions-grid {
    margin-top: -24px;
  }

  .grid-2,
  .services-grid,
  .price-list-grid,
  .testimonials-grid,
  .blog-grid,
  .contact-route-grid,
  .umbrella-services-grid {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mobile-action-bar {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
    border: 1px solid rgba(96, 66, 173, 0.14);
    border-radius: 22px;
    background: rgba(246, 238, 255, 0.92);
    box-shadow: 0 12px 32px rgba(28, 31, 58, 0.16);
    backdrop-filter: blur(14px);
  }

  .mobile-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    color: var(--primary-dark);
    text-align: center;
  }

  .mobile-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    color: #7152d7;
  }

  .mobile-action-icon svg {
    width: 28px;
    height: 28px;
  }

  .mobile-action-item--whatsapp .mobile-action-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #30d566 0%, #1ca04f 100%);
    color: var(--white);
    box-shadow: 0 10px 18px rgba(48, 213, 102, 0.3);
    transform: translateY(-8px);
  }

  .mobile-action-item--call .mobile-action-icon {
    color: #e84040;
  }

  .mobile-action-label {
    display: block;
    max-width: 100%;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.15;
  }

  .quick-card,
  .service-card,
  .doctor-card > div:last-child,
  .page-card {
    padding: 20px;
  }

  .price-card {
    padding: 24px;
  }

  .route-card,
  .network-card,
  .umbrella-panel {
    padding: 20px;
  }

  .umbrella-panel-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-table td {
    padding: 12px 0;
    font-size: 0.88rem;
  }

  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn-primary {
    width: 100%;
  }

  .blog-view-all {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .grid-3,
  .grid-4 {
	  display:inline;
    grid-template-columns: 1fr;
  }

  .quick-card {
    align-items: flex-start;
  }

  .price-card-header {
    align-items: flex-start;
  }

  .mobile-action-bar {
    right: 8px;
    bottom: 8px;
    left: 8px;
    gap: 2px;
    padding: 8px 4px calc(8px + env(safe-area-inset-bottom, 0px));
    border-radius: 18px;
  }

  .mobile-action-icon {
    width: 42px;
    height: 42px;
  }

  .mobile-action-item--whatsapp .mobile-action-icon {
    width: 48px;
    height: 48px;
  }

  .mobile-action-label {
    font-size: 0.72rem;
  }

  .price-table td:first-child {
    width: 70%;
  }

  .single-post-meta {
    gap: 8px;
  }
}
.floating-social-vertical {
    position: fixed;
    top: 50%;
    right: 0; /* Sticks to the right edge */
    left: auto;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    /* Rounded corners on the inner side only */
    border-radius: 10px 0 0 10px; 
    overflow: hidden;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.floating-social-vertical .social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Brand Colors */
.facebook { background: #1877F2; }
.whatsapp { background: #25D366; }
.instagram { background: #E4405F; }
.youtube { background: #E4405F; }

/* Hover Effect: Slide LEFT into the screen */
.floating-social-vertical .social-icon:hover {
    padding-right: 20px; /* Shifts the icon slightly left */
    width: 70px;
    filter: brightness(1.1);
}

/* Entrance Animation from the Right */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate(50px, -50%);
    }
    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.floating-social-vertical.animate-text {
    animation: fadeInRight 1s ease-out forwards;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .floating-social-vertical .social-icon {
        width: 40px;
        height: 40px;
    }
}
/* Modal Container */
.service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
}

.service-modal.active {
    display: flex;
}

/* Background Blur Overlay */
.service-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

/* Modal Box */
.service-modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-modal.active .service-modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Content Styles */
.modal-service-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

#modalTitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--primary);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
}

.close-modal:hover { color: var(--primary); }



.hero-slider-wrapper {
    padding: 20px; /* Adjust this value for more/less margin */
    background-color: #f4f6f9; /* Blends with page background */
    box-sizing: border-box;
  }

  /* Main Container with rounded edges */
  .hero-slider-container {
    position: relative;
    width: 100%;
    height: 80vh; /* Adjust height as needed */
    min-height: 600px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  }

  /* Individual Slides */
  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
  }

  .hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Dark Overlay for Text Readability */
  .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.6) 0%, rgba(10, 25, 47, 0.4) 50%, rgba(10, 25, 47, 0.8) 100%);
  }

  /* Centered Text Content */
  .hero-banner-content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
  }

  .hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
    line-height: 1.1;
	  color:white
  }

  .hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin: 0 0 20px 0;
    color: white; /* Accented Raiganj */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
  }

  .hero-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
    line-height: 1.6;
  }

  /* Navigation Arrows */
  .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slider-nav:hover {
    background: var(--primary, #d93025);
    transform: translateY(-50%) scale(1.1);
  }

  .prev-btn { left: 20px; }
  .next-btn { right: 20px; }

  /* Floating Action Bar (Glassmorphism effect) */
  .floating-action-bar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    width: 90%;
    max-width: 1000px;
    justify-content: center;
  }

  .float-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15); /* Transparent Background */
    backdrop-filter: blur(12px); /* Blur Effect */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 10px;
    border-radius: 15px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
  }

  .float-btn i {
    font-size: 24px;
    color: #ffffff;
    transition: transform 0.3s ease;
  }

  .float-btn span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
  }

  .float-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  .float-btn:hover i {
    transform: scale(1.2);
    color: var(--primary, #d93025);
  }

  /* Responsive Adjustments */
  @media (max-width: 900px) {
    .floating-action-bar {
      flex-wrap: wrap;
      bottom: 20px;
    }
    .float-btn {
      flex: 0 0 calc(50% - 10px); /* 2x2 grid on tablets */
      padding: 12px 5px;
    }
    .hero-banner-content { top: 35%; }
  }

  @media (max-width: 480px) {
    .hero-slider-wrapper { padding: 10px; }
    .hero-slider-container { border-radius: 15px; height: 85vh; }
    .slider-nav { width: 40px; height: 40px; font-size: 16px; }
    .float-btn i { font-size: 20px; }
    .float-btn span { font-size: 0.8rem; }
  }