/***** deterrent only — hurts UX; optional *****/
html, body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea {
  -webkit-user-select: text;
  user-select: text;
}
/* ===== CSS Variables & Global Styles ===== */
:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #14b8a6;
  --secondary: #1e40af;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --dark: #1f2937;
  --light: #f8fafc;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --white: #ffffff;
  --gradient-teal: linear-gradient(135deg, #62ffa9 0%, #2fcebb 100%);
  --gradient-light: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

.text-gradient {
  background: var(--gradient-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-teal {
  background: var(--gradient-teal) !important;
}

.bg-light-gradient {
  background: var(--gradient-light) !important;
}

.shadow-elegant {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.btn-gradient-teal {
  background: var(--gradient-teal);
  border: none;
  color: white;
  font-weight: 500;
  transition: var(--transition);
}

.btn-gradient-teal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.hover-scale {
  transition: var(--transition);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* ===== Top Bar ===== */
.top-bar {
  font-size: 0.875rem;
  position: relative;
  z-index: 1030;
}

/* ===== Navigation ===== */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
}

/* ===== Fixed Top Bar & Navbar ===== */
.top-bar,
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050; /* higher than carousel, buttons, etc. */
}

.top-bar {
  background: white;
  box-shadow: var(--shadow-sm);
}

.navbar {
  top: 40px; /* height of top bar */
  background: white;
  box-shadow: var(--shadow-md);
}

/* Add body padding to avoid content overlap */
body {
  padding-top: 120px; /* adjust if your navbar+topbar height differs */
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
}

.logo-container {
  display: flex;
  align-items: center;
}

/* Logo Styles */
.navbar-logo {
    height: 50px; /* Adjust based on your logo's aspect ratio */
    width: auto;
    margin-right: 15px;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .navbar-logo {
        height: 40px;
    }
}

/* If you want to keep the logo in the footer as well */
.footer-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.brand-name {
  font-size: 1.25rem;
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  line-height: 1;
}

.nav-link-modern {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius);
  position: relative;
  color: var(--dark) !important;
}

.nav-link-modern:hover, .nav-link-modern.active {
  color: var(--primary) !important;
}

.nav-link-modern::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link-modern:hover::after, .nav-link-modern.active::after {
  width: 80%;
}

.dropdown-menu-modern {
  border: none;
  border-radius: var(--border-radius-lg);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.7rem 1.5rem;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary);
}

/* ===== Hero Section ===== */
.hero-section-modern {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.8) 0%, rgba(20, 184, 166, 0.6) 100%);
}

.carousel-caption-modern {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: left;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-title {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.btn-hero {
  background: white;
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--primary);
}

.btn-hero-outline {
  border: 2px solid white;
  color: white;
  font-weight: 600;
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
}

.modern-indicators {
  bottom: 30px;
}

.modern-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  transition: var(--transition);
}

.modern-indicators button.active {
  background: white;
  transform: scale(1.2);
}

.carousel-control-prev, .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: var(--transition);
}

.hero-section-modern:hover .carousel-control-prev,
.hero-section-modern:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.hero-floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape-3 {
  width: 70px;
  height: 70px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* ===== Trust Badges ===== */
.trust-badges {
  position: relative;
  z-index: 10;
}

.trust-item {
  padding: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.trust-item i {
  font-size: 2rem;
}

/* ===== Stats Section ===== */
.stats-section-modern {
  background: var(--gradient-teal);
  color: white;
  position: relative;
}

.stats-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
}

.stat-card-modern {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card-modern:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon-wrapper {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.stat-icon-wrapper i {
  font-size: 1.8rem;
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  color: white;
}

.stat-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-top: 1rem;
  overflow: hidden;
}

.stat-progress-bar {
  height: 100%;
  background: white;
  width: 0;
  transition: width 2s ease-in-out;
}

/* ===== Why Choose Us Section ===== */
.why-choose-section {
  position: relative;
}

.choose-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 50%);
}

.choose-card {
  transition: var(--transition);
}

.choose-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg) !important;
}

.choose-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 1.8rem;
}

/* ===== Services Section ===== */
.services-section {
  position: relative;
}

.services-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(13, 148, 136, 0.05) 0%, transparent 20%);
}

