body {
  font-family: 'cinz', sans-serif;
  background: #0a182b;
  color: #222;
  margin: 0;
  padding: 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  text-align: center;
  overflow-x: hidden !important;
  -ms-overflow-style: none; /* For Internet Explorer and Edge */
  
  }

  p {
  font-family: 'Poppins', sans-serif;
}
   html {
  -ms-overflow-style: none; 
  scrollbar-width: none;  
  overflow-x: hidden !important;
}
/* Hide scrollbar for Chrome, Safari and Opera 
html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none;
}*/
  @font-face {
  font-family: 'cinz';
  src: url('assets/Cinzel-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'great';
  src: url('assets/GreatVibes-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
  @keyframes animate
  {
    0%{
        opacity: 1;
        transform: translate(0, 0);
    }
    20% {
      opacity: 0.01;  /* Fade out quickly within first 20% of animation */
  }
    100%{
        opacity: 0;
        transform: translate(var(--x), var(--y));
    }
  }
  @media (max-width: 768px) {
    html{
      overflow-x: hidden;  /* Prevent horizontal scrolling */
      margin: 0;
      padding: 0;
      max-width: 100%;
  }
  }

    /* Navbar logo transition and scrolled state */
#navbar-logo {
  transition: all 0.3s ease;
}

.navbar.scrolled #navbar-logo {
  content: url('assets/blue.png');
}
    
.navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
   background-color: #0a182b;
      z-index: 50;
      transition: background-color 0.3s ease;
      padding-bottom: 30px;
      }
        
      
      .navbar.scrolled {
        background-color: #ffffffe7;
        opacity: 0.9; /* Change to the color  */
        color: #fff; /* Text color if needed */
        
      }
/* Dropdown container still needs to be styled as before */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fefefeec;
  min-width: 220px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  border-radius: 6px;
  padding: 1.5rem 0.5rem;
  top: 100%;
  /* left: 50%; */  /* Commented out to align dropdown with right edge */
  left: auto;
  right: 70px;
  /* transform: translateX(-50%); */  /* Commented out to align dropdown with right edge */
  transform: none;
  cursor: pointer;
}

/* Show dropdown on click (JavaScript adds 'show' class) */
.dropdown-content.show {
  display: block;
}

/* Each group in the dropdown */
.dropdown-group {
  padding: 0.25rem 0;
  border-top: 1px solid #eee;
}

/* Remove top border for the first group */
.dropdown-group:first-child {
  border-top: none;
}

/* Group heading */
.dropdown-group strong {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #666;
  font-weight: 600;
}

/* Dropdown links */
.dropdown-content a {
  display: flex;
  align-items: center;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  transition: background-color 0.2s ease;
  border-radius: 8px;
}
#departments-toggle {
  cursor: pointer;
  
}
/* Icon inside links */
.dropdown-content a i {
  margin-right: 10px;
  min-width: 16px;
  text-align: center;
  color: #1d3b64
}

/* Hover effect */
.dropdown-content a:hover {
  background-color: #f5f5f5;
}
/* Container for a row of 3 links */
.dropdown-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px;
  padding: 0 1rem;
}

/* Each link inside a row */
.dropdown-row a {
  flex: 1;
  text-align: left;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  border-radius: 5px;
  transition: background-color 0.2s ease;
  font-size: 0.9rem;
}

/* Icons inside links */
.dropdown-row a i {
  margin-right: 8px;
}

/* Hover effect */
.dropdown-row a:hover {
  background-color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



    .navbar-wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 2.5rem;
    }
    .logo-image{
      width: 70%;
      margin-top: 50px;
      margin-left: -5px;
    }
    
    @media (max-width: 768px) {
      .logo-image{
        margin-left:-10px;
        width: 60%;
      }
  
    }
    .nav-links {
      display: flex;
      gap: 2rem;
      margin-left: 200px;
      margin-top: 30px;
      margin-right: 40px;
      overflow-x: hidden !important;
    }
    .nav-link {
      color: white;
      text-decoration: none;
      transition: color 0.3s;
    }
    .nav-link.scrolled{
color: #0a182b;
    }
    .nav-link:hover {
      color: #2d73d4;
    }
