/* ======== Services Section ======== */
.section {
  padding: 5rem 1rem;
  text-align: center;
  background: var(--color-dark);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 254, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.section__title {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 30px rgba(0, 123, 255, 0.3);
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, #ffffff, #ffffff);
  border-radius: 2px;
  animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  from { box-shadow: 0 0 10px rgba(253, 254, 255, 0.5); }
  to { box-shadow: 0 0 20px rgba(255, 255, 255, 0.8); }
}

.section__subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 3.5rem;
  color: #e0e6ed;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ===== Swiper Container ===== */
.services-swiper {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

/* ===== Enhanced Service Card ===== */
.service-card {
  background: var(--color-dark);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 123, 255, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, #ffffff, #ffffff);
  border-radius: 1.5rem 1.5rem 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::after {
  opacity: 1;
}

/* ===== Icon Styling ===== */
.service-icon {
  display: block;
  margin: 0 auto 1.5rem auto;
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: 
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3))
    brightness(1.1);
  position: relative;
  z-index: 2;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotateY(360deg);
  filter: 
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5))
    brightness(1.3)
    saturate(1.2);
}

/* ===== Active State Enhancement ===== */
.service-card-active {
  transform: scale(1.08) translateY(-10px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 8px 20px rgba(255, 255, 255 , 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  background: var(--color-dark);
}

.service-card-active::after {
  opacity: 1;
  background: linear-gradient(90deg, #ffffff, #ffffff, #ffffff);
  animation: activeGlow 2s ease-in-out infinite alternate;
}

@keyframes activeGlow {
  from { box-shadow: 0 0 10px rgba(253, 254, 255, 0.6); }
  to { box-shadow: 0 0 20px rgba(255, 255, 255, 1); }
}

/* ===== Typography Enhancement ===== */
.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  color: #ffffff;
  font-weight: 600;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  background: linear-gradient(135deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.95);
}

/* ===== Hover Interactions ===== */
.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 
    0 15px 40px rgba(255, 255, 255, 0.2),
    0 5px 15px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0.8rem;
  }
  
  .section__title {
    font-size: 2.2rem;
  }
  
  .section__subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
  
  .services-swiper {
    width: 100%;
    padding: 1rem 0;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
    min-height: 240px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }
  
  .service-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .section__title {
    font-size: 1.8rem;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
    min-height: 200px;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }
}

/* ===== Loading Animation ===== */
.service-card {
  animation: slideInFromBottom 0.8s ease-out;
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Additional Visual Effects ===== */
.service-card:nth-child(odd) {
  animation-delay: 0.1s;
}

.service-card:nth-child(even) {
  animation-delay: 0.2s;
}

/* ===== Swiper Navigation Enhancement ===== */
.swiper-button-next,
.swiper-button-prev {
  color: #ffffff !important;
  background: rgba(0, 123, 255, 0.1) !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(0, 123, 255, 0.3) !important;
  transition: all 0.3s ease !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 123, 255, 0.2) !important;
  transform: scale(1.1) !important;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.3) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background: #ffffff !important;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5) !important;
} 



/*REPAIR*/

.repair.section {
  padding: 4rem 1rem;
  background: var(--color-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.repair.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23007bff" opacity="0.03"/><circle cx="80" cy="80" r="1" fill="%23007bff" opacity="0.03"/><circle cx="40" cy="60" r="1" fill="%23007bff" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.repair .section__title {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.repair .section__subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 650px;
  margin: 0 auto 3rem auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== Wrapper Flex ===== */
.repair-wrapper {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== Card Style ===== */
.repair-card {
  flex: 1 1 300px;
  max-width: 380px;
  background:var(--color-dark);
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.04);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.8);
}

.repair-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffffff, #000000, #000000);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

.repair-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 60px rgba(0,123,255,0.15),
    0 8px 20px rgba(0,0,0,0.1);
}

.repair-card:nth-child(2) {
  transform: translateY(-8px);
}

.repair-card:nth-child(2):hover {
  transform: translateY(-20px) scale(1.02);
}

/* ===== Heading & Icon ===== */
.repair-card h3 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 1.2rem;
  color:var(--color-text);
  font-weight: 600;
  position: relative;
}

.repair-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, #ffffff);
  border-radius: 2px;
}

.repair-card .repair-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.8rem auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0,123,255,0.2));
}

.repair-card:hover .repair-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ===== Enhanced List Style ===== */
.repair-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.repair-card ul li {
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(254, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  font-size: 0.95rem;
  color: var(--color-text);
  text-align: center;
  border: none;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.repair-card ul li::before {
  content: '✨';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.7;
}

.repair-card ul li:hover {
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.15), rgba(0, 198, 255, 0.1));
  transform: translateX(6px);
  border-color: rgba(0,123,255,0.3);
  box-shadow: 0 4px 12px rgba(0,123,255,0.15);
}

.repair-card ul li:last-child {
  margin-bottom: 0;
}

/* ===== Responsive Enhancements ===== */
@media (max-width: 768px) {
  .repair.section {
    padding: 3rem 0.8rem;
  }
  
  .repair .section__title {
    font-size: 2rem;
  }
  
  .repair-wrapper {
    gap: 1.5rem;
  }
  
  .repair-card {
    padding: 2rem 1.5rem;
    max-width: none;
  }
  
  .repair-card:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 480px) {
  .repair-card ul li {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .repair-card .repair-icon {
    width: 60px;
    height: 60px;
  }
}

/* ===== Loading Animation ===== */
.repair-card {
  animation: fadeInUp 0.6s ease-out;
}

.repair-card:nth-child(1) { animation-delay: 0.1s; }
.repair-card:nth-child(2) { animation-delay: 0.2s; }
.repair-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}