/* Body styling */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #111010dc;
    color: #f4f4f4; /* Light text on dark background */
    margin: 0;
    padding: 0;
}
nav {
    background-color: #333;
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

nav ul li a {
    color: #f4f4f4;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

nav ul li a:hover {
    background-color: #6cc816;
    color: #111010;
}


/* About section styling */
.about {
    width: 75%;
    margin: 50px auto;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.4s ease;
}

/* Container for text */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Header styling */
.about h2, .about h3 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover effect for headers */
.about h2:hover, .about h3:hover {
    color: #f40606;
    cursor: pointer;
    transform: scale(1.05);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* Paragraph styling */
.about p {
    font-size: 1.3rem;
    color: #555555;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.8); /* Light background for readability */
    border-radius: 10px;
    line-height: 1.8;
    transition: all 0.3s ease;
}

/* Hover effect for paragraphs */
.about p:hover {
    background: rgb(204, 121, 209);
    color: #333;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Lists for benefits and competitions */
.benefits, .competitions {
    font-size: 1.2rem;
    color: #444;
    list-style-type: disc;
    margin: 20px;
    padding: 0 20px;
}

/* Hover effect for list items */
.benefits li:hover, .competitions li:hover {
    color: #43aab6;
    cursor: pointer;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Accent hover effect */
.h1:hover, .h1:focus {
    color: #6cc816;
    cursor: pointer;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* Global link styling */
a {
    text-decoration: none;
    color: #6cc816;
    transition: color 0.3s ease;
}

/* Hover effect for links */
a:hover {
    color: #f40606;
}

/* Media query for responsiveness */
@media (max-width: 768px) {
    .about {
        width: 90%;
        padding: 20px;
    }
    .about h2, .about h3 {
        font-size: 2rem;
    }
    .about p, .benefits, .competitions {
        font-size: 1.1rem;
    }
}
.carousel img {
    width: 100%;
    height: auto;
    max-height: 300px; /* Set a max height for smaller screens */
}

@media (max-width: 768px) {
    .carousel img {
        max-height: 200px;
    }
}
.notice-board-container {
    width: 90%; /* More narrow for smaller screens */
}

@media (max-width: 768px) {
    .slim-scroll {
        height: auto;
    }
    #scrolling-dates li {
        font-size: 0.9rem;
    }
}
/* Mobile Menu Toggle */
.pointer-menu {
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    /* Hide default menu and show toggle button */
    .menu-list {
        display: none;
        flex-direction: column;
        background-color: #333;
        padding: 10px;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        z-index: 10;
    }

    .menu-list.open {
        display: flex;
    }

    .menu-list li a {
        color: white;
        padding: 10px;
        text-decoration: none;
        display: block;
    }

    .menu-toggle {
        display: block;
    }
}
/* General Reset */
/* General Reset */
body, ul, li, a {
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

/* Fixed Navigation Styling */
.navbar {
    background-color: #333;
    padding: 15px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.navbar ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.navbar ul li a {
    color: #f4f4f4;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.navbar ul li a:hover {
    background-color: #6cc816;
    color: #111010;
}

/* Menu Toggle Button (Only visible on mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #f4f4f4;
    padding: 10px;
}

/* Mobile View Styles */
@media (max-width: 768px) {
    .navbar ul {
        display: none; /* Hide menu by default on mobile */
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 60px; /* Position below the navbar */
        left: 0;
        right: 0;
        padding: 10px 0;
        z-index: 9;
    }

    .navbar ul.open {
        display: flex; /* Show menu when toggled */
    }

    .navbar ul li a {
        padding: 10px 20px;
        text-align: center;
        width: 100%;
    }

    .menu-toggle {
        display: block; /* Show toggle button on mobile */
    }
}

/* Content offset for fixed navbar */
.about {
    padding-top: 80px; /* Offset to prevent content overlap with navbar */
    margin-top: 20px;
    width: 75%;
    margin: 50px auto;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.4s ease;
}


