/* ============================================
   MEDICAL BACKGROUND IMAGES & IMAGERY
   Professional medical-themed backgrounds
   ============================================ */

/* Hero Section Medical Background */
.hero-medical-bg {
  position: relative;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.95) 0%, rgba(13, 202, 240, 0.95) 100%),
              url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=1920&q=80') center/cover;
  background-blend-mode: overlay;
  background-attachment: fixed;
}

.hero-medical-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(220, 53, 69, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(13, 202, 240, 0.3) 0%, transparent 50%);
  pointer-events: none;
}

/* Medical Equipment Background */
.medical-equipment-bg {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(224, 242, 254, 0.95) 100%),
              url('https://images.unsplash.com/photo-1582719471384-894fbb16e074?w=1920&q=80') center/cover;
  background-blend-mode: overlay;
  background-attachment: fixed;
}

/* Radiology Room Background */
.radiology-room-bg {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 202, 240, 0.1) 100%),
              url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?w=1920&q=80') center/cover;
  background-blend-mode: overlay;
}

/* Medical Team Background */
.medical-team-bg {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 253, 250, 0.95) 100%),
              url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1f?w=1920&q=80') center/cover;
  background-blend-mode: overlay;
}

/* CTA Section Medical Background */
.cta-medical-bg {
  position: relative;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.95) 0%, rgba(13, 202, 240, 0.95) 100%),
              url('https://images.unsplash.com/photo-1559757175-0eb30cd8c063?w=1920&q=80') center/cover;
  background-blend-mode: overlay;
  background-attachment: fixed;
}

.cta-medical-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 0% 0%, rgba(220, 53, 69, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(13, 202, 240, 0.4) 0%, transparent 50%);
  pointer-events: none;
}

/* Medical Pattern Overlay */
.medical-pattern-overlay {
  position: relative;
}

.medical-pattern-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%230d6efd" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM36 4v-4h-2v4h-4v2h4v4h2V6h4V4h-4zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.3;
  pointer-events: none;
}

/* Medical Image Cards */
.medical-image-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.medical-image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(13, 202, 240, 0.1) 100%);
  z-index: 1;
}

.medical-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.medical-image-card:hover img {
  transform: scale(1.1);
}

.medical-image-card > * {
  position: relative;
  z-index: 2;
}

/* Service Card Image Hover */
.service-card-ris img {
  transition: transform 0.5s ease;
}

.service-card-ris:hover img {
  transform: scale(1.1);
}

/* Doctor Profile Image */
.doctor-profile-image {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.3);
}

/* Medical Icon Replacement */
.medical-icon-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(13, 110, 253, 0.2));
}

/* Feature Image */
.feature-medical-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Stats Background Image */
.stats-medical-bg {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 253, 250, 0.9) 100%),
              url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1920&q=80') center/cover;
  background-blend-mode: overlay;
}

/* Services Section Background */
.services-medical-bg {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(224, 242, 254, 0.95) 100%),
              url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?w=1920&q=80') center/cover;
  background-blend-mode: overlay;
  background-attachment: fixed;
}

/* Parallax Effect */
.parallax-medical {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Medical Gradient Overlay */
.medical-gradient-overlay {
  position: relative;
}

.medical-gradient-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 202, 240, 0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.medical-gradient-overlay > * {
  position: relative;
  z-index: 2;
}

/* Responsive Image Containers */
@media (max-width: 768px) {
  .hero-medical-bg,
  .cta-medical-bg {
    background-attachment: scroll;
  }
  
  .medical-image-card img {
    height: 250px;
  }
  
  .feature-medical-image {
    height: 150px;
  }
}

