header.header.scrolling {
    background-color: #fff!important;
    padding: 0
}

.leadership-container {
    margin: 0 auto;

}

.member-card {

    border-radius: 20px;
    cursor: pointer;
    max-height: 100%;
    min-height: 588px;
    padding: 0;
    position: relative;
    transition: all .3s ease
}

.full-span {
    grid-column: 1/-1;
    position: relative
}

div#member-profile-details {
    display: none
}

svg.profileDropdown {
    bottom: -77px;
    min-height: 40px;
    min-width: 40px;
    position: absolute;
    right: 0;
    transition: all .3s ease
}

.member-card.active svg.profileDropdown {
    transform: rotate(180deg)
}

.member-image {
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    min-height: 380px;
    position: relative
}

div#board-1 {
    display: grid
}

div#board-2 {
    display: none
}

.member-details {
margin-top: 30px;
    max-width: 100%;
    padding: 0;
    padding-right: 45px;
}

h4.member-name,p.member-position {
    color: #282961;
    font-family: Montserrat;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 31.5px;
    margin-bottom: 0
}

h4.member-name {
    color: #282961;
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: 35px;
    margin-bottom: 15px;
    text-transform: none
}

.full-span {
    background: #1f4659;
    border-radius: 30px;
    margin: 0!important;
    padding: 70px 60px
}

.full-span .member-profile-details {
    max-width: 930px
}

svg.profileCloseBtn {
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 25px
}

.full-span div h4 {
    color: #c0f2d7;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none
}

.full-span div p {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 28px
}

.full-span div a {
    display: block
}

.full-span div a,.full-span div a svg {
    height: 30px;
    width: 30px
}

.member-profile-overlay {
    background-color: #000;
    background-color: rgba(0,0,0,.4);
    display: none;
    height: 100%;
    left: 0;
    overflow: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1
}

.member-info-container {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(4,minmax(auto,1fr));
    padding: 0 20px
}

.member-profile-details {
    background-color: #fefefe;
    border: 1px solid #888;
    margin: 15% auto;
    padding: 20px;
    position: relative;
    width: 80%;
    z-index: 2
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: 700
}

.close-btn:focus,.close-btn:hover {
    color: #000;
    cursor: pointer;
    text-decoration: none
}

.popup-container {
    background: #fff;
    border-radius: 30px;
    left: 50%;
    max-width: 1400px;
    padding: 50px;
    position: absolute;
    top: 20%;
    transform: translateX(-50%);
    width: 95%;
    border-radius: 20px;
    border: 2px solid #282961;
    Colors Color format Hex Background colors #FFFFFF · 63%;}

.popup-container h3,.popup-container h4 {
    color: #282961;
    font-family: Montserrat;
    font-size: 27px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 35px;
    margin-bottom: 0;
    text-transform: unset
}

.popup-container p {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px
}

.popup-container p,.popup-container p.popup-title {
    color: #000;
    font-family: Montserrat;
    font-style: normal
}

.popup-container p.popup-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 31.5px;
    margin-bottom: 30px;
          text-align: left;
}

.popup-container>a>svg {
    height: 30px;
    width: 30px
}

.header .navbar ul li a {
    color: #1f4659
}

.navbar ul li a span.drop-arrow svg g {
    stroke: #1f4659
}

#nav-icon2 span {
    background: #1f4659
}

header.header:before {
    display: none!important
}
@media screen and (max-width: 1240px) {
    .member-info-container {
        gap:30px;
        grid-template-columns: repeat(3,minmax(auto,1fr))
    }
}


@media screen and (max-width: 1023px) {
    .member-info-container {
        gap:30px;
        grid-template-columns: repeat(2,minmax(auto,1fr))
    }
}

@media (max-width: 1200px) {
    .header .navbar ul li a {
        color:#fff
    }

    .header .navbar ul li:hover>a {
        color: #c0f2d7
    }

    .navbar ul li a span.drop-arrow svg g {
        stroke: #fff
    }

    .header .navbar ul li:hover>a svg {
        transform: rotate(180deg)
    }

    .header .navbar ul li:hover>a svg g {
        stroke: #c0f2d7;
        transition: all .3s ease-in-out
    }

    .header .navbar .drop-menu-item ul li a {
        color: #1f4659
    }

    .header .navbar .drop-menu-item ul li:hover a {
        color: #989898;
        transition: all .3s ease-in-out
    }

    .navbar .drop-menu-item ul li a span.drop-arrow svg g {
        stroke: #1f4659
    }
}



@media screen and (max-width: 991px) {
    .member-card {
                max-height: 100%;
        min-height: 100%;

    }
    .member-image {
        height: 275px;
        min-height: 275px;
        border-radius: 20px;
        background-position: center;
    }

    h4.member-name {
        font-size: 22px;
        font-style: normal;
        font-weight: 700;
        line-height: 35px;
      margin-bottom: 0px;
    }

    p.member-position {
        font-family: Montserrat;
        font-size: 15px;
        font-style: normal;
        font-weight: 600;
        line-height: 31.5px;
    }
   .popup-container {
        padding: 25px 20px 22px 20px;
    }

    .popup-container h3, .popup-container h4 {
        font-size: 22px;
        font-style: normal;
        font-weight: 700;
        line-height: 35px;
    }

    .popup-container p.popup-title {
        font-size: 15px;
        font-style: normal;
        font-weight: 600;
        line-height: 31.5px;
    }

    .popup-container p {
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: 25px;
        margin-bottom: 25px;
    }

    .popup-container p:last-child {
        margin-bottom: 30px;
    }
  
  
}
@media screen and (max-width: 768px) {
    .member-info-container {
        gap:40px;
        grid-template-columns: repeat(1,minmax(auto,1fr))
    }
}

@media screen and (max-width: 480px) {
    .member-card {
        margin:0 auto;
        max-width: 390px;
        min-width: 100%
    }

    svg.profileDropdown {
        position: absolute;
        right: 10px
    }

    .member-details {
        padding-right: 20px
    }

    .tab-container {
        flex-direction: column;
        gap: 20px
    }

    .tab-container .tab {
        margin: 0 auto;
        padding: 16px 24px
    }

    .full-span {
        padding: 50px 30px
    }

    svg.profileCloseBtn {
        right: 20px;
        top: 20px
    }
}
