*{
    margin: 0;
    padding: 0;   
}


/*---------- navbar ---------*/
.header{
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,6,30,0.7)
    ,rgba(4,6,30,0.7)),url(Image/Picture2.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img{/*logo*/
    width: 200px;
    margin: 5px 30px;
}

.nav-link{
    flex: 1;
    text-align: right;
}

/*------- headertxt --------*/

.headertxt{
    width: 100%;
    position: absolute;
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.headertxt h2{
    width: 65%;
    margin: auto;
    font-size: 60px;
    color: orangered;
    text-align: center;
    padding-bottom: 10px;
}

.headertxt h1{
    width: 70%;
    color: orangered;
    margin: auto;
    font-size: 120px;
}

.headertxt p{
    font-size: 25px;
    color: white;
    width: 70%;
    margin: auto;
    margin-bottom: 2%;
}

@media(max-width: 700px) {
    .header{
        height: 100vh;
        width: 100%;
    }

    .headertxt h1{
        font-size: 30px;
    }

    .headertxt h2{
    width: 65%;
    margin: auto;
    font-size: 30px;
    color: orangered;
    text-align: center;
    padding-bottom: 10px;
    }

    .headertxt p{
        font-size: 15px;
        text-align: center;
    }

    .nav-link ul li{
        display: block;
    }

    .nav-link{
        position: absolute;
        background: orangered;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa-solid{
        display: block;
        color: white;
        margin: 10px;
        font-size: 20px;
        cursor: pointer;
    }
    
    .nav-link ul{
        padding: 10px;
    }

}


    /* Styles for the welcome message overlay */
    #welcomeOverlay {
        position: fixed; /* Fixes the message to the viewport */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8); /* Dark overlay background */
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        z-index: 1000; /* Ensures it's on top of other content */
        opacity: 1;
        transition: opacity 0.5s ease;
    }

    /* Styles for the container within the overlay */
    .welcome-container {
        text-align: center;
        padding: 30px;
        background-color: #011122; /* Primary brand color */
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        max-width: 500px;
    }

    .welcome-container h1 {
        margin-top: 0;
        font-size: 40px;
    }

    .welcome-container p {
        font-size: 1.2em;
        margin-bottom: 20px;
        color: #ff3a09;
    }

    .welcome-container button {
        background-color: #ffffff; /* Call to action color */
        color: #011122;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1em;
        transition: background-color 0.3s ease;
    }

    .welcome-container button:hover {
        background-color: #ff3a09;
    }

    @media(max-width: 700px) {
    .welcome-container h1 {
        margin-top: 0;
        font-size: 30px;
    }
}


/*--------- post-space ----------*/
.post-space{
    width: 100%;
    height: 70px;
    background-color: #011122;
    display: flex;
    justify-content: center;
}

.post{
    width: 80%;
    margin: auto;
    text-align: center;
}

.post p{
    font-size: 20px;
    color: #ff3a09;
    padding-top: 1%;
}

.post a{
    text-decoration: none;
    color: #ffffff;
}

.post a:hover{
    color: #ff3a09;
    transition: 0.2s;
}
@media(max-width: 700px) {
    .post p{
        padding-top: 5%;
    }
}



/*------ Welcome Section -------*/
.welcome-section{
    width: 80%;
    margin: auto;
    margin-bottom: 3%;
    margin-top: 5%;
}

.thegoal{
    text-align: justify;
    width: 80%;
    margin: auto;
    margin-bottom: 5px;
}

.thegoal h1{
    width: 80%;
    font-size: 50px;
    color: rgb(7, 7, 26);
}

.thegoal p{
    font-size: 20px;
}

.thegoal a{
    text-decoration: none;
    border-radius: 10px;
}

.thegoal blockquote{
    font-size: 20px;
}

@media(max-width: 700px) {
    .thegoal{
        text-align: justify;
        width: 90%;
        margin: auto;
    }    

    .thegoal h1{
        font-size: 30px;
    }
    
    .thegoal p{
        font-size: 15px;
        padding: 0;
    }

    .thegoal blockquote{
    font-size: 15px;
    }
    
}



/*------------ vision and mission ------------*/

.VMVdos{
    width: 70%;
    margin: auto;
    margin-bottom: 4%;
    display: flex;
}

.VMVdos video{
    width: 100%;
}

.rw1{
    width: 50%;
    margin: auto;
    justify-content: space-around;
}

.about{
    text-align: center;
    padding: 10px 30px;
    border-radius: 10px;
    margin-top: 1%;
    box-sizing: border-box;
}

.about p{
    font-size: 20px;
}

.about h1{
    color: rgb(7, 7, 26);
}


@media(max-width: 700px) {

.VMVdos{
    flex-direction: column;
}

.rw1{
    flex-direction: column;
    gap: 20px;
}

.about p{
    font-size: 15px;
}

.about h1{
    font-size: 25px;
    margin-top: 4%;
    color: rgb(7, 7, 26);
}

}

@media(max-width: 700px) {
    .rw2{
        flex-direction: column;
        gap: 10px;
    }    
}




/*---------- What we offer ----------*/
        .wwo2{
            width: 100%;
            margin: auto;
            background-color: gray;
        }

        .wwo3{
            width: 80%;
            margin: auto;
            display: flex;
            gap: 50px;
        }

        .wwo4{
            border: 5px solid rgb(7, 7, 26);
            flex-basis: 50%;
            padding: 20px 20px;
            box-sizing: border-box;
            justify-content: space-around;
            text-align: center;
            background-color: white;
            border-radius: 20px;
        }

         .wwo4:hover{
            color: gray;
            transition: 0.2s;
        }

        .wwo2 h1{
            width: 80%;
            margin: auto;
            font-size: 40px;
            padding-top: 2%;
            margin-bottom: 2%;
            color: rgb(7, 7, 26);
        }

        .wwo3 p{
            font-size: 20px;
        }

       @media (max-width: 700px) {
            .wwo3{
                flex-direction: column;
                gap: 20px;
            }

            .wwo2 h1{
                font-size: 28px;
            }

            .dsps2{
                border: 5px solid rgb(7, 7, 26);
                flex-basis: 30%;
                padding: 20px 20px;
                box-sizing: border-box;
                justify-content: space-around;
                text-align: center;
                background-color: white;
                border-radius: 20px;
            }

            .dsps h1{
                font-size: 30px;
                margin-top: 30px;
                text-align: center;
                color: rgb(7, 7, 26);
            }

            .dsps2 p{
                font-size: 20px;
            }            
        }




/*---------quote-----------*/
.quote{
    width: 100%;
    height: 170px;
    background-color: grey;
    text-align: center;
    font-size: 40px;
    color: rgb(7, 7, 26);
}

.quote p{
    width: 70%;
    margin: auto;
    padding-top: 3%;
}

@media (max-width: 700px) {
    .quote{
        width: 100%;
        height: 170px;
        background-color: grey;
        text-align: center;
        font-size: 23px;
        color: rgb(7, 7, 26);
    }

    .quote p{
        width: 70%;
        margin: auto;
        padding-top: 2%;
    }

}






/*-----------slider for books--------------*/

.slideshow-containe {
  width: 100%; /* or a specific pixel value */
  height: 700px; /* adjust as needed */
  overflow: hidden;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images cover the area without stretching */
  position: absolute; /* Positions images on top of each other */
  opacity: 0; /* Initially hide all images */
  animation: fadeEffect 15s infinite; /* 3 images * 5 seconds each = 15s duration */
}


/* Apply different animation delays so images fade in sequence */
.slide:nth-child(1) img {
  animation-delay: 0s;
}
.slide:nth-child(2) img {
  animation-delay: 5s;
}
.slide:nth-child(3) img {
  animation-delay: 10s;
}

@keyframes fadeEffect {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1; /* Image visible */
  }
  33% {
    opacity: 1; /* Image stays visible for a period */
  }
  43% {
    opacity: 0; /* Image starts fading out */
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 700px) {
    .slideshow-containe {
    width: 100%; /* or a specific pixel value */
    height: 350px; /* adjust as needed */
    }

}





/*-----------slider for posts--------------*/
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


/* Caption text */
.text a{
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}





/*---------------dropdown------------------*/
.dropdown {
  position: relative; /* Needed to position the dropdown content correctly */
  display: inline-block;
}

.dropbtn {
  background-color: orangered;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.dropdown-content {
  display: none; /* Hide the dropdown content by default */
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1; /* Ensure the dropdown appears above other elements */
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block; /* Make links take the full width */
}

.dropdown-content a:hover {
  background-color: #ddd; /* Add hover effect to links */
}

.show {
  display: block; /* Class to show the dropdown when toggled by JS */
}










/*--------------- buttons --------------*/
.rw2{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-around;
}

.hero-btn2{
    display: inline-block;
    text-decoration: none;
    color: black;
    border: 2px solid orangered;
    padding: 12px 34px;
    background: orangered;
    cursor: pointer;
    margin-top: 5px;
    border-radius: 5px;
}

.hero-btn2:hover{
    border: 2px solid orangered;
    background: transparent;
    transition: 1s;
}


@media(max-width: 700px) {
    .rw1{
        width: 100%;
        margin: auto;
        flex-direction: column;
        margin-bottom: 40px;
    }
    
    .about-us{
        width: 100%;
        text-align: center;
        margin-top: 0;
    }
    
    .about-us p{
        font-size: 20px;
        color: rgb(2, 2, 53);
        margin: 0;
        padding: 10px;
    }

    .hero-btn2{
    display: inline-block;
    text-decoration: none;
    color: black;
    border: 2px solid orangered;
    padding: 10px 24px;
    background: orangered;
    cursor: pointer;
    margin-top: 5px;
    border-radius: 5px;
    }
    
}





/* --------- footer -----------*/

.footer{
    width: 100%;
    margin: auto;
    background-color: rgb(7, 7, 26);
    height: 150px;
}

.footer h1{
    font-size: 25px;
    color: orangered;
}

.footer p{
    font-size: 20px;
    color: white;
    padding-left: 5px;
}

.row9{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-around;
    color: white;
}

.footer-col{
    flex-basis: 40%;
    text-align: center;
    border: none;
    text-decoration: none;
}

.footer-col h2{
    font-size: 25px;
    color: orangered;
    margin-bottom: 2%;
    margin-top: 4%;
}

.footer-col a{
    margin: 10px;
    color: white;
    text-decoration: none;
    list-style: none;
}

hr{
    color: white;
}

.footlt{
    text-align: center;
    padding: 0px;
}

@media (max-width: 700px) { 
    .footer h1{
        font-size: 15px;
        padding-top: 10px;
        padding-left: 5px;
    }
    
    .footer p{
        font-size: 10px;
        padding-left: 5px;
    }
    
    .footer-col{
        flex-basis: 20%;
        padding: 5px;
    }
    
    .footer-col h2{
        font-size: 15px;
        padding-top: 5px;
    } 
    
    .footer-col p a{
        font-size: 10px;
        padding: 5px;
        list-style: none;
    }

    .footlt{
        text-align: center;
        padding: 0px;
    }
        
}

.social-icon a{
    margin: 5px 10px;
    text-decoration: none;
}