/* General Reset */

@import url('https://fonts.googleapis.com/css2?family=ubuntu&family=Encode+Sans:wght@100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

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

body {
  font-family: 'Encode Sans', sans-serif;  /* Apply Encode Sans font to all text */
  color: white;
  background-color: #ffffef;
  overflow-x: hidden;
}

header{
  background-color: #1b1f23;
  width: 100%;
}

.navbar {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  gap: 60px;
  background-color: #ffffff;
  justify-content: space-between; /* Ensure items are spaced out within the header */
}


.toggle-nav{
  width: 40px;
  position: relative;
  align-items: center;
  display: flex;
  cursor: pointer;
}
.toggle-nav span{
  position: absolute;
  height: 4px;
  width: 40px;
  background-color: rgb(0, 0, 0);
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
}
.toggle-nav span:first-child{
  transform: translate(-9px ,-10px);
  width: 25px;

}
.dispp{
  display: none !important;
}
.trans{
  transform: rotate(45deg) !important;
  width: 40px !important;
}
.trans-t{
  transform: rotate(-45deg) !important;
  width: 40px !important;
}
.toggle-nav span:last-child{
  transform: translate(20px ,10px);
  width: 25px;
 
}
.new{
  transform: none !important;
}
@keyframes turn {
  from{
      transform: none !important;
  }
  to{
      transform: rotate(360deg) !important;
  }
}
.fa-times{
top: 0;
right: 0;
position: absolute;
font-size: 50px !important;
padding: 40px 50px;
}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gallery img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(2.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  justify-content: center;
  align-items: center;
  justify-items: center;
  justify-self: center;
}

.logo img {
  width: 150px;
  height: auto;
  

}
.logo{
  position: relative;
  display: flex;
  align-items: center;
}

/* .logo1 img{
  width: 120px;
  height: 90px;
  
} */


.navbar .nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  transition: all 0.4s ease-in-out;
  font-weight: 900;
}

.navbar .nav-links a {
  text-decoration: none;
  color: black;
  transition: color 0.3s ease;
  font-family: 'Encode Sans', sans-serif;  /* Ensure links use Encode Sans font */
  font-weight: 600;
  font-size: 15px;
}

.navbar .nav-links a:hover {
  border-bottom: solid 2px #e9af10;
  color: #e9af10;
  margin-top: 2px;
  padding: 20px 0px;
  transition: border-bottom 0.9s ease-in-out;
}


.ministries-text-02-click a{
    color: blue;
    text-decoration: none; 
    transform: none;
} 


/* Hero Section */
.hero {
  height: 100vh;
  overflow: hidden;
  background-color: #000; 
  background-image: url("/images/hero-background.jpg"); /* Include background image */
  background-size: cover; /* Ensure the image covers the entire section */
  background-position: center; /* Center the image */
  width: 100%;
  z-index: 1;
  color: #f4f7ef;
  font-family: 'Encode Sans', sans-serif;
  justify-content: center;
  align-items: center;
}

.hero-content {
  height: 100%;
  position: relative;
  background-color: #000;
  text-align: center;
  justify-items: center;
  align-items: center;
  padding: 50px;
  background-size: cover;
  background-position: center;
  animation: slideBackground 15s infinite;
}
.hero-content {
  padding: 2rem;
  text-align: center;
}

