/* SERVICES SECTION */
.services {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.services h1 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 36px;
  color: #0f4c75;
  margin-bottom: 40px;
  position: relative;
}

.services h1::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00b4d8, #0077b6);
  display: block;
  margin: 12px auto 0;
  border-radius: 5px;
}

/* SERVICE BOX */
.service-box {
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  padding: 35px 25px;
  border-radius: 18px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #1f2933;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* COLOR BAR ON TOP */
.service-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #00b4d8, #90dbf4, #0077b6);
}

/* HOVER EFFECT */
.service-box:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  background: linear-gradient(145deg, #e0f7fa, #ffffff);
}

/* OPTIONAL ICON STYLE (if you add icons later) */
.service-box span {
  display: block;
  font-size: 42px;
  margin-bottom: 15px;
  color: #0077b6;
}

/* SLIDE-UP ANIMATION */
.slide-up {
  animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MOBILE OPTIMIZATION */
@media (max-width: 600px) {
  .services {
    padding: 40px 15px;
  }

  .services h1 {
    font-size: 28px;
  }

  .service-box {
    font-size: 18px;
    padding: 28px 20px;
  }
}

/* SERVICE BOX */
.service-box {
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  padding: 35px 28px;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  text-align: left;
  cursor: pointer;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* TOP COLOR BAR */
.service-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, #00b4d8, #90dbf4, #0077b6);
}

/* TITLE */
.service-box h2 {
  font-size: 22px;
  color: #0f4c75;
  margin-bottom: 10px;
}

/* DESCRIPTION */
.service-box p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* LIST */
.service-box ul {
  padding-left: 18px;
}

.service-box li {
  margin-bottom: 8px;
  color: #1e293b;
  font-weight: 500;
}

/* HOVER EFFECT */
.service-box:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  background: linear-gradient(145deg, #e0f7fa, #ffffff);
}

