/* Container styling for the layout context */
.about {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full viewport height for adequate space */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Ensures nothing extends outside the container bounds */
    background: #333;
    /* Dark background for contrast */
}

/* Common styles for all circles, ensuring they are perfectly circular */
.circle {
    display: flex;
    justify-content: center;  /* Centers content horizontally within the container */
    align-items: center;
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    /* Start fully transparent */
    transition: opacity 0.5s ease;
    /* Smooth transition for opacity */
}

/* Styling for the large blue circle */
.image-circle {
    background-color: rgb(0, 0, 0);
    width: 30vw;
    /* Relative size to the viewport width */
    height: 30vw;
    /* Ensures the circle is perfectly round */
    left: 20%;
    /* Initially off-screen for animation */
    top: 9%;
    /* Vertical position from the top */
    transform: translateX(-100%);
    /* Start from left of its center position */
    animation: enterFromLeft 1.5s forwards;
    /* Animation for entry */
    z-index: 1;
    /* Layering order */
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
}

.image-circle video {
    width: 100%;
    /* Ensures the video covers the full area of the circle */
    height: 100%;
    /* Ensures the video covers the full area */
    border-radius: 50%;
    /* Ensures the video itself is also circular */
    object-fit: cover;
    /* Covers the area without distortion */
}

/* Styling for the medium green circle */
.text-circle {
    background-color: rgb(77, 77, 77);
    color: #fff;
    width: 20vw;
    /* Slightly smaller than the blue circle */
    height: 20vw;
    /* Maintains round shape */
    left: 45%;
    /* Initially off-screen for animation */
    top: 41%;
    /* Slightly offset downwards */
    transform: translateX(-50%);
    /* Start from right of its center position */
    animation: enterFromRight 1.5s forwards;
    /* Animation for entry */
    z-index: 2;
    /* Appears above the blue circle */
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
}

/* Styling for the small red circle */
.read-more-circle {
    background-color: rgb(49, 67, 226);
    color: #fff;
    width: 6vw;
    /* Smallest circle */
    height: 6vw;
    /* Keeps it round */
    left: 65%;
    /* Initially off-screen for animation */
    top: 72%;
    /* Centered relative to the green circle */
    transform: translateY(100%);
    /* Start from below its center position */
    animation: enterFromBottom 1.5s forwards;
    /* Animation for entry */
    z-index: 3;
    /* Topmost layer */
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
}
.text-circle h2, .read-more-circle a {
    color: #FFF;              /* Ensures text color is visible */
    text-align: center;       /* Additional text alignment, useful if text wraps */
    margin: 0;                /* Removes default margin */
    padding: 0;               /* Adjust padding as needed */
    font-size: 2vw;           /* Responsive font size, adjust as necessary */
    width: 100%;              /* Ensures the text container spans the entire circle */
}

.read-more-circle a {
    font-size: 1vw;
}