.service {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

.service iframe {
  flex: 1 1 600px;
  min-width: 300px;
  height: 400px;
}
/* Mobile Menu Overrides */
@media (max-width: 768px) {
  .service iframe {
    flex: 1 1;
    min-width: 300px;
    height: 300px !important;
  }
  .hero-content{
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    
  }
  .hero-content h1{
    font-size: 1.5rem !important;
    padding: 0 !important;
    white-space: normal !important;
  }
  
  
}

.service-details {
  flex: 1 1 400px;
}

@keyframes slideBackground {
  0% {
    background-image: url("/images/cong_3.jpg");
  }
  50% {
    background-image: url("/images/cong_3.jpg");
  }
  70% {
    background-image: url("/images/cong_2.jpg");
  }
  100% {
    background-image: url("/images/cong_7.jpg");
  }
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Adjust the opacity as needed */
  z-index: 1;
}

.hero-content > * {
  position: relative;
  z-index: 2;
  

}

.hero-content-ministries {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}


.head{
  font-size: 2.5rem;
  color: #c3ba5c;
}

.hero-content-ministries h1 {
  font-size: 4rem; 
  margin-bottom: 20px;
  width: 100%;  
  max-width: 90%; 
  line-height: 1.2; 
  text-align: center;  
  white-space: nowrap;
  font-family: 'Ubuntu', sans-serif;  
  font-weight: 800;
}

.hero-ministries{
  background-image: url('/images/cong_11.jpg');
  background-size: cover;
  background-position: center;
}

.details-ministies{
  position: relative;
  height: 50vh;
  width: auto;
  overflow: hidden;
  background-color: #eaf6f7;  /* White background */
  color: black;  /* Text color for sections with white background */
  padding: 60px 80px;
}

.details-heading{
  align-content: center;
  justify-content: center;
}

.details-ministies-ministry{
  display: flex;
  margin-bottom: 30px;
  font-size: 3rem;
}



.hero-content h1 {
  font-size: 4rem; 
  margin-bottom: 20px;
  width: 100%;  
  max-width: 90%; 
  line-height: 1.2; 
  text-align: center;  
  white-space: nowrap;
  font-family: 'Ubuntu', sans-serif;  
  font-weight: 800;
}

.ministries-page{
  padding: 40px 20px;
  display: flex;
  width: 100%;
  background-color: #eaf6f7;
  gap: 60px;

}

.ministries-page img{
  width: 40%;
  height: 80vh;
  border-radius: 10px;
}

.details-ministies-ministry{
  display: flex;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #2a2c2b;
}

.details-ministies-ministry-paragraph{
  color: #2a2c2b;
  font-size: 1.5rem;
}

.ministries-page-text{
  width: 60%;
  padding: 20px 30px;
  color: #2a2c2b;
}



.cta-btn {
  display: none;
  padding: 20px 40px;
  background-color: #e9af10;
  color: black;
  font-weight: bold;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.3s ease-in-out;
}

.cta-btn:hover {
  background-color: #e9af10;
}


/* Sliding Animation */
@keyframes slide {
  0%, 33% {
    transform: translateX(0%);
  }
  34%, 66% {
    transform: translateX(-50%);
  }
  67%, 100% {
    transform: translateX(-100%);
  }
}

/* Give Online Button */


.give-btn{
  position: relative;
  width: 160px;
  height: 50px;
  justify-content: center;
  align-items: center;
  text-align: center;
  display: flex;
  background-color: #e9af10;
  color: #fff;
  transition: all 0.4s ease-in-out !important;
  border-radius: 30px;

}
.give-btn:hover{
  width: 170px !important;
  color: white !important;
  background-color: #f9b700;
}

/* Details Section */
.details {
  width: 100%;
  background-color: #e9af10;  /* White background */
  color: black;  /* Text color for sections with white background */
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service{
  width: 100%;
  padding: 2rem 1rem;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-content: center;
  justify-items: center;
  align-items: center;
}


.service-details {
  color: #242323;
  display: block;
  justify-content: center;
  align-items: center;
  width: 60%;
  /* Add padding for spacing */
  padding: 1rem;
  line-height: 1.6; /* Increase line height for better readability */
}

.service-details a{
  margin-top: 20px;
}

.service-details h1{
  font-size: 4rem;
  font-weight: 800;
  font-family: 'Ubuntu', sans-serif; 
  letter-spacing: -3px;
}

.address{
  color: black;
  font-size: 1rem;
  font-weight: 600;
  gap: 60px;
  justify-items: space-between;
  
}

.follow{
  color: #2a966f;
}

.details-contain {
  display: flex;
  position: relative;
  width: 100%;
  margin: 0px 30px;
  padding: 20px;
  box-sizing: border-box;
}

.left-text {
  display: flex;
  float: left; /* Float h1 to the left */
  width: 70%;
  font-size: 2.5rem;
  margin-right: 20px; /* Add some space to the right of the heading */
  color: #16553d;
}

.right-text {
  float: right; /* Float paragraph to the right */
  font-size: 1.2rem;
  max-width: 50%; /* Limit width of the paragraph */
  margin-left: 20px; /* Add some space to the left of the paragraph */
  color: #5f5f5f;
}

.ministry-card-carousel {
  width: 100%;
  padding: 40px 40px;
  justify-content: center;
  justify-items: center;
  justify-self: center;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out; /* Smooth transition */
  width: 100%;
  padding: 0px 30px;
}

.carousel-item {
  width: 350px; /* Fixed width for each item */
  height: 450px;
  margin-right: 20px;
  perspective: 1000px; /* Enable 3D flip effect */
  transition: transform 1s ease-in-out;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  opacity: 100; /* Fade the image */
  transition: opacity 0.5s ease;
}

.card-info {
  position: absolute;
  top: 50%; /* Center vertically */
  left: 50%; /* Center horizontally */
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.carousel-item:hover{
  background-color: #000;
}
.carousel-item:hover .card-img {
  opacity: 0; /* On hover, remove the opacity fade */
}

.carousel-item:hover .card-info {
  opacity: 1; /* Show the ministry name */
}

.carousel-item .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s ease-in-out;
}

.carousel-item:hover .card-inner {
  transform: rotateY(180deg); /* Flip the card on hover */
}

.card-info p {
  font-size: 1rem;
  margin-top: 10px;
  opacity: 0; /* Initially hide the paragraph */
  transition: opacity 0.3s ease-in-out;
}

.carousel-item:hover .card-info p {
  opacity: 1; /* Show the paragraph on hover */
}

.card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7); /* Transparent background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.card-inner .card-back {
  transform: rotateY(180deg);
  backface-visibility: hidden;
}

.card-inner .card-front {
  backface-visibility: hidden;
}

.learn-more-btn{
  display: inline-block;
  padding: 10px 20px;
  background-color: rgb(233, 175, 16);
  color: black;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
}

.card-info a{
  margin-top: 40px;
}


/* Dropdown Styling */
.navbar .dropdown {
  position: relative;
}

.navbar .dropdown-menu {
  list-style: none;
  position: absolute;
  top: 100%; /* Position the menu below the parent link */
  left: 0;
  width: 300px;
  height: auto;
  background-color: rgba(253, 197, 43, 0.9); /* Match the navbar's black background */
  color: rgb(0, 0, 0);
  padding: 20px 20px;
  border-radius: 5px;
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Initially hidden */
  transition: opacity 0.3s ease, visibility 0.3s ease; /* Add transition for smooth visibility */
  z-index: 1000;
  margin-top: 20px;
}

.navbar .dropdown:hover .dropdown-menu {
  opacity: 1; /* Show the menu */
  visibility: visible; /* Show the menu */
}


.navbar .dropdown-menu li {
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: #000;
  border-bottom: 2px solid rgba(219, 167, 24, 0.9);
}

.navbar .dropdown-menu li a{
  padding: 10px 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #000;
  border-bottom: 2px solid rgba(219, 167, 24, 0.9);
  letter-spacing: 0px;
}

.navbar .dropdown-menu li a:hover{
  color: rgba(46, 43, 36, 0.9);
}

.navbar .dropdown:hover .dropdown-menu {
  display: block; 
}



.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;
}

