
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
  background-image: url('../images/76824.jpg');
  color: #ffffff;
}

/* Navbar */
.navbar {
  background: #2c3e506e;
  background-image: url('../images/76824.jpg');
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo {
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
}

.nav-links a.active,
.nav-links a:hover {
  background: #2f0ccc00;
  border-radius: 4px;
}

/* Dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background: #34495e;
  min-width: 160px;
  z-index: 1;
}

.dropdown-content li a {
  display: block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Page Header */
.page-header {
  background: #321abca6;
  background-image: url('../images/76824.jpg');
  color: white;
  padding: 20px;
  text-align: center;
}

/* Layout */
.ministry-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  padding: 20px;
}

.leader-sidebar {
  background: #5c84f1;
  background-image: url('../images/76824.jpg');
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(71, 128, 128, 0.1);
}

.leader-sidebar img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 15px;
}

.leader-title {
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.leader-bio {
  font-size: 0.95em;
  color: #fdfbfb;
  
}

.leader-message {
  margin-top: 20px;
  background: #3d668f6c;
  padding: 10px;
  border-radius: 6px;
}

.leader-message h3 {
  margin-top: 0;
}

/* Event Gallery */
.events-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}
/* Larger event tiles */
.ministry-layout .events-gallery {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

/* Make event images bigger while preserving cover behavior */
.ministry-layout .events-gallery .event-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

/* Tweak for smaller screens */
@media (max-width: 768px) {
  .ministry-layout .events-gallery .event-photo img {
    height: 220px;
  }
}
.event-photo img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .ministry-layout {
    grid-template-columns: 1fr;
  }
}
/* Footer */
.site-footer {
  background: #2c3e50;
  color: #e9f2ff;
  padding: 40px 20px;
  border-top: 4px solid rgba(255,255,255,0.03);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

/* Column headings and logo */
.footer-logo {
  font-size: 1.25em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-column h4 {
  margin: 0 0 10px 0;
  font-size: 1em;
  color: #f6fbff;
}

/* Links and lists */
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
  color: #cde7ff;
  text-decoration: none;
  transition: color 160ms ease, transform 120ms ease;
}

.footer-links a:hover,
.footer-links a:focus,
.footer-contact a:hover,
.footer-contact a:focus {
  color: #ffffff;
  transform: translateX(4px);
  outline: none;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #2c3e50;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.social-icon:hover,
.social-icon:focus {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  outline: none;
}

/* Contact / address */
.footer-contact small {
  color: #d7ebff;
  display: block;
  margin-top: 6px;
}

/* Bottom row */
.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  color: rgba(255,255,255,0.72);
  font-size: 0.9em;
}

/* Accessibility: visible focus ring for keyboard users */
.footer-links a:focus,
.footer-contact a:focus,
.social-icon:focus {
  box-shadow: 0 0 0 3px rgba(100,160,255,0.18);
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-column h4,
  .footer-logo {
    text-align: center;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* bigger min size */
  gap: 20px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}
