* {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

/* Header Styles */
.home_header {
    height: 130px;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header_top {
    height: 50px;
    width: 100%;
    border-bottom: 1px solid #ddd;
    display: flex;
    gap: 150px;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

#header_text {
    display: flex;
    align-items: center;
}

#header_text ul {
    display: flex;
    gap: 30px;
}

#header_text ul li, 
#header_text ul li a {
    list-style: none;
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 14px;
}

#header_text ul li a:hover {
    color: #1f5a99;
    transition: color 0.3s ease;
}

#header_links {
    display: flex;
    align-items: center;
}

#header_links ul {
    display: flex;
    gap: 30px;
}

#header_links ul li, 
#header_links ul li a {
    list-style: none;
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 15px;
}

#header_links ul li a:hover {
    color: #1f5a99;
    transition: color 0.3s ease;
}

.header_down {
    height: 80px;
    width: 100%;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

#header_logo img {
    height: 80px;
}

#school_name h1 {
    text-transform: uppercase;
    font-size: 30px;
    font-weight: bolder;
    color: #333333;
}

/* Top Menu Styles */
.top_menu {
    height: 80px;
    width: 100%;
    background: #1f5a99;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-menu {
    display: flex;
    gap: 20px;
}

.main-menu li {
    list-style: none;
}

.top_menu ul.main-menu > li > a {
    line-height: 80px;
    padding: 0 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: normal;
    position: relative;
    display: block;
}

.top_menu ul.main-menu > li > a:after {
    content: '';
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    transform: scaleX(0);
    transition: transform 0.2s;
}

.top_menu ul.main-menu > li:hover > a:after,
.top_menu ul.main-menu > li.active > a:after {
    transform: scaleX(1);
}

/* Hamburger Icon */
.menu-nav-icon,
.menu-nav-closer {
    display: none;
    font-size: 22px;
    line-height: 80px;
    cursor: pointer;
    color: #ffffff;
    padding: 0 15px;
}

/* Dropdown Menu Styling */
.main-menu li.drop-down {
    position: relative;
}

.main-menu li.drop-down > ul.drop-down-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    min-width: 180px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    background: #1f5a99;
    z-index: 10;
}

.main-menu li.drop-down:hover > ul.drop-down-menu {
    display: block;
    animation: full-opacity-anim 0.2s forwards;
}

.main-menu li.drop-down > ul.drop-down-menu li {
    display: block;
    border-top: 1px solid #04337d;
    transition: all 0.2s;
}

.main-menu li.drop-down > ul.drop-down-menu li > a {
    display: block;
    padding: 17px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: normal;
}

.main-menu li.drop-down > ul.drop-down-menu li:hover,
.main-menu li.drop-down > ul.drop-down-menu li.active {
    background: #04337d;
}

.main-menu li.drop-down > ul.drop-down-menu li:hover > a,
.main-menu li.drop-down > ul.drop-down-menu li.active > a {
    color: #ffffff;
    transform: translateX(4px);
}

.main-menu li i {
    margin-left: 5px;
    font-size: 0.85em;
}

/* Animation for Dropdown */
@keyframes full-opacity-anim {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll Behavior */
.hide-header .home_header {
    transform: translateY(-130px);
    transition: transform 0.3s ease;
}

.fixed-top-menu .top_menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fixed-top-menu .content {
    padding-top: 80px; /* Match top_menu height */
}

/* Background Rotation */
.bg_rotate_main {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 600px;
    background-attachment: fixed;
    transition: opacity 1s ease-in-out;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

#bg_rotate_main1 {
    background-image: url("../../images/bg1.jpg");
}

#bg_rotate_main2 {
    background-image: url("../../images/bg2.jpg");
}

#bg_rotate_main3 {
    background-image: url("../../images/bg3.jpg");
}

.mybg_visible {
    opacity: 1 !important;
}

.page-header {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.content {
    width: 100%;
    min-height: 100vh; /* Ensure content is at least full viewport height */
}

/* Get Started Button */
#get-started {
    border: 2px solid #ffffff;
    padding: 0 10px;
    border-radius: 5px;
    background: #04337d;
}
#get-started a{
    color: #fff;
    font-weight: bold;
    font-size: 16px;
}
.contenthover {
    visibility: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-nav-icon {
        display: inline-block;
    }

    .menu-nav-closer {
        display: none;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #1f5a99;
        padding: 20px 0;
    }

    .main-menu.active {
        display: flex;
    }

    .top_menu.active .menu-nav-icon {
        display: none;
    }

    .top_menu.active .menu-nav-closer {
        display: inline-block;
    }

    .main-menu li {
        width: 100%;
        text-align: left;
    }

    .main-menu li a {
        padding: 15px 20px;
    }

    .main-menu li.drop-down > ul.drop-down-menu {
        position: static;
        box-shadow: none;
        background: #04337d;
        display: none;
    }

    .main-menu li.drop-down.active > ul.drop-down-menu {
        display: block;
    }

    .header_top {
        gap: 20px;
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    #header_text,
    #header_links {
        width: 100%;
        justify-content: center;
    }
}

