/* hero background */
.service-hero {
  background-image: url("images/service-banner.jpg"); /* change path */
}

/* ===== SECTION STYLES ===== */
.service-section {
  background: #ffffff;
}

.service-main-title {
  font-weight: 800;
  font-size: 2.2rem;
  color: #042655;
}

.service-subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: #666;
  font-size: 1rem;
}

/* ===== SERVICE CARD ===== */
.service-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.6rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  height: 100%;
  text-align: center;
  border: 1px solid #eef0f7;
}

/* hover animation */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  border-color: #042655;
}

/* icon */
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #042655;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-size: 1.7rem;
  transition: 0.3s ease;
}

/* icon hover */
.service-card:hover .service-icon {
  transform: scale(1.15);
  background: #ffb327;
  color: #000;
}

/* title */
.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #042655;
  margin-bottom: 0.7rem;
}

/* text */
.service-text {
  color: #444;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* responsive */
@media (max-width: 767.98px) {
  .service-main-title {
    font-size: 1.7rem;
  }
  .service-card {
    padding: 1.8rem 1.2rem;
  }
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
}


/* hero background */
.service-hero {
  background-image: url("images/service-banner.jpg"); /* change path */
}

/* ===== SECTION STYLES ===== */
.service-section {
  background: #ffffff;
}

.service-main-title {
  font-weight: 800;
  font-size: 2.2rem;
  color: #042655;
}

.service-subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: #666;
  font-size: 1rem;
}

/* ===== SERVICE CARD ===== */
.service-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.6rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease,
              background 0.3s ease;
  height: 100%;
  text-align: center;
  border: 1px solid #eef0f7;
  overflow: hidden;
}

/* gradient bar at bottom on hover */
.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #042655, #ffb327);
  transition: width 0.3s ease;
}

/* hover animation */
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0,0,0,0.12);
  border-color: rgba(4, 38, 85, 0.25);
  background: radial-gradient(circle at top left, #f7f8ff, #ffffff);
}

.service-card:hover::after {
  width: 100%;
}

/* icon */
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #042655;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-size: 1.7rem;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  box-shadow: 0 8px 18px rgba(4, 38, 85, 0.4);
}

/* icon hover */
.service-card:hover .service-icon {
  transform: scale(1.15) translateY(-2px);
  background: #ffb327;
  color: #000;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

/* title */
.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #042655;
  margin-bottom: 0.7rem;
  transition: color 0.3s ease;
}

/* title color change on hover */
.service-card:hover .service-title {
  color: #ffb327;
}

/* text */
.service-text {
  color: #444;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* responsive */
@media (max-width: 767.98px) {
  .service-main-title {
    font-size: 1.7rem;
  }
  .service-card {
    padding: 1.8rem 1.2rem;
  }
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
}
