@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

body {
    background-image: url('./asumoot-bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    margin: 0;
}

.container {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.card-circle {
    position: relative;
    text-align: center;
    margin-top: 200px;
    margin-bottom: 200px;
    border: 10px solid transparent;
    color: #fff;
    font-family: "Lato", sans-serif;
    padding: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.card-body {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 70%;
}

.card-circle .card-title {
    font-weight: 600;
    font-size: 26px;
    position: relative;
    /* Bring the content above the overlay */
    z-index: 2;
    margin: 0;
}

.card-circle .card-text {
    font-weight: 400;
    padding-bottom: 2px;
    position: relative;
    /* Bring the content above the overlay */
    z-index: 2;
}

.card-circle .card-icon i {
    font-size: 60px;
    display: block;
}

/* ============================================ */

.card-circle:nth-child(1) {
    position: relative;
    /* Ensures the overlay stays within the card */
    background-image: url('/Course.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    /* Background stays behind the content */
}

.card-circle:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Black overlay with 50% opacity */
    z-index: 1;
    /* Ensure the overlay is on top of the background */
    pointer-events: none;
    /* So it won't interfere with clicks */
}

/* ============================================ */

.card-circle:nth-child(2) {
    position: relative;
    /* Ensures the overlay stays within the card */
    background-image: url('/Moot.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    /* Background stays behind the content */
}

.card-circle:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Black overlay with 50% opacity */
    z-index: 1;
    /* Ensure the overlay is on top of the background */
    pointer-events: none;
    /* So it won't interfere with clicks */
}

/* ============================================ */

.card-circle:nth-child(3) {
    position: relative;
    /* Ensures the overlay stays within the card */
    background-image: url('/Infrasolutions.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    /* Background stays behind the content */
}

.card-circle:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Black overlay with 50% opacity */
    z-index: 1;
    /* Ensure the overlay is on top of the background */
    pointer-events: none;
    /* So it won't interfere with clicks */
}



.card-circle .btn {
    font-family: "Lato", sans-serif;
    background: transparent;
    border: 1px solid #fff;
    text-transform: uppercase;
    padding: 5px 30px;
    border-radius: 0px;
    Font-weight: 600;
    color: #FFF;
    text-decoration: none;
    position: relative;
    /* Bring the content above the overlay */
    z-index: 2;
}

.card-circle .btn,
.card-circle .card-icon i,
.card-circle {
    transition: all ease-in-out 0.2s;
}

.card-circle-one:hover .btn {
    background: #fc9928;
    color: #fff;
    border: 1px solid transparent;
}

.card-circle-two:hover .btn {
    background: #c80808;
    color: #fff;
    border: 1px solid transparent;
}

.card-circle-three:hover .btn {
    background: #fbb715;
    color: #fff;
    border: 1px solid transparent;
}

.card-circle .btn:hover {
    transform: scale(1.1);
}

.card-circle-one:hover {
    border: 10px solid #fc9928;
}

.card-circle-two:hover {
    border: 10px solid #c80808;
}

.card-circle-three:hover {
    border: 10px solid #fbb715;
}

.card-circle:hover i {
    text-shadow: 0px -1px 10px rgb(148, 12, 12);
    transform: scale(1.2)rotate(20deg);
}

@media only screen and (min-width: 1200px) {
    .card-circle:nth-child(3) {
        margin-left: -40px;
        z-index: 0;
    }

    .card-circle {
        width: 300px;
        height: 300px;
    }

    .card-circle:nth-child(2) {
        margin-left: -20px;
        box-shadow: 1px 2px 20px 8px rgba(241, 235, 235, 0.12);
        transform: scale(1.2);
        z-index: 1;
    }
}

@media only screen and (min-width: 991px) and (max-width: 1200px) {
    .card-circle {
        width: 340px;
        height: 340px;
    }

    .card-circle:nth-child(3) {
        margin-left: -50px;
        z-index: 0;
    }

    .card-circle:nth-child(2) {
        margin-left: -20px;
        z-index: 1;
    }
}

@media only screen and (max-width: 1700px) {
    .card-circle {
        width: 250px;
        height: 250px;
        margin-top: 100px;
        margin-bottom: 100px;
    }
}

@media only screen and (max-width: 767px) {
    .card-circle {
        width: 200px;
        height: 200px;
        margin-top: 20px;
        margin-bottom: 0px;
    }

    .card-body {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2;
        width: 100%;
    }
}