.service-card {
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg) !important;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* ===== Specialized Treatments ===== */
.treatment-card-modern {
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
}

.treatment-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.treatment-icon-modern {
  width: 80px;
  height: 80px;
  background: var(--gradient-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 1.8rem;
}

.card-shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  transition: all 0.6s;
  opacity: 0;
}

.treatment-card-modern:hover .card-shine {
  opacity: 1;
  top: -20%;
  left: -20%;
}

/* Make the button properly clickable and interactive */
.treatment-card-modern .btn {
    cursor: pointer !important;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Button hover effects */
.treatment-card-modern .btn-outline-primary {
    border: 2px solid #0d9488;
    color: #0d9488;
    background: transparent;
    font-weight: 500;
}

.treatment-card-modern .btn-outline-primary:hover {
    background: #0d9488;
    color: white;
    border-color: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.3);
}

/* Ensure the entire card is clickable area */
.treatment-card-modern {
    cursor: default;
}

/* Make sure the button stays on top of other elements */
.treatment-card-modern .card-body {
    position: relative;
    z-index: 2;
}

/* Additional hover effects for the entire card */
.treatment-card-modern:hover .btn-outline-primary {
    border-color: #0d9488;
    color: #0d9488;
}

.treatment-card-modern:hover .btn-outline-primary:hover {
    background: #0d9488;
    color: white;
}

/* Focus states for accessibility */
.treatment-card-modern .btn:focus {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Active state */
.treatment-card-modern .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

/* Ensure proper spacing and alignment */
.treatment-card-modern .btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Make the arrow icon transition smoothly */
.treatment-card-modern .btn i {
    transition: transform 0.3s ease;
}

.treatment-card-modern .btn:hover i {
    transform: translateX(3px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .treatment-card-modern .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .treatment-card-modern .btn-sm {
        padding: 8px 20px;
    }
}

/* ===== Medical Destinations ===== */
.destinations-section {
  position: relative;
}

.destination-card {
  transition: var(--transition);
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg) !important;
}

.destination-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.destination-card:hover .destination-image img {
  transform: scale(1.1);
}

.destination-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.destination-card:hover .destination-overlay {
  opacity: 1;
}

.destination-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== Patient Journey ===== */
.journey-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 50%);
}

.journey-line {
  position: absolute;
  top: 100px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--primary);
  z-index: 1;
}

.journey-step-modern {
  position: relative;
  z-index: 2;
}

.step-number-modern {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number-modern span {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  z-index: 2;
}

.step-circle-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.step-icon-modern {
  width: 70px;
  height: 70px;
  background: var(--gradient-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 1.5rem;
}

/* ===== Partner Hospitals ===== */
.hospital-card-modern {
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.hospital-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.hospital-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.hospital-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.hospital-card-modern:hover .hospital-image-wrapper img {
  transform: scale(1.1);
}

.hospital-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.hospital-card-modern:hover .hospital-overlay {
  opacity: 1;
}

.hospital-rating {
  display: flex;
  align-items: center;
}

/* ===== Cost Comparison ===== */
.cost-comparison-table .table {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cost-comparison-table th {
  background: var(--primary);
  color: white;
  font-weight: 600;
  border: none;
  padding: 1rem;
}

.cost-comparison-table td {
  padding: 1rem;
  vertical-align: middle;
}

.highlight-column {
  background: rgba(13, 148, 136, 0.1);
  font-weight: 600;
  color: var(--primary);
}

/* ===== Testimonials ===== */
.testimonial-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(13, 148, 136, 0.05) 0%, transparent 20%);
}

.testimonial-card-modern {
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.testimonial-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-teal);
}

.testimonial-avatar {
  position: relative;
  width: 80px;
  height: 80px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 25px;
  height: 25px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  border: 2px solid white;
}

.testimonial-stars {
  color: var(--warning);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray);
}

.testimonial-control-prev, .testimonial-control-next {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: var(--transition);
}

.testimonial-control-prev:hover, .testimonial-control-next:hover {
  opacity: 1;
  background: var(--primary-dark);
}

.testimonial-control-prev {
  left: -25px;
}

.testimonial-control-next {
  right: -25px;
}

.testimonial-indicators {
  bottom: -50px;
}

