/* Custom overrides - keep previous (bg-light / text-dark) mega-footer style */
.mega-footer {
  background-color: inherit; /* allow the section's bg-light to show */
  color: inherit;
}

.mega-footer a {
  color: #1f1f1f;
}

/* About image overlay */
.about-image-container { position: relative; }
.about-image-container .about-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 120px;
  border: 4px solid rgba(255,255,255,0.85);
}

@media (max-width: 575.98px) {
  .about-image-container .about-overlay { display: none; }
}

/* Vision / Mission / Objectives section styles */
.vm-section h4 {
  color: #7f132a;
  margin-bottom: .5rem;
}
.vm-section p {
  margin-bottom: 0;
  color: #333;
}

@media (max-width: 767.98px) {
  .vm-section { padding-top: 2rem; padding-bottom: 2rem; }
}

/* Course card image overlay */
.card-img-wrap { position: relative; overflow: hidden; }
.card-img-wrap img { display: block; width: 100%; height: auto; transition: transform .3s ease; }
.card-img-wrap:hover img { transform: scale(1.03); }
.card-img-wrap .overlay { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; background: rgba(0,0,0,0.35); opacity: 0; transition: opacity .18s ease; }
.card-img-wrap:hover .overlay { opacity: 1; }

.btn-outline-secondary-custom { border: 2px solid #f3bd00; color: #f3bd00; background: transparent; }
.btn-outline-secondary-custom:hover, .btn-outline-secondary-custom:focus { background: #f3bd00; color: #fff; border-color: #f3bd00; }

@media (max-width: 575.98px) {
  .card-img-wrap .overlay { background: rgba(0,0,0,0.25); }
}
