/* ================ BASE ================ */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: Arial, sans-serif;
}

.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hero {
  background: linear-gradient(135deg, #fcf350, #60b358);
  min-height: 80vh;
  color: #000;
}

.section-title {
  font-weight: 700;
  font-size: 2rem;
}

.section-subtitle {
  font-weight: bold;
  font-size: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
  width: 100%;
  height: 200px;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* .card img {
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        } */
.card img {
  /* height: 180px; */
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This is the key property */
  display: block;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 1rem;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .15);
}


/* Trust badges */
.brand-logo {
  max-height: 60px;
  filter: grayscale(100%);
  opacity: .7;
}

/* Counter */
.counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: #60b358;
}

footer {
  text-align: left;
}

footer .row>div {
  margin-bottom: 20px;
}

/* @media (max-width: 768px) {
  footer {
    text-align: center;
  }
} */

/* WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  z-index: 999;
}

.whatsapp-btn img {
  width: 100%;
}

/* Testimonials */
.testimonial {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Slide from left */
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.9s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.9s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Scale animation (cards, counters) */
.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.8s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger effect */
.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

.delay-4 {
  transition-delay: 0.6s;
}

.hero-gadget-img {
  max-width: 100%;
  height: auto;
  animation: float 4s ease-in-out infinite;
}

.logo {
  width: 150px;
  height: auto;
  display: block;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  z-index: 0;
}

/* Yellow blob */
.shape-yellow {
  width: 420px;
  height: 420px;
  background: #fcf350;
  top: -120px;
  left: -120px;
}

/* Green blob */
.shape-green {
  width: 360px;
  height: 360px;
  background: #60b358;
  bottom: -120px;
  right: -120px;
}

.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid #000;
  border-radius: 20px;
  opacity: 0.7;
}

.scroll-indicator span {
  display: block;
  width: 6px;
  height: 6px;
  background: #000;
  border-radius: 50%;
  margin: 6px auto;
  animation: scrollDown 1.6s infinite;
}

.logo-marquee {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
}

.logo-track {
  display: flex;
  gap: 60px;
  animation: scroll-logos 25s linear infinite;
  align-items: center;
}

.brand-logo {
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .7;
  transition: all .3s ease;
}

.brand-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

/* Pause animation on hover */
.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.about-section {
  position: relative;
  padding: 100px 0;
  background: #fff;
  overflow: hidden;
}

/* Decorative background shape */
.about-section::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  width: 420px;
  height: 420px;
  background: linear-gradient(135deg, #fcf350, #60b358);
  border-radius: 50%;
  opacity: .15;
  transform: translateY(-50%);
}

/* Badge */
.about-badge {
  display: inline-block;
  background: rgba(96, 179, 88, 0.12);
  color: #60b358;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
}

/* Bullet list */
.about-points {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.about-points li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* Image */
.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.about-image {
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
}

.owner-section {
  padding: 90px 0;
}

.owner-img {
  max-width: 420px;
}

.mission-quote {
  font-size: 1.1rem;
  font-style: italic;
  border-left: 4px solid #60b358;
  padding-left: 16px;
  margin: 20px 0;
  color: #333;
}

.badge,
.brand-logo,
.btn {
  transition: transform .25s ease;
}

.badge:hover,
.brand-logo:hover,
.btn:hover {
  transform: translateY(-2px);
}

.carousel-section {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.custom-carousel-btn {
  width: 8%;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.custom-carousel-btn:hover {
  opacity: 1;
}

.custom-carousel-btn .carousel-control-prev-icon,
.custom-carousel-btn .carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  background-size: 60% 60%;
}

.repair-card {
  background: white;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  min-height: 450px;
  border-top: 5px solid var(--snap-blue);
}

/* Customizing the Dots (Indicators) */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  /* Makes them dots */
  background-color: var(--snap-blue);
  margin: 0 6px;
}

.carousel-indicators {
  bottom: -60px;
  /* Moves dots below the card */
}

.carousel-indicators {
  bottom: -60px;
}

.carousel-item {
  padding-bottom: 20px;
}

/* Ensure images are consistent height */
.carousel-item img {
  height: 450px;
  object-fit: cover;
  width: 100%;
}

/* Mobile adjustments */
@media (max-width: 991px) {
  .carousel-item img {
    height: 300px;
    margin-top: 20px;
  }

  .custom-carousel-btn .carousel-control-prev-icon,
  .custom-carousel-btn .carousel-control-next-icon {
    width: 4.5rem;
    height: 4.5rem;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .about-section {
    padding: 70px 0;
  }

  .about-section::before {
    display: none;
  }

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

  .shape-yellow,
  .shape-green {
    display: none;
  }
}


@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .brand-logo {
    height: 45px;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
  }

  80% {
    opacity: 0;
    transform: translateY(14px);
  }

  100% {
    opacity: 0;
  }
}

/* Hide on mobile */
@media (max-width: 576px) {
  .scroll-indicator {
    display: none;
  }
}


/* Mobile resize */
@media (max-width: 768px) {

  .shape-yellow,
  .shape-green {
    width: 260px;
    height: 260px;
    filter: blur(60px);
  }
}



/* Floating animation */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Mobile tweaks */
@media (max-width: 991px) {
  .hero {
    text-align: center;
  }

  .hero-gadget-img {
    max-width: 85%;
    margin: 0 auto;
  }
}