.testimonial-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-light);
  border: none;
  margin: 0 5px;
  transition: var(--transition);
}

.testimonial-indicators button.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ===== Blog Section ===== */
.blog-card {
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg) !important;
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-meta {
  font-size: 0.875rem;
}

/* ===== CTA Section ===== */
.cta-section-modern {
  background: 
    linear-gradient(135deg, rgba(13, 148, 136, 0.9) 0%, rgba(20, 184, 166, 0.8) 100%),
    url('https://images.pexels.com/photos/40568/medical-appointment-doctor-healthcare-40568.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.btn-cta-modern {
  font-weight: 600;
  transition: var(--transition);
}

.btn-cta-modern:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.cta-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float-cta 8s ease-in-out infinite;
}

.cta-shape.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.cta-shape.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.cta-shape.shape-3 {
  width: 70px;
  height: 70px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes float-cta {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(10deg);
  }
  66% {
    transform: translateY(10px) rotate(-5deg);
  }
}

/* ===== Footer ===== */
.footer-modern {
  background: var(--dark);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray);
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-contact li {
  margin-bottom: 1rem;
  color: var(--gray);
}

.footer-contact a {
  color: var(--gray);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* ===== Floating Buttons (Fixed and Mobile Safe) ===== */
.whatsapp-float-modern,
.call-float-modern,
.back-to-top-modern {
  position: fixed;
  right: 15px;              /* ✅ reduced from 30px to stay inside viewport */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  z-index: 9999;
  overflow: hidden;          /* ✅ prevents pulse overflow */
  touch-action: none;        /* ✅ avoids touch-drag overflow */
}

.whatsapp-float-modern {
  bottom: 20px;
  width: 55px;
  height: 55px;
  background: #25D366;
  color: #fff;
  font-size: 1.4rem;
}

.call-float-modern {
  bottom: 85px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  font-size: 1.2rem;
}

.back-to-top-modern {
  bottom: 145px;
  width: 45px;
  height: 45px;
  background: var(--primary-light);
  color: #fff;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
}

.back-to-top-modern.show {
  opacity: 1;
  visibility: visible;
}

/* Hover states */
.whatsapp-float-modern:hover,
.call-float-modern:hover,
.back-to-top-modern:hover {
  transform: scale(1.05);
  color: #fff;
}

/* Pulse effect (kept small and centered) */
.whatsapp-pulse,
.call-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: -1;
  animation: pulse-ring 1.6s infinite;
  transform-origin: center center;
}

.whatsapp-pulse {
  background: rgba(37, 211, 102, 0.4);
}

.call-pulse {
  background: rgba(13, 148, 136, 0.4);
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.25);  /* ✅ smaller scale, safe inside viewport */
    opacity: 0;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

/* ===== Mobile Safety ===== */
@media (max-width: 767.98px) {
  .whatsapp-float-modern,
  .call-float-modern,
  .back-to-top-modern {
    right: 10px;           /* ✅ keep tighter to avoid overflow */
  }

  .whatsapp-float-modern {
    bottom: 15px;
    width: 50px;
    height: 50px;
  }

  .call-float-modern {
    bottom: 75px;
    width: 45px;
    height: 45px;
  }

  .back-to-top-modern {
    bottom: 135px;
    width: 40px;
    height: 40px;
  }
}

/* Just to ensure no horizontal scroll */
html, body {
  overflow-x: hidden !important;
}

/* ===== Responsive Styles ===== */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .journey-line {
    display: none;
  }
  
  .testimonial-control-prev {
    left: 10px;
  }
  
  .testimonial-control-next {
    right: 10px;
  }
}

