/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll */
    line-height: 1.6; /* Better text spacing */
}

/* Header Styles */
header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Header Top Section */
.header-top {
    display: flex;
    justify-content: flex-end;
    background-color: rgba(18, 242, 74, 0.194);
    padding: 10px;
    flex-wrap: wrap; /* Wrap social links in smaller screens */
}

.social-link {
    margin-left: 15px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.icon {
    width: 24px;
    height: 24px;
}

/* Header Bottom Section */
.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f1f7f9fb;
    /* Add padding for spacing */
    flex-wrap: wrap; /* Allow items to wrap in small screens */
}

.logo {
    display: flex;
    justify-content: flex-start;
    flex: 1;
}

.logo-img {
    width: 250px;
    height: auto;
    max-width: 100%; /* Make logo responsive */
}

.nav-links {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-right: 150px;
}

.nav-links ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 50px;
}

.nav-links ul li a {
    text-decoration: none;
    color: #944b8fea;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links ul li a:hover {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        margin-right: 0; /* Remove extra margin */
        gap: 30px; 
    }
}

@media (max-width: 768px) {
    body {
        padding: 0 10px; /* Add padding to body for smaller screens */
    }

    .header-bottom {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        margin-top: 20px;
        gap: 20px; 
    }

    .nav-links ul {
        flex-direction: row; /* Stack links vertically */
        gap: 15px;
        padding-left: 0; 
    }

    .logo-img {
        width: 200px; /* Smaller logo for smaller screens */
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px; /* Adjust text size for small screens */
    }

    .nav-links ul {
        gap: 10px;
    }

    .logo-img {
        width: 150px; /* Even smaller logo for mobile */
    }
}




/* Carousel Styles */
.w3-content {
    max-width: 100%;
    position: relative;
    margin: auto;
    overflow: hidden;
    
}

.mySlides {
    display: none;
    width: 100%;
    height: 110vh; /* Full screen height */
    object-fit: cover; /* Image fit the screen */
}

.w3-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.w3-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.w3-display-left {
    left: 0;
}

.w3-display-right {
    right: 0;
}



