* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: Arial, sans-serif;
    height: 100%;
    /* overflow: hidden; */
}

html {
  scroll-behavior: smooth;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
}

.slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    transition: all 1s ease-out;
}

.slide:nth-child(1) {
    background-image: url('for-background-II.jpg');
}

.slide:nth-child(2) {
    background-image: url('for-background-III.jpg');
}

.slide:nth-child(3) {
    background-image: url('for\ background-ix.jpg');
}

.slide:nth-child(4) {
    background-image: url('for-background-vi.jpg');
}

.active {
    left: 0;
}

.content {
    width: 100%;
    height: 100%;
    color: white;
    position: relative;
    z-index: 2;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 10;
    color: white;
}

.logo {
    font-weight: bold;
    font-size: 18px;
    line-height: 1.2;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a, .right-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.right-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.donate-button {
    padding: 8px 15px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    border-radius: 20px;
}

.main-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.main-content h1 {
    font-size: 70px;
    font-weight: bold;
    margin-bottom: 10px;
}

.main-content p {
    font-size: 20px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: white;
    color: black;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    text-align: center;
}

.card {
    padding: 40px 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
    font-size: 1.8rem;
    margin: 0 0 10px;
}

.card p {
    font-size: 1rem;
    margin: 0 0 20px;
    font-style: italic;
}

.learn-more {
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.learn-more:hover {
    background-color: white;
    color: #394049;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .info-cards {
        grid-template-columns: 1fr;
    }
}





.volunteer-cta-section {
    height: 100vh;
    background-image: url('group-picture-compressed.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    padding: 0 20px;
    background-color: gray;
    background-blend-mode: multiply;
}

.volunteer-cta-content {
    max-width: 800px;
}

.volunteer-cta-subtitle {
    font-size: 1.7rem;
    font-style: italic;
    margin-bottom: 20px;
}

.volunteer-cta-title {
    font-size: 5.5rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.volunteer-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.volunteer-cta-btn {
    padding: 10px 20px;
    font-size: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    border: 2px solid white;
    border-radius: 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-button {
  background-color: #007bff;
  padding: 10px 20px;
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  border: 2px solid white;
  border-radius: 25px;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 500px;
  margin-left: 50%;
}

.volunteer-cta-btn:hover {
    background-color: white;
    color: #394049; 
}

.blog-button:hover {
  background-color: white;
  color: #394049; 
}


/* Responsive Design */
@media (max-width: 768px) {
    .volunteer-cta-title {
        font-size: 2.5rem;
    }

    .volunteer-cta-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    .blog-button {
      font-size: 0.9rem;
      padding: 8px 15px;
      margin-left: 40%;
  }
}

@media (max-width: 480px) {
    .volunteer-cta-title {
        font-size: 2rem;
    }

    .volunteer-cta-subtitle {
        font-size: 1rem;
    }

    .volunteer-cta-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .blog-button {
      font-size: 0.8rem;
      padding: 6px 12px;
      margin-left: 40%;
  }
}

/* Section Styles */
.message-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .section-header p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
 
  .message-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    background-color: transparent;
  }
  
 
  .message-card {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    width: 300px;
    height: 400px;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  
  .message-card h3,
  .message-card .date {
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    margin: 0;
  }
  
  .message-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .message-card .date {
    font-size: 0.9rem;
    color: #ddd;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6); 
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .message-card:hover .overlay {
    opacity: 1;
  }
  
  .overlay p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  /* Buttons */
  .message-buttons {
    display: flex;
    gap: 10px;
  }
  
  .message-buttons .btn {
    padding: 8px 15px;
    border: 1px solid #fff;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s, color 0.3s;
  }
  
  .message-buttons .btn:hover {
    background: #fff;
    color: #000;
  }
  
  
  @media (max-width: 768px) {
    .message-cards {
      flex-direction: column;
      align-items: center;
    }
  
    .message-card {
      width: 90%;
    }
  }

  /* Section Styles */
.events-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f8f9fa, #e9ecef);
    text-align: center;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
  }
  
  .section-header p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 50px;
  }
  
  /* Event Cards Wrapper */
  .event-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  /* Individual Event Card */
  .event-card {
    position: relative;
    width: 320px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: scale(1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .event-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  }
  
  /* Event Image */
  .event-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
  }
  
  .event-card:hover .event-image {
    transform: scale(1.1);
  }
  
  /* Event Content */
  .event-content {
    padding: 20px;
    text-align: left;
  }
  
  .event-content h3 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 10px;
  }
  
  .event-content p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
  }
  
  .event-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 20px;
  }
  
  /* Event Button */
  .event-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 0.9rem;
    color: #fff;
    background: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .event-btn:hover {
    background: #0056b3;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .event-cards {
      flex-direction: column;
      align-items: center;
    }
  }

/* Countdown Styles */
.countdown {
    font-size: 1rem;
    color: #007bff;
    font-weight: bold;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .countdown span {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    background: #f1f1f1;
    color: #333;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* Lead Pastor Section */
.lead-pastor-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  }
  
  .lead-pastor-section .section-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .lead-pastor-section .section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .lead-pastor-section .section-header p {
    font-size: 1rem;
    color: #555;
  }
  
  .pastor-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  
  .pastor-image {
    flex: 1 1 45%;
    text-align: center;
  }
  
  .pastor-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .pastor-content {
    flex: 1 1 50%;
  }
  
  .pastor-content h3 {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 15px;
  }
  
  .pastor-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  .pastor-content blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 4px solid #007bff;
  }
  
  .pastor-details {
    display: flex;
    gap: 15px;
  }
  
  .pastor-btn {
    text-decoration: none;
    color: #fff;
    background: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-weight: bold;
  }
  
  .pastor-btn:hover {
    background: #0056b3;
  }

  /* Blog Section */
