:root {
    --card-bg-dark: #2d3748;
    --accent-blue-cyan: #40c6d6;
    --border-dark-subtle: #4a5568;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4%
}

.container {
    max-width: 80%;
    width: 100%;
    text-align: center;
}

@media (min-width: 640px) {
    .page-wrapper {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .page-wrapper {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.header-section {
    margin-bottom: 48px;
}

.header-section h1 {
    font-size: 36px;
    font-weight: 800;
    color:#333;
    line-height: 1.25;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .header-section h1 {
        font-size: 48px;
    }
}

.header-section p {
    font-size: 18px;
    color:#333;;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .header-section p {
        font-size: 20px;
    }
}

.team-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 64px;
}

@media (min-width: 768px) {
    .team-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.team-card {
    background-color: var(--card-bg-dark);
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-dark-subtle);
    
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-blue-cyan);
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 24px;
    border: 4px solid var(--accent-blue-cyan);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.team-card h2 {
    font-size: 30px;
    font-weight: 700;
    color: white;
    margin-top: 0% !important;
    margin-bottom: 8px;
}

.team-card p.role {
    font-size: 20px;
    color: var(--accent-blue-cyan);
    font-weight: 600;
    margin-bottom: 16px;
}

.team-card p.description {
    font-size: 16px;
    color: white;
    line-height: 1.625;
    text-align: center;
}

.name-with-social {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 30px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.linkedin-icon {
    margin-left: 10px; 
    color: var(--accent-blue-cyan); 
    font-size: 24px; 
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.linkedin-icon:hover {
    color: var(--text-white); 
    transform: scale(1.1); 
}

@media screen and (min-width: 1440px) and (max-width: 1920px) {
    .header-section p{
        font-size: 22px;
    }
    .team-card p.role {
    font-size: 22px;
    }
    .team-card p.description{
        font-size: 18px;
    }
}