.content-section {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: -104px;
}

.content-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.content-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.content-div {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    color: white;
    z-index: 2;
}

.content-div h1 {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    margin-bottom: 0.8rem;
}

.content-div p {
    font-family: "Roboto", sans-serif;
    font-size: 1.5rem;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

.content-btn {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    padding: 10px 20px;
    background-color: #013365;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.content-btn:hover {
    background-color: #0172CA;
}

.members-section {
    width: 90%;
    margin-left: 5%;
    padding: 60px 40px;
    background-color: #FFFFFF;
    border-radius: 8px;
    font-family: "Roboto", sans-serif;
    color: #000;
    text-align: left;
    margin-top: 2vh;
    margin-bottom: 2vh;
}

.members-section h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: #013365;
    margin-bottom: 20px;
}

.members-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.member-card {
    flex: 1 1 200px;  
    max-width: 220px;
    min-width: 160px;
    min-height: 210px;
    max-height: 290px;
    aspect-ratio: 3 / 4;
    background-color: #F4F4F4;
    border-radius: 12px;
    box-shadow: 0 8px 8px rgba(0,0,0,0.05);
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.member-company-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 8px 0 4px;
    color: #013365;
    text-align: center;
}

.member-desciption {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
}

@media (max-width: 1024px) {
    .member-card {
        flex: 1 1 calc(25% - 20px);
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .content-section {
        margin-top: -72px;
    }
    .content-div h1 {
        font-size: 2rem;
    }
    .content-div p{
        font-size: 1.1rem;
    }
    .members-section h1 {
        font-size: 1.5rem;
    }
    .member-company-name {
        font-size: 1rem;
    }
    .member-desciption {
        font-size: 0.8rem;
    }
    .member-card {
        flex: 1 1 calc(33.333% - 20px);
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .member-card {
        flex: 1 1 calc(50% - 20px);
        max-width: 100%;            
    }
}

@media (max-width: 360px) {
    .member-card {
        flex: 1 1 100%;
    }
}

@media (max-height: 700px) {
    .content-div h1 {
        font-size: 2.5rem;
    }
    .content-div p {
        font-size: 1.2rem;
    }
    .members-section h1 {
        font-size: 2rem;
    }
    .member-company-name {
        font-size: 1.2rem;
    }
    
}

@media (max-height: 550px) {
    .content-div h1 {
        font-size: 1.7rem;
        margin-top: 5vh;
    }
    .content-div p {
        font-size: 1rem;
    }
    .members-section h1 {
        font-size: 1.2rem;
    }
    .member-company-name {
        font-size: 1rem;
    }
    .member-desciption {
        font-size: 0.8rem;
    }
}

@media (max-height: 450px) {
    .content-div h1 {
        font-size: 1.4rem;
        margin-top: 10vh;
    }
    .content-div p {
        font-size: 0.9rem;
    }
    .members-section h1 {
        font-size: 1.2rem;
    }
    .member-company-name {
        font-size: 1rem;
    }
    .member-desciption {
        font-size: 0.8rem;
    }
}