/* index page */
.slider-box {
  padding: 1rem;
  background: #f8f9fa;
}

.slider_bg-left {
  background-color: #cbbfb1;
}

.slider_bg-right {
  background-color: #2973b9;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;

}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  color: #fff;
  font-weight: 900;
  padding: 10px;
  border-radius: 50%;
}

/* WhatsApp button - above scroll-top */
#whatsapp-btn {
  position: fixed;
  right: 20px;
  bottom: 70px;
  width: 45px;
  height: 45px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#whatsapp-btn:hover {
  background: #128c4a;
}

/* call button */
#call-btn {
  position: fixed;
  right: 20px;
  bottom: 130px;
  width: 45px;
  height: 45px;
  background: #34b7f1;
  color: white;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#call-btn:hover {
  background: #007bb5;
}

/* Download PDF button - stuck on left side, rotated */
#download-pdf-btn {
  position: fixed;
  left: -70px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  background: #007bff;
  color: white;
  padding: 10px 20px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  transition: background 0.3s;
  white-space: nowrap;
}

#download-pdf-btn:hover {
  background: #0056b3;
}


@media (max-width: 768px) {
  #download-pdf-btn {
    font-size: 12px;
    left: -50px;
  }

  .hero .stat-item .stat-content h4 {
    font-size: 0.875rem;
  }

  .hero .stat-item .stat-content p {
    font-size: 0.675rem;
  }

  .hero .stat-item .stat-icon {
    width: 50px;
    height: 50px;
  }

  .about .about-meta {
    margin-bottom: 0.5rem;
    font-size: 14px;
  }

  .about .about-title {
    font-size: 1.255rem;
    margin-bottom: 0.5rem;
  }

  .about .about-description {
    font-size: 14px;
  }

  .about .feature-list li i {
    font-size: 14px;
  }

  .about .feature-list li {
    font-size: 14px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .features .nav-link {
    padding: 8px 10px;
  }

  .features .tab-pane h3 {
    font-size: 24px;
  }

  .fst-italic {
    font-size: 14px;
  }

  .features .tab-pane ul {
    font-size: 14px;
  }

  .features-cards .feature-box h4 {
    font-size: 16px;
    font-weight: 600;
  }

  .slider-title {
    color: var(--heading-color);
    font-weight: 700;
    font-size: 24px;
    position: relative;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .slider-p-sec {
    font-size: 14px;
  }

  .call-to-action .content h2 {
    font-size: 2rem;
    font-weight: 400;
  }

  .call-to-action .content p {
    font-size: 14px;
    font-weight: 300;
  }

  .testimonials .testimonial-item h3 {
    font-size: 16px;
  }

  .testimonials .testimonial-item .testimonial-img {
    width: 80px;
  }

  .testimonials .testimonial-item h4 {
    font-size: 12px;
  }

  .testimonials .testimonial-item .quote-icon-left,
  .testimonials .testimonial-item .quote-icon-right {
    font-size: 16px;
  }

  .testimonials .testimonial-item p {
    font-size: 14px;
  }

  .stats .stats-item span {
    font-size: 28px;
  }

  .faq .faq-title {
    font-size: 1.5rem;
    font-weight: 600;
  }

  .faq .faq-description {
    font-size: 0.800rem;
    margin-bottom: 1rem;
  }

  .faq .faq-container .faq-item h3 {
    font-size: 14px;
    font-weight: 500;
  }

  .call-to-action-2 h3 {
    font-size: 20px;
    font-weight: 600;
  }

  .call-to-action-2 p {
    font-size: 14px;
    font-weight: 300;
  }

  .contact .info-box h3 {
    font-size: 1.255rem;
  }

  .contact .info-box p {
    font-size: 14px;
  }

  .contact .info-item .content h4 {
    font-size: 1rem;
  }

  .contact .info-item .content p {
    font-size: 14px;
  }

}


/* ----------------------- our client page ------------------------------------ */
.slider-container {
  overflow: hidden;
  /* Hide scrollbar for animation */
  padding-bottom: 1rem;
  width: 100%;
  position: relative;
}

.logo-track-wrapper {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

/* Card styles */
.work-snap {
  flex: 0 0 auto;
  width: 300px;
  height: 200px;
  position: relative;
  scroll-snap-align: start;
}

.work-snap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-box {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    /* move left by width of first 15 cards only */
    transform: translateX(calc(-1 * (300px * 15 + 1rem * 14)));
  }
}

/* Responsive */
@media (max-width: 768px) {
  .work-snap {
    width: 240px;
    height: 160px;
  }

  .logo-box {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .work-snap {
    width: 200px;
    height: 140px;
  }

  .logo-box {
    width: 50px;
    height: 50px;
  }
}


/* ------------------------------------ project ----------------------------- */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}