.welcome-address{
    height: 650px;
    width: 100%;
    background: #F7F7F7;
}
.welcome-address h1{
    color: #333333;
    font-size: 40px;
    font-weight: bolder;
    text-align: center;
    padding-top: 20px;
}
.note-vission{
    height: 550px;
    width: 90%;
    display: flex;
    gap: 20px;
    margin: auto;
}
.welcome-note{
    height: 550px;
    width: 65%;
    display: flex;
    gap: 20px;
    flex-direction: column;
}
#administrator-note{
    height: 50%;
    width: 100%;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex;
}
#admin-photo{
    width: 45%;
    height: 100%;
}
#admin-photo img{
    width: 100%;
    height: 100%;
    border: 2px solid #999;
    border-radius: 10px;
}
#admin-text{
    width: 55%;
    height: 100%;
    padding: 20px;
}
#admin-text h4{
    color: #333333;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #999;
}
#admin-text p{
    color: #333333;
    font-size: 16px;
    text-align: justify; 
    margin-top: 15px;
    margin-bottom: 15px;  
}
#admin-text h6{
    color: #333333;
    font-size: 20px;
}
#principal-note{
    height: 50%;
    width: 100%;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex;
}
#principal-photo{
    width: 45%;
    height: 100%;
}
#principal-photo img{
    width: 100%;
    height: 100%;
    border: 2px solid #999;
    border-radius: 10px;
}
#principal-text{
    width: 55%;
    height: 100%;
    padding: 20px;
}
#principal-text h4{
    color: #333333;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #999;
}
#principal-text p{
    color: #333333;
    font-size: 16px;
    text-align: justify; 
    margin-top: 15px;
    margin-bottom: 15px;  
}
#principal-text h6{
    color: #333333;
    font-size: 20px;
}
.mission-vission{
    height: 550px;
    width: 35%;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}
#our-mission{
    height: 50%;
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid #999;
}
#our-mission h4{
    color: #333333;
    font-size: 30px;
    font-weight: bold;
    text-align: left;
}
#our-mission p{
    color: #333333;
    font-size: 18px;
    text-align: justify; 
    margin-top: 15px;
    margin-bottom: 15px;  
}
#our-vision{
    height: 50%;
    width: 100%;
    padding: 20px;
}
#our-vision h4{
    color: #333333;
    font-size: 30px;
    font-weight: bold;
    text-align: left;
}
#our-vision p{
    color: #333333;
    font-size: 18px;
    text-align: justify; 
    margin-top: 15px;
    margin-bottom: 15px;  
}






/* --Footer Starts here --*/

footer{
    height: 400px;
    width: 100%;
    background: #1f5a99;
}
.footer-top{
    height: auto;
    width: 100%;
    display: flex;
    gap: 20px;
    align-items: center;
    align-content: center;
    justify-content: center;

}
#footer-contact{
    height: 270px;
    width: 30%;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 20px 50px;
    border-right: 1px solid #333333;
}
#footer-contact h5{
    color: #ddd;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}
#footer-contact ul li,
#footer-contact ul li a{
    list-style: none;
    margin-bottom: 20px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}
#footer-social-media{
    margin-top: 50px;
}
#footer-social-media ul{
    display: flex;
    gap: 40px;
}
#footer-social-media ul li{
    height: 40px;
    width: 60px;
    border: 1px solid #fff;
    padding: 5px;
    border-radius: 50%;
}
#footer-social-media ul li:hover{
    background: #04337d;
    transition: transform 0.3s ease;
}
#footer-quick-links1{
    height: 270px;
    width: 16%;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 20px 50px;
    border-right: 1px solid #333333;
}
#footer-quick-links1 h5{
    color: #ddd;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-left: -20px;
    margin-right: -20px;
}
#footer-quick-links1 ul li,
#footer-quick-links1 ul li a{
    list-style: none;
    margin-bottom: 20px;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}
#footer-quick-links1 ul li a:hover{
    color: #b4b3b3;
    transition: transform 0.3s ease;
}
#footer-quick-links2{
    height: 270px;
    width: 16%;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 20px 50px;
    border-right: 1px solid #333333;
}
#footer-quick-links2 h5{
    color: #ddd;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    display: none;
}
#footer-quick-links2 ul li,
#footer-quick-links2 ul li a{
    list-style: none;
    margin-bottom: 20px;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
}
#footer-quick-links2 ul li a:hover{
    color: #b4b3b3;
    transition: transform 0.3s ease;
}
#footer-newsletter{
    height: 240px;
    width: 25%;
    background: #fff;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#footer-newsletter h4{
    color: #1f5a99;
    font-size: 20px;
    font-weight: bolder;
    text-align: center;
    margin-bottom: 10px;
}
#footer-newsletter p{
    color:#999;
    font-size: 18px;
    text-align: center;
    margin-bottom: 5px;
}
#footer-newsletter form{
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
}
#footer-newsletter input{
    width: 85%;
    padding: 10px;
    border: 1px solid #999;
    border-radius: 5px;
}
#footer-newsletter button{
    width: 85%;
    padding: 10px 20px;
    border: 1px solid #999;
    border-radius: 5px;
    margin-top: 10px;
    background: #04337d;
    color: #fff;
}
#footer-newsletter button:hover{
    background: #fff;
    color: #04337d;
    transition: transform 0.3s ease;
    
}
.footer-down{
    height: 50px;
    width: 100%;
    margin: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 20px;
    color: #ddd;
}
.footer-down a{
    color: #ddd;
    text-decoration: none;
}
.footer-down a:hover{
    color: #fff;
}
.footer-down p{
    color: #fff;
    font-weight: bold;
}