/* ------------------------------------------------------------------------------
   VRTSDC - Homepage Specific Styles (Hero, Slider & Testimonials)
-------------------------------------------------------------------------------*/

/* Hero section */
.main-section {
  padding: 80px 0;
  padding-bottom: 41px;
  background: #f8f9fa;
}

/* Heading Animation */
.animated-heading {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

.animated-heading span {
  color: #ff6600;
}

/* Paragraph */
.content-box p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Button */
.btn-main {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 12px 28px;
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
  font-size: 15px;
  font-weight: 600;
}

.btn-main:hover {
  background: #e65c00;
  color: #fff;
}

/* Image Styling */
.image-box img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: scale(0.9);
  opacity: 0;
  animation: zoomIn 1.2s ease forwards;
  animation-delay: 0.5s;
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .main-section {
    padding: 50px 20px;
  }

  .animated-heading {
    font-size: 28px;
  }

  .image-box {
    margin-top: 30px;
  }
}

/* Testimonials section */
.testimonial-section {
  padding: 35px 0;
  background: linear-gradient(135deg, #ff6600, #ff8533, #ff944d);
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
}

/* Title */
.section-title h2 {
  font-size: 36px;
  margin-bottom: 8px;
  color: #fff;
}

.section-title p {
  color: #ffe0cc;
  margin-bottom: 29px;
}

/* Slider */
.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: auto;
}

/* Card */
.testimonial {
  display: none;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: #333;
  animation: fade 0.6s ease;
}

.testimonial.active {
  display: block;
}

/* Text */
.testimonial p {
  font-style: italic;
  color: #555;
  margin-bottom: 15px;
}

/* Name */
.testimonial h4 {
  color: #ff6600;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 21px;
  cursor: pointer;
  color: #ff6600;
  background: #ffffff3b;
  padding: 2px 13px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.prev {
  left: -50px;
}

.next {
  right: -50px;
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .prev {
    left: 10px;
  }
  .next {
    right: 10px;
  }
}

/* Carousel */
.carousel,
.carousel-inner,
.carousel-item {
  height: 520px;
}

/* Background images */
.slide1 {
  background: url("../images/updated-slider/slider2.webp") center center / cover no-repeat;
}

.slide2 {
  background: url("../images/updated-slider/slide4.webp") center center / cover no-repeat;
}

.slide3 {
  background: url("../images/updated-slider/slide3.webp") center center / cover no-repeat;
}

.slide4 {
  background: url("../images/updated-slider/slider1.webp") center center / cover no-repeat;
}

