body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    color: #333;
}

/* Wrapper for all content */
.content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures the wrapper takes the full height of the viewport */
}

/* Prevent any horizontal overflow on mobile */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Main content expands to push the footer down */
main {
    flex-grow: 1; /* This ensures the main content pushes the footer */
}

header {
    background-color: #000000;
    color: #fff;
    margin: 0; /* Removes margins around the video */
    padding: 0; /* Removes padding around the video */
}

.header-top {
    position: relative;
    width: 100%;
    background-color: #000; /* Black background for header */
    padding: 0px; /* Space around the content */
    color: white;
    text-align: center;
    z-index: 2;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

header h1 {
    font-family: 'Arvo', serif; /* Use Arvo for main headings */
    font-size: 2.5rem;
}

header nav ul {
    font-family: 'Lato', sans-serif;
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

header nav ul li a {
    font-family: 'Lato', sans-serif;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: 2rem;
}

footer {
    font-family: 'Lato', sans-serif;
    background-color: #000000;
    color: #fff;
    position: relative;
    bottom: 0;
    width: 100vw;
    max-width: 100%;
    text-align: center;
    line-height: 50px; /* Vertically centers text */
    padding: 10px 0;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.socials a {
    color: white; /* Default color for icons */
    font-size: 1.5rem; /* Adjust size of icons */
    text-decoration: none;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: #ff9900; /* Highlight color for hover (e.g., orange) */
}

.header-video {
    position: relative;
    width: 100%;
    height: 0;
    margin: 0; /* Removes margins around the video */
    padding: 0; /* Removes padding around the video */
    padding-bottom: 56.25%; /* Aspect ratio for 16:9 */
    overflow: hidden;
}

.header-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0; /* Removes margins around the video */
    padding: 0; /* Removes padding around the video */
    object-fit: cover; /* Ensures the video covers the area */
    z-index: 0; /* Ensure the video is behind the logo */
    filter: brightness(70%) contrast(120%); /* Darkens and increases contrast */
}

.overlay-content {
    position: absolute;
    top: 20px; /* Adjust as needed */
    left: 20px; /* Adjust as needed */
    display: flex;
    align-items: center;
    z-index: 1;
}

.video-logo {
    width: 120px; /* Adjust size as needed */
    height: auto;
    margin-right: 15px; /* Space between the logo and text */
}

.site-title {
    font-family: 'Arvo', serif;
    font-size: 2rem;
    color: white;
    margin: 0;
}

.mission-statement {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2; /* Ensure it appears above the video */
    font-family: 'Lato', sans-serif;
    font-size: 3rem; /* Adjust for readability */
    font-weight: bold;
    background: rgba(50, 50, 50, 0.5); /* Semi-transparent background for contrast */
    backdrop-filter: blur(5px); /* Adds a blur effect behind the transparency */
    padding: 10px 20px;
    border-radius: 5px;
}

.nav {
    position: absolute;
    font-family: 'Lato', sans-serif;
    color: white;
    text-decoration: none;
    font-weight: bold;
    top: 20px;
    right: 20px;
    z-index: 1;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    background: #333;
}

.menu li {
    position: relative;
}

.menu li a {
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    color: white;
}

.menu li a:hover {
    background: #555;
}

/* Dropdown menu styles */
.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background: #444;
    display: none;
    min-width: 150px;
}

.submenu li {
    width: 100%;
}

.submenu li a {
    padding: 10px;
    display: block;
    color: white;
}

.submenu li a:hover {
    background: #666;
}

/* Show submenu on hover */
.dropdown:hover .submenu {
    display: block;
}


header .container {
    position: relative; /* Ensure header text and nav sit above the video */
    z-index: 1;
}

.status-link {
    text-decoration: none; /* Remove underline */
}

.status-link:hover {
    text-decoration: none; /* Ensure no underline on hover */
}

.status-message {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: #000000;
    transition: color 0.3s ease;
}

.youtube-icon {
    color: #ff0000; /* Red color for YouTube */
    margin-right: 10px; /* Space between icon and text */
    font-size: 1.5rem; /* Adjust size as needed */
}

.status-message.online {
    color: #28a745; /* Green for live */
}

.status-message.offline {
    color: #ff0000; /* Red for offline */
}

.status-message.loading {
    color: #FF7F00; /* Orange for loading */
}

.header-buttons {
    display: flex;
    width: 100%;
    text-align: center;
    margin: 0; /* Removes margins around the video */
    padding: 0; /* Removes padding around the video */
}

.header-button {
    flex: 1; /* Ensures equal width for all buttons */
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 0;
    transition: background-color 0.3s ease;
}

.header-button:hover {
    opacity: 0.8; /* Slight transparency effect on hover */
}

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Four columns */
    gap: 20px; /* Spacing between boxes */
    margin-top: 20px;
}

