/* Main CSS File */
body {
  font-family: 'Segoe UI', sans-serif;
}

.hero {
  background: url('./assets/hero-1.jpeg') center/cover no-repeat;
  color: white;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
}

.key-card {
  padding: 25px 20px;
  border-radius: 12px;
  background: #ffffff;
  /* initial static background */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.key-card:hover {
  background: linear-gradient(to bottom, #fff3cd, #ffc107, #fff3cd);
  background-size: 100% 300%;
  animation: keyScrollBg 3s linear infinite;
  /* scrolling effect */
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* black with 50% opacity */
  z-index: 1;
}

.hero .text-white {
  z-index: 2;
}

.testimonial-section {
  position: relative;
  background-image: url('../assets/gallery/gallery-24.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 60px 0;
  opacity: 0.90;
}

.testimonial-section .testimonial-box {
  background: rgba(255, 254, 254, 0.352);
  color: #fff;
  border-radius: 9px;
  padding: 30px;
}

.testimonial-box .testimonial-heading {
  color: #031ddc;
}

.testimonial-box .heading-content {
  color: #da0000;
  font-weight: 700;
}

/* Dark overlay for readability */
.testimonial-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* Ensure content is above overlay */
.testimonial-section .carousel-inner,
.testimonial-section .card {
  position: relative;
  z-index: 1;
}

/* Optional: Style carousel controls */
.testimonial-section .carousel-control-prev-icon,
.testimonial-section .carousel-control-next-icon {
  filter: invert(100%);
}

/* 🎯 White background hatane ke liye */
.testimonial-section .card {
  background: rgba(246, 246, 246, 0);
  color: #fff;
}

.testimonial-section .card .text-muted {
  color: #f8f9fa !important;
  /* grey text ko white banane ke liye */
}

/* Background scroll animation for key-card */
@keyframes keyScrollBg {
  0% {
    background-position: top;
  }

  100% {
    background-position: bottom;
  }
}