body {
    margin: 0;
    font-family: 'Times New Roman', Times, serif, sans-serif;
    background-color: #eeecec;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: blue;
    color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

header .logo {
    position: absolute;
    top: 0px;
    right: 20px;
    transition: all 0.3s ease;
}

header .logo img {
    height: 50px;
    width: auto;
    display: block;
    margin: 0;
    padding:0;
    background-color: transparent;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

@media (max-width: 768px) {
    header .logo img {
        height: 40px;
    }

    header nav ul li a {
        font-size: 14px;
    }

    header {
        padding: 8px 15px;
    }

    header nav ul li {
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    header .logo img {
        height: 35px;
    }

    header nav ul li a {
        font-size: 12px;
    }

    header nav ul li {
        margin: 0 5px;
    }
}



.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 50px;
}

.hero-image img {
    width: 100vw; 
    height: 100vh;
    object-fit: cover; 
    min-height: 100%; 
}


.fade {
    animation: fadeEffect 10s infinite;
}

@keyframes fadeEffect {
    0% { opacity: 0; }
    25% { opacity: 1; }
    75% { opacity: 1; }
    100% { opacity: 0; }
}

.hero-content {
    position: absolute;
    z-index: 1;
    color: White;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}


footer {
    background-color: blue;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.schedule-section h2 {
    word-spacing: 10px; 
    letter-spacing: 1px;
    text-align: center; 
}

.schedule-section table {
    width: 70%;
    border-collapse: collapse;
    margin: 0 auto;
    text-align: left;
    border: .5px;
    border-width: 5px;
    background-color: white; 
}

.schedule-section th, .schedule-section td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    word-spacing: 5px; 
    border-color: black; 
    border-width: .5px;
}

.schedule-section th {
    background-color: rgb(255, 249, 79); 
}

.team-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: black;
}

.team-section table {
    width: 70%;
    border-collapse: collapse; 
    margin: 0 auto;
    text-align: left; 
    border: none; 
}

.team-section th, .team-section td {
    padding: 12px; 
    border: none; 
    word-spacing: 3px; 
}

.team-section th {
    background-color: rgb(255, 249, 79); 
    font-weight: bold;
    border: none; 
}

.team-section td {
    padding: 12px; 
    border-bottom: 1px solid black;
    background-color:white;
}


.donate-section {
    text-align: center;
    margin: 50px 0;
}
.donate-container {
    display: flex;
    justify-content: center; 
    gap: 90px; 
    flex-wrap: wrap;
}
.donation-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    text-align: center;
}


.donate-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.donate-section p {
    font-size: 16px;
    margin-bottom: 20px;
}
.donation-handle {
    font-size: 0.9rem;
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    text-align: center; 
}
.donation-option:nth-child(1) .donation-handle,
.donation-option:nth-child(2) .donation-handle {
    text-align: center;
}

.donate-image {
    width: 150px;    /* Set the same width for all images */
    height: 150px;   /* Set the same height for all images */
    object-fit: contain; /* Ensure the image fills the container while keeping the aspect ratio */
    margin: 10px;    /* Add margin for spacing between images */
    border-radius: 10px;    /* Add margin for spacing between images */
}
.donation-option p {
    font-size: 1rem;
    color: #333; /* Adjust text color if needed */
    margin: 0; /* Remove default margins */
}

