*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
}



.header2{
    /* background-color: #f44336; */
    /* background-color: rgba(0, 0, 255, 0.2);  */
    background-image: linear-gradient(rgba(4,9,30,0.87),rgba(4,9,30,0.87)),url(../images/home2.webp); 
    width: auto;
    height: 150px;
    padding: 20px 40px;
}





nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
    position: relative;
    bottom: 30px;
}

nav img{
    width: 150px;
    position: relative;
    top: 18px;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    text-decoration: none;
    position: relative;
    top: 20px;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 5px;
    background-color: #f44336;
    display: block;
    margin: auto;
    transition: 0.3s;
}
.nav-links ul li:hover::after{
    width: 100%;
}



nav .fa{
    display: none;
}






.row{
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    position: relative;
    bottom: 0 10px; 
    padding: 20px 0 30px;
} 

/* .row{
        align-items: center;
        padding: 100px 0 0;
        margin: 500px 0 0;
    } */



/* ----------Course 2--------------------- */
.course2{
    width: 83%; 
    margin: 20px auto;
    text-align: center;
    padding-top: 1px;
}

.courses{
    color: white;
    background-color: black;
    display: inline;
    padding: 4px 45px;
    border-radius: 45%;
    font-weight: bolder;
    font-size: 35px;
    z-index: 2;
    position: relative;
    top: 40px;
    text-shadow: 15px 10px 10px black;
    text-decoration: none;
}

.courses:hover {
    background-color: blue;
    text-shadow: 15px 10px 10px blue;
}

.course2 p{
    font-size: 28px;
    font-weight: 600;
    position: relative;
    top: 50px;
    margin-bottom: 80px;
    color: blue;
    line-height: 1.8rem;
    margin-top: 10px;
}
.course2-col{
    flex-basis: 32%;
    border-radius: 50px;
    margin-bottom: 30px;
    position: relative;
    /* overflow: hidden; */
}

.course2-col img{
    width: 90%; 
    display: block;
    border-radius: 5%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px 0 200px 0;
    /* padding: 0px 20px 0px 20px; */
    
}

.layer{
    background: transparent;
    height: 100%;
    width: 77%;
    position: absolute;
    left: 0;
    top: 0;
    transition: 0.5s;
}

.layer:hover{
    /* background: rgba(0, 34, 226, 0.5); */
    background-color: rgba(255, 0, 13, 0.5);
    padding: 20px;
}

.layer h3{
    width: 100%;
    font-weight: bolder;
    color: black;
    font-size: 25px;
    top: -10px;
    left: 50%;
    transform: translate(-38%);
    position: absolute;
    opacity: 1;
    text-align: center;
}

.layer:hover h3{
    bottom: 49%;
    opacity: 1;
    transform: translate(-50%);
}



.icons, .staff, .about-us{
    color: white;
    
}

.icons p, .staff p, .about-us p{
    color: grey;
    
}
.icons a, .icons h2, .icons p{
    min-width: auto;
    position: relative;
    left: 10px;
    padding-right: 30px; 
    text-align: right;
} 

.info-sections >.staff h2, .staff p{
    min-width: 100px;
    position: relative;
    left: 200px;
}
.staff p{
    font-size: 16px;
    font-weight: 100;
}

/* .staff{
    min-width: 100px;
    position: relative;
    left: 100px;
} */

.about-us p{
    min-width: 450px;
    color: grey;
    column-count: 2;
    
}


.info-sections{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    margin: 35px 0 0;
    padding: 100px 150px 25px;

} 

.info-sections > div{
    flex: 1 1 30%;
    min-width: 300px;
    box-sizing: border-box;
}

.staff .role {
    font-weight: bold;
    color: grey;
    font-size: 16px;
} 

.icons a, .icons{
    text-decoration: none;
    color: white;
    align-items: right;
    text-align: right;

}

/* .icons a{
    display: flex;
    color: white;
    gap: 15px;

}  */

footer{
    background-color: black;
    width: 100%;
    height: auto;
}


