

body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
}

h1, h2, h3 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
}


/* Logo hover swap */
.logo-link {
  display: inline-block;
  position: relative;
  width: 120px; 
  height: auto;
}

.logo-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.hover-logo {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.logo-link:hover .hover-logo {
  opacity: 1;
}

.logo-link:hover .default-logo {
  opacity: 0;
}

/* ===== Navbar ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: white;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  padding: 1rem;
  text-decoration: none;
  font-weight: 700;
  color: black;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-bottom 0.3s;
}

.nav-links li a:hover {
  color: #4a7ca8;

}

/* Main page */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px; 
  width: 100%;
  overflow: hidden;
}

.bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; 
  z-index: 0;
}

.btn1 {
  position: absolute;
  top: 68%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  text-decoration: none;
  z-index: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  background-color: #4D7798;
  color: #FFFFFF;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: bold;
  white-space: nowrap;
}

.btn1:hover {
 background: #FFFFFF;
  border: 1px solid #4D7798;
  color: #4D7798;
	
	
}
/* ===== ABOUT US ===== */
.about-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 40px 60px;
  font-family: Arial, sans-serif;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.about-left,
.about-center,
.about-right {
  flex: 1;
  min-width: 280px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.text-block {
  max-width: 100%;
  margin-bottom: 20px;
}

.about-left h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.text-block p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.learn-btn {
  background-color: #4D7798;
  color: #FFFFFF;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
	text-decoration: none;
}

.learn-btn:hover {
 background: #FFFFFF;
  border: 1px solid #4D7798;
  color: #4D7798;
	
}

.about-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* To fix image to proportions */
.img-fixed {
  height: 220px;
  padding: 2px;
  box-sizing: border-box;
}




/* ===== Online Service Section ===== */
.online-service-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px;
  flex-wrap: wrap;
}

.text-section {
  max-width: 300px;
  text-align:right;
}

.text-section h1 {
  font-size: 50px;
  font-weight: bold;
  line-height: 1.2;
  margin: 0 0 10px;
}

.text-section .platform {
  font-size: 20px;
  letter-spacing: 1px;
  color: #333;
  margin-bottom: 20px;
}

.text-section .time {
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 25px;
}

.text-section .btn {
  background-color: #4D7798;
  color: #FFFFFF;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: 4px;
  width: 150px;
  height: 50px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
	text-decoration: none;
}

.text-section .btn:hover {
  background: #FFFFFF;
  border: 1px solid #4D7798;
  color: #4D7798;
	
}


.image-section img {
  width: 100%;         
  max-width: 900px;    
  height: auto;        
  display: block;
}
/* ===== Collumns ===== */
.section-title {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin-top: 40px;
}
.row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.col {
  width: 30%;
  padding: 1rem;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.col:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.col h3 a {
  font-weight: normal; 
	color: black !important;
	text-decoration: none;
}
.col h3 a:hover {
  color: #4a7ca8!important; /* Optional hover color */
}

.col img {
  max-width: 100%;       
  height: auto;         
  display: block;       
  margin: 0 auto;       
  width: 60%;            
}

/* ===== Misc ===== */
.main {
  display: flex; /* Fixed typo */
  flex-direction: row;
}

.main img {
  width: 90%;
  height: auto;
}

button {
  background-color: #4D7798;
  color: #FFFFFF;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: 4px;
  width: 150px;
  height: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  text-decoration: none;
}

button:hover {
  background: #FFFFFF;
  border: 1px solid #4D7798;
  color: #4D7798;
}

/* === Community Section === */
.community-section {
  padding: 60px 40px;
}

/* Title styling */
.community-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
}

/* Wrapper for main content (image + text) */
.community-wrapper {
  display: flex;
  justify-content: space-between; 
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  align-items: flex-start;
  gap: 20px;
}

/* Image container */
.community-image {
  flex: 1 1 45%;
  max-width: 400px;
  display: flex;
  justify-content: center;
}

.community-image img {
  width: 85%;
  height: auto;
  display: block;
  max-width: 450px;
}

/* Info container (texts) */
.community-info {
  flex: 1 1 45%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.community-info a {
	color: black;
	font-size: 20px;
}

/* Info blocks styling */
.info-block {
  margin-bottom: 20px;
}

.info-block h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 5px;
}

