
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #020024;
    color: #333;
}

.profile{
    background-color: #333;
    height: 180px;
    width: 100%;
    display: flex;

}

.profile1{
    width: 85%;
    border: 1px solid aliceblue;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    box-shadow: 1px 1px 1px -1px rgb(71, 70, 70);
    z-index: 10000;
    
}
.profile1 p{
    margin-left: 10px;
    /* margin-top: 35px; */
    font-weight: 500;
    font-size: 20px;
    color: aliceblue;
}


.profile1:hover{
   
    
    font-weight: 500;
    font-size: 20px;
    color: aliceblue;
    background-color: rgb(30, 29, 78);
}


.profile2 img{
    height: 110px;
    width: 110px;
    border-radius: 50%;
    margin-left: 40px;
    margin-top: 10px;
}
.profile2 p{

    width: 120px;
    margin-left: 50px;
    margin-bottom: 5px;
    border: 1px rgb(66, 65, 65) solid;
    border-radius: 10px;
    background-color: rgb(77, 72, 72);
    font-size: 18px;
    color: white;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 1px 1px 1px -1px rgb(83, 83, 83) ;
}
#n{
    color: white;
    margin-left: 40px;
    margin-bottom: 40px;
}
.free{
    width: 100%;
    height: 1165px;
    margin-top: 5px;
    margin-bottom: 20px;
    border: 1px dotted white;
    background-color:transparent;

}

.free h4{
    
    color: white;
    font-size: 25px;
    margin-left: 25px;
}
.free p{
    color: white;
    font-size: 20px;
}

.free ol li{
    font-size: 15px;
    color: white;
}
.free img{
    background-color: whitesmoke;
    margin-top: 10px;
    border-radius: 100%;
    border: 2px solid black;
}

.free img:hover{
     background-color: rgb(121, 117, 118);
    margin-top: 10px;
    border-radius: 100%;
    border: 2px solid black;
    box-shadow: 4px 4px 4px 4px blue;
}

.free1{
    margin-left: 25px;
}
.free ul li{
    font-size: 20px;
    color: white;
}

.free p{
    font-size: 20px;
    color: white;
    margin-left: 25px;
}

.course{
    text-decoration: none;
    color: white;
    font-size: 35px;
    
}
.button{
    background-color: blue;
    border-radius: 15px;
    
}

.button:hover{
    background-color: #333;
    box-shadow: 5px 5px 5px 5px blanchedalmond;
}


/* ---- Tablets (768px to 1024px) ---- */
@media screen and (max-width: 1024px) {
    .profile {
        flex-direction: column;
        height: auto;
        text-align: center;
    }

    .profile1 {
        width: 90%;
        border-radius: 20px;
        margin-bottom: 15px;
    }

    .profile1 p {
        font-size: 18px;
        padding: 10px;
    }

    .profile2 img {
        height: 120px;
        width: 120px;
        margin: 10px auto;
        display: block;
    }

    #n {
        text-align: center;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .free h4 {
        font-size: 22px;
    }

    .free p {
        font-size: 18px;
    }

    .course {
        font-size: 25px;
    }
}

/* ---- Mobile Devices (below 768px) ---- */
@media screen and (max-width: 768px) {
    .profile {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 15px;
    }

    .profile1 {
        width: 95%;
        border-radius: 20px;
        margin-bottom: 20px;
    }

    .profile1 p {
        font-size: 16px;
    }

    .profile2 img {
        height: 100px;
        width: 100px;
        margin: 0 auto 10px;
    }

    #n {
        margin-left: 0;
        text-align: center;
        font-size: 18px;
    }

    .free {
        border: none;
        padding: 10px;
    }

    .free h4 {
        font-size: 20px;
        text-align: center;
    }

    .free p, .free ol li, .free ul li {
        font-size: 16px;
        text-align: justify;
    }

    .course {
        font-size: 22px;
    }

    .button {
        padding: 8px 15px;
        border-radius: 10px;
    }
}