/* ---------------------------------------------------------------------------------------- */
/* For Small devices */
@media(max-width: 768px) {
    html, body{
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
    
    /* .hero-btn:hover{
        background: red;
        border: 2px solid red;
        transition: 1s;
    } */
    .nav-links ul li{
        display: block;
    }
    
    .nav-links{
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
        position: relative;
        top: 20px;
    }

    /* nav .fa-bars{
        color: #f44336;
        position: relative;
    
    } */

    .nav-links ul{
        padding: 30px;
    }

    /* ----------Media Query For Course--------------------- */
    .row{
        flex-direction: column;
        align-items: center;
        padding: 100px 0 0;
        margin: 500px 0 0;
    }

    /* ----------Course--------------------- */

.row{
    margin-top: -80px;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 100px 0 20px;
    /* bottom: px 250px; */
}

.course-col{
    flex-basis: 31%;
    background: #fff6f3;
    /* background: rgba(255, 0, 0, 0.1); */
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    margin: 20px;
    box-sizing: border-box;
    transition: 0.5s;
    text-align: justify;
    
}

h3{
    text-align: center;
    font-size: 17px;
    /* font-weight: 600; */
    margin: 10px 0;
    color: blue;
    font-weight: bolder;
}

.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
    box-shadow: 5px 5px 5px black;
}




/* ----------Course 2--------------------- */
.course2{
    width: 83%; 
    margin: auto;
    text-align: center;
    padding-top: 1x;
}

.course2 a{
    color: #fff;
    background-color: black;
    display: inline;
    padding: 2px 35px;
    border-radius: 45%;
    font-weight: 900;
    font-size: 22px;
    z-index: -2;
    position: relative;
    top: 25px;
}

.course2 p{
    text-align: center;
    font-size: 18px;
}

.course2-col{
    flex-basis: 32%;
    border-radius: 50px;
    margin-bottom: 30px;
    position: relative;
    font-weight: bold;
    /* overflow: hidden; */
}

.course2-col img{
    width: 90%; 
    /* width: 90%;  */
    display: block;
    border-radius: 5%;
    justify-content: space-between;
    align-items: center;
    margin: 0 15px 0;
    /* padding: 0px 20px 0px 20px; */
    
}

.layer{
    background: transparent;
    height: 100%;
    width: 77%;
    position: absolute;
    left: 0;
    top: 0;
    transition: 0.5s;
}


.layer h3{
    width: 100%;
    font-weight: bolder;
    color: black;
    font-size: 25px;
    top: -10px;
    left: 50%;
    transform: translate(-38%);
    position: absolute;
    opacity: 1;
    text-align: center;
}

.layer:hover h3{
    bottom: 49%;
    opacity: 1;
    transform: translate(-50%);
}



/*Footer codes go heres*/
.info-sections {
    flex-direction: column; /* Stack items vertically */
    padding: 20px;           /* Reduce padding for smaller screens */
}

.info-sections > div {
    /* flex: 1  100%; */
    min-width: 100%;         /* Make each section take full width */
}

.about-us h2 {
    text-align: center;         /* Switch from 2 columns to 1 */
}

.about-us p {
    column-count: 1;         /* Switch from 2 columns to 1 */
    min-width: auto;
    font-size: 18px;
    line-height: 2rem;
    /* word-spacing: 0.1rem; */
    text-align: center;
    color: #fff;
    font-weight: 300;
    font-family: 'Courier New', Courier, monospace;
}

.staff p {
    position: relative;
    justify-content: center;
    text-align: center;
    align-items: center;
    /* left: 265px; */
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
}

.staff h2{
    text-align: center;
    position: relative;
    color: white;
    left: 0;
    margin: 20px 0;
}  


.staff {
  text-align: center; /* ✅ Center all content inside .staff */
    padding: 20px;
    position: relative;
    right: 200px;
}


/* .staff h2 {
  color: #f44336;
  margin-bottom: 20px;
  font-size: 24px;
}

.staff p {
  margin: 10px 0;
  font-size: 16px;
  color: grey;
} */


.icons a,
.icons h2,
.icons p {
    left: 0;
    padding-right: 0;
    text-align: center;
    margin-left: 0;
    font-family: 'Courier New', Courier, monospace;
}

.icons p{
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
}

.icons a{
    margin: 15px;
}

.icons {
    justify-content: center;
    align-items: center;
    text-align: center;
}



footer{
    background-color: black;
    width: auto;
    height: auto;
    position: relative;
    /* align-items: center; */
}


}

