@import "https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap";
.services-section {
  color: #fff;
  background: #000;
  width: 100%;
  padding: 30px 0;
  overflow: hidden;
}
.service-image,
.service-content {
  opacity: 1;
  will-change: transform, opacity;
}
.container {
  box-sizing: border-box;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-title {
  text-align: center;
  color: #00d4ff;
  margin-bottom: 50px;
  font-family: Poppins, sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  position: relative;
}
.section-title:after {
  content: "";
  background: #00d4ff;
  border-radius: 50px;
  width: 90px;
  height: 5px;
  margin: 20px auto 0;
  display: block;
}
.services-options {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 80px;
  display: flex;
}
.service-option-btn {
  color: #fff;
  cursor: pointer;
  background: #ffffff0d;
  border: 1px solid #ffffff1f;
  border-radius: 50px;
  padding: 14px 28px;
  font-family: Poppins, sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  transition: all 0.3s;
}
.service-option-btn:hover {
  color: #00d4ff;
  background: #00d4ff1f;
  border-color: #00d4ff59;
  transform: translateY(-3px);
}
.service-option-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #00d4ff, #2563eb);
  border-color: #0000;
  box-shadow: 0 12px 28px #00d4ff47;
}
.service-row {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 30px;
  padding-bottom: 50px;
  display: grid;
  position: relative;
}
.service-row.normal .service-content {
  order: 1;
}
.service-row.normal .service-image {
  order: 2;
}
.service-row.reverse .service-image {
  order: 1;
}
.service-row.reverse .service-content {
  order: 2;
}
.service-image {
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.service-image img {
  object-fit: cover;
  border-radius: 24px;
  width: 100%;
  height: 380px;
  transition: all 0.5s;
  display: block;
}
.service-image img:hover {
  transform: scale(1.04);
}
.service-hover-video {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
}
.service-image:hover .service-preview-image {
  opacity: 0;
  transform: scale(1.05);
}
.service-image:hover .service-hover-video {
  opacity: 1;
}
.service-content {
  flex-direction: column;
  justify-content: center;
  display: flex;
}
.service-number {
  color: #00d4ff;
  margin-bottom: 10px;
  font-size: 3.8rem;
  font-weight: 800;
}
.service-content h3 {
  color: #00d4ff;
  margin-bottom: 18px;
  font-family: Poppins, sans-serif;
  font-size: 2.2rem;
}
.service-content p {
  color: #d1d5db;
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.8;
}
.service-content a {
  text-decoration: none;
}
.service-btn {
  color: #000;
  cursor: pointer;
  background: #00d4ff;
  border: none;
  border-radius: 50px;
  width: fit-content;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.35s;
}
.service-category-list {
  width: 100%;
}
.service-btn:hover {
  background: #fff;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px #00d4ff66;
}
.service-row:after {
  content: "";
  background: linear-gradient(90deg, #0000, #2563eb, #0000);
  width: 120px;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
}
.service-row:last-child:after {
  display: none;
}
@media (max-width: 1200px) {
  .container {
    padding: 0 30px;
  }
  .service-row {
    gap: 50px;
  }
  .service-number {
    font-size: 4rem;
  }
  .service-content h3 {
    font-size: 2.4rem;
  }
  .service-preview-image,
  .service-hover-video {
    height: 450px;
  }
}
@media (max-width: 992px) {
  .section-title {
    font-size: 3rem;
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-bottom: 90px;
  }
  .service-image {
    order: 1 !important;
  }
  .service-content {
    text-align: center;
    align-items: center;
    order: 2 !important;
  }
  .service-preview-image,
  .service-hover-video {
    height: 420px;
  }
}
@media (max-width: 768px) {
  .services-section {
    padding: 80px 0;
  }
  .container {
    padding: 0 20px;
  }
  .section-title {
    margin-bottom: 40px;
    font-size: 2.5rem;
  }
  .services-options {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 60px;
  }
  .service-option-btn {
    text-align: center;
    width: 100%;
    max-width: 320px;
  }
  .service-row {
    gap: 35px;
    margin-bottom: 80px;
    padding-bottom: 70px;
  }
  .service-preview-image,
  .service-hover-video {
    border-radius: 20px;
    height: 320px;
  }
  .service-number {
    font-size: 3rem;
  }
  .service-content h3 {
    font-size: 2rem;
  }
  .service-content p {
    font-size: 1rem;
    line-height: 1.8;
  }
  .service-btn {
    padding: 14px 30px;
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .section-title {
    font-size: 2rem;
  }
  .service-preview-image,
  .service-hover-video {
    height: 250px;
  }
  .service-number {
    font-size: 2.5rem;
  }
  .service-content h3 {
    font-size: 1.6rem;
  }
  .service-content p {
    font-size: 0.95rem;
  }
  .service-btn {
    text-align: center;
    width: 100%;
  }
}
