:root {
  --primary-color: #2a5298;
  --secondary-color: #FE7214;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
  padding: 30px;
  border-radius: 20px;
}

.service-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
/*  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);*/
}

.service-image {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 20px;
/*  background: #f5f5f5; */
}
.image-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.image-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 3;
}
.image-slider:hover::before {
  animation: shine 1.2s ease-in-out;
}
@keyframes shine {
  from {
    left: -120%;
  }
  to {
    left: 140%;
  }
}
.image-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.image-slider .slide.active {
  opacity: 1;
  z-index: 2;
}
.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  width: 30px;
  border-radius: 5px;
}

.service-content {
  padding: 25px;
  position: relative;
  z-index: 2;
}
.service-info {
  position: absolute;
  bottom: 5px;
  right: 15px;
  background: rgba(0, 0, 0, 0.75);
  padding: 5px 10px;
  border-radius: 10px;
  text-align: right;
}

.service-name {
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin-bottom: 5px;
}

.service-price {
  font-size: 16px;
  color: white;
  font-weight: 600;
}

.service-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  visibility: hidden;
  margin-top: 10px;
}

.service-info:hover .service-link {
  opacity: 1;
  visibility: visible;
}

.service-link:after {
  content: '→';
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.service-link:hover {
  color: #667eea;
}

.service-link:hover:after {
  margin-left: 10px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-image {
    height: 280px;
  }
}