body::-webkit-scrollbar, .announcement-container::-webkit-scrollbar, .events-container::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

.banner {
    margin-top: 80px;
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    text-align: center;
    background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/about-banner.jpg") center/cover no-repeat;
}


.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1;
}

.banner .about-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    animation: fadeIn 1s ease-out;
    animation-fill-mode: both;
}

.banner .title-container {
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.banner .title {
    color: white;
    padding: 0; /* Remove extra padding */
    line-height: 1; /* Reduce spacing between lines */
}

.banner .title p{
    font-size: 40px;
}

.banner .title h1 {
    position: relative;
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}


.banner .tagline{
    color: white;
    z-index: 2; 
    font-size: 20px;
}

.about-header .container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mission-vision{
    display: flex;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px 0;
    background-color: white;
    animation: fadeIn 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.mission, .vision{
    width: 50%;
    padding: 0 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.mission img, .vision img{
    width: 150px;
}

.mission .title, .vision .title{
    color: #800000;
}

.about-content{
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 70px;
    gap: 10px;
    background-color: white;
    animation: fadeIn 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.text-content{
    width: 60%;
    font-size: 20px;
    text-align: left;
}

.text-content h2{
    color: #800000;
    font-size: 2rem;
}

.text-content p{
    font-size: 20px;
}

.img-content{
    display: flex;
    justify-content: center;
    width: 35%;
}

.img-content img {
    width: 90%;       /* or any fixed size */
}


/* ============================= */
/* RESPONSIVE STYLES */
/* ============================= */

/* Small devices: phones (≤600px) */
@media (max-width: 600px) {
    .address-contact p {
        font-size: 10px;
    }
    .address-contact {
        padding: 5px;
    }

    .banner {
        height: 70vh;
        margin-top: 70px;
    }

    .banner .about-header{
        padding: 0 10px;
    }

    .banner .title-container{
        height: 50vh;
    }

    .banner .title h1 {
        font-size: 1.9rem;
    }

    .banner .tagline {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .mission, .vision {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 20px;
    }

    .mission img, .vision img {
        width: 100px;
    }

    .mission .title, .vision .title {
        font-size: 1.3rem;
    }

    .mission .content, .vision .content {
        font-size: 0.8rem;
    }

    .about-content {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .about-content.phil{
        flex-direction: column-reverse;
    }

    .text-content, .img-content {
        width: 100%;
    }

    .text-content h2 {
        font-size: 1.4rem;
    }

    .text-content p {
        font-size: 0.95rem;
    }

    .img-content img {
        width: 80%;
        max-width: 250px;
    }
}

/* Medium devices: tablets (601px–1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
    .banner {
        height: 80vh;
        background-position: center;
    }

    .banner .title h1 {
        font-size: 2.4rem;
    }

    .banner .tagline {
        font-size: 1.05rem;
        max-width: 700px;
    }

    .mission-vision {
        padding: 50px 30px;
    }

    .mission, .vision {
        width: 100%;
        padding: 20px 40px;
    }

    .about-content {
        flex-direction: column;
        padding: 50px 40px;
        gap: 30px;
    }

    .about-content.phil{
        flex-direction: column-reverse;
    }

    .text-content, .img-content {
        width: 100%;
    }

    .text-content h2 {
        font-size: 1.8rem;
    }

    .text-content p {
        font-size: 1rem;
    }

    .img-content img {
        width: 80%;
        max-width: 300px;
    }
}

/* Large devices: desktops (≥1025px) */
@media (min-width: 1025px) {
    .banner .title h1 {
        font-size: 3rem;
    }

    .banner .tagline {
        font-size: 1.2rem;
    }
}
