/* Accreditation Page Styles */

/* Showcase Section - Similar to contact page */
#showcase-accreditation {
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  border-top: var(--bs-primary) 5px solid;
  border-bottom: var(--bs-warning) 5px solid;
  background-color: var(--bs-primary);
}

#showcase-accreditation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center center;
  opacity: 0.2;
}

.showcase-content {
  position: relative;
  z-index: 2;
}

/* Accreditation image container */
.accreditation-image-container {
  height: 100%;
  max-height: 400px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.accreditation-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Accreditation Section Styles */
.accreditation-section {
  background-color: #fff;
}

.accreditation-card {
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.accreditation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.accreditation-card .card-title {
  color: var(--bs-primary);
  margin-bottom: 1.25rem;
}

.accreditation-card .card-body {
  padding: 1.5rem;
}

.accreditation-card a {
  color: var(--bs-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.accreditation-card a:hover {
  color: var(--bs-warning);
  text-decoration: underline;
}

/* Responsive Breakpoints */

/* XXL: Extra‑extra‑large screens (≥1400px) */
@media (min-width: 1400px) {
  #showcase-accreditation {
    min-height: 65vh;
  }
}

/* XL: Extra‑large screens (1200px–1399.98px) */
@media (max-width: 1399.98px) and (min-width: 1200px) {
  #showcase-accreditation {
    min-height: 50vh;
  }
}

/* LG: Large screens (992px–1199.98px) */
@media (max-width: 1199.98px) and (min-width: 992px) {
  #showcase-accreditation {
    min-height: 40vh;
  }

  .accreditation-image-container {
    max-height: 350px;
    margin-top: 2rem;
  }
}

/* MD: Medium screens (768px–991.98px) */
@media (max-width: 991.98px) and (min-width: 768px) {
  #showcase-accreditation {
    min-height: 40vh;
  }

  .accreditation-image-container {
    max-height: 350px;
    margin-top: 2rem;
  }
}

/* SM: Small screens (576px–767.98px) */
@media (max-width: 767.98px) and (min-width: 576px) {
  #showcase-accreditation {
    min-height: 50vh;
  }

  .accreditation-image-container {
    max-height: 300px;
  }

  .accreditation-card .card-body {
    padding: 1.25rem;
  }
}

/* XS: Extra small screens (<576px) */
@media (max-width: 575.98px) {
  #showcase-accreditation {
    min-height: 30vh;
  }

  .accreditation-image-container {
    max-height: 250px;
  }

  .accreditation-card .card-body {
    padding: 1rem;
  }
}
