/* Main Section 3 Styling */
.main-section3 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 100px;
    padding: 0 20px;
}

/* Left Rotated Text */
.section3-p {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'BPGArialCaps2010', sans-serif;
    font-size: 18px;
    color: #064e45;
    margin-right: 10px;
}

/* Member Cards Container */
.member-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
    flex: 1;
}

/* Member Card Styling */
.member-card {
    background-color: #e9f7f62b;
    border-radius: 10px;
    padding-bottom: 20px;
    text-align: center;
    font-family: 'BPGArialCaps2010', sans-serif;
    font-size: 16px;
    width: 200px;
    height: 200px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card img {
    width: 100%;
    height: 80%;
    border-radius: 5px;
    object-fit: contain;
}

.member-card p {
    margin: 2px 0;
    font-family: 'Noto Sans Georgian', sans-serif;
    font-size: 16px;
    color: #075e54;
    font-weight: 700;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* CTA Button */
.cta-button {
    padding: 10px 20px;
    border: 2px solid #064e45;
    background-color: white;
    font-family: 'BPGArialCaps2010', sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #064e45;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 25px;
}

.cta-button:hover {
    background-color: #064e45;
    color: #fff;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .main-section3 {
        flex-direction: column;
        align-items: center;
    }

    .section3-p {writing-mode: horizontal-tb;
        transform: none;
        font-size: 16px;
        margin: 0 0 10px 0;
        text-align: center;
    }

    .member-cards {
        justify-content: center;
    }

    .member-card {
        width: 90%;
        max-width: 300px;
    }
    
}

html[lang="en"] .section3-p,
html[lang="fr"] .section3-p { font-size: 24px; }