.navbar.scrolled .nav-link{
  color: #0a182b;
}
    
    
    /* Mobile menu styles */
    .mobile-only {
      display: none;
    }
    
    .menu-button {
      background: none;
      border: none;
      cursor: pointer;
      margin-right: 20px;
      margin-top: 25px;
    }
    
    .menu-icon {
      width: 24px;
      height: 24px;
      color: rgb(255, 255, 255);
      transition: color 0.3s;
      margin-left: -10px;
      margin-top: 10px;
    }
    
    .menu-icon:hover {
      color: #1d3b64;
    }
    
    .mobile-menu {
      background-color: #ffffff;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      padding: 20px;
      margin-top: 30px;
    }
    
    .mobile-nav-link {
      display: block;
      color: #333333;
      text-decoration: none;
      padding: 0.5rem 0;
      transition: color 0.3s;
    }
    
    .mobile-nav-link:hover {
      color:#73a900;
    }
    
    .hidden {
      display: none;
    }
    /* Responsive design */
    @media (max-width: 768px) {
    
 
      .desktop-only {
        display: none !important;
      }
    
      .mobile-only {
        display: block !important;
      }

      
    }




    


/* button */
/* Section styling */
.watch-usonline {
 margin-top: -50px;
  padding: 20px 0px;
  text-align: center;
  
}

.watch-usonline h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: white;
}

.watch-usonline p {
  font-size: 18px;
  color: white;
  margin-bottom: 30px;
}


/* CSS */
.button-57 {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  margin-top: -30px;
  position: relative;
  overflow: hidden;
  border: 6px solid #18181a;
  color: #18181a;
  display: inline-block;
  font-size: 28px;
  line-height: 32px;
  padding: 20px 28px 20px;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  border-radius: 60px;
  font-family: 'cinz', sans-serif;
}

.button-57 span:first-child {
  position: relative;
  transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 10;
}

.button-57 span:last-child {
  color: white;
  display: block;
  position: absolute;
  bottom: 0;
  transition: all 500ms cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 100;
  opacity: 0;
  top: 70%;
  left: 50%;
  transform: translateY(225%) translateX(-50%);
  height: 26px;
  line-height: 25px;
  white-space: nowrap;
}

.button-57:after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 100%;
  height: 100%;
  
  background-color: #1d3b64;
  transform-origin: bottom center;
  transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
  transform: skewY(9.3deg) scaleY(0);
  z-index: 50;
   
  
}

.button-57:hover:after {
  transform-origin: bottom center;
  transform: skewY(9.3deg) scaleY(2);
}

.button-57:hover span:last-child {
  transform: translateX(-50%) translateY(-100%);
  opacity: 1;
  transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
}

/* info boxes */ 

.info-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 40px 90px;
  background-color: #0a182b;
}

.info-box {
  position: relative;
  width: 260px;
  height: 260px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.info-box:hover {
  transform: scale(1.05);
   
}

.info-box i {
  font-size: 60px;
  color: #3b82f6;
  margin-top: 50px;
  z-index: 1;
  position: relative;
  transition: transform 0.5s ease;
}

.info-box h3 {
  margin: 10px 0;
  font-size: 1.4rem;
  color: #333;
  z-index: 1;
  position: relative;
}

.info-box p {
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  position: absolute;
  
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  font-size: 1rem;
  pointer-events: none; /* disables mouse events when hidden */
  margin-bottom: -5px;
  margin-left: -20px;
}
.info-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.4s ease;
}
.info-box p.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.info-box:hover p {
  opacity: 0;
  transform: translateY(0);
}

/* Watch us online */ 

#watch-us-online {
  text-align: center;
  padding: 3rem 1rem;
  background-color: #0a182b;
  
}

#watch-us-online h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: white;
}

