/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Navbar Styling */
header {
    background-color: #ffffff;
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Navbar Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #00a652;
    text-decoration: none;
}

.navbar-logo {
    height: 50px;
    margin-right: 10px;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.navbar-logo:hover {
    transform: rotate(360deg);
}

/* Desktop Menu */
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    padding: 10px 15px;
}

.nav-link {
    color: #00a652;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.nav-link:hover {
    color: #eebf17;
    transform: scale(1.1);
}

/* Mobile Navigation - Hidden on Desktop */
.nav-toggle {
    display: none; /* Hide button on Desktop */
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #00a652;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: transform 0.3s ease-in-out;
}

.nav-toggle:hover {
    transform: scale(1.1);
}

/* Mobile View */
@media screen and (max-width: 768px) {
    .nav-toggle {
        display: block; /* Show toggle button in Mobile */
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 20px 0;
        text-align: center;
        transition: all 0.3s ease-in-out;
    }

    .nav-menu.show {
        display: flex;
    }

    .nav-menu li {
        padding: 15px;
    }

    .nav-toggle.active i {
        content: "\f00d"; /* Change icon to 'X' */
    }
}

/* Members Section */
#members-profile {
    max-width: 1200px;
    margin: 100px auto 50px auto;
    text-align: center;
}

#members-profile h1 {
    font-size: 2.5rem;
    color: #00a652;
    margin-bottom: 10px;
}

#members-profile p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Search Bar */
#search-container {
    text-align: center;
    margin-bottom: 30px;
}

#search-bar {
    width: 50%;
    padding: 10px;
    font-size: 18px;
    border: 2px solid #00a652;
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease-in-out;
}

#search-bar:focus {
    border-color: #eebf17;
}

/* Member Cards */
#members-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.member-card {
    background: white;
    width: 300px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.member-card:hover {
    transform: scale(1.05);
}

.member-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.member-card h3 {
    color: #00a652;
    font-size: 1.5rem;
    margin-top: 10px;
}

.member-card p {
    font-size: 1rem;
    margin-top: 5px;
}

/* Footer Styling */
#footer {
    background: #00a652;
    color: #eebf17;
    padding: 40px 0;
    text-align: center;
}

#footer h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: bold;
}

#footer a {
    color: white;
    font-size: 30px;
    margin: 0 15px;
    transition: all 0.3s ease-in-out;
}

#footer a:hover {
    color: #eebf17;
    transform: scale(1.1);
}

#footer p {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 15px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    #search-bar {
        width: 80%;
    }

    .member-card {
        width: 90%;
    }
}
