/* ===== Services Section Styles ===== */
.services {
  position: relative;
  padding: 100px 0;
  color: var(--text-light);
  overflow: hidden;
}

.services-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #2a2a2a 50%, #383838 100%);
  opacity: 0.75;
  z-index: 1;
}

.services-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/servicesbackground.webp');
  background-size: cover;
  background-position: center;
  filter: saturate(0.8) brightness(0.675) contrast(1.5);
  z-index: 0;
}

.services .container {
  position: relative;
  z-index: 2;
}

.services .section-title,
.services .section-subtitle {
  color: var(--text-light);
}

.services-content {
  margin-top: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Service Card Styling */
.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 350px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.service-card.featured {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.service-card .service-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--secondary-color), rgba(0, 150, 200, 1));
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
  z-index: 3;
  animation: badgePulse 2s infinite alternate;
}

@keyframes badgePulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.3);
  }
  100% {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 180, 216, 0.4);
  }
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, rgba(0, 180, 216, 1), rgba(0, 150, 200, 1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover:before {
  opacity: 1;
}

.service-card.featured:before {
  opacity: 1;
}

/* Service Header */
.service-header {
  padding: 35px 30px 20px;
  text-align: center;
  position: relative;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.12);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 15px;
  color: var(--text-light);
}

.service-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
}

.price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: -1px;
}

.period {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
}

/* Service Features */
.service-features {
  padding: 0 30px 25px;
  flex-grow: 1;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li i {
  color: var(--secondary-color);
  margin-right: 12px;
  font-size: 0.9rem;
}

/* Service CTA */
.service-cta {
  padding: 20px 30px 35px;
  text-align: center;
}

.service-cta .cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(to right, rgba(0, 180, 216, 1), rgba(0, 150, 200, 1));
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-cta .cta-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 150, 200, 1), rgba(0, 180, 216, 1));
  transition: width 0.3s ease;
  z-index: -1;
}

.service-cta .cta-button:hover:before {
  width: 100%;
}

.service-cta .cta-button:hover {
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.4);
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media screen and (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .service-card.featured {
    transform: none;
  }
  
  .service-card.featured:hover {
    transform: translateY(-5px);
  }
}

@media screen and (max-width: 576px) {
  .services-content {
    padding: 0 0.5rem;
  }
  
  .service-card {
    margin: 0 0.5rem;
  }
}
