/* --- VARIABLES & UTILITIES --- */
:root {
    --green-theme: #0c7c4b;
    --yellow-theme: #f7b924;
}



/* Hero Section */
.hero {
    height: 350px;
    position: relative;
    background: black;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0; /* Modern shorthand for top, right, bottom, left: 0 */
  background: url('../media/images/image2.jpg') no-repeat center/cover;
  opacity: 0.5; /* Adjust image transparency specifically */
  z-index: 0;
}



/* Layout */
.main-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.main-layout h1 {
    color: var(--primary-green);
    margin-bottom: 20px;
    border-bottom: #0c7c4b 1px solid;
}

h3 {
    color: var(--primary-green);
    margin: 25px 0 10px 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.content-area h1{
    text-transform: uppercase;
}

.content-area p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
    font-weight: lighter;
    line-height: 1.5;
}

/* Sidebar */
/* .sidebar{

} */

.sidebar-box {
    padding: 20px;
    border-radius: 4px;
}

.sidebar-box h4 {
    background: var(--primary-green);
    color: var(--green-theme);
    padding: 10px;
    margin-bottom: 10px;
}



.sidebar-box ul {
    list-style: none;
    }

.sidebar-box ul li {
    /* border-top: 1px solid #979797; */
    border-bottom: 1px solid var(--green-theme);
    padding: 10px 5px;
    transition: 0.3s ease-in;
}

.sidebar-box ul li:hover{
    background-color: #d3d3d3;
}



.sidebar-box ul li a {
    text-decoration: none;
    color: var(--green-theme);
    font-size: 0.9rem;
    padding: 10px 5px;
    width: 100%;
    text-transform: uppercase;
}
    


.core-functions{
    color: #128151;
    font-weight: lighter;
}

.core-functions li{
    margin: 8px 0;
}

.core-functions ul{
    list-style-type: circle; /* changes bullet style for nested lists */
    margin-left: 50px;       /* indent nested list */
}



/* executive style */

.executive-area{
    display: flex;
    gap: 40px;

}

.executive-card{
    flex: 1;
}

.executive-card img{
    border: 5px solid #128151;
    box-shadow: 0 0 10px #727272;
    margin: 20px 0;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.executive-card img:hover{
    box-shadow: 0 0 10px #0c7c4b;
    /* border: 15px solid #0c7c4b; */
    transform: scale(1.02);

}
.executive-card h2{
    font-size: 18px;
}

.executive-card p{
    margin: 0;
    font-style: italic;
    font-size: 15px;
}


/* .executive-card h2{
} */

.executive-desc{
    flex: 2;
}



/* Assembly Members */
.assembly-member{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 30px 0;
}


.member-card{
    flex: 20%;
    padding: 15px;
    text-align: center;
    /* width: 180px; */
    /* height: 180px; */
    /* border: #0c7c4b 1px solid; */
    transition: all 0.3s ease-in;

}


.member-img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    cursor: pointer;
    overflow: hidden;
    transition: 0.3s ease-in;
    border: 2px var(--green-theme) solid;
}

.member-card:hover .member-img{
    /* border: 2px solid #0c7c4b; */
    /* box-shadow: 0 0 10px #000; */
    transform: scale(1.05);
}

.member-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.member-card h2{
    font-size: 16px;
    line-height: 1;
    margin: 5px 0;
    color: #000;
    padding: 5px 0;
}



.member-card p{
    margin: -5px;
    color: #7e7e7e;
    font-size: 12px;
    font-style: italic;
}




/* Responsive */
@media (max-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr;
    }


    .nav-links {
        display: none;
    } /* Add JS to toggle this */


    .top-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }


    .executive-card img{
        border: 3px solid #128151;
        margin: 10px 0;
        cursor: pointer;
        width: 150px;
}

    .executive-area{
        display: block;
        padding: 0px 10px;
    }

    

    .executive-desc{
        margin-top: 15px;
    }

    .member-card{
        width: 40%;
    }

    .member-img{
        width: 150px;
        height: 150px;
    }

    .member-card h2{
        font-size: 15px;
        margin: 3px 0;
    } 
    .member-card p{
        font-size: 10px;
    }


    .main-layout h1{
        font-size: 20px;
    }

    .assembly-member {
        gap: 10px;
    }

    .content-area {
        padding: 0 10px ;
    }


    
}