.ministry-box {
    position: relative; /* Enable absolute positioning for child elements */
    width: 250px; /* Set a fixed width for consistency */
    height: 350px; /* Set a fixed height for consistency */
    padding: 10px;
    margin: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ministry-box h3 {
    font-family: 'Arvo', serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
    flex-grow: 1; /* Allow the text to take up available space */
}

.ministry-box p {
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    color: #666;
    position: relative;
    width: 250px; /* Fixed width for consistency */
    height: 350px; /* Fixed height for consistency */
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: column;
}

.ministry-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.ministry-icon {
    display: block;
    margin: 0 auto 5px; /* Center the icon and add spacing below */
    width: 75px; /* Adjust the size as needed */
    height: 100px; /* Maintain consistent aspect ratio */
}
.ministry-link {
    position: absolute; /* Position relative to the .ministry-box container */
    bottom: 10px; /* Place 10px above the bottom */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%);
    padding: 10px 20px;
    color: #fff;
    background-color: #0000FF; /* WNCP blue */
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.ministry-link:hover {
    background-color: #FF0000; /* WNCP red on hover */
}

/* Contact Section Layout */
.contact-container {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
    gap: 20px;
    margin-top: 20px;
}

.contact-text {
    flex: 1; /* Allows the text to take up half the width */
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.contact-text ul {
    list-style: none;
    padding: 0;
}

.contact-text ul li {
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form {
    flex: 1; /* Allows the form to take up half the width */
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Lato', sans-serif;
}

.contact-form button {
   display: block; /* Make it a block element to span full width */
    width: 100%; /* Match the width of its parent container */
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background-color: #0000FF;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #FF7F00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
}
/* Join Us Section */
.join-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.join-map {
    flex: 1; /* Map takes half the width */
}

.join-map iframe {
    border-radius: 8px;
}

.join-text {
    flex: 1; /* Text takes half the width */
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.join-button {
   display: block; /* Make it a block element to span full width */
    width: 100%; /* Match the width of its parent container */
    margin-top: 15px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background-color: #0000FF;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.join-button:hover {
    background-color: #FF7F00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .join-container {
        flex-direction: column;
    }
}
.discord-join-button {
            display: inline-block;
            margin-top: 20px;
            padding: 15px 30px;
            font-size: 1.2rem;
            font-weight: bold;
            color: white;
            background-color: #0000FF;
            border: none;
            border-radius: 5px;
            text-align: center;
            text-decoration: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .discord-join-button:hover {
            background-color: #FF7F00; /* Darker Discord blue */
        }
/* Alternate Header */
.alt-header {
    background-color: #000; /* Black background */
    color: white; /* White text */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.alt-header-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.alt-header-logo {
    width: 50px; /* Adjust logo size */
    height: auto;
}

.alt-header-title {
    font-family: 'Arvo', serif;
    font-size: 1.8rem;
    margin: 0;
}

.alt-header-nav {
    margin-top: 10px;
}

.alt-header-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.alt-header-menu li {
    margin: 0;
}

.alt-header-menu a {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    color: white; /* White text for links */
    text-decoration: none;
    padding: 5px 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.alt-header-menu a:hover {
    color: #ff9900; /* Highlight text color on hover */
    background-color: rgba(255, 255, 255, 0.1); /* Subtle background hover */
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .alt-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .alt-header-nav {
        width: 100%;
    }

    .alt-header-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
}
/* Style the button container */
.view-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Style the Font Awesome icons */
.view-button {
    font-size: 24px;
    color: #0000FF; /* WNCP blue */
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Add hover effect */
.view-button:hover {
    color: #FF0000; /* WNCP red */
    transform: scale(1.2); /* Slight zoom effect */
}

/* Active button styling */
.view-button.active {
    color: #00FF01; /* Green color for active view */
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none; /* Hidden by default */
  width: 50px;
  height: 50px;
  background-color: #0000FF; /* WNCP blue */
  color: white;
  text-align: center;
  line-height: 50px;
  font-size: 24px;
  text-decoration: none;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

#back-to-top:hover {
  background-color: #FF0000; /* WNCP red */
  cursor: pointer;
}

.leaders {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.leader {
    width: 200px;
    text-align: center;
}

.leader img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #333;
}

.leader h3 {
    margin: 10px 0 5px;
    color: #444;
}

.leader p {
    color: #777;
}

/* Section */
#give {
  width: 100%;
  padding: 3rem 1rem;           /* trim if still too tall */
  background: #0000FF;
  color: #fff;
  text-align: left;             /* let content align itself */
}

/* Container */
.give-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;          /* vertical alignment */
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;            /* cap at readable width */
  margin: 0 auto;               /* center the block */
  padding: 0;
}

/* Image + Text columns */
.give-image,
.give-text {
  flex: 1 1 480px;              /* grow, shrink, preferred width */
  min-width: 320px;             /* don’t get too skinny */
}

/* Image */
.give-image {
  display: flex;
  justify-content: center;
}
.give-image img {
  width: 100%;
  height: auto;
  max-width: clamp(320px, 35vw, 520px);
  border-radius: 10px;
}

/* Text */
.give-text p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
  max-width: 65ch;              /* readable line length */
}

/* Button */
.give-button {
  display: inline-block;
  margin-top: .5rem;
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  background: #55d400;          /* brand green; your comment said red 🙂 */
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: background .2s, color .2s;
}
.give-button:hover {
  background: #FF0000;
  color: #fff;
}

/* Mobile: stack */
@media (max-width: 900px) {
  .give-container { justify-content: center; }
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center; /* Ensures vertical alignment */
    gap: 40px;
    padding: 20px;
    background-color: black;
    color: white;
    border-radius: 10px;
}

.video-player {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-player iframe {
    border: 3px solid #FF0000;
    border-radius: 10px;
}

.video-list {
    background-color: #0000FF;
    padding: 20px;
    border-radius: 10px;
    width: 250px;
    text-align: center;
}

.video-list h3 {
    font-family: 'Gagalin', sans-serif;
    color: white;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.video-list ul {
    list-style: none;
    padding: 0;
}

.video-list li {
    margin: 10px 0;
}

.video-list a {
    display: block;
    background-color: #00FF00;
    color: black;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.video-list a:hover {
    background-color: #FF7E00;
}
