* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #fff;
}

header {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensure it's on top of other content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow effect */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 8px;
    background-color: #fff;
}


/* === HEADER === */
.logo img {
    width: 140px;
}

.navbar a {
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
}

.navbar {
    display: flex;
    gap: 20px;
}

/* Hide the navbar on mobile view */
.menu-toggle {
    display: none;
    font-size: 26px;
    margin-top: 15px;
    background: none;
    border: none;
    color: black;
}

.navbar a {
    text-decoration: none;
    color: #003060;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #F97FAF; /* Change to pink on hover */
}

/* === INFO === */
.info{
    margin-top: 160px;
    display: grid;
    grid-template-columns: 30% auto;
    padding: 2px;
    margin-left: 50px;
    margin-right: 80px;
    padding-top: 50px;
    padding-bottom: 50px;
}
.info_image{
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-right: 20px;
    margin-top: auto;
    width: 300px;
}
.info p{
    text-align: justify;
    font-size: 20px;
}

/* === MEMBER === */
.member{
    margin-top: 80px;
}
.member_maintitle{
    text-align: center;
    font-size: 25px;
    color: #003060;
}
.member_info{
    margin-top: 20px;
    display: grid;
    grid-template-columns: 50% auto;
    padding: 2px;
    margin-left: 50px;
    margin-right: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
}
.members{
    text-align: center;
}
.member_photo{
    width: 220px;
    height: 220px;
}
.member_title{
    text-align: center;
    font-size: 18px;
    color: #003060;
}
.member_text{
    text-align: center;
    font-size: 15px;
    color: #003060;
}

.member_advisory{
    margin-top: 20px;
    display: grid;
    grid-template-columns: 33% 33% 33%;
    padding: 2px;
    margin-left: 50px;
    margin-right: 50px;
    padding-bottom: 100px;
}

/* === FOOTER ===*/
footer {
    background-color: #f1f1f1;
    color: black;
    padding: 40px 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    margin-bottom: 15px;
}
.social-icons{
    text-align: left;
}
.social-icons a{
    color: black;
    margin-right: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover{
    color: #F97FAF; /* Pink on hover */
}


.map-container iframe {
    width: 100%;
    border-radius: 5px;
}

h3 {
    margin-bottom: 15px;
    color: #00C1C1;
}

.footer-ending{
    margin-top: 15px;
    text-align: center;
}



/* MOBILE STYLES (Responsive) */
@media (max-width: 768px) {

    header {
        flex-direction: row;
        align-items: flex-start;
    }

    /* === NAVBAR === */
    .logo img {
        width: 100px;
    }
    .navbar {
        display: none; /* Hide initially on mobile */
        width: 100%; 
        justify-content: center;
        flex-direction: column; /* Stacked by default on mobile */
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    /* Show the navbar in a row when toggled */
    .navbar.active {
        display: flex; /* Display flex when active */
        flex-wrap: wrap; /* Allow wrapping of items */
        justify-content: center;
        gap: 10px; /* Adds space between items */
    }

    .navbar a {
        padding: 10px;
        text-align: center;
        color: #003060;
        font-weight: bold;
    }

    /* === INFO === */
    .info{
        display:inline-block;
        padding: 2px;
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 90px;
        padding-top: 20px;
        padding-bottom: 50px;
    }
    .info_image{
        width: 220px;
        margin-top: 10px;
    }
    .info p{
        font-size: 15px;
    }

    /* ===  Member === */
    .member{
        justify-content: center;
    }
    .member_info{
        display: inline-block;
        margin-left: 20px;
        margin-right: 20px;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 20px;
    }
    .member_photo{
        margin-top: 30px;
        width: 180px;
        height: 180px;
    }
    .member_title{
        text-align: center;
        font-size: 15px;
        color: #003060;
    }
    .member_text{
        text-align: center;
        font-size: 13px;
        color: #003060;
    }
    
    .member_advisory{
        margin-top: 20px;
        display: inline-block;
        padding: 2px;
        margin-left: 20px;
        margin-right: 20px;
        padding-bottom: 100px;
    }


    /* === Feature ===*/
    .footer-logo{
        display: block;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .features-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-container {
        flex-direction: column;
        align-items: column;
        text-align: left;
    }
    .footer-section {
        min-width: 100%;
    }
    .social-icons {
        margin-top: 15px;
        text-align: center;
    }
}