:root {
  --primary: #8cc740;
  --secondary: #f7931e;
  --text: #f9f9f9;
  --bg: #95aa9d;
  --dark: #333333;
  --border: #e0e0e0;
  --textgray: #333333;
}

@font-face {
  font-family: "Roboto";
  src: url("../css/fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* Pagination */
.heroSwiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.5;
}

.heroSwiper .swiper-pagination-bullet-active {
  background: #fb923c;
  opacity: 1;
}

/* Text Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slideUp {
  animation: slideUp 1s ease forwards;
}

.tab-active {
  background: #f97316;
  color: #fff;
  padding: 10px 22px;
  border-radius: 9999px;
  font-weight: 600;
}

.tab-inactive {
  background: #f3f4f6;
  color: #374151;
  padding: 10px 22px;
  border-radius: 9999px;
  font-weight: 600;
}

/* Diagonal shape */
.clip-diagonal {
  clip-path: polygon(0 0, 65% 0, 55% 100%, 0% 100%);
}

/* Animations */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.animate-slideUp {
  animation: slideUp 1s ease forwards;
}

.animate-slideUp.delay-200 {
  animation-delay: 0.2s;
}

.animate-slideUp.delay-300 {
  animation-delay: 0.3s;
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

/* Card Wrapper */
.service-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* Image */
.service-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Content */
.service-content {
  padding: 28px;
  position: relative;
}

.service-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-content p {
  color: #6b7280;
  font-size: 15px;
  margin-bottom: 16px;
}

.service-content a {
  font-weight: 600;
  color: #f97316;
  transition: gap 0.3s ease;
}

/* Icon */
.icon-wrap {
  width: 56px;
  height: 56px;
  background: #fff7ed;
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 26px;
  position: absolute;
  top: -28px;
  right: 28px;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.25);
  transition: all 0.4s ease;
}

/* Hover Effects */
.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-card:hover .icon-wrap {
  background: #f97316;
  color: #fff;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
  animation: float 7s ease-in-out infinite;
}

.repair-pill {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  color: #111827;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

.repair-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  background: #fff7ed;
  border-color: #fb923c;
}

/* ================= CUSTOM SCROLLBAR ================= */

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #f97316 #fff7ed;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #fff7ed; /* light orange background */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f97316, #fb923c);
  border-radius: 10px;
  border: 2px solid #fff7ed;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ea580c, #f97316);
}