/* General footer styling */
.footer {
  background-color: #1b1f23;
  padding: 40px 40px; /* Reduce padding for better spacing */
  color: white;
  display: block;
  width: 100%;
  margin-top: 30px;
}

.footer-contain {
  width: 100%;
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap on smaller screens */
  justify-content: center; /* Center menus in the container */
  gap: 10px;
}

.footer .menu {
  flex: 1 1 160px; /* Flexible width with minimum size */
}


.footer .menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .menu ul li {
  margin-bottom: 15px; /* Add spacing between list items */
}

.footer .menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 1rem; /* Adjust font size for consistency */
  transition: color 0.3s ease;
}

.footer .menu ul li a:hover {
  color: #ffd000; /* Add hover effect for links */
}

.footer .menu ul li h4,
.footer .menu ul li h5 {
  margin: 0;
  font-weight: 400; /* Bold for section headers */
  font-size: 16px; /* Adjust size for better hierarchy */
}

.footer .logo {
  flex: 1 1 200px;
  text-align: center;
}

.footer .logo img {
  width: 150px;
  height: auto;
}


.footer .footer-contain .menu ul li h4{
  font-weight: 600;
}

.footer .footer-line{
  padding: 30px;
  width: 100%;
  margin-top: 30px;
  border-top: 0.5px solid #444444
}


.footer-line h6 {
  margin-top: 5px;
  font-weight: 200;
  font-size: 12px;
  color: #bbb;
}

.menu .material-symbols-outlined a{
  align-items: center;
  justify-items: center;
}


.material-symbols-outlined {
  font-variation-settings: 
    'FILL' 0, 
    'wght' 400, 
    'GRAD' 0, 
    'opsz' 24;  /* Add the missing semicolon here */
  margin-right: 8px;
}



