/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: url('bg.png'); /* Modern gradient */
    color: #f4f4f4; /* Ensure text color is white */
    background-size: cover; /* Cover the entire background */
    min-height: 100vh; /* Ensure the body takes up at least the full height of the viewport */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    text-align: center;
    color: #f4f4f4; /* Ensure text color is white */
}

header {
    background: rgba(44, 62, 80, 0.9); /* Semi-transparent header */
    color: #fff;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: right;
    justify-content: space-between;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.header-text {
    text-align: center; /* Center-align the text */
    flex: 1; /* Allow the text to take up available space */
}

header h2 {
    font-size: 2.3rem; /* Adjust the font size as needed */
    color: #f4f4f4; /* Ensure the text color matches the header */
    margin-top: 0.5rem; /* Add some spacing between the h1 and h2 */
}

header .header-image {
    width: 150px; /* Adjust the width as needed */
    height: auto;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin-top: 10px;
    font-size: 15px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 8px 12px;
    transition: background 0.3s, color 0.3s;
    border-radius: 5px;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.main-content {
    background: url('bg.png') no-repeat center center fixed;
    background-size: cover;
    padding-top: 20px;
    color: #f4f4f4; /* Ensure text color is white */
    min-height: 100vh; /* Ensure the main content takes up at least the full height of the viewport */
}

.section {
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(0.1px); /* Glassmorphism effect */
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 80%; /* Adjusted width */
    max-width: 600px; /* Maximum width */
    color: #f4f4f4; /* Ensure text color is white */
}

.section h2 {
    text-align: center; /* Center-align the heading */
    margin-bottom: 20px; /* Add spacing below the heading */
    font-size: 2rem; /* Optional: Adjust the font size */
    color: #f4f4f4; /* Ensure the text color matches the design */
}

.section:nth-child(even) {
    background: rgba(255, 255, 255, 0.1);
}

footer {
    background: rgba(44, 62, 80, 0.9);
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
        padding: 0 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    .section {
        width: 90%;
        padding: 40px 15px;
        max-width: none; /* Remove max-width for smaller screens */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.2rem;
    }

    .section {
        padding: 30px 10px;
    }

    .slideshow-container {
        max-width: 100%;
    }

    .mySlides img {
        max-height: 300px; /* Adjust the maximum height for smaller screens */
    }
}

@media (max-width: 768px) {
    body {
        background-size: contain; /* Adjusts the image to fit smaller screens */
        background-attachment: scroll; /* Prevents the fixed background from causing issues on mobile */
    }
}

a {
    color: #f4f4f4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.email-icon, .address-icon, .clock-icon, .facebook-icon {
    width: 40px; /* Adjust the width as needed */
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
}

.phone-icon {
    width: 33px; /* Adjust the width as needed */
    height: auto;
    vertical-align: middle;
    margin-right: 8px;
}

#contact ul {
    list-style: none;
    padding: 0;
}

#contact ul li {
    margin: 10px 0;
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Image styles */
.mySlides img {
    width: 100%; /* Adjust the width as needed */
    height: auto; /* Maintain aspect ratio */
    max-height: 500px; /* Set a maximum height */
    object-fit: cover; /* Ensure the image covers the container */
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

.logo-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Space between logos */
    margin: 20px 0;
    opacity: 0.6;
}

.logo-divider img {
    width: 42px;
    height: auto;
    animation: wave 6s ease-in-out infinite;
}

/* Apply a delay to each logo to create the wave effect */
.logo-divider img:nth-child(1) {
    animation-delay: 0s;
}
.logo-divider img:nth-child(2) {
    animation-delay: 0.2s;
}
.logo-divider img:nth-child(3) {
    animation-delay: 0.4s;
}
.logo-divider img:nth-child(4) {
    animation-delay: 0.6s;
}
.logo-divider img:nth-child(5) {
    animation-delay: 0.8s;
}

/* Wave animation */
@keyframes wave {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

#core-values ul {
    list-style-type: disc; /* Keep the bullet points */
    margin-left: 20px; /* Add some indentation */
    padding-left: 0;
}

#core-values ul li {
    margin-bottom: 10px; /* Add spacing between list items */
    line-height: 1.6; /* Improve readability */
    text-indent: 0;
}

.highlight {
    font-size: 1.5rem; /* Increase the font size */
    color: #f4f4f4; /* Optional: Adjust the color */
}

.highlight2 {
    font-size: 1rem; /* Increase the font size */
    color: #f4f4f4; /* Optional: Adjust the color */
    font-weight: 700;
}

.net-schedule-header {
    display: flex;
    align-items: center; /* Align the text and GIF vertically */
    justify-content: center; /* Center the content horizontally */
    gap: 10px; /* Add spacing between the text and the GIF */
}

.net-schedule-header h2 {
    font-size: 2rem; /* Adjust the font size of the text */
    margin: 0; /* Remove default margins */
}

.satellite-icon {
    width: auto; /* Automatically adjust width */
    height: 4rem; /* Match the height of the text */
}

.events-header {
    display: flex;
    align-items: center; /* Align the text and GIF vertically */
    justify-content: center; /* Center the content horizontally */
    gap: 10px; /* Add spacing between the text and the GIF */
}

.events-header h2 {
    font-size: 2rem; /* Adjust the font size of the text */
    margin: 0; /* Remove default margins */
}

.events-icon {
    width: auto; /* Automatically adjust width */
    height: 4rem; /* Match the height of the text */
}

.gallery-header {
    display: flex;
    align-items: center; /* Align the text and GIF vertically */
    justify-content: center; /* Center the content horizontally */
    gap: 10px; /* Add spacing between the text and the GIF */
}

.gallery-header h2 {
    font-size: 2rem; /* Adjust the font size of the text */
    margin: 0; /* Remove default margins */
}

.gallery-icon {
    width: auto; /* Automatically adjust width */
    height: 4rem; /* Match the height of the text */
}

.gallery2-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between icons and title */
}

.gallery2-header h2 {
    font-size: 2rem;
    margin: 0;
}

.slideshow-container img,
#slideshow-container img,
#slideshow-container2 img {
    width: 400px;
    height: 300px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.events-image-fit {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    background: none;
    padding: 0;
}

.events-image-fit img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.events-image-fit p {
    text-align: center;
    margin-top: 10px;
    width: 100%;
    position: static;
    float: none;
}

.raffle-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    text-decoration: underline;
    color: #f4f4f4;
}
.raffle-link:hover {
    color: #0c2cbb;
}