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

.header{
    min-height: 200px;
    width: 100%;
    /* background-image: linear-gradient(rgba(4,9,30,0.9),rgba(4,9,30,0.9)),url(../images/home2.webp); */
    background-position: center;
    background-size: cover;
    position: relative;
}



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




/* ----------Course codes--------------------- */
.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;
    position: relative;
    bottom: 40px;
}


.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: 65px;
    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;
    
}

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


/*----------------------------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: blue;
    margin-bottom: 20px;
    font-weight: bolder;
    text-shadow: 1px 10px 50px  black; 
    text-align: center;
    position: relative;
    top: 20px;
}

.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: 5px;
}


/*Quiz button codes*/ 
.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: 5px;
    right: 35px;
    margin-bottom: 20px 0;
}

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


.quiz h3{
    font-size: 28px;
    font-weight: bolder;
    color: red;
    margin-top: 25px;
    text-align: center;
    display: inline-block;
    padding: 12px 34px;
    background-color: #fff;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 15px 5px 0 5px black;
}


/*---------------------------TEST---------------------------*/
.option-label {
    display: inline-block;
    margin: 0 20px;
    border: none;


}

#questions-container{
    /* background-color: red; */
    /* padding: 10px 10px; */
    /* width: 550px; */

    line-height: 1.4rem;
    /* text-shadow: 30px 0px 50px black; */
    word-spacing: 0.1rem;
    color: gray;
    font-weight: light;
    
} 

/* quiz-form{
    background-color: black;
    width: 500px;
    padding:20px;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 

}*/

#quiz-form{
    background-color: #fff;
    width: 800px;
    padding: 20px 40px;
    position: relative;
    left: 200px; 
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 5px 10px 10px 5px black;

}

.test{
    position: relative;
    padding: 15px 150px;
    align-items: center;
    border: none;
}


/*Start button codes*/
#start-btn{
    background-color: blue;
    color: #fff;
    font-size: 16px;
    font-weight: lighter;
    text-align: center;
    padding: 5px 10px;
    border: none;
}
#start-btn:hover{
    background-color: red;
    color: #fff;
    font-size: 16px;
    font-weight: lighter;
    text-align: center;
    padding: 5px 10px;
    box-shadow: none;
}

/* Submit button codes */
#submit{
    background-color: red;
    position: relative;
    left: 330px;
    color: #fff;
    font-size: 16px;
    font-weight: lighter;
    text-align: center;
    padding: 5px 10px;
    border: none;
}
#submit:hover{
    background-color: blue;
        position: relative;
    left: 330px;
    color: #fff;
    font-size: 16px;
    font-weight: lighter;
    text-align: center;
    padding: 5px 10px;
    border: none;
}


label{
    font-size: 180px;
    font-weight: bolder;
    margin-left: 15px;
    border: none;
    color: green;
}

#username, #email, #whatsapp{
    /* display: inline-block; */
    margin: 5px;
    align-items: center;
    position: relative;
    padding: 0 5px;
    border-color: gray;
    outline: none;
} 
#email{
    margin: 5px;
    align-items: center;
    width: 250px;
    padding: 0 5px;
    border-color: grey;
    outline: none;
}

.quiz-question {
    text-align: left;
    margin-top: 25px;
    font-size: 18px;
    color: black;
    font-weight: 600;
}


#timer{
    background-color: blue;
    width: 200px;
    display: inline-block;
    color: #fff;
    font-size: 18px;
    word-spacing: 0.2rem;
    font-weight: bolder;
    text-align: center;
    padding: 4px 8px;
    border-radius: 4px;
    position: relative;
    top: 20px;
    left: 200px;
    z-index: 2;
} 


/* #options{
    display: inline-block;
    color: #f44336;
    background-color: aqua;
    padding: 10px 50px;
} */
/* .test {
    color: blue;
    text-align: left;
    padding: 20px 100px;
}
#start-btn{
    color: white;
    background-color: blue;
    font-size: 18px;
    padding: 0 15px;

}

#start-btn:hover {
    color: white;
    background-color: red;
    font-size: 18px;
}


.div submit-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: 5px;
    right: 35px;
    margin-bottom: 20px 0;
}

.submit-btn:hover {
    background-color: red;
} */


/* ------------------------All the footer codes go here -------------------------------*/