.donate-button {
    background-color: #28a745; /* Green color for donation buttons */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-button {
    background-color: blue; /* Green color for donation buttons */
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.donate-button:hover {
    background-color: #FFD700; /* Darker green on hover */
}

.contact-section {
    text-align: center;
    margin: 50px 0;
}

.about-section {
    text-align: center;
    margin: 50px 0;
}

/* Toggle Button */
.toggle-button {
    background-color: blue;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* Team Section Initially Hidden */
.hidden {
    display: none;
}

/* Optionally style the team section */
.team-section {
    margin-top: 20px;
}

.team-toggle-section {
    text-align: center; /* Center the contents of the section */
    margin: 0 auto; /* Center the section horizontally */
    padding: 20px; /* Add some padding for spacing */
}

.cta-button:hover {
    background-color: #FFD700; /* Gold color on hover */
    color: black;
}
.toggle-button:hover {
    background-color: #FFD700; /* Gold color on hover */
    color: black;
}

@media (min-width: 769px) {
    .hero-section h1 {
        font-size: 48px; /* Large font size for bigger screens */
    }
    .hero-section .cta-button {
        padding: 15px 30px;
        font-size: 18px;
    }
}

/* For screens 768px or narrower (tablets and mobile devices) */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh; /* Reduce the height for smaller screens */
    }
    .hero-section h1 {
        font-size: 24px; /* Smaller font size for mobile screens */
        padding: 10px;
    }
    .hero-section .cta-button {
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* For very small screens (phones) */
@media (max-width: 480px) {
    .hero-section {
        height: 50vh; /* Further reduce height on very small screens */
    }
    .hero-section h1 {
        font-size: 18px;
        padding: 5px;
    }
    .hero-section .cta-button {
        padding: 8px 15px;
        font-size: 14px;
    }
}

.about-section {
    display: flex;
    flex-direction: row;  /* Default: Row layout on larger screens */
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #121212;
    color: white;
    margin: 0;
}
.about-image {
    flex: 1;
    padding-right: 20px; /* Space between the image and text */
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* About Content */
.about-content {
    flex: 1;
    padding-left: 20px; /* Add padding between the text and the image */
}

.about-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FFD700; /* Yellow/golden text color */
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}


/* Responsive layout for smaller screens */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        padding: 0;
        margin-bottom: 20px;
    }

    .about-image, .about-content {
        padding: 0;
    }

    .about-content {
        padding-top: 20px;
    }

    .about-title {
        font-size: 1.8rem;
    }

    .about-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 20px;
    }

    .about-title {
        font-size: 1.6rem;
    }

    .about-description {
        font-size: 0.9rem;
    }

    .learn-more-button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

.about-image img {
    width: 100%;          /* Ensure the image takes up the full width */
    height: auto;         /* Maintain the image's aspect ratio */
    object-fit: cover;    /* Ensure the image covers the entire container without distortion */
    border-radius: 10px;  /* Keep the border-radius */
}

@media (max-width: 768px) {
    .about-image img {
        object-fit: contain; /* Adjust to contain the image without cutting off parts */
        height: auto;        /* Allow height to scale dynamically */
        width: 100%;         /* Keep full width */
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav ul li a {
    color: white; /* Default link color */
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
}

/* Hover Effect for the Links */
nav ul li a:hover {
    background-color: #FFD700; /* Change background to yellow on hover */
    color: black;             /* Change text color to black for contrast */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

/* Pillars of Excellence Section */
.pillars-section {
    background-color: black; /* Deep blue background */
    padding: 60px 20px;
    text-align: center;
    color: #F2F2F2; /* Light text for readability */
}

.pillars-section h2 {
    color: #FFD700; /* Gold for the heading */
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.pillars-section p {
    color: #F2F2F2;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: center;
}

/* Image and Content Blocks */
.pillars-item {
    margin-bottom: 50px;
    text-align: center;
}

.pillars-item img {
    width: 75%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.pillars-item h3 {
    font-size: 2rem;
    color: #FFD700; /* Gold for subheadings */
    margin-bottom: 15px;
}

h2 {
    margin-bottom: 20px; /* Space after section titles */
}

p {
    margin-bottom: 20px; /* Space between paragraphs */
}

img {
    margin-bottom: 30px; /* Space below images */
}

@media (max-width: 768px) {
    section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    h2 {
        font-size: 1.8rem; /* Adjust font size for titles */
    }

    p {
        font-size: 1rem; /* Ensure paragraph text is readable */
        margin-bottom: 15px;
    }
    
    img {
        margin-bottom: 20px;
    }

    button, .learn-more-button {
        margin-top: 20px;
    }
}

/* Academy section */
.academy-section {
    padding: 60px 20px;
    text-align: center;
    color: #333; /* Dark text for readability */
}
