/*========== Main Services Start ==========*/
.main-services {
  padding: 80px 0;
  background: #fff;
}

/* Top Section */
.services-top {
  margin-bottom: 50px;
  gap: 40px;
}

.services-subtitle {
  font-family: var(--font-1);
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--color-1);
  display: inline-block;
  margin-bottom: 10px;
}

.services-title {
  font-family: var(--font-1);
  font-size: 42px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.3;
  max-width: 600px;
}

.services-content {
  max-width: 420px;
}

.services-content p {
  font-family: var(--font-1);
  font-size: 16px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 15px;
}

.services-link {
  font-family: var(--font-01);
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  text-decoration: underline;
}

/* Bottom Cards */
.service-card {
  transition: 0.3s ease;
  height: 100%;
  padding: 10px 10px 30px;
  border: 1px solid rgba(217, 217, 217, 0.5);
  border-radius: 20px;
  background-color: var(--color-1);
}

.service-card:hover {
  transform: translateY(-5px);
  background: #f6f6f6;
}

/* Active Card */
.service-card.active {
  background: #eef4f3;
}

/* Image */
.service-img {
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
}

.service-img img {
  width: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

/* Content */
.service-body h4 a {
  font-family: var(--font-01);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  text-align: center;
}

.service-card:hover .service-body h4 a {
  color: #0f172a;
}
.service-card:hover .service-body .about-desc {
  color: #6b7280;
}
.service-card:hover .service-body .about-desc {
  color: #6b7280;
}
.service-body p {
  color: #fff;
}
.service-body {
  text-align: center;
}

/* Button */
.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-1);
  color: #000;
  font-family: var(--font-1);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
}

.service-btn .icon {
  width: 28px;
  height: 28px;
  background: #0f172a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Responsive */
@media(max-width:1198.98px){
  .service-img img {
  min-height: auto;
}

}
@media (max-width: 991px) {
  .services-top {
    flex-direction: column;
  }

  .services-title {
    font-size: 32px;
  }

  .services-content {
    max-width: 100%;
  }
  .services-bottom .row {
  row-gap: 20px;
}
.journey-tabs .row {
  row-gap: 20px;
}
}
@media(max-width:767.98px){
  .main-services {
  padding: 40px 0;
  background: #fff;
}
}
@media (max-width: 576px) {
  .main-services {
    padding: 50px 0;
  }

  .services-title {
    font-size: 26px;
  }
}





/*Services page css*/
.service-card-main {
    position: relative;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
    overflow: hidden;
    transition: 0.4s;
}

/* ICON */
.icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.4s;
}
.icon-box img {
  width: 70px;
}
.service-card-main:hover .icon-box img {
  filter: contrast(0);
}
/* HEADING */
.service-card-main h4 a {
  font-size: 24px;
  font-weight: 600;
  color: #0e1b2c;
  margin-bottom: 10px;
  transition: 0.4s;
  font-family: var(--font-01);
}
/* BORDER LINE */
.card-border {
    width: 100%;
    height: 1px;
    background: #e6e6e6;
    margin: 15px 0 20px;
    transition: 0.4s;
}

.services-wrapper-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 40px;
}
.service-card-main:hover,
.service-card-main:hover h4,
.service-card-main:hover p,
.service-card-main:hover span,
.service-card-main:hover a {
    color: #fff !important;
}
.service-card-main *{
  z-index: 2;
  position: relative;
}
/* HOVER BACKGROUND */
.hover-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: 0.4s;
    z-index: 0;
}

/* DARK OVERLAY */
.hover-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-1);
  opacity: .7;
}

/* CONTENT ABOVE */


/* HOVER EFFECT */
.service-card-main:hover .hover-bg {
    opacity: 1;
}

.service-card-main:hover h4,
.service-card-main:hover p {
    color: #fff;
}



.service-card-main:hover .card-border {
    background: rgba(255,255,255,0.4);
}

.service-card-main:hover {
    transform: translateY(-5px);
}