*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

.header{
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/banner.png);
    background-position: center;
    background-size: cover;
    position: relative;
    padding-top: 30px;
}
nav{
display: flex;
padding: 2% 6%;
justify-content: space-between;
align-items: center;   
}
nav img{
    width: 150px;
}
.nav-links{
    
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
.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%
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

nav .fa{
    display: none;
}

@media(max-width: 700px){
    .header {
        padding-top: 80px;  /* adjust if nav is taller on mobile */
    }
    .text-box h1{
        font-size: 20px;
    }
    nav {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1100; /* make sure it stays above other content */
}
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: fixed;  
        background: #f44336;
        height:100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 1030;
        transition: 1s;
    }
    

    /* General style for FontAwesome icons in nav on mobile */
    nav .fa{
        display: block; /* Ensure they are displayed by default in mobile context */
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    /* Style for the hamburger icon (fa-bars) when the menu is closed */
    nav .fa-bars{
        position: fixed; /* Keep it fixed on the screen */
        right: 6%; /* Adjust as needed */
        top: 2%; /* Adjust as needed */
        z-index: 1040; /* Ensure it's above other content */
    }

    /* Style for the close icon (fa-times) - it's inside nav-links so it moves with it */
    .nav-links .fa-times{ /* Target specifically the close icon INSIDE nav-links */
        position: absolute; /* Relative to its parent (nav-links) */
        top: 30px; /* Adjust position within the opened menu */
        right: 30px; /* Adjust position within the opened menu */
        z-index: 1050; /* Ensure it's above the menu items */
        /* No display: none here. Its visibility is controlled by the parent nav-links' right property */
    }

    .nav-links ul{
        padding: 30px;
    } 
}

/*------ course ------*/

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    
}























