/* Hero Section */
.care-hero {
  position: relative;
  height: 80vh;
  width: 100%;
  background: url('/images/hero_care.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.care-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.care-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.care-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.care-hero-content p {
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Asymmetrical Gallery */
.care-gallery {
  padding: 4rem 2rem;
  text-align: center;
}

.care-gallery h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.asym-gallery {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.asym-gallery .large {
  flex: 2;
}

.asym-gallery .large img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.asym-gallery .large img:hover {
  transform: scale(1.03);
}

.asym-gallery .small {
  flex: 1;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
}

.asym-gallery .small img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.asym-gallery .small img:hover {
  transform: scale(1.03);
}

/* Grid Gallery for remaining images */
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.grid-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.grid-gallery img:hover {
  transform: scale(1.03);
}

/* Slideshow Modal */
.slideshow-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: #000; /* solid black for strong contrast */
  text-align: center;
}

.slideshow-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  margin-top: 3%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

/* Close button */
.close {
  position: absolute;
  top: 20px; right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #f04e23;
}

/* Navigation buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  user-select: none;
  z-index: 10;
}

.prev:hover, .next:hover {
  background: rgba(240, 78, 35, 0.8);
  transform: translateY(-50%) scale(1.2);
}

.prev { left: 10px; }
.next { right: 10px; }


.care-gallery-section {
  padding: 50px 20px;
}

.testimonial-videos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.video-card {
  position: relative;
  width: 300px;
  cursor: pointer;
  text-align: center;
}

.video-card img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.3s;
}

.video-card:hover img {
  transform: scale(1.05);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: rgba(255,255,255,0.9);
  pointer-events: none;
}

.video-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