.pastor{
  background-color: #555555;
  display: flex;
  justify-content: center;
  padding: 80px;
  gap: 60px;
  
}

.ministers-img {
  width: 60%;
  height: 60%;
  max-height: 80vh;
  background-size: crop;
  background-position: center;
  border-radius: 40px;
  padding: 40px 30px;
  object-fit: cover;
}

.pst{
  color: #aca39c;
  font-size: 2rem;

}


.pastor-desc{
  width: 50%;
  align-content: center;
  
 
  
}

.pastor-desc p{
  width: 80%;
  margin-top: 20px;
  line-height: 30px;
  text-align: justify;

}

.pastor-desc .cta-btn{
  background-color: none;
  color: white;
  letter-spacing: 3px;
  font-size: 12px;
  margin-top: 20px;
  background-color: #2b2a2a;
  justify-content: center;
  justify-self: center;
  align-content: center;

}

.pastor-desc .cta-btn a{
  font-style: none;
  text-decoration: none;
  color: #ffffff;
}



.image-9 {
  z-index: 2;
  width: 100%;
  margin-bottom: 5px;
  position: relative;
}


.animation{
  border: none; 
  width: 414px; 
  height: 414px;
}

.welcome{
  padding: 10px 10px;
  border-radius: 20px;
  background-color: #19191a;
  align-content: center;
  justify-content: center;
  justify-self: center;
  opacity: 96%;

}

.welcome h6{
  letter-spacing: 3px;
}

.ministry-card-carousel .news{
  color: #ffffff;
  margin: 30px 0;
  font-size: 12px;
  letter-spacing: 3px;
  background-color: #dfc39a;
  padding: 10px 20px;
  border-radius: 20px;
  
}

.navbar .dropdown:focus-within .dropdown-menu {
  display: block;
}

.our-bishop .main{
  width: 100%;
  padding: 40px 0px;
}

.our-bishop .title{
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 20px;
}


