*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* default font, and others color */

.top_section{
    background-image: url(../img/School.jpeg);
    height: 100vh;
    width: 100%;
    background-size: cover;
    position: relative;
    z-index: 0;
}
/* Header Section */

header{
    padding: 0% 10%;
    align-items: center;
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.382);
    backdrop-filter: blur(5px);
}


header .logo_section img{
    height: 50px;

}
ul{
    display: flex;
    justify-content: space-around;
    gap: 20px;
    
}
nav ul li{
    list-style: none;
}
ul li a{
    text-decoration: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    transition: 0.8s;
}
ul li a:hover{
    color: rgb(255, 255, 255);
    background-color: rgb(2, 156, 33);
}
ul li a:active{
    transition: 0.1s;
    color: rgb(251, 63, 69);
    
}

/* Mobile Navigation */
.nave_display{
    display: none;
}
.nav_icon{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nav_icon .nave_line_section{
    border-radius: 10px;
    width: 40px;
    height: 3px;
    background-color: rgb(255, 255, 255);
}

.nave_bar_content {
    display: none;
    position: fixed;
    top: 60px; /* Adjust based on your header height */
    background-color: rgba(0, 0, 0, 0.382);
    width: 100%;
    text-align: center;
    z-index: 1;
    gap: 20px;
}


.mobile_nave ul{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 20px;
    
}

.mobile_nave{
    padding: 20px 0px;
}
ul li{
    list-style: none;
}
ul li a{
    text-decoration: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    transition: 0.8s;
}
ul li a:hover{
    color: rgb(255, 255, 255);
    background-color: rgb(2, 156, 33);
}
ul li a:active{
    transition: 0.1s;
    color: rgb(251, 63, 69);
    
}




/* Navebar Active */
.nave_bar_content.active {
    display: block;
}

.nav_icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.nav_icon .nave_line_section {
    width: 30px;
    height: 3px;
    background-color: white;
}
.mobile_nave ui{
    display: flex;
    
}


/* Top Hero Section */

.cart_hero{
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}
.top_hero_section{
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(35deg,rgba(254, 255, 255, 0.365),rgba(71, 71, 71, 0.178));
    backdrop-filter: blur(5px);
    padding: 5%;
    border-radius: 10px;
}
.top_hero_section img{
    margin: 20px 0;
    height: 200px;
}

/* About Section */

.about_section{
    margin-top: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10% 10%;
    gap: 40px;
    text-align: justify;
    background-color: rgba(250, 235, 215, 0.299);
}

.about_section h1{
    border-bottom: 5px solid rgb(80, 80, 80);
}


.about_photo img{
    border-radius: 10px;
    height: 400px;
}


/* Bani Section */
.head_teacher_bani{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10% 10%;
    gap: 40px;
    text-align: justify;
    background-color: rgba(250, 235, 215, 0.299);
    height: 100%;
}
.head_teacher_bani h1{
    border-bottom: 5px solid rgb(80, 80, 80);
}

/* Teachers Section */
.teachers_section{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10% 10%;
    gap: 40px;
    text-align: justify;
    background-color: rgba(250, 235, 215, 0.299);
    height: 100%;
    text-align: center;
}

.teachers_section img{
    height: 300px;
}

.assistant_teacher{
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}


.all_teachers_sechers{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}






/* End Teachers Section */

/* Notice Section */
.notice_section{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10% 10%;
    gap: 40px;
    text-align: justify;
    background-color: rgba(250, 235, 215, 0.299);
    height: 100%;
}
.notice_section img{
    border-radius: 10px;
    height: 400px;
    
}

.notice_section .notice_post{
    display: flex;
    gap: 40px;
    /* align-items: center; */

}

.notice_text_section{
    text-align: center;
}
.notice_text_section p{
    color: rgb(247, 50, 28);
    font-size: 20px;
}

.notice_post_buttom img{
    height: 800px;
}

/* Routine Section */

.routine_section{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 10% 10%;
    background-color: rgba(250, 235, 215, 0.299);
    height: 100%;
}
.class_section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.class_section a{
    border-radius: 10px;
    width: 100%;
    margin: 10px;
    padding: 20px;
    background-color: rgb(131, 227, 139);
    text-decoration: none;
    font-size: 20px;
    transition: 0.5s;
}

.class_section a:hover{
    background-color: rgb(86, 203, 43);   
    transform: scale(1.04);
}








/* CSS Responsive */





@media only screen and (max-width: 768px) {
    nav {
        display: none;
    }

    .nave_bar_content {
        display: none;
    } 

    .nave_display{
        display: block;
    }
    .about_section{
        text-align: center;
        flex-direction: column;
        padding: 5%;
    }
    
    .about_photo img{
        height: 450px;
    }

    .notice_section .notice_post{
        align-items: center;
    
    }

    .notice_section img{
        height: 300px;
        
    }


    .enent_Section .event img{
        height: 200px;
    }




  }


@media only screen and (max-width: 600px) {
    .top_hero_section{
        text-align: center;
    }
    body {
      background-color: lightblue;
    }

/* About Section */
    .about_section{
        /* flex-direction: column; */
        padding: 5%;
    }
    
    .about_photo img{
        height: 250px;
    }
/* Notice Section */
    .notice_section .notice_post{
        flex-direction: column;
    
    }
    /* Event Section */
    .event_content_setion{
        flex-direction: column;
        
    }
    .event{
        width: 300px;
    }
    .event img{
        height: 200px;
    }

    .class_section a{
        text-align: center;
    }
    .notice_section img{
        height: 250px;
        
    }
    .enent_Section .event img{
        height: 200px;
    }
  }



