.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sub-container {
    display: flex;
}

.sub-container img {
    border-radius: 15px 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sub-container div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

}

.sub-container div h3 {
    margin-bottom: 20px;
    color: rgb(2, 3, 129);
    font-weight: 900;
}

.sub-container p {
    margin: 0 30px;
    padding-bottom: 50px;
    border-bottom: 2px solid rgb(2, 3, 129);
}

@media screen and (min-width: 1024px) {

    .sub-container {
        margin: 25px 0;
        align-items: center;
        justify-content: center;
        padding: 10px;
        width: 100%;
    }

    .sub-container img {
        height: 300px;
        width: 300px;
        margin-right: 50px;
    }

    #sci,
    #cs,
    #eng,
    #hin,
    #kar,
    #white,
    #ai {
        flex-direction: row-reverse;

    }
}

@media screen and (max-width: 820px) {
    
    .container {
        margin:0;
    }
    .sub-container {
        margin: 25px 0;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
        width: 100%;
    }

    .sub-container img {
        height: 250px;
        width: 250px;
    }

    #sci,
    #cs,
    #eng,
    #hin,
    #kar,
    #white,
    #ai {
        flex-direction: row-reverse;

    }
}

@media screen and (max-width:480px) {

    .sub-container {
        margin: 25px 0;
        flex-direction: column !important;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
        width: 100%;
    }

    .sub-container img {
        height: 250px;
        width: 250px;
    }

    .sub-container h3 {
        margin-top: 20px;
    }

    .sub-container p {
        font-size: 0.9rem;
    }
}