.who-we-are-card {
    width: 95%;                  /* Card Width */
    margin: 50px auto;           /* Center the Card */
    background-color: #f5f5f5;   /* Light background */
    padding: 30px;
    border-radius: 20px;         /* Rounded Corners */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);  /* Soft Shadow */
    text-align: center;          /* Center text */
    line-height: 1.8;            /* Better line spacing */
  }
  
  .card-heading {
    font-size: 30px;
    color: #6b3f84;             /* Purple Heading Color */
    text-transform: uppercase;
    letter-spacing: 2px; 
    margin-bottom: 20px;
  }
  
  .card-content p {
    font-size: 18px;
    color: #333;
    text-align: justify;        /* Justify Text */
    margin-bottom: 20px;
  }
  
  .card-content em {
    color: #6b3f84;            /* Highlight Bible Verse */
    font-weight: bold;
  }



  .vision-mission-container {
    display: flex;             /* Side by Side Layout */
    justify-content: center;    /* Center the Cards */
    gap: 50px;                 /* Space between Cards */
    padding: 40px;             /* Outer Padding */
    flex-wrap: wrap;           /* Responsive for Small Screens */
  }
  
  .card2 {
    width: 400px;              /* Fixed Width for Desktop */
    background-color: #f1f7f9fb; /* Light Background */
    border-radius: 20px;       /* Rounded Corners */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); /* Soft Shadow */
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease-in-out; /* Hover Animation */
  }
  
  .card2:hover {
    transform: scale(1.05);     /* Zoom Effect on Hover */
  }
  
  .card-heading2 {
    font-size: 28px;
    color: #6b3f84;            /* Purple Color for Heading */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }
  
  .card-content2 p {
    font-size: 18px;
    text-align: justify;
    line-height: 1.8;
    color: #08511d;
  }
  
  
  /* Responsive Design for Carousel and Who We Are Card */
@media (max-width: 768px) {
    .mySlides {
        height: 60vh; /* Reduce carousel height for smaller screens */
    }

    .w3-button {
        padding: 8px; /* Smaller buttons */
        font-size: 14px; 
    }

    .who-we-are-card {
        width: 100%;       /* Full width */
        padding: 20px;     /* Smaller padding */
        margin: 30px auto; /* Less margin */
    }

    .card-heading {
        font-size: 24px;   /* Smaller heading size */
    }

    .card-content p {
        font-size: 16px;   /* Smaller text size */
    }
}

@media (max-width: 480px) {
    .mySlides {
        height: 50vh; /* Smaller height for mobile */
    }

    .w3-button {
        padding: 5px; 
        font-size: 12px; 
    }

    .who-we-are-card {
        padding: 15px; 
        margin: 20px auto; 
    }

    .card-heading {
        font-size: 20px; 
    }

    .card-content p {
        font-size: 14px; 
    }
}

  @media (max-width: 768px) {
    .vision-mission-container {
      flex-direction: column;   /* Cards Stack on Small Screens */
      gap: 30px;               /* Smaller Gap */
    }
  
    .card2 {
      width: 100%;             /* Full Width on Mobile */
    }
  }
  


  .meeting-dates-card {
    width: 90%;                  /* Card Width */
    margin: 50px auto;           /* Center the Card */
    background: white;         /* Light Background */
    padding: 40px;
    border-radius: 20px;         /* Rounded Corners */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Soft Shadow */
    text-align: center;
    line-height: 1.8;
    animation: fade-in 1s ease-in-out; /* Smooth Animation */
  }
  
  .meeting-heading {
    font-size: 32px;
    color: #6b3f84;             /* Purple Color */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: bold;
  }
  
  .meeting-content p {
    font-size: 18px;
    text-align: justify;
    margin-bottom: 20px;
    color: #333;
  }
  
  .contact {
    margin-top: 20px;
    font-size: 20px;
    color: #6b3f84;
    font-weight: bold;
  }
  
  @keyframes fade-in {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @media (max-width: 768px) {
    .meeting-dates-card {
      width: 90%;  /* Smaller Width on Mobile */
      padding: 20px;
    }
  }
  



  .footer {
    background: #6b3f84;           /* Purple Background */
    color: white;                 /* White Text */
    text-align: center;
    padding: 50px 20px;
    margin-top: 50px;
  }
  
  .footer-logo img {
    width: 250px;
    margin-bottom: 20px;
    border-radius: 30%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  }
  
  .footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
  }
  
  .footer-contact {
    margin-top: 20px;
    font-size: 18px;
  }
  
  .footer-social {
    margin: 20px 0;
  }
  
  .footer-social a {
    color: white;
    margin: 0 10px;
    font-size: 24px;
    transition: transform 0.3s ease-in-out;
  }
  
  .footer-social a:hover {
    transform: scale(1.2);
    color: #f4b400;   /* Golden Hover Effect */
  }
  
  .footer-bottom {
    margin-top: 20px;
    font-size: 16px;
    opacity: 0.8;
  }
  
  @media (max-width: 768px) {
    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
  }
  
  
  .image-container {
    position: relative;
    display: inline-block; /* Makes the container fit the image size */
    width: 100%; /* Optional: Makes it responsive */
    max-width: 100%; /* Adjust according to your layout */
    text-align: center; 
}

.image-container img {
    width: 100%; /* Image will be responsive */
    height: 200px; 
    display: block; /* Removes unwanted bottom space */
    filter: brightness(0.6); /* Optional: Darkens image for better text visibility */
    border-radius: 10px; /* Optional for rounded corners */
}

.centered-text {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; 
    font-size: 2.5rem; /* Adjust for desired size */
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Nice text shadow */
    letter-spacing: 2px; 
    text-transform: uppercase; /* Optional */
}

body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  text-align: center;
  color: #333;
}
.container {
  padding: 50px 20px;
}
h2, h3 {
  color: #6d597a;
}
p {
  line-height: 1.8;
}
.contact-info {
  margin: 30px 0;
  font-weight: bold;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  margin: 20px 0;
  background-color: #6d597a;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}
.btn:hover {
  background-color: #5a4e69;
}
.map-container {
  margin: 40px 0;
}
iframe {
  width: 100%;
  max-width: 1200px;
  height: 400px;
  border: none;
  border-radius: 10px;
}

footer {
  margin-top: 50px;
  background-color: #333;
  color: #fff;
  padding: 20px 0;
}