#watch-us-online p {
  font-size: 1rem;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.watch-icons {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.watch-icons a {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.watch-icons a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.watch-icons img,
.watch-icons i {
  width: 40px;
  height: 40px;
  font-size: 40px;
}
.youtube{
  color: red;
}
.facebook{
  color: #1877f2 ;
}

/* Welcome Section */
.welcome-section {
  padding: 60px 20px;
  background-color: #0a182b;
  text-align: center;
}

.welcome-container {
  max-width: 1000px;
  margin: 0 auto;
}

.welcome-section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.welcome-section p {
  font-size: 1.1rem;
  color: #aaaaaa;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}




/* Pastor Section with Decorative Background Shapes */
.pastor-section {
  position: relative;
  overflow: hidden;
    background: linear-gradient(to bottom, #1d3b64 0%, #0a182b 100%);
}

.pastor-section::before,
.pastor-section::after {
  content: '';
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  opacity: 0.1;
  animation: floatDots 16s ease-in-out infinite;
}
.pastile{
  font-size: 1.5rem;
  color: #74b9ff;
  margin-bottom: 20px;
} 
.pastor-section::before {
  width: 150px;
  height: 150px;
  background: #ffeaa7;
  top: -50px;
  right: 20%;
}

.pastor-section::after {
  width: 120px;
  height: 120px;

  bottom: -60px;
  left: 10%;
}

.pastor-container,
.pastor-details,
.pastor-image {
  position: relative;
  z-index: 1;
}

.pastor-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 70px;

}

.pastor-image {
  flex: 1 1 300px;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.pastor-image:hover {
  transform: scale(1.05);
}

.pastor-details {
  flex: 1 1 400px;
  text-align: right;
}

.pastor-details h2 {
  font-size: 2em;
  margin-bottom: 15px;
  color: white;
}

.pastor-details p {
  font-size: 1em;
  line-height: 1.6;
  color: #aaaaaa;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
  .pastor-container {
    flex-direction: column;
    text-align: center;
  }
  .pastor-details {
    text-align: center;
  }
}


.prayer-line-section {
  background-color: #1d3b64;
  padding: 60px 20px;
}

.prayer-line-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-direction: row;
}

.prayer-image {
  flex: 1 1 45%;
  max-width: 500px;
  text-align: center;
}

.prayer-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.prayer-content {
  flex: 1 1 50%;
  text-align: left;
}

.prayer-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
}

.prayer-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #aaaaaa;
  font-family: 'Poppins', sans-serif;
}

.watch-live-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background-color: #315eff;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.watch-live-btn:hover {
  background-color: #2449c5;
}

@media (max-width: 768px) {
  .prayer-line-container {
    flex-direction: column;
  }

  .prayer-content {
    text-align: center;
  }
}







/* Footer 
.footer {
  background-color: #1d3b64;
  padding: 60px 20px 20px;
  font-family: 'Poppins', sans-serif;
  color: whitesmoke;
  border-top: 1px solid #ddd;
  
}

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

.footer-column {
  flex: 1 1 250px;
  min-width: 220px;
  text-align: left;
}

.footer-column h3 {
  font-family: 'cinz', sans-serif;
  font-size: 20px;
  margin-bottom: 12px;
  color: #2772db;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid #ccc;
  padding-bottom: 6px;
}

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

.footer-column ul li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.footer-column ul li a {
  color: whitesmoke;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #2d73d4;
}
.footmap{
  border:0;
  border-radius: 20px;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: #aaaaaa;
  position: relative;
}
.footer-bottom a {
  color: #74a1df;
  text-decoration: none;
  transition: color 0.3s;
  margin: 0;
}
.footer-bottom .back-to-top {
  position: absolute;
  right: 20px;
  top: 0;
  font-size: 24px;
  text-decoration: none;
  color: white;
  background: #b8b8b8;
  padding: 8px 12px;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
  
}

.footer-bottom .back-to-top:hover {
  background: #2d73d4;
  color: white;
  transform: scale(1.1);
}
*/