.doctors-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    flex-direction: column;
}

.doctors-section h3 {
    font-size: 25px;
    font-weight: 400;
}

.doctors-section h1 {
    margin-top: -10px;
    font-size: 40px;
    font-weight: 600;
}

.doctors-section p {
    font-size: 20px;
    max-width: 1000px;
    line-height: 35px;
    text-align: center;

}

.doctor-profiles {
    margin-top: 40px;
    display: grid;
    /* Use grid layout */
    grid-template-columns: repeat(3, 1fr);
    /* 3 items in a row for large screens */
    gap: 20px;
    /* Gap between grid items */
    max-width: 1000px;
    width: 100%;
}

.doctor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-container {
    position: relative;
    margin: 30px 0;
}

.img-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #7F237A;
    display: flex;
    justify-content: center;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arc1 {
    position: absolute;
    bottom: -20px;
    left: -20px;
    /* Adding transition for smooth effect */
    transition: all 0.5s ease;
}

.arc2 {
    position: absolute;
    top: -20px;
    right: -20px;
    rotate: 180deg;
}

.doctor-card h4 {
    font-size: 30px;
    font-weight: 500;
    margin-top: 10px;
}

.doctor-card p {
    font-size: 20px;
    line-height: 25px;
    margin-top: 3px;
    font-weight: 300;
}

.doctor-card .avatar-doctor {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.doctor-card .avatar-icon {
    padding-top: 10px;
}

@media screen and (max-width: 900px) {
    .doctor-profiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctors-section h3 {
        font-size: 25px;
    }

    .doctors-section h1 {
        font-size: 35px;
    }

    .doctors-section p {
        font-size: 20px;
        max-width: 95%;
    }

    .img-container {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background-color: #7F237A;
        display: flex;
        justify-content: center;
        padding: 10px 10px 0 10px;
    }

    .img-container img {
        width: 100%;
        height: 100%;
    }

    .arc1 {
        position: absolute;
        bottom: -10px;
        left: -10px;
        /* Adding transition for smooth effect */
        transition: all 0.5s ease;
        height: 60%;
        width: 60%;
    }

    .arc2 {
        position: absolute;
        top: -10px;
        right: -10px;
        rotate: 180deg;
        height: 60%;
        width: 60%;
    }

    .doctor-card h4 {
        font-size: 25px;
        margin-top: 0px;
    }

    .doctor-card p {
        font-size: 16px;
        margin-top: 3px;
    }
}

@media screen and (max-width: 450px) {
    .doctor-profiles {
        grid-template-columns: repeat(1, 1fr);
    }

    .doctors-section h3 {
        font-size: 25px;
    }

    .doctors-section h1 {
        font-size: 30px;
    }

    .doctors-section p {
        font-size: 16px;
        max-width: 95%;
        line-height: 25px;

    }

}