*{
    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: 50px;
    margin: 4px 4px;
}

.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 ----------*/
.announcement{
    width: 100%;
    background-color: #011122;
    display: flex;
    justify-content: center;
    height: 80px;
}

.announcement p{
    font-size: 40px;
    color: #ff3a09;
    margin: 3% 0 2% 0;
}

@media(max-width: 700px) {
    .announcement-space p{
        font-size: 20px;
        color: #ff3a09;
        margin: 3% 0 1% 0;
    }
}







/*------ Welcome Section -------*/
.welcome-section{
    width: 80%;
    margin: auto;
    margin-top: 5%;
    display: flex;
}

.thegoal{
    width: 50%;
    margin: auto;
    justify-content: space-around;
}

.thegoal img{
    width: 90%;
    margin: auto;
}

.thegoal h1{
    margin-left: 12%;
    font-size: 50px;
    color: rgb(7, 7, 26);
}

.thegoal p{
    width: 80%;
    margin: auto;
    font-size: 20px;
    text-align: justify;
}

.thegoal a{
    text-decoration: none;
    border-radius: 10px;
}

@media(max-width: 700px) {
    .welcome-section{
        width: 100%;
        flex-direction: column;
        margin-bottom: 2%;
    }

    .thegoal{
        width: 95%;
        flex-direction: column;
        gap: 20px;
    }

    .thegoal img{
        width: 100%;
        margin: auto;
    }

    .thegoal h1{
        font-size: 30px;
    }
    
    .thegoal p{
        font-size: 15px;
        padding: 0;
    }

}



/*------------ vision and mission ------------*/
        .VMVdos{
            width: 80%;
            margin: auto;
            margin-bottom: 4%;
            display: flex;
        }

        .rw1{
            width: 50%;
            margin: auto;
            justify-content: space-around;
        }

        .VMVdos img{
            width: 90%;
            margin: auto;
        }

        .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{
                width: 95%;
                flex-direction: column-reverse;
                margin-bottom: 2%;
            }

            .rw1{
                flex-direction: column;
            }

            .VMVdos img{
                width: 100%;
                margin: auto;
            }

            .about p{
                font-size: 15px;
            }

            .about h1{
                font-size: 25px;
                margin-top: 3%;
                color: rgb(7, 7, 26);
            }
        }




/*-----------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 */
            }

        }







/*---------------dropdown------------------*/
        .dropdown {
        position: relative; /* Needed to position the dropdown content correctly */
        display: inline-block;
        }

        .dropbtn {
        background-color: orangered;
        color: rgb(15, 2, 46);
        padding: 16px;
        font-size: 16px;
        border: 2px solid orangered;
        cursor: pointer;
        border-radius: 5px;
        }

        .dropbtn:hover {
        background-color: transparent;
        color: white;
        transition: 0.2s;
        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 */
        }









/*---------- What we offer ----------*/
        .wwo2{
            width: 100%;
            margin: auto;
            margin-bottom: 4%;
            background-color: #ffffff;
        }

        .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: #ffffff;
            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) {
            .wwo2{
                margin-top: 5%;
                margin-bottom: 7%;
            }

            .wwo3{
                flex-direction: column;
                gap: 20px;
            }

            .wwo2 h1{
                font-size: 28px;
            }

        }






/*-----------slider for posts--------------*/
        .post-slides{
            width: 100%;
            margin: auto;
            color: rgb(7, 7, 26);
        }

        .post-slides h1{
            width: 70%;
            margin: auto;
            font-size: 40px;
            text-align: center;
            margin-bottom: 3%;
        }

        * {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: hsl(0, 100%, 99%);
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
        }

        .active, .dot:hover {
        background-color: hsl(0, 0%, 100%);
        }

        /* Fading animation */
        .fade {
        animation-name: fade;
        animation-duration: 1.5s;
        }

        @keyframes fade {
        from {opacity: .4}
        to {opacity: 1}
        }
        @media (max-width: 700px) {
            .post-slides h1{
                width: 85%;
                font-size: 25px;
            }

        }







/*----------video------------*/
    .video-home{
        width: 80%;
        margin: auto;
        text-align: center;
        color: rgb(7, 7, 26);
        margin-top: 3%;
    }

    .video-home h1{
        font-size: 40px;
        margin-bottom: 2%;
    }

    .video-home video{
        width: 93%;
    }
    @media (max-width: 700px) {
        .video-home video{
            min-width: 100%;
        }

        .video-home{
            width: 95%;
        }

        .video-home h1{
            font-size: 25px;
            margin-bottom: 2%;
        }

    }






/*--------------- 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: #008080;
    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;
    }

    .rw2{
    display: flex;
    justify-content: center;
    align-items: center;
    }
    
    .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;
    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;
}