*{
    margin: 0;
    padding: 0;
    font-family: 'poppins',sans-serif;
}
.header{
    background-color: #fff;
    position: relative;
}
nav{
    display: flex;
    padding: 2% 2%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 100px;
    height: 80px;
}
nav .image{
    width: 350px;
    padding-left: 10px;
}
.nav-links{
    flex: 1;
    text-align: right;
    overflow: hidden;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: black;
    text-decoration: none;
    font-size: 13px; 
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
nav .fa{
    display: none;
}
.text-box{
    height: 40vh;
    width: 100%;
    text-align: center;
    background-image: url(images/background.jpg);
    position: relative;
    text-align: center;
    background-position: center;
    background-repeat: no-repeat;
}
.text-box h1{
    padding-top: 50px;
    font-size: 62px;
    color: #fff;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

/*-----course----*/
.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.course-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 20px 12px;
    position: relative;
    overflow: hidden;
}
.course-col img{
    width: 300px; 
    height: 250px; 
    padding-bottom: 5px;
}

    /*----campus------*/
    .campus{
        width: 80%;
        margin: auto;
        text-align: center;
        padding-top: 100px;
    }
    h1{
        font-size: 36px;
        font-weight: 600;
    }
    p{
        color: #777;
        font-size: 14px;
        font-weight: 300;
        line-height: 22px;
        padding: 10px;
    }
    .row{
        margin-top: 5%;
        display: flex;
        justify-content: space-between;
    }
    .campus-col{
        flex-basis: 45%;
        background: #fff3f3;
        border-radius: 10px;
        margin-bottom: 5%;
        padding: 20px 12px;
        box-sizing: border-box;
        transition: 0.5s;
    }
    .campus-col img{
        width: 100%;
    }
    h3{
        text-align: center;
        font-weight: 600;
        margin: 10px 0;
    }
    .campus-col:hover{
        box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
    }

/*-----Footer-----*/
.footer{
    width: 100%;
    position: absolute;
    padding: 30px 20px;
    background-color: #000;
    font-size: 13px;
    line-height: 20px;
}
.footer .col{
    flex-basis: 25%;
    padding: 10px;
    flex-grow: 1;
    margin-bottom: 20px;
}
.footer .col:nth-child(3){
    flex-basis: 15%;
}
.footer .row{
    align-items: flex-start;
    padding: 10px 0;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
.footer h5{
    font-size: 20px;
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600; 
    color: #fff;  
}
.footer h4{
    font-size: 20px;
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600; 
    color: #f44336;  
}
.footer p{
    color: #fff;
}
.footer img{
    align-content: center;
    width: 100px;
    height: 80px;
}
.social-icons .fab{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    background: #fff;
    margin-right: 15px;
    cursor: pointer;
}
hr{
    width: 90%;
    border: 0;
    border-bottom: 1px solid #ccc;
    margin: 5px auto;
}
.copyright{
    text-align: center;
}

/*----mobile view----*/
@media only screen and (max-width: 600px){
    .responsive-element {
        width: 100vw; /* Adjusting width for smaller screens */
        max-width: 100%; /* Optional: set maximum width */
      }
    .text-box h1{
        font-size: 20px;
    }
    .nav-links.responsive{
        display: block;
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: 0;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #000;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
    
    .nav-links{
        display: none;
    }
    nav .image{
        width: 200px;
    }
    .row{
        flex-direction: column;
    }
    .cta h1{
        font-size: 24px;
    }
    img{
        width: 200px;
    }
    .footer{
        bottom: unset;
    }
    .footer .col{
        flex-basis: 100%;
    }
    .footer .col:nth-child(3){
        flex-basis: 100%;
    }
}