@media (max-width: 767.98px) {
  .top-bar .d-flex {
    justify-content: center;
    text-align: center;
  }
  
  .top-bar .text-md-end {
    text-align: center !important;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 2rem;
  }
  
  .btn-hero, .btn-hero-outline {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .cta-section-modern .text-lg-end {
    text-align: center !important;
    margin-top: 1.5rem;
  }
  
  .whatsapp-float-modern, .call-float-modern, .back-to-top-modern {
    transform: scale(0.9);
  }
  
  .whatsapp-float-modern {
    bottom: 20px;
    right: 20px;
  }
  
  .call-float-modern {
    bottom: 85px;
    right: 20px;
  }
  
  .back-to-top-modern {
    bottom: 145px;
    right: 20px;
  }
}

@media (max-width: 575.98px) {
  .hero-section-modern {
    height: 80vh;
    min-height: 600px;
  }
  
  .hero-image-container {
    height: 80vh;
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .hospital-image-wrapper {
    height: 150px;
  }
  
  .destination-image {
    height: 150px;
  }
  
  .blog-image {
    height: 150px;
  }
}

/* Treatment Packages Section */
.packages-section .package-card {
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
}

.packages-section .package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl) !important;
}

.package-price {
    font-size: 1.1rem;
}

/* Visa Assistance Section */
.visa-section .step-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.visa-image img {
    max-width: 100%;
    height: auto;
}

/* Accommodation Section */
.accommodation-card {
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
}

.accommodation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.accommodation-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.8rem;
}

/* Second Opinion Section */
.second-opinion-image img {
    max-width: 100%;
    height: auto;
}

.benefit-item {
    align-items: flex-start;
}

/* Air Ambulance Section */
.service-feature {
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
    background: var(--light);
}

.service-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Doctors Section Styles */
.doctors-section .doctor-card {
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
}

.doctors-section .doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl) !important;
}

.doctor-image-wrapper {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.doctor-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.doctor-card:hover .doctor-image-wrapper img {
    transform: scale(1.1);
}

.doctor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 148, 136, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
}

.doctor-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.doctor-meta {
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 1rem;
}

.doctor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Doctors Page Specific Styles */
.doctors-hero {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.9) 0%, rgba(20, 184, 166, 0.8) 100%), url('https://images.pexels.com/photos/40568/medical-appointment-doctor-healthcare-40568.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: white;
}

.filter-section {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    margin-bottom: 2rem;
}

.filter-section .form-label {
    font-weight: 600;
    color: var(--dark);
}

.doctor-profile-modal .modal-content {
    border-radius: var(--border-radius-lg);
    border: none;
}

.doctor-profile-modal .modal-header {
    background: var(--gradient-teal);
    color: white;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.doctor-details-tabs .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 3px solid transparent;
}

.doctor-details-tabs .nav-link.active {
    color: var(--primary);
    background: none;
    border-bottom: 3px solid var(--primary);
}

.doctor-details-tabs .nav-link:hover {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.qualification-item {
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.achievement-badge {
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    display: inline-block;
}

/* Animation for doctor cards */
@keyframes doctorCardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.doctor-card {
    animation: doctorCardEntrance 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .doctor-image-wrapper {
        height: 220px;
    }
    
    .filter-section {
        padding: 1.5rem;
    }
}

/* Hospitals Page Specific Styles */
.hospitals-hero {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.9) 0%, rgba(20, 184, 166, 0.8) 100%), url('https://images.pexels.com/photos/263402/pexels-photo-263402.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: white;
}

.hospital-stats .stat-item {
    padding: 2rem 1rem;
    border-radius: var(--border-radius-lg);
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hospital-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hospital-filter-section {
    border-bottom: 1px solid var(--gray-light);
}

/* Hospital Cards */
.hospital-card-modern {
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
}

.hospital-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl) !important;
}

.hospital-image-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.hospital-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hospital-card-modern:hover .hospital-image-wrapper img {
    transform: scale(1.1);
}

.hospital-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 148, 136, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.hospital-card-modern:hover .hospital-overlay {
    opacity: 1;
}

.hospital-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.hospital-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.hospital-rating {
    display: flex;
    align-items: center;
    font-weight: 600;
}

/* Accreditation Section */
.accreditation-card {
    transition: var(--transition);
    border-radius: var(--border-radius-lg);
}

.accreditation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.accreditation-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
}

/* Facilities Section */
.facility-card {
    transition: var(--transition);
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.facility-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.8rem;
}

/* Hospital Detail Modal */
.hospital-detail-modal .modal-content {
    border-radius: var(--border-radius-lg);
    border: none;
}

.hospital-detail-modal .modal-header {
    background: var(--gradient-teal);
    color: white;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.hospital-details-tabs .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 1rem 1.5rem;
    border: none;
    border-bottom: 3px solid transparent;
}

