/* ======= Service Pages ======= */

/* Hero Banner */
.service-hero {
  background: linear-gradient(135deg, #312782 0%, #1e1a5e 100%);
  color: #fff;
  padding: 70px 0 55px;
}

.service-hero h1 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
  line-height: 1.2;
}

.service-hero .lead {
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.service-hero .service-icon-wrap {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.btn-service-cta {
  display: inline-block;
  background: #fff;
  color: #312782;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 32px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.3px;
}

.btn-service-cta:hover {
  background: #65c9cd;
  color: #fff;
}

/* Info Cards */
.info-cards-section {
  background: #f4f6fb;
  padding: 56px 0;
}

.info-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 22px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(49, 39, 130, 0.07);
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Gradient top accent line */
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #312782 0%, #65c9cd 100%);
  border-radius: 14px 14px 0 0;
  transition: height 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(49, 39, 130, 0.13);
}

.info-card:hover::before {
  height: 4px;
}

.info-card .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(49, 39, 130, 0.08) 0%, rgba(101, 201, 205, 0.15) 100%);
  font-size: 1.6rem;
  color: #312782;
  margin-bottom: 16px;
  transition: background 0.3s ease, color 0.3s ease;
}

.info-card:hover .info-icon {
  background: linear-gradient(135deg, #312782 0%, #4e3dab 100%);
  color: #fff;
}

.info-card h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #312782;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-card p {
  font-size: 0.93rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Content Sections */
.service-content-section {
  padding: 60px 0;
}

.service-content-section h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #312782;
  margin-bottom: 20px;
  padding-bottom: 14px;
  position: relative;
}

.service-content-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: #65c9cd;
}

.service-content-section p {
  font-size: 1rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 16px;
}

.service-content-section ul {
  padding-left: 0;
  list-style: none;
}

.service-content-section ul li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: 0.97rem;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.6;
}

.service-content-section ul li::before {
  content: "\F26C";
  font-family: "bootstrap-icons";
  color: #65c9cd;
  font-size: 0.75rem;
  position: absolute;
  left: 4px;
  top: 10px;
}

/* Steps */
.steps-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #312782;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(49, 39, 130, 0.25);
}

.step-content h5 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 5px;
  color: #333;
}

.step-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

/* Highlight box */
.highlight-box {
  background: #ecf8f9;
  border-left: 4px solid #312782;
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin-top: 24px;
}

.highlight-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}

/* Related Services */
.related-services {
  padding: 60px 0;
}

.related-card {
  background: #fff;
  border-radius: 10px;
  padding: 32px 26px;
  box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
  transition: all 0.3s ease-in-out;
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.related-card::before {
  content: "";
  position: absolute;
  background: #312782;
  right: 0;
  left: 0;
  bottom: 0;
  top: 100%;
  transition: all 0.3s;
  z-index: -1;
}

.related-card:hover::before {
  top: 0;
  border-radius: 0;
}

.related-card .rc-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
}

.related-card h4 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #222;
  transition: color 0.3s;
}

.related-card p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 18px;
  transition: color 0.3s;
  line-height: 1.6;
}

.related-card a.btn-link-service {
  font-size: 0.85rem;
  font-weight: 700;
  color: #312782;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  text-decoration: none;
}

.related-card a.btn-link-service::after {
  content: " →";
}

.related-card:hover h4,
.related-card:hover p,
.related-card:hover a.btn-link-service {
  color: #fff;
}

@media (max-width: 768px) {
  .service-hero h1 {
    font-size: 1.7rem;
  }

  .service-hero .lead {
    font-size: 1rem;
  }
}