/* Keyframes for animations */
@keyframes enterFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes enterFromRight {
    from {
        transform: translateX(50%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes enterFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Base styles should remain as defined earlier */

@media (max-width: 2000px) {

     .image-circle {
         width: 35vw;
         /* Increase size for tablet visibility */
         height: 35vw;
         left: 15%;
         top: 7%;
         /* Center horizontally */
         transform: translateX(-70%);
         /* Adjust starting point for animation */
     }
 
     .text-circle {
         width: 25vw;
         height: 25vw;
         left: 44%;
         top: 39%;
         transform: translateX(-30%);
         /* Closer to the center for better overlap */
     }
 
     .read-more-circle {
         width: 7vw;
         height: 7vw;
         left: 72%;
         top: 71%;
         transform: translateY(50%);
         /* Adjust vertical starting point */
     }
 
     .read-more-circle a {
         font-size: 1vw;
     }
 }


@media (max-width: 1660px) {

     .image-circle {
         width: 40vw;
         /* Increase size for tablet visibility */
         height: 40vw;
         left: 9%;
         top: 8%;
         /* Center horizontally */
         transform: translateX(-70%);
         /* Adjust starting point for animation */
     }
 
     .text-circle {
         width: 29vw;
         height: 29vw;
         left: 42%;
         top: 36%;
         transform: translateX(-30%);
         /* Closer to the center for better overlap */
     }
 
     .read-more-circle {
         width: 9vw;
         height: 9vw;
         left: 70%;
         top: 71%;
         transform: translateY(50%);
         /* Adjust vertical starting point */
     }
 
     .read-more-circle a {
         font-size: 1vw;
     }
 }

@media (max-width: 1300px) {
    .about {
     height: 100vh;
    }
    
     .image-circle {
         width: 45vw;
         /* Increase size for tablet visibility */
         height: 45vw;
         left: 15%;
         top: 8%;
         /* Center horizontally */
         transform: translateX(-70%);
         /* Adjust starting point for animation */
     }
 
     .text-circle {
         width: 35vw;
         height: 35vw;
         left: 50%;
         top: 36%;
         transform: translateX(-30%);
         /* Closer to the center for better overlap */
     }
 
     .read-more-circle {
         width: 11vw;
         height: 11vw;
         left: 38%;
         top: 66%;
         transform: translateY(50%);
         /* Adjust vertical starting point */
     }
 
     .read-more-circle a {
         font-size: 1.5vw;
     }
 }


/* Medium screens (Tablets) */
@media (max-width: 1024px) {

    .image-circle {
        width: 45vw;
        /* Increase size for tablet visibility */
        height: 45vw;
        left: 15%;
        top: 8%;
        /* Center horizontally */
        transform: translateX(-70%);
        /* Adjust starting point for animation */
    }

    .text-circle {
        width: 35vw;
        height: 35vw;
        left: 50%;
        top: 36%;
        transform: translateX(-30%);
        /* Closer to the center for better overlap */
    }

    .read-more-circle {
        width: 13vw;
        height: 13vw;
        left: 38%;
        top: 66%;
        transform: translateY(50%);
        /* Adjust vertical starting point */
    }

    .read-more-circle a {
        font-size: 2vw;
    }
}

/* Small screens (Mobile devices) */
@media (max-width: 768px) {
    .image-circle {
        width: 55vw;
        /* Further increase for mobile screens */
        height: 55vw;
        left: 7%;
        /* Keep centered */
        transform: translateX(-100%);
        /* Start further off-screen */
    }

    .text-circle {
        width: 45vw;
        height: 45vw;
        left: 46%;
        transform: translateX(-10%);
        /* Less offset to stay visible */
    }

    .read-more-circle {
        width: 13vw;
        height: 13vw;
        left: 35%;
        transform: translateY(70%);
        /* Lower starting point */
    }

    .read-more-circle a {
        font-size: 2vw;
    }

    .text-circle h2 {
        font-size: 2.5vw;
    }
}

@media (max-width: 640px) {
    .image-circle {
        width: 55vw;
        /* Further increase for mobile screens */
        height: 55vw;
        left: 7%;
        /* Keep centered */
        transform: translateX(-100%);
        /* Start further off-screen */
    }

    .text-circle {
        width: 45vw;
        height: 45vw;
        left: 46%;
        top: 30%;
        transform: translateX(-10%);
        /* Less offset to stay visible */
    }

    .read-more-circle {
        width: 15vw;
        height: 15vw;
        left: 35%;
        top: 60%;
        transform: translateY(70%);
        /* Lower starting point */
    }

    .read-more-circle a {
        font-size: 2.2vw;
    }

    .text-circle h2 {
        font-size: 3vw;
    }
}

/* Extra small screens */
@media (max-width: 480px) {

    .about {
     height: 75vh;
    }
    
    .image-circle {
        width: 60vw;
        /* Maximize use of available screen width */
        height: 60vw;
        left: 7%;
        /* Ensure it remains centered */
        transform: translateX(-100%);
        /* Start from far left */
    }

    .text-circle {
        width: 50vw;
        height: 50vw;
        left: 44%;
        top: 34%;
        transform: translateX(0%);
        /* Minimal horizontal translation */
    }

    .read-more-circle {
        width: 22vw;
        height: 22vw;
        left: 24%;
        top: 61%;
        transform: translateY(80%);
        /* Positioned lower for better accessibility */
    }

    .read-more-circle a {
        font-size: 3vw;
    }

    .text-circle h2 {
        font-size: 4vw;
    }

}


