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

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.87),rgba(4,9,30,0.87)),url(../images/home2.webp);
    background-position: center;
    background-size: cover;
    position: relative;
}
/* 
.header2{
    
    background-color: rgba(0, 0, 255, 0.1);
    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%;
}





.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Start with media query */
.text-box h1{
    font-size: 50px;
    position: relative;
    bottom: 30px;
    text-shadow: 15px 2px 10px black;
}
.text-box p{
    font-size: 18px;
    /* word-spacing: 5px; */
    line-height: 2rem;
    position: relative;
    bottom: 20px;
    margin: 10px 0 40px;
    color: white;
    word-spacing: 0.4rem;
}

.hero-btn{
    display: inline-block;
    padding: 12px 34px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: bolder;
    border: 2px solid #fff;
    word-spacing: 2px; 
    letter-spacing: 1px;
    background: transparent;
    position: relative;
    top: 30px;
    cursor: pointer;
}

.hero-btn:hover{
    background: red;
    border: 2px solid red;
    transition: 1s;
}

nav .fa{
    display: none;
}




/* ----------Course--------------------- */
.course{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    
}

/* try for other sections background */
.course{
    min-height: auto;
    width: 100%;
    /* background-image: linear-gradient(rgba(228, 231, 245, 0.1),rgba(197, 171, 171, 0.1)),url(../images/background3.webp); */
    /* background-image: linear-gradient(rgba(255, 0, 13, 0.251), rgba(0, 0, 255, 0.943)), url(../images/background2.webp); */
    background-image: linear-gradient(rgba(0, 0, 255, 0.943), rgba(255, 0, 13, 0.8)), url(../images/background2.webp);
    background-position: center;
    background-size: cover;
    position: relative;
    box-shadow: 0px 25px 80px blue;
}
.program h1{
    color: white;
    font-size: 45px;
    font-weight: bolder;
    text-decoration: underline;
    text-decoration-color: red;      /* optional: set underline color */
    text-decoration-thickness: 10px;   /* increase underline size */
    text-underline-offset: 12.4px;       /* space between text and underline */
    margin-bottom: 5px;
    position: relative;
    bottom: 35px;
    text-shadow: 10px 10px 15px black;
}
.program p{
    color: #fff;
    font-size: 22px;
    line-height: 1.8rem;

}

h1{
    font-size: 35px;
    font-weight: bold;
}

p{
    color: #777;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    padding: 10px;
}

.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-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;
    
}

/* .course-col p{
    text-align: left;
    color: black;
    font-size: 18px;
} */


h3{
    text-align: center;
    /* font-weight: 600; */
    margin: 10px 0;
    color: black;
    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: 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: 25px;
    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%);
}

/*Quiz Section Codes*/
.quiz{
    /* background-image: linear-gradient(to right, red , blue); */
    /* background-color:  #004165; */
    text-align: center;
    padding: 0 5px;
    border-radius: 10px;
    margin: 5px auto;
    max-width: 1000px;

}

.quiz h2{
    font-size: 35px;
    color: red;
    margin-bottom: 20px;
    font-weight: bolder;
    text-shadow: 1px 10px 50px  white; 
    text-align: center;
}

.quiz p{
    font-size: 20px;
    color: gray;
    font-weight: bolder;
    margin-bottom: 5px;
    column-count: 2;
    text-align: left;
    line-height: 2.4rem;
    word-spacing: 0.2rem;
    position: relative;
    bottom: 25px;
}

.quiz-btn{
    display: inline-block;
    font-size: 18px;
    padding: 12px 34px;
    background-color: blue;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    position: relative;
    bottom: 20px;
    right: 35px;
    margin-bottom: 50px;
}

.quiz-btn:hover {
    background-color: red;
}


    .contact-form{
        background-color: silver;
        /* padding: 10px 20px; */
        /* background-image: linear-gradient(rgba(4,9,30,0.9),rgba(4,9,30,0.9)),url(../images/backgroundnew2.jpg); */
        background-image: linear-gradient(rgba(0,0,0,0.95),rgba(0,0,0,0.95)),url(../images/backgroundnew2.jpg);
        background-size: cover;
        background-position-x: scale(-1);
        padding: 30px ;

    
    } 

    /* .photo img{
        width: 1500px;
        height: 700px;
        padding:30px 60px ;
    } */
    .contact-form form{
        width: auto;
        margin: auto;
        padding: 50px 60px;
        background-color: white;
        position: relative;
        top: 80px;
        left: 100px; 
    } 

    .contact-form h2{ 
        font-size: 35px;
        position: relative;
        bottom: 20px;
        color: #777;
    }


    .section-divider{
        height: 1px;
        width: auto;
        /* background-color: #FFC107; Amber color */
        background-color: silver;
        margin: 0;
    }

    #name, #email, #phone, #subject{
        height: 60px;
        padding: 15px 10px;
        border: none;
        outline: none;
        background-color: silver;
        position: relative;
        top: 35px;
        margin-bottom: 10px;
    } 

    #message{
        padding: 5px 10px;
        border: none;
        outline: none;
        resize: none;
        background-color: silver;
        margin-top: 50px;
    }

    button{
        font-size: 20px;
        padding: 15px 5px;
        width: 100%;
        background-color: brown;
        color: #fff;
        position: relative;
        top: 20px;
        margin-bottom: 30px;
        border: none;
    } 

    button:hover{
        background-color: black;
        color: #fff;
        border: none;
        outline: none;
    }

    /* 
    .form-row {
        display: flex;
        gap: 40px;
        flex-wrap: wrap;
        position: relative;
        padding: 5px 0;
    }

    .form-group{
        display: flex;
        flex: 1;
        min-width: 200px;
        flex-direction: column;
        margin-top: 10px;
        position: relative;
        padding: 5px 0;

    } */


    /* .cta p{
        font-size: 18px;
        line-height: 2rem;

    } */

    .contact-container{
        display: flex;
        gap: 40px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .contact-form form{
        flex: 1 1 50%;
        max-width: 400px;
        height: auto;
    }

    .contact-form .cta{
        flex: 1 1 40%;
        max-width: 400px;
        font-size: 1rem;
        line-height: 1.6rem;
        
    }

    .cta p{
        font-size: 16px ;
        color: #fff;
        padding: 10px 30px;
        width: 100%;
        position: relative;
        left: 100px;
        top: 60px;
        /* background-color: #fff; */
        width: 550px;
        height: auto;
        line-height: 2.2rem;
        text-shadow: 30px 0px 50px black;
        word-spacing: 0.1rem;
    }

    .arrow{
        font-size: 60px;
        color: #f44336;
        font-weight: bolder;
        margin: 0 25px ;
        position: relative;
        top: 10px;
    }
    

    /* Optional codes */
    .form-row{
        display: flex;
        gap: 20px;
        margin-bottom: 15px;
    }
    .form-group{
        flex: 1;
    }

    textarea, input{
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .full-width{
        width: 100%;
    }


.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{
    font-size: 14px;
    min-width: 450px;
    color: grey;
    column-count: 2;
    word-spacing: 0.4rem;
    line-break: 2.4rem;
    
}

.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;
}
