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



/*----------------------------Book Section Codes-------------------------*/

.book{
    /* 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;

}

.book h2{
    font-size: 35px;
    color: red;
    margin-bottom: 20px;
    font-weight: bolder;
    /* text-shadow: 1px 10px 50px  black;  */
    text-align: center;
    position: relative;
    top: 20px;
}

.book p{
    font-size: 20px;
    color: black;
    margin-bottom: 5px;
    column-count: 2;
    text-align: left;
    line-height: 2.4rem;
    word-spacing: 0.2rem;
    position: relative;
    bottom: 5px;
}
/* Images.....*/
/* .book img{
    position: relative;
    padding: 15px 100px;
    width: 80%;
    height: auto;
    justify-content: center;
    align-items: center;
    text-align: center;

} */

.book-img {
    perspective: 1000px; /* Gives the 3D depth */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full screen height */
    /* background-color: #f0f0f0; */
    background-color: #f0f0f0;
}

.book-img img {
    width: 450px;
    height: auto;
    transform: rotateY(20deg) rotateX(10deg); /* Tilt in 3D */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); /* Shadow for depth */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.book-img img:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05); /* Straighten and zoom */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/*Quiz button codes*/ 
.buy-btn{
    display: inline-block;
    font-size: 22px;
    padding: 12px 40px;
    background-color: darkred;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    position: relative;
    bottom: 5px;
    margin-bottom: 20px 0;
    box-shadow: 10px 5px 5px black;
}

.buy-btn:hover {
    background-color: blue;
}




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


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


/*---------------------------BOOK---------------------------*/
/* Images.....*/
.book-img img{
    position: relative;
    left: 0;
    right: 0;
    padding: 15px 20px;
    width: 80%;
    height: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.book-img:hover{
    display: none;
}

.book-img img {
    width: 450px;
    height: auto;
    transform: none; /* Tilt in 3D */
    box-shadow:  none; /* Shadow for depth */
    transition: none;
}
/*Quiz button codes*/ 
.buy-btn{
    display: inline-block;
    font-size: 16px;
    padding: 12px 20px;
    background-color: darkred;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    position: relative;
    bottom: 5px;
    margin-bottom: 100px 0;
}

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


}
