/* start services section style */
.services-section {
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.section-title {
  font-size: 2.1rem;
  color: #001f52;
  letter-spacing: -0.5px;
}

.brand-orange {
  color: #ff5e13;
}

.service-card {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid #f0f0f0;
  transition: box-shadow 0.3s ease, transform 0.25s ease, border 0.2s;
  box-shadow: 0 3px 16px #001f520e;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 16px 32px #ffbe5935;
  border-color: #ffbe59;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  text-align: right;
  direction: rtl;
  justify-content: flex-start;
}

.icon-box {
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  background: linear-gradient(120deg, #ffbe59, #ff5e13);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  box-shadow: 0 2px 16px #ffbe5934;
  transition: background 0.3s, transform 0.25s, color 0.25s;
  z-index: 2;
}

.service-card:hover .icon-box {
  background: linear-gradient(120deg, #001f52 80%, #ff5e13 100%);
  transform: scale(1.1) rotate(-7deg);
  color: #fff;
  box-shadow: 0 6px 28px #001f5222;
}

.service-card h3 {
  color: #001f52;
  font-size: 1.15rem;
  margin: 0;
}

.service-card p {
  font-size: 0.96rem;
  color: #4c5a70;
}

.line-effect {
  width: 80%;
  height: 3px;
  background: #ffbe59;
  border-radius: 6px;
  margin-top: 10px;
  margin-right: 0;
  margin-left: auto;
  transition: background 0.4s ease;
  transform-origin: right;
  transform: scaleX(1);
}

.service-card:hover .line-effect {
  background: #001f52;
}

.custom-btn {
  color: #fff;
  background-color: #ff5e13;
  border: none;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
  padding: 0.45rem 1.2rem;
  float: left;
}

.custom-btn:hover {
  background-color: #001f52;
  color: #fff !important;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }

  .icon-box {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  .title-row {
   justify-content: flex-start; 
   direction: rtl
   text-align: right
  }
  .title-row h3 {
    font-size: 1rem;
  }

  .line-effect {
    margin-top: 6px;
  }

  .custom-btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }

  .service-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
    text-align: right
  }
}
/* end services section style */