@media (max-width: 768px) {
  /* Navbar: Stack items vertically */
  .navbar {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  /* Navbar Links */
  .navbar .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .navbar .nav-links a {
    font-size: 2rem;
    text-align: center;
    letter-spacing: 2px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 80%;
    background: #1b1f23;
    transition: 0.3s;
    padding-top: 60px;
  }

  .nav-links.active {
    left: 0;
  }

  .toggle-nav {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
  }

  .toggle-nav span {
    width: 25px;
    height: 3px;
    background: #000;
  }



  .hero-content h1 {
    font-size: 2rem;
    padding: 0 10px;
  }

  .cta-btn {
    display: none;
    font-size: 12px;
    padding: 8px 15px;
  }

  /* Details Section */
  .details-contain {
    flex-direction: column;
    text-align: center;
  }

  .details{
    display: block;
    font-size: 16px;
  }

  section.details{
    padding: 16px 7px;
  }

  .hero{
    height: 100vh;
  }

  .hero-content{
    display: block;
  }



  /* Carousel Section */
  .carousel-container {
    flex-direction: column;
    align-items: center;
  }

  .carousel-item {
    width: 90%;
    margin-bottom: 20px;
  }

  /* Footer: Stack sections vertically */
  .footer-contain {
    flex-direction: column;
    align-items: center;
  }

  /* Footer Section */
  .footer .footer-section {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer .footer-section ul {
    padding: 0;
  }

  /* Adjust Card Hover Effects */
  .carousel-item .card-info p {
    font-size: 1rem;
  }

  /* Adjust Give Button Size */
  .give-btn {
    font-size: 14px;
    padding: 8px 15px;
  }

  .footer-contain {
    flex-direction: column;
    align-items: center;
  }

  .footer .menu {
    text-align: center;
  }

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

  .footer .logo {
    margin-top: 20px;
  }

  .social-icons {
    float: none;
    margin-top: 20px;
  }

  .copy h6 {
    float: none;
    text-align: center;
    margin-top: 10px;
  }
}

.social-icons{
  float: right;
  
}

.social-icons i{
  margin: 0 10px;
  float: right;

}

.copy  h6{
  float: left;

}

.hero-sec {
  height: 100vh;
  width: 100%;
  background-color: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 60px;

}

.hero-sec-contain{
  display: block;
  width: 40%;
  margin-left: 20px;
}

.hero-sec-img{
  float: right;
  width: 60%;
  height: 80vh;
  background-color: #2590f2;
  background-image: url("/images/cong_6.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-sec-contain h1{
  color: #ffffff;
  font-size: 4rem;
  font-family: Encode Sans, Sans-Serif;
  line-height: 60px;
}



.details-sec {
  position: relative;
  height: 50vh;
  width: auto;
  overflow: hidden;
  background-color: #eaf6f7;  /* White background */
  color: black;  /* Text color for sections with white background */
  padding: 60px 80px;
}

.details-sec-belief {
  position: relative;
  overflow: hidden;
  background-color: #f1f8f8; 
  color: black;  /* Text color for sections with white background */
  padding: 80px;
}
@media (max-width: 768px) {
  .details-sec-belief{
    padding: 1rem;
  }
  .details-contain-sec{
    padding: 0 !important;
    flex-direction: column;
  }
  .left-text-sec{
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem !important;
  }
  
  .right-text-sec{
    width: 100% !important;
    font-size: 1rem !important;
  }
  .details{
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .details h1{
    font-size: 14px;
  }
  .pastor{
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  .ministers-img{
    width: 100%;
    padding: 0;
    border-radius: 0;
  }
  
  .pastor-desc{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .pastor-desc p{
    width: 100%;
  }
  .cta-btn{
    margin-bottom: 0.785rem;
  }
  .ministries-main{
    flex-direction: column;
    padding: 0 1rem !important;
  }
  .ministries-main-contain{
    width: 100% !important;
    padding: 1rem 0 !important;
    margin-top: 2rem;
  }
  .ministers-img{
    width: 100% !important;
    overflow: hidden !important;
  }
  .ministries-text-02{
    padding: 0 1rem;
  }
  .address{
    padding: 0 1rem;
  }
  .schedule{
    padding: 1rem !important;
  }
  .ministries-page{
    padding: 1rem !important;
  }
  .ministries-page img{
    width: 100% !important;
  }
  .details-ministies-ministry-paragraph{
    font-size: 1.2rem;
  }
  .give-online-details{
    flex-direction: column;
    padding: 1rem !important;
  }
  .give-online-details-contain{
    padding: 0 !important;
  }
  .give-online-paragraph{
    font-size: 1rem;
  }
  .give-online-mail{
    font-size: 1.7rem !important;
  }
  
}
.give-online-details{
  width: 100%;
  height: 80vh;
  background-color: #eaf6f7;
  display: flex;
  justify-content: center;
  padding: 60px 90px;
  gap: 100px;
  color: #000;
}

.give-online-details-contain{
  padding: 60px 90px;
}

.give-online-title{
  color: #1d1c1c;
  font-size: 2rem;
}

.givenow{
  letter-spacing: 0.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1b1f23;
}

.give-online-paragraph{
  color: #141414;
  margin-top: 30px;
}
.give-online-mail{
  color: #2a2c2b;
  font-size: 3.5rem;
}

.ministries-hero {
  background-image: url("/images/cong_11.jpg");
  background-color: #f3f2fa;
  padding: 80px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  height: 100vh;
  background-size: cover; /* Ensures the image covers its container */
  background-position: center; /* Centers the image */
}

.details-contain-sec {
  display: flex;
  width: 100%;
  padding: 0px 70px;
  gap: 10px;
}

.left-text-sec {
  float: left; /* Float h1 to the left */
  width: 40%;
  font-size: 4rem;
  margin-right: 20px; /* Add some space to the right of the heading */
  color: #16553d;

}

.right-text-sec {
  float: right; /* Float paragraph to the right */
  font-size: 1.5rem;
  color: #5f5f5f;
  width: 60%;
  text-align: justify;
  width: 80%;
  line-height: 2.5rem;
}

.schedule {
  display: block;
  width: 100%;
  height: auto;
  background-color: #ffffff;
  color: #16553d;
  border-radius: 10px;
  padding: 60px;
  box-shadow: 0 4px 80px rgba(0, 0, 0, 0.1); /* Add light shadow */
  border-top: #16553d 4px solid; /* Add top border */
}

.schedule p{
  border-bottom: #e6e4e4 2px solid;
  margin-bottom: 20px; /* Add space between items */
  padding-bottom: 10px; /* Add padding to the bottom of each item */
  color: #2a2c2b;
  font-weight: 600;
}

.schedule-bottom{
  border-bottom: #e6e4e4 2px solid;
  margin-bottom: 20px; /* Add space between items */
  padding-bottom: 20px; /* Add padding to the bottom of each item */
  color: #2a2c2b;
  font-size: 1.5rem;
  font-weight: 600;

}

.schedule h1{
  color: #2a2c2b;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.ministries-main {
  width: 100%;
  padding: 80px 30px;
  background-color: #ecf2f8;
  display: flex;
  overflow-x: auto; /* Allows horizontal scrolling */
  overflow-y: hidden; /* Prevents vertical scrolling within the container */
  scroll-snap-type: x mandatory; /* Enables snap scrolling horizontally */
}

.ministries-main::-webkit-scrollbar {
  display: none; /* Hides scrollbar in Chrome, Edge, and Safari */
}

.ministries-main-contain {
  width: 33.33%;
  padding: 20px 20px;
  display: block;
  margin-right: 5px;
  position: relative;
  animation: slideToLeft 1.5s ease-in-out;
  scroll-snap-align: start; /* Snaps each item into view */
  gap: 20px;
}

@keyframes slideToLeft {
  from {
    transform: translateX(90%);
  }
  to {
    transform: translateX(0);
  }
}

.ministries-img{
  width: 400px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
  object-fit: cover;
  min-height: 320px;
  margin-bottom: 20px;
}

.ministries-img:hover{
  transform: scale(1.05);
}

.ministries-text-02 {
  color: #141414;
  font-weight: 600;
  margin: 10px 0px;
  font-size: 1.5rem;
  text-decoration: none;
}

.ministries-main-contain p{
  color: #141414;
  text-align: justify;
}


.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.image-container {
  width: 300px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* Responsive Design */


/* Extra small devices (phones, 320px and up) */
@media screen and (max-width: 480px) {


  

  .hero-content {
    padding: 50px 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .ministries-page {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .ministries-page img {
    width: 100%;
    height: auto;
  }

  .ministries-page-text {
    width: 100%;
    padding: 10px;
  }

  .service {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .service-details {
    width: 100%;
  }

  .service-details h1 {
    font-size: 2.5rem;
  }
}

/* Small devices (tablets, 481px - 768px) */
@media screen and (max-width: 768px) {
 
  .nav-links {
    position: fixed;
    flex-direction: column !important;
    width: 100%;
    top: 0;
    padding: 20px;
    height: 100vh;
    left: 0;
    font-weight: 100;
    gap: 20px;
    background-color: #000;
    padding: 50px 0px 0px 0px;
    z-index: 100000;
    transform: translateY(-1000px);
    transition: all 0.4s ease-in-out !important;
  }
  .logo1{
    display: none  !important;
  }
  .logo :last-child{
    display: block !important;
    height: 80px;
  }
  .fa-times{
    display: block !important;
  }
  .head{
    font-size: 1rem !important;
  }
  .cta-btn{
  font-size: 20px !important;
  }
  .navbar a{
    color: white !important;
    font-size: 25px !important;
    line-height: 1.9em;
}
.give-btn{
  width: 300px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
  text-align: center !important;
}
.toggle-nav{
    display: flex !important;
    
}
.navbar{
  display: flex !important;
  position: relative;
  flex-direction: row;
  

}
.logo img{
  width: 80px !important;
}
  .hero-content {
    padding: 80px 30px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .ministries-page {
    flex-direction: column;
    padding: 50px 30px;
    gap: 40px;
  }

  .ministries-page img {
    width: 100%;
    height: auto;
  }

  .service {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .service-details {
    width: 100%;
  }

  .service-details h1 {
    font-size: 3rem;
  }

  .left-text,
  .right-text {
    width: 100%;
    text-align: center;
    margin: 0;
  }
}

/* Medium devices (laptops, 769px - 1024px) */
@media screen and (max-width: 1024px) {
  .navbar {
    padding: 10px 30px;
  }
  .logo1{
    display: block;
  }

  .navbar .nav-links {
    gap: 15px;
  }

  .hero-content {
    padding: 100px 50px;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .ministries-page {
    padding: 60px 50px;
  }

  .ministries-page img {
    width: 50%;
    height: auto;
  }

  .service {
    padding: 2rem 1rem;
  }


}

/* Large devices (desktops, 1025px and up) */
@media screen and (min-width: 1025px) {
  .hero-content {
    padding: 100px;
  }
 
  .hero-content h1 {
    font-size: 4rem;
  }

  .ministries-page {
    padding: 70px 90px;
  }

  .service {
    padding: 2rem 1rem;

  }
}
