.hero-programs {
  background: linear-gradient(135deg, #0a2e3f 0%, #1b4f72 100%);
  color: white;
  padding: 3.5rem 0;
  margin-bottom: 2rem;
  border-radius: 0 0 2rem 2rem;
}
.program-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}
.card-header-custom {
  background: linear-gradient(120deg, #1e4a6e, #2c5f8a);
  padding: 1.2rem;
  color: white;
  border-bottom: none;
}
.badge-type {
  background-color: #ffc107;
  color: #2c3e50;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
}
.filter-btn {
  border-radius: 2rem;
  padding: 0.5rem 1.4rem;
  margin: 0.25rem;
  transition: 0.2s;
  font-weight: 500;
}
.filter-btn.active {
  background-color: #1b4f72;
  color: white;
  border-color: #1b4f72;
}
.search-box {
  border-radius: 3rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid #dee2e6;
}
.search-box:focus {
  box-shadow: 0 0 0 3px rgba(27, 79, 114, 0.25);
  border-color: #1b4f72;
}
footer {
  background: #0a2e3f;
  color: #cddde9;
  margin-top: 3rem;
  padding: 2rem 0;
}
.program-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.btn-apply {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: white !important;
  border-radius: 2rem !important;
  padding: 0.4rem 1.2rem !important;
  font-size: 0.85rem !important;
  transition: 0.2s !important;
}
.btn-apply:hover {
  background-color: #218838 !important;
  transform: scale(1.02) !important;
}
.btn-explore {
  background-color: transparent !important;
  border: 1px solid #1b4f72 !important;
  color: #1b4f72 !important;
  border-radius: 2rem !important;
  padding: 0.4rem 1.2rem !important;
  font-size: 0.85rem !important;
}
.btn-explore:hover {
  background-color: #1b4f72;
  color: white;
}
.card-footer-custom {
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem;
}
.stats-badge {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  padding: 0.2rem 0.8rem;
}
@media (max-width: 768px) {
  .hero-programs {
    padding: 2rem 0;
  }
}

/* Spinner animation */
@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.spinner-border {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: text-bottom;
  border: 0.2em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

.me-2 {
  margin-right: 0.5rem;
}

.opacity-50 {
  opacity: 0.7;
  cursor: not-allowed;
}

h1.page-title {
  display: none;
}

/* Success modal styling */
#successModal .modal-body i {
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Success modal styling */
#successModal .modal-body i {
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Drupal Messages Styling */
.messages__wrapper {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 400px;
  width: 100%;
}

.messages {
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.messages--success {
  background-color: #d4edda;
  border-left: 4px solid #28a745;
  color: #155724;
}

.messages--error {
  background-color: #f8d7da;
  border-left: 4px solid #dc3545;
  color: #721c24;
}

.messages--warning {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  color: #856404;
}

.messages--info {
  background-color: #d1ecf1;
  border-left: 4px solid #17a2b8;
  color: #0c5460;
}

.messages__content {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  gap: 12px;
}

.messages__icon i {
  font-size: 20px;
}

.messages__text {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

.messages__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: inherit;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.messages__close:hover {
  opacity: 1;
}

.messages__close i {
  font-size: 16px;
}

#block-belgrade-content {
  padding-top: 0 !important;
}
