/* Services Section Styles */
#services {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.services-intro {
  text-align: center;
  margin-bottom: 60px;
}

.services-intro h2 {
  color: #003366;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.services-intro p {
  color: #666;
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 500;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-bottom: 40px;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #FFD700, #D32F2F);
  opacity: 0;
  border-radius: 15px;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
  border-color: #D32F2F;
}

.service-card:hover::before {
  opacity: 0.08;
}

.service-card-icon {
  font-size: 3.5rem;
  color: #D32F2F;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.service-card:hover .service-card-icon {
  color: #FFD700;
  transform: scale(1.15) rotateY(360deg);
}

.service-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.1);
  filter: brightness(0.9);
}

.service-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 30px 25px;
}

.service-card h3 {
  color: #003366;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #D32F2F;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  font-weight: 500;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.service-features li {
  color: #555;
  font-size: 0.9rem;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.service-features li:before {
  content: "✓";
  color: #D32F2F;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.1rem;
}

.service-btn {
  display: inline-block;
  background: linear-gradient(135deg, #D32F2F, #B71C1C);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  align-self: center;
  margin-top: auto;
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.2);
}

.service-btn:hover {
  background: linear-gradient(135deg, #FFD700, #FFC700);
  color: #003366;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

@media (max-width: 1200px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  #services {
    padding: 60px 0;
  }

  .services-intro h2 {
    font-size: 2.2rem;
  }

  .services-intro p {
    font-size: 1rem;
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-card-image {
    height: 200px;
  }

  .service-card-content {
    padding: 25px 20px;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }
}