#section_3.section-padding {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

#section_3 .custom-block-wrap {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 36, 84, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #FFFFFF;
  border: 1px solid rgba(13, 110, 253, 0.08);
}

#section_3 .custom-block-wrap:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(13, 110, 253, 0.16);
}

#section_3 .custom-block-image {
  width: 100%;
  object-fit: cover;
}

#section_3 .custom-block {
  padding: 2rem 1.75rem 2.25rem;
}

#section_3 .custom-block-body h5 {
  font-weight: 700;
  color: var(--bs-dark);
}

#section_3 .custom-block-body p {
  color: rgba(15, 36, 84, 0.68);
}

#section_3 .custom-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--bs-primary), #00899A);
  color: #FFFFFF;
  font-weight: 600;
  border: none;
  box-shadow: 0 16px 32px rgba(13, 110, 253, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#section_3 .custom-btn:hover,
#section_3 .custom-btn:focus {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(13, 110, 253, 0.4);
}

#section_3 .progress {
  height: 0.75rem;
  border-radius: 999px;
  background-color: rgba(13, 110, 253, 0.12);
  overflow: hidden;
}

#section_3 .progress-bar {
  background: linear-gradient(135deg, var(--bs-primary), #00899A);
}

#section_3 h2 {
  font-weight: 800;
}

@media (max-width: 991.98px) {
  #section_3 .custom-block {
    padding: 1.75rem 1.5rem 2rem;
  }
}

[dir='rtl'] #section_3 .custom-block-body p {
  text-align: right;
}
.custom-block-wrap img.custom-block-image {
    height: 220px;         /* أو زيديها حسب التصميم */
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 12px 12px 0 0; /* نفس شكل الكارد */
    width: 100%;
}
