/* GENERAL */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  color: #212529;
}

/* SOCIAL BAR */
.top-bar {
  background-color: #000;
  color: #fff;
  font-size: 0.9rem;
  padding: 6px 20px;
}
.top-bar .left-text {
  font-weight: 500;
}
.top-bar .social-icons a {
  color: #fff;
  margin-left: 15px;
  transition: color 0.2s ease-in-out;
}
.top-bar .social-icons a:hover {
  color: #ffc107;
}

/* NAVBAR */
.navbar {
  background-color: #b30000; /* rich red */
}
.navbar .navbar-brand,
.navbar-nav .nav-link {
  color: #fff !important;
}
.navbar-nav .nav-link:hover {
  color: #ffeb3b !important; /* yellow on hover */
}
.navbar-toggler {
  border: none;
}

/* CAROUSEL */
.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 5px;
}

/* BUTTONS */
.btn-custom {
  background-color: #008000; /* deep green */
  color: #fff;
}
.btn-custom:hover {
  background-color: #006400;
  color: #fff;
}

/* PRESIDENT MESSAGE */
.message-section {
  background-color: #fff;
  border-left: 6px solid #b30000;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* FOOTER */
footer {
  background-color: #b30000;
  color: #fff;
  padding: 20px 0;
  font-size: 0.9rem;
}
footer a {
  color: #ffc107;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* RESPONSIVE IMAGE */
.responsive-img {
  max-width: 100%;
  height: auto;
}

/* SECTION HEADERS */
.section-header {
  color: #b30000;
  font-weight: bold;
  border-bottom: 2px solid #008000;
  margin-bottom: 15px;
  padding-bottom: 5px;
}

/* ------------------------------------------------------------------ */
.sermon-thumb {
  overflow: hidden;
  border: 2px solid #28a745; /* green border */
  transition: transform 0.3s ease;
}

.sermon-thumb:hover {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 0 0 15px rgba(40,167,69,0.7); /* green glow */
}

.sermon-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ------------------------------------------------------------------ */
.upcoming-events {
  background-color: #f8f9fa; /* light gray background */
}

.upcoming-events .card {
  border: 2px solid #dc3545; /* red border */
  transition: box-shadow 0.3s ease;
}

.upcoming-events .card:hover {
  box-shadow: 0 4px 15px rgba(220,53,69,0.5); /* red glow shadow */
}

.upcoming-events .card-title {
  font-weight: 700;
}




/* MEDIA QUERIES */
@media (max-width: 576px) {
  .top-bar {
    font-size: 0.75rem;
    text-align: center;
  }
  .top-bar .social-icons {
    margin-top: 5px;
  }
}

/** youth photo hoover**/
.card-img-top {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.card-img-top:hover {
  transform: scale(1.03);
}

.recent-photos img {
  transition: transform 0.3s ease;
  object-fit: cover;
  width: 100%;
  height: 200px;
}
.recent-photos img:hover {
  transform: scale(1.05);
}



<style>
/* Default hide */
.carousel-item {
    opacity: 0;
    transition: none !important;
}
.carousel-item.active {
    opacity: 1;
}

/* ========== Transition Effects ========== */

/* Fade */
.fade-effect { animation: fadeEffect 1s ease-in-out; }
@keyframes fadeEffect {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Dissolve */
.dissolve-effect { animation: dissolveEffect 1s ease-in-out; }
@keyframes dissolveEffect {
  0% { filter: blur(10px); opacity: 0; }
  100% { filter: blur(0); opacity: 1; }
}

/* Mosaic */
.mosaic-effect { animation: mosaicEffect 0.8s steps(10) forwards; }
@keyframes mosaicEffect {
  0% { clip-path: inset(50% round 5px); opacity: 0; }
  100% { clip-path: inset(0%); opacity: 1; }
}

/* Push (slide-like but different direction) */
.push-effect { animation: pushEffect 0.8s ease-out; }
@keyframes pushEffect {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Fade-out override */
.fadeout-effect { animation: fadeOutEffect 0.8s ease-in-out; }
@keyframes fadeOutEffect {
  from { opacity: 1; }
  to { opacity: 0; }
}
</style>
