/**
 * Azharica Programs Styles
 */

.az-programs-container {
  width: 100%;
  margin: 24px auto;
  box-sizing: border-box;
}

.az-programs-grid {
  display: grid;
  gap: 24px;
}

.az-cols-2 .az-programs-grid {
  grid-template-columns: repeat(2, 1fr);
}

.az-cols-3 .az-programs-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
  .az-cols-3 .az-programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .az-cols-3 .az-programs-grid,
  .az-cols-2 .az-programs-grid {
    grid-template-columns: 1fr;
  }
}

.az-program-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.az-program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.az-program-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e2e8f0;
  overflow: hidden;
}

.az-program-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.az-program-card:hover .az-program-banner img {
  transform: scale(1.05);
}

.az-program-icon-badge {
  position: absolute;
  bottom: -18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0F5132;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 81, 50, 0.35);
  border: 2px solid #ffffff;
  z-index: 2;
}

.az-program-body {
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.az-program-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.az-program-desc {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #4b5563;
}

.az-program-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.az-program-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  font-weight: 500;
}

.az-program-footer {
  margin-top: auto;
  border-top: 1px solid #f3f4f6;
  padding-top: 16px;
}

.az-btn-program-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0F5132;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.az-btn-program-cta:hover {
  background: #0b3d26;
  box-shadow: 0 4px 10px rgba(15, 81, 50, 0.25);
}
