.meet-container{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 60vh;
    gap: 30px;
    flex-wrap: nowrap;
    flex-direction: row;
    margin-top: 0;
    padding: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Chrome-specific container fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .meet-container {
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
    }
}

.circle-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    width: 280px;
    margin-bottom: 20px;
}

.circle{
    width: 250px;
    height: 250px;
    background-color:#569D99; 
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.circle:hover{
    transform: scale(1.10);
}

.circle-text {
    color: #333;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    font-weight: bold;
    max-width: 120px;
    margin: 20px;
    transition: transform 0.3s ease;
}

.team-member-name {
    color: #086863;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin: 20px 0 15px 0;
    text-align: center;
    width: 100%;
}

.team-member-description {
    color: #666;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    max-width: 250px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* Chrome-specific fixes for image sizing */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .circle img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
        object-position: center;
    }
    
    .circle {
        overflow: hidden;
    }
}

.meet-container:has(:hover) .circle:not(:hover) {
    filter: grayscale(1) brightness(0.7);
    transform: scale(0.90);
}

.heading-container{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.heading-text{
    font-size: 24px;
    font-family: 'Otomanopee One', sans-serif;
    color: #086863;
    margin: 0 0 30px 0;
}

.navbar a{
    text-decoration: none;
}

/* Desktop - Large screens (1200px and up) */
@media (min-width: 1200px) {
    .meet-container {
        gap: 30px;
        margin-top: 0;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .circle-item {
        width: 300px;
    }
    
    .circle {
        width: 280px;
        height: 280px;
    }
    
    .circle-text {
        font-size: 22px;
        max-width: 140px;
    }
    
    .team-member-name {
        font-size: 20px;
        margin: 25px 0 15px 0;
    }
    
    .team-member-description {
        font-size: 15px;
        max-width: 280px;
        padding: 0 20px;
    }
    
    .heading-text {
        font-size: 28px;
    }
}

/* Desktop - Medium screens (992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .meet-container {
        gap: 25px;
        margin-top: 0;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .circle-item {
        width: 280px;
    }
    
    .circle {
        width: 260px;
        height: 260px;
    }
    
    .circle-text {
        font-size: 21px;
        max-width: 130px;
    }
    
    .team-member-name {
        font-size: 19px;
        margin: 20px 0 15px 0;
    }
    
    .team-member-description {
        font-size: 14px;
        max-width: 260px;
        padding: 0 15px;
    }
    
    .heading-text {
        font-size: 26px;
    }
}

/* iPad - Portrait and Landscape (768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .meet-container {
        flex-direction: row;
        gap: 20px;
        margin-top: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .circle-item {
        width: 240px;
        margin-bottom: 30px;
    }
    
    .circle {
        width: 200px;
        height: 200px;
    }
    
    .circle-text {
        font-size: 18px;
        max-width: 100px;
        margin: 15px;
    }
    
    .team-member-name {
        font-size: 17px;
        margin: 20px 0 15px 0;
    }
    
    .team-member-description {
        font-size: 13px;
        max-width: 220px;
        padding: 0 10px;
    }
    
    .heading-text {
        font-size: 22px;
    }
}

/* Mobile - Large (576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .meet-container {
        flex-direction: row;
        gap: 15px;
        margin-top: 0;
        flex-wrap: wrap;
        min-height: 50vh;
        justify-content: center;
    }
    
    .circle-item {
        width: 180px;
        margin-bottom: 25px;
    }
    
    .circle {
        width: 150px;
        height: 150px;
    }
    
    .circle-text {
        font-size: 16px;
        max-width: 80px;
        margin: 12px;
    }
    
    .team-member-name {
        font-size: 16px;
        margin: 15px 0 10px 0;
    }
    
    .team-member-description {
        font-size: 12px;
        max-width: 160px;
        padding: 0 8px;
    }
    
    .heading-text {
        font-size: 20px;
    }
}

/* Mobile - Medium (481px to 575px) */
@media (max-width: 575px) and (min-width: 481px) {
    .meet-container {
        flex-direction: column;
        gap: 30px;
        margin-top: 0;
        min-height: 70vh;
        align-items: center;
    }
    
    .circle-item {
        width: 250px;
        margin-bottom: 20px;
    }
    
    .circle {
        width: 180px;
        height: 180px;
    }
    
    .circle-text {
        font-size: 18px;
        max-width: 100px;
        margin: 15px;
    }
    
    .team-member-name {
        font-size: 17px;
        margin: 20px 0 15px 0;
    }
    
    .team-member-description {
        font-size: 13px;
        max-width: 220px;
        padding: 0 15px;
    }
    
    .heading-text {
        font-size: 18px;
    }
}

/* Mobile - Small (320px to 480px) */
@media (max-width: 480px) {
    .meet-container {
        flex-direction: column;
        gap: 25px;
        margin-top: 0;
        min-height: 60vh;
        padding: 15px;
        align-items: center;
    }
    
    .circle-item {
        width: 220px;
        margin-bottom: 20px;
    }
    
    .circle {
        width: 140px;
        height: 140px;
    }
    
    .circle-text {
        font-size: 16px;
        max-width: 90px;
        margin: 12px;
    }
    
    .team-member-name {
        font-size: 16px;
        margin: 15px 0 10px 0;
    }
    
    .team-member-description {
        font-size: 12px;
        max-width: 200px;
        padding: 0 10px;
    }
    
    .heading-text {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .heading-container {
        padding: 15px;
    }
}

/* Extra small mobile devices (320px and below) */
@media (max-width: 320px) {
    .meet-container {
        gap: 20px;
        padding: 10px;
        align-items: center;
    }
    
    .circle-item {
        width: 180px;
        margin-bottom: 15px;
    }
    
    .circle {
        width: 120px;
        height: 120px;
    }
    
    .circle-text {
        font-size: 14px;
        max-width: 80px;
        margin: 10px;
    }
    
    .team-member-name {
        font-size: 14px;
        margin: 12px 0 8px 0;
    }
    
    .team-member-description {
        font-size: 11px;
        max-width: 160px;
        padding: 0 8px;
    }
    
    .heading-text {
        font-size: 14px;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .meet-container {
        min-height: 50vh;
        margin-top: 0;
        gap: 20px;
        align-items: center;
    }
    
    .circle-item {
        width: 160px;
        margin-bottom: 10px;
    }
    
    .circle {
        width: 120px;
        height: 120px;
    }
    
    .circle-text {
        font-size: 14px;
        max-width: 70px;
        margin: 8px;
    }
    
    .team-member-name {
        font-size: 13px;
        margin: 10px 0 5px 0;
    }
    
    .team-member-description {
        font-size: 10px;
        max-width: 140px;
        padding: 0 5px;
    }
    
    .heading-text {
        font-size: 14px;
        margin-bottom: 15px;
    }
}