.blog-section {
    padding: 60px 20px;
    background: #f9f9f9;
  }

  .blog-section .container{
    padding-bottom: 20px;
  }
  
  .blog-section .section-header {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .blog-section .section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  .blog-section .section-header p {
    font-size: 1rem;
    color: #555;
  }
  
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .blog-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .blog-content {
    padding: 20px;
  }
  
  .blog-content h3 {
    font-size: 1.5rem;
    color: #007bff;
    margin-bottom: 10px;
  }
  
  .blog-content h3 a {
    text-decoration: none;
    color: inherit;
  }
  
  .blog-content h3 a:hover {
    color: #0056b3;
  }
  
  .blog-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  .blog-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #999;
  }

/* Gallery Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 0; /* No spaces between images */
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

/* Hover Effects */
.gallery-item:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}

.gallery-item:hover::after {
  content: url('church-logo.png'); /* Replace with your logo */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  pointer-events: none;
}

/* Modal for Zoom */
#modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#modal img {
  max-width: 90%;
  max-height: 90%;
}

#modal.visible {
  opacity: 1;
  visibility: visible;
}

/* Close Button */
#close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

  
  /* Modal Styling for Zoom */
  .modal {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }
  
  .modal-content {
    position: relative;
  }
  
  .modal-content img {
    max-width: 90%;
    max-height: 90%;
    display: block;
    margin: auto;
  }
  
  .modal-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .modal-content .close:hover {
    color: red;
  }

  /* Footer Styles */
.church-footer {
  background-color: #222;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.footer-about {
  flex: 1;
  min-width: 250px;
}

.footer-about .footer-logo {
  max-width: 120px;
  margin-bottom: 15px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffc107;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  font-size: 14px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  color: #ffc107;
}

.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #ffc107;
}

.footer-contact p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #ffc107;
}

.footer-socials {
  margin-top: 15px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 10px;
}

.footer-socials img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.footer-socials img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  border-top: 1px solid #444;
  padding-top: 15px;
}

.footer-bottom p {
  margin: 0;
}

a{
  text-decoration: none;
  color: #ffc107;
}

.telegram {
  text-decoration: none;
  color: #fff;
  background: #007bff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  font-weight: bold;
  margin-top: 10px;
  cursor:pointer;
}

.telegram:hover {
  background: #0056b3;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1500; /* Keep above the menu */
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger to X transformation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0; /* Hide middle bar */
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}









/* Default style for desktop view (769px and above) */
.nav-links {
  display: flex; /* Display links horizontally */
  gap: 20px; /* Space between links */
  list-style: none; /* Remove bullets */
  justify-content: flex-end; /* Align links to the right */
  align-items: center; /* Vertically center links */
}

/* Style for links inside */
.nav-links li {
  padding: 10px 15px; /* Spacing for individual links */
}

.nav-links a {
  text-decoration: none; /* Remove underline */
  color: #fff; /* Text colour */
  font-size: 16px; /* Adjust font size */
  font-weight: 500;
  transition: color 0.3s ease; /* Smooth hover effect */
}

.nav-links a:hover {
  color: #f0a500; /* Change colour on hover */
}

/* Mobile view styles (max-width: 768px) */
@media screen and (max-width: 768px) {
  .nav-links {
    display: none; /* Hide links initially */
    flex-direction: column; /* Stack links vertically */
    gap: 10px; /* Space between stacked links */
    position: absolute; /* Position dropdown */
    top: 60px; /* Below the navbar */
    right: 20px; /* Align to the right */
    background: rgba(0, 0, 0, 0.9); /* Dark background for dropdown */
    padding: 15px 20px; /* Add padding around the dropdown */
    border-radius: 8px; /* Rounded corners */
    z-index: 10; /* Ensure it's above other content */
  }

  .nav-links.active {
    display: flex; /* Show links when active class is added */
  }

  .nav-links li {
    padding: 10px 0; /* Adjust spacing for mobile */
  }

  .nav-links a {
    font-size: 18px; /* Slightly larger font for mobile */
  }
}

/* Menu toggle styles */
.menu-toggle {
  display: flex; /* Show toggle button */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 20; /* Above other content */
}

/* Hide toggle button on larger screens */
@media screen and (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* Toggle button bars */
.menu-toggle .bar {
  height: 4px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, background 0.3s ease;
}



.slideshow {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}





.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(0, 0, 0, 0.1); /* Semi-transparent background */
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

.menu-toggle {
  display: none; 
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .bar {
  background: white;
  height: 3px;
  width: 25px;
}


@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    padding: 10px 20px;
    z-index: 10;
  }
  .nav-links.active {
    display: flex;
  }
}

.search-container {
  display: none;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  z-index: 1000;
  padding: 10px;
}
.search-container input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}




.result {
  display: none;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f7f7f7;
}
.result.visible {
  display: block;
}
.result h3 {
  margin: 0;
  color: #333;
}
.result p {
  margin: 5px 0 0;
  color: #555;
}








    
    
  
  

