#about-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* Ensure at least the height of the viewport */
    position: relative;
    margin-bottom: 10%;
    padding: 5%;
    /* Padding to prevent circles from touching edges */
}

.about-circle {
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
    opacity: 0;
    /* Start invisible for animation */
}

#about-us hr {
    display: none;
}

.about-circle h2 {
    font-size: 2.5em;
    margin-bottom: 5px;
}

.about-circle h3 {
    font-size: 2.2em;
    margin-bottom: 5px;
}

.about-circle h3 {
    font-size: 1.4em;
}

/* Precisely position each circle, adjusting for perfect center alignment */
.about-circle:nth-child(1) {
    top: 5%;
    right: 50%;
    transform: translateX(-50%);
}

.about-circle:nth-child(3) {
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
}

.about-circle:nth-child(5) {
    top: 60%;
    right: 50%;
    transform: translateX(-50%);
}

.about-circle:nth-child(7) {
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
}


/* Media Queries for Tablets */
@media (max-width: 1440px) {
    .about-circle:nth-child(1) {
    top: 5%;
    right: 45%;
    transform: translateX(-50%);
}

.about-circle:nth-child(3) {
    top: 30%;
    left: 58%;
    transform: translateX(-50%);
}

.about-circle:nth-child(5) {
    top: 62%;
    right: 50%;
    transform: translateX(-50%);
}

.about-circle:nth-child(7) {
    top: 75%;
    left: 55%;
    transform: translateX(-50%);
}
}


@media (max-width: 1024px) {
    #about-us {
        padding: 5%;
        /* Maintain padding for spacing around edges */
    }

    .about-circle {
        position: static;
        /* Disable absolute positioning for stacking */
        width: 70%;
        /* Adjust width to better fit tablet screens */
        height: auto;
        /* Allow height to adjust based on content */
        margin: 10px 0 30px;
        /* Add some vertical space between circles */
        transform: none;
        /* Reset transforms */
        opacity: 1;
        /* Ensure circles are visible */
        display: flex;
        /* Maintain flex settings */
        align-items: center;
        /* Center content inside circles */
    }

    .about-circle h2 {
        font-size: 2em;
    }

    .about-circle h3 {
        font-size: 1.1em;
    }

    .about-circle p {
        font-size: 0.9em;
        /* Adjust font sizes for better readability */
    }
}

@media (max-height: 1220px){
    #about-us {
        min-height: 120vw;
    }
}

/* Media Queries for Phones */
@media (max-width: 768px) {
    
    .about-circle {
        
        width: 100%;
        background-color: #2c2f33;
        /* Increase width for smaller screens */
        margin: 20px auto 40px;
        /* Increase space between circles */
        text-align: left;
    }

    .about-circle h2,
    .about-circle h3,
    .about-circle p {
        width: 100%;
    }
    
    .about-circle h2 {
        font-size: 2em;
        margin-bottom: 50px;

    }

    .about-circle h3 {
        font-size: 1.5em;
        margin-bottom: 20px;
        
    }

    .about-circle p {
        font-size: 0.9em;
        /* Adjust font sizes for better readability */
    }

    .about-circle:nth-child(1),  .about-circle:nth-child(3),  .about-circle:nth-child(5), .about-circle:nth-child(7) {
    transform: translateX(0%);
    }
    #about-us hr {
        display: block;
        color: #000;
        width: 100%;
    }
}