.info-block p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Contact section styling */
.contact-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 40px auto;
  gap: 20px;
}

/* Contact Info Container */
.contact-info {
  flex: 1 1 45%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center button horizontally */
}


/* Contact Items Container - Force left alignment */
.contact-items-container {
  width: 100%;
  max-width: 300px; /* Match button width */
  margin: 0 auto; /* Center container while keeping content left-aligned */
}


/* Contact Items - Left-aligned */
.contact-item {
  display: flex;
  align-items:left;
  gap: 12px;
  margin-bottom: 12px;
  text-align: left;
}

.contact-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0; /* Prevent icon resizing */
}

.contact-item p {
  margin: 0;
  font-size: 14px;
}



/* Make sure the button starts at the very left, no margin */
.contact-button {
  display: inline-block;
  background-color: #4a7ca8;
  color: white;
  border-radius: 4px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-left: 0; 
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
  text-decoration:none;
  padding: 1rem 2rem;
  border: 1px solid transparent;
}

/* Contact info paragraphs to align to the left */
.contact-info p {
  margin: 8px 0;
  display: flex;
  align-items: center;
}

.icon {
  margin-right: 10px;
}

.contact-image {
  flex: 1 1 45%;
  max-width: 400px;
  display: flex;
  justify-content: center;
}

.contact-image img {
  width: 100%;
  height: auto;
  display: block;
}



.contact-button:hover {
  background: #FFFFFF;
  border: 1px solid #4D7798;
  color: #4D7798;
}

.contact-icons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.contact-icons img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}



/* Footer */
.site-footer {
  border-top: 2px solid black;
  padding: 20px 40px;
  font-family: Arial, sans-serif;
  background-color: #fff;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left {
  max-width: 500px;
}

.logo {
  width: 18%;
  margin-bottom: 10px;

}

.footer-left p {
  margin: 5px 0;
  font-size: 13px;
}

.footer-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-nav a:hover {
  color: #4a7ca8;
}


.footer-nav a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 14px;
}

.footer-icons a img {
  width: 50px;
  margin-left: 10px;
  vertical-align: middle;
}

.footer-icons {
  display: flex;
  justify-content: flex-end;
}


.menu-toggle {
  display: none; 
  font-size: 28px;
  cursor: pointer;
  z-index: 1000;
  padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .prayer-content {
    gap: 40px;
  }
  .prayer-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {


  .hero {
    height: 60vh; 
    min-height: 400px; 
  }
  
  .bg-img {
    object-fit: cover;
    object-position: center; 
  }
  
  .btn1 {
    top: 68%; 
    font-size: 14px;
    padding: 0.8rem 1.5rem; 
  }

	
	.menu-toggle {
    display: block; /* Show hamburger */
  }

  .nav-links {
    display: none;
    position: fixed; 
    top: 80px;
    right: 0;
    width: 100%;
    background-color: white;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 0;
    margin: 0;
  }

  .nav-links.show {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: block;
    width: 100%;
  }
  

 /*  About Us section */
  
  .community-content,
  .contact-section {
    flex-direction: column;
    align-items: center;
  }

  .community-text h3 {
    text-align: center;
  }

  .contact-left, .contact-right,
  .community-left, .community-right {
    text-align: center;
  }

  .community-wrapper,
  .contact-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    order: 2;
	      text-align: center;
  }

  .contact-image {
    order: 1;
  }


  .community-image, .community-info {
    flex: 1 1 100%;
    max-width: 100%;
  }
	
	
	  .prayer-content {
    flex-direction: column;
    gap: 30px;
  }
  .prayer-left, .prayer-right {
    width: 100%;
    padding: 0 20px;
    text-align: center;
  }
  .prayer-title {
    font-size: 36px;
  }
  .prayer-quote::after {
    margin: 20px auto;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-icons {
    justify-content: flex-start;
  }

  .footer-left, .footer-right {
    width: 100%;
  }
	
  .footer-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
  }
	
 .row {
    flex-direction: column;
    align-items: center; 
  }

  .col {
    width: 80%;
    margin-bottom: 20px; 
  }

  .col img {
    width: 70%;
  }
	
}