.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{
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }
    .text-box h1{
        font-size: 20px;
        position: relative;
        bottom: 10px;
    }

    .text-box p{
        font-size: 13px;
        /* word-spacing: 5px;
        line-height: 2rem; */
        position: relative;
        bottom: 10px;
        margin: 10px 0 40px;
    }

    .hero-btn{
        display: inline-block;
        padding: 12px 34px;
        text-decoration: none;
        color: #fff;
        font-size: 13px;
        font-weight: bolder;
        border: 2px solid #fff;
        /* word-spacing: 2px; 
        letter-spacing: 1px; */
        background: transparent;
        position: relative;
        cursor: pointer;
    }
    
    .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--------------------- */
.course{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

/* try for other sections background */
.course{
    min-height: 100vh;
    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(0, 0, 255, 0.943), rgba(255, 0, 13, 0.5)), 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 #FFFF99;

}
.program h1{
    color: white;
    font-size: 25px;
    font-weight: bolder;
    text-decoration: underline;
    text-decoration-color: #FFFF99;      /* optional: set underline color */
    text-decoration-thickness: 6px;   /* increase underline size */
    text-underline-offset: 12.4px;       /* space between text and underline */
    margin-bottom: 5px;
    position: relative;
    bottom: 25px;
}
.program p{
    color: #fff;
    font-size: 14px;
    line-height: 1.4rem;
    margin: 0 15px 0;
    text-align: center;
    align-items: center;

}

/* h1{
    font-size: 350px;
    font-weight: bold;
} */

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

.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 h1{
    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:hover{
    background: rgba(0, 34, 226, 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 Part Codes */
.quiz h2{
    font-size: 22px;
    line-height: 1.4rem;
    padding: 0 15px;
    text-align: center;
    font-weight: bold;
    position: relative;
    top: -20px;
}


.quiz p{
    font-size: 16px;
    color: gray;
    font-weight: bolder;
    margin-bottom: 5px;
    column-count: 1;
    text-align: center;
    line-height: 2.4rem;
    word-spacing: 0.2rem;
    position: relative;
    bottom: 25px;
    padding: 0 15px;
}

.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: -10px;
    right: 0;
    margin-bottom: 100px;
    align-items: center;
    text-align: center;

}

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


/* FORM CODES */

    .contact-form{
        /* background-image: linear-gradient(rgba(0,0,0,0,0.5),rgba(0,0,0,0.5)),url(../images/jmm.jpg);  */
        /* background-image: linear-gradient(rgba(4,9,30,0.2),rgba(4,9,30,0.2)),url(../images/jm.jpg);*/
        background-position: top right; 
        background-size: auto auto;
        background-repeat: no-repeat;
        width: auto;
        height: auto; 
        background-color: silver;
        /* padding: 10px 20px; */
        background-image: linear-gradient(rgba(4,9,30,0.5),rgba(4,9,30,0.5)),url(../images/backgroundnew2.jpg);
        background-size: cover;
        background-position-x: scale(-1);
        position: relative;
        bottom: 70px;
        margin-bottom: -50px;
        /* padding: 30px ; */

    
    } 

    /* .photo img{
        width: 1500px;
        height: 700px;
        padding:30px 60px ;
    } */
    .contact-form form{
        width: 300PX;
        margin: auto;
        /* padding: 50px 60px; */
        padding: 20px 15px;
        background-color: white;
        position: relative;
        top: 1px;
        left: 0;
        /* right: 200px; */
        /* left: 100px;  */
    } 

    .contact-form h2{ 
        font-size: 22px;
        position: relative;
        bottom: 5px;
        align-items: center;
        text-align: center;
        /* color: #777; */
    }


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

    }




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

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



    button{
        font-size: 18px;
        font-weight: bolder;
        padding: 15px 10px;
        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: auto;
        height: auto;
    }

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

    .cta p{
        font-size: 18px ;
        color: #fff;
        padding: 0 0;
        position: relative;
        top: -10px;
        /* padding: 10px 30px; */
        width: auto;
        /* width: 400px; */
        position: relative;
        /* left: 100px; */
        right: 0;

        left: 0;
        /* background-color: #fff; */
        /* width: 550px; */
        height: auto;
        line-height: 2rem;
        text-align: center;
        font-weight: lighter;
    }

    .arrow{
        display: none;
        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%;
    }



/*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;         
    min-width: auto;
    font-size: 16px;
    line-height: 2rem;
    text-align: center;
    color: #fff;
    font-weight: lighter;
} */
.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; */
}


}
