.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-bar {
    margin-bottom: 20px;
    text-align: center;
}

.search-bar input {
    padding: 10px;
    width: 80%;
    max-width: 400px;
    border: 1px solid #66FF66;
    border-radius: 5px;
    background-color: #121212;
    color: #00FF00;
    font-size: 1em;
}

.cohort-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.cohort-tab {
    padding: 12px 24px;
    background-color: #121212;
    color: #00FF00;
    border: 1px solid #00FF00;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cohort-tab:hover {
    background-color: #00FF00;
    color: #121212;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 255, 0, 0.3);
}

.cohort-tab.active {
    background-color: #66FF66;
    color: #121212;
    border-color: #66FF66;
    box-shadow: 0 0 15px rgba(102, 255, 102, 0.5);
}

.cohort-content {
    margin-top: 20px;
}

.role-section {
    margin-bottom: 40px;
}

.role-section h2 {
    color: #66FF66;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.8em;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.avatar-card {
    background-color: #121212;
    border: 1px solid #00FF00;
    border-radius: 8px;
    text-align: center;
    padding: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.avatar-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00FF00;
}

.avatar-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    background-color: #333;
    object-fit: cover;
}

.avatar-card h3 {
    margin: 5px 0;
    color: #66FF66;
}

.avatar-card p {
    color: #FFB000;
    font-size: 0.9em;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    background-color: #121212;
    border: 2px solid #00FF00;
    border-radius: 10px;
    padding: 20px;
    z-index: 1000;
    color: #00FF00;
    text-align: center;
}

.modal h2 {
    color: #66FF66;
}

.modal p {
    color: #FFB000;
}

.modal .close-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FFCC00;
    color: #000;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.modal .close-btn:hover {
    background-color: #FFB000;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.profile-img {
    background-color: #121212;
    border-radius: 8px;
    text-align: center; /* Ensures text is centered */
    padding: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; /* Use flexbox */
    flex-direction: column; /* Arrange children vertically */
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */
    cursor: pointer;
}

.profile-img img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 10px;
    background-color: #333;
    object-fit: cover;
}