.hospital-details-tabs .nav-link.active {
    color: var(--primary);
    background: none;
    border-bottom: 3px solid var(--primary);
}

.hospital-details-tabs .nav-link:hover {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.department-item {
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.facility-badge {
    background: var(--light);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    display: inline-block;
}

/* Animation for hospital cards */
@keyframes hospitalCardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hospital-card-modern {
    animation: hospitalCardEntrance 0.6s ease-out;
}

/* Map container */
.hospital-map {
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hospitals-hero {
        padding: 80px 0;
    }
    
    .hospital-image-wrapper {
        height: 200px;
    }
    
    .hospital-filter-section .col-md-3 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hospital-stats .col-6 {
        margin-bottom: 1rem;
    }
    
    .facility-card {
        margin-bottom: 1rem;
    }
}

/* Contact Page Specific Styles */
.contact-hero {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.9) 0%, rgba(20, 184, 166, 0.8) 100%), url('https://images.pexels.com/photos/7648278/pexels-photo-7648278.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 8s ease-in-out infinite;
}

.hero-shapes .shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-shapes .shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.hero-shapes .shape-3 {
    width: 70px;
    height: 70px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* Contact Methods */
.contact-method-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
}

/* Contact Form */
.contact-form-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
}

.contact-form-card .card-header {
    border: none;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 148, 136, 0.25);
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-form-card .form-text {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Contact Info */
.contact-info-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-content h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.emergency-contact {
    border-left: 4px solid var(--danger);
}

/* FAQ Section */
.faq-section .accordion-button {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
    background: white;
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius) !important;
}

.faq-section .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.faq-section .accordion-body {
    padding: 1.5rem;
    background: var(--light);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* Success Modal */
.success-icon {
    width: 80px;
    height: 80px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
}

/* Form Validation Styles */
.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: var(--success);
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: var(--danger);
}

/* Loading Animation */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .hero-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .contact-info-card {
        position: static;
        margin-top: 2rem;
    }
    
    .method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        padding: 80px 0 40px;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .contact-form-card .card-body {
        padding: 1.5rem;
    }
}

/* ✅ Optional minimal CSS for smooth look for banner search bar */

  #globalSearch {
    border: 2px solid #0dcaf0;
    padding-left: 2.5rem;
  }
  #searchResults a:hover {
    background-color: #e8f9ff;
  }
/* ===== FIX: Hero Carousel Clickable + Proper Layering ===== */

/* 1️⃣ Overlay must not block clicks */
.hero-overlay {
  pointer-events: none !important;
  z-index: 1 !important; /* ensure it's behind text */
}

/* 2️⃣ All hero text, buttons, and search box stay above overlay */
.carousel-caption-modern {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: left;
  z-index: 5 !important;  /* ✅ not too high to break layout */
  pointer-events: auto !important;
}

/* 3️⃣ Search bar elements stay clickable and visible */
.search-wrapper,
.search-box,
#globalSearch,
#searchResults {
  position: relative;
  z-index: 6 !important; /* slightly above text */
  pointer-events: auto !important;
}

/* 4️⃣ Hero buttons remain fully clickable */
.btn-hero,
.btn-hero-outline {
  z-index: 6 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* 5️⃣ Floating shapes shouldn't interfere */
.hero-floating-shapes {
  pointer-events: none !important;
  z-index: 0 !important;
}

/* 6️⃣ Ensure text alignment not pushed down */
.carousel-item .container,
.carousel-caption-modern .row {
  position: relative;
  z-index: 5;
}

/* Optional: Add proper stacking for emergency button or floating elements */
.emergency-btn {
  z-index: 10 !important;
  pointer-events: auto !important;
}

/* Search dropdown styling */
#searchResults {
  display: none;
  position: absolute;
  width: 100%;
  max-height: 250px;         /* ✅ Scroll height limit */
  overflow-y: auto;          /* ✅ Scrollable dropdown */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

/* Scrollbar style */
#searchResults::-webkit-scrollbar {
  width: 8px;
}
#searchResults::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 10px;
}
#searchResults::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Highlight matched letters */
#searchResults mark {
  background: var(--primary-light);
  color: white;
  padding: 0 2px;
  border-radius: 2px;
}


