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



/*----------------------------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: black;
    /* font-weight: light; */
    font-weight: light;
    font-family: 'Courier New', Courier, monospace
    
} 

/* 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;
    font-weight: lighter;
    font-family: 'Courier New', Courier, monospace

}

.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: bold;
    text-align: center;
    padding: 5px 10px;
    border: none;
}
#start-btn:hover{
    background-color: red;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    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: bold;
    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: 16px;
    font-weight: bolder;
    margin-left: 15px;
    border: none;
    font-weight: lighter;
    font-family: 'Courier New', Courier, monospace
}

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

.quiz-question {
    text-align: left;
    margin-top: 25px;
    font-size: 18px;
    font-weight: 900;
    color:green;
    font-family: 'Courier New', Courier, monospace
}


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


/*Next and previous button codes*/
.prev-btn {
    background-color: blue;
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    margin-right: 580px; /* space between buttons */
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;
}.next-btn {
    background-color: blue;
    color: white;
    padding: 5px 20px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    margin-top: 20px;

}

/* Optional hover effect */
.prev-btn:hover, .next-btn:hover {
    background-color: darkred;
}



/* ------------------------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{
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
    .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;
    }



/* Quiz Part Codes */
.quiz h2{
    font-size: 22px;
    line-height: 1.4rem;
    padding: 0 15px;
    text-align: center;
    font-weight: bold;
    position: relative;
    top: -15px;
}

.quiz h3{
    font-size: 18px;
    line-height: 1.4rem;
    padding: 1px 0;
    text-align: center;
    font-weight: bold;
    position: relative;
    top: -15px;
    align-items: center;
    justify-content: center;
}


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


/*---------------------------TEST---------------------------*/
/* .option-label {
    display: flex; 
    flex-wrap: wrap; 
    margin: 0 20px;
    border: none;
    font-size: 4px;
    position: row;
} */
    .option-label{
        font-size: 50px;
        color: blue;
    }
    /* .test input,
    .test button {
    flex: 1 1 100%; 
    display: inline-block;
  } */
#questions-container{
    /* background-color: red; */
    /* padding: 10px 10px; */
    width: 100%;
    max-width: 600px;
    justify-content: left;
    align-items: left;
    padding: 0 15px;
    text-align: left;
    margin: 0 auto;

    line-height: 1.4rem;
    /* text-shadow: 30px 0px 50px black; */
    word-spacing: 0.1rem;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    /* flex-direction: column; */
    
} 

/* 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: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
    left: 0; 
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 5px 10px 10px 5px black;
    /* Try to fix the overflow issue */
    overflow-x: hidden;

}

/* .test{

    position: relative;
    padding: 15px 2px;
    align-items: left;
    border: none;
 
}
 */

.test {

    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Space between fields */
    width: 100%;
    /* max-width: auto; */
    align-items: left;
    position: relative;
    padding: 15px 2px;
    align-items: left;
    border: none;
    
}

.test label {
  flex: 1 1 100%; /* Labels always full width */
}

.test input,
.test button {

    flex: 1 1 calc(50% - 10px); /* Two items per row by default */
    padding: 8px;
}




/*Start button codes*/
#start-btn{
    background-color: blue;
    color: #fff;
    font-size: 18px;
    font-weight: bolder;
    text-align: center;
    padding: 5px 0;
    border: none;
    /* display: inline-block; */
    margin-bottom: 0;
    top: 20px;
}
/* #start-btn:hover{
    background-color: blue;
    color: #fff;
    font-size: 18px;
    font-weight: bolder;
    text-align: center;
    padding: 5px 0;
    border: none;
    margin-top: 20px;
} */
/* #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;
    top: 15px;
    left: 130px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px 10px;
    border: none;
}
#submit:hover{
    background-color: blue;
    position: relative;
    top: 15px;
    left: 130px;
    color: #fff;
    font-size: 16px;
    font-weight: lighter;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px 10px;
    border: none;
}

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



label{
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 600px;
    /* margin-left: 10px; */
    border: none;
    padding: 5px;
    /* flex-direction: column; */
    /* display: flex;
    flex-direction:column-reverse; */
    display: block;
    /* gap: 10px; */
    text-align: left;
    margin-bottom: 0;
    font-weight: lighter;
    font-family: 'Courier New', Courier, monospace
}




#username, #whatsapp, #email{
    /* display: inline-block; */
    width: 100%;
    margin: 5px 0;
    align-items: left;
    position: relative;
    padding: 5px 10px;
    /* padding: 5px 10px; */
    border: none;
    outline: none;
    resize: none;
    font-size: 16px;
    background-color: silver;
} 


/* #email{
    margin: 3px;
    align-items: left;
    padding: 3px 5px;
    border-color: gray;
    outline: none;
    padding: 0 15px;

} */

.quiz-question {
    justify-content: center;
    align-items: center;
    text-align: left;
    margin-top: 5px;
    padding: 0 10px;
    font-size: 18px;
    font-weight: bolder;
    color: black;
    flex-direction: column;
    gap: 10px;
    color: green;
    font-family: 'Courier New', Courier, monospace
}

/* .quiz-options{
    flex-direction: column;
    gap: 10px;
} */

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

/*Next and previous button codes*/
.prev-btn {
    background-color: blue;
    color: white;
    padding: 0 20px;
    border: none;
    cursor: pointer;
    margin-right: 180px; 
    margin-left: 10px;
    font-size: 15px;
    font-weight: bold;
    }
.next-btn {
    background-color: blue;
    color: white;
    padding: 0 20px;
    width: auto;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
} 



/* Optional hover effect */
/* .prev-btn:hover, .next-btn:hover {
  background-color: darkblue;
} */







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


}
/* Mobile-friendly */
/* @media (max-width: 480px) {
.nav-buttons {
    padding: 0 10px;
}
.prev-btn, .next-btn {
    font-size: 14px;
    padding: 8px 15px;
}
} */