/* Change background color of the navbar */
.navbar {
   /* Change to your desired color */
    transition: background-color 0.3s ease-in-out;
}

/* Change the text color for better contrast */
.navbar a {
    color:black !important;
}

/* Change background on scroll */

.swiper::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust opacity for shade effect */
    z-index: 1;
}


.slider {
    position: relative;
    width: 100%;
    height: 500px; /* Adjust height as needed */
    overflow: hidden;
}

/* Styling for Images */
.slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: slideShow 9s infinite;
}

/* Keyframes for Sliding Effect */
@keyframes slideShow {
    0% { opacity: 1; transform: translateX(0); }
    30% { opacity: 1; transform: translateX(0); }
    33.33% { opacity: 0; transform: translateX(-100%); }
    100% { opacity: 0; transform: translateX(-100%); }
}

/* Image Delay for Smooth Transition */
.slider img:nth-child(1) { animation-delay: 0s; }
.slider img:nth-child(2) { animation-delay: 3s; }
.slider img:nth-child(3) { animation-delay: 6s; }


.col-md-4.col-sm-6 {
    text-align: center;
}

/* Achievement Section */

.h4 {
    margin: 10px!important;
    color: #1d1e1f;
    font-size: 18px;
    font-weight: 500;
    text-transform: capitalize;
}

/* Heading Style */


/* Scrolling Achievements Container */
.achievement-container {
    height: 258px;
    overflow: hidden;
    position: relative;
}

/* Achievements List */
.achievements {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    animation: scrollAchievements 10s linear infinite;
}

/* Keyframes for Scroll Effect */
@keyframes scrollAchievements {
    0% { top: 0; }
    20% { top: -30px; }
    40% { top: -60px; }
    60% { top: -90px; }
    80% { top: -120px; }
    100% { top: 0; }
}




/* Heading Styling */



.achievements li {
    background-color: #f8f9fa; /* Light background color */
    padding: 20px 39px;
    margin: 5px 0; /* Space between items */
    border-radius: 8px; /* Rounded corners */
    font-size: 18px;
    color: #333;
    display: block; /* Ensures each item is on a new line */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Adds slight shadow */
}

/* navbar top css */
.top-bar {
    background-color: #004997; /* Change to your preferred color */
    color: white;
    padding: 5px 15px;
    display: flex;
    gap: 10px;
    justify-content: end;
    align-items: center;
    font-size: 14px;
}

/* Navbar styling */
.navbar {
    margin-bottom: 0;
   /* Darker navbar */
}



.navbar-brand span {
    color: yellow; /* Highlighted text */
}

.fa-phone:before {
    padding: 6px;
}


/* events paddding */
.works {
    padding: 70px 0 90px;
    background-color: grey;
}
.works-content {
margin-top: 0px;
}

/* event icon */
.single-how-works-icon1 img {
    width: 40px;
    margin-left: 5px;
    height: 40px;
    object-fit: contain;
}

/* main heaDER LOGO */
.main-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9eccb;;
    text-align: center;
    border-bottom: 3px solid #007bff;
}
.main-header img {
    height: 100px;
    margin-right: 50px;
}
#navbar-menu .nav li.active a {
    color: white !important;
}

.head1{
font-size: 32px;
font-weight: bolder;
font-family: math;
}
.head2 {
    font-size: 22px;
    font-weight: 600;
    color: #b32d00;
}
.head3 {
    color: #065e68;
    font-weight: bold;
}
.foot{
    margin-top: 9px;
}
/* navbar color */
.wrap-sticky nav.navbar.bootsnav {
    position: absolute;
    width: 100%;
    background-color: #628503;
    height: 50px;
    left: 0;
    top: 0;
}
.wrap-sticky nav.navbar.bootsnav.sticked {
    background-color: #628503;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}
/* color end of navbar */

/* navbar */
nav.navbar.bootsnav ul.nav > li > a {
    padding: 15px 25px;
}

.wrap-sticky nav.navbar.bootsnav.sticked ul.nav > li > a {
    padding: 17px 21px;
}
.links{
    margin-top: 30px;
}

/* navbar size and color */
nav.navbar.bootsnav .navbar-toggle {
    position: relative;
    width: 7%;
    background-color: transparent;
    border: 1px solid #ffffff;
    padding: 4px;
    top: 0;
}

nav.navbar.bootsnav .navbar-toggle i {
    color: #e7e7e7;
}
/* navbarf end */

/* media query */
@media (min-width: 768px) {
    .navbar-right {
        float: left !important;
    }
}

/* Base styles for larger screens */
.top-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #085c73;
    font-size: 14px;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.main-header img {
    max-width: 100px;
    margin-right: 15px;
}

.navbar-default .navbar-nav > li > a {
    padding: 10px 15px;
    font-size: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
    }
    
    .main-header {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar-toggle {
        float: right;
        margin-right: 15px;
    }
    
    .navbar-collapse {
        text-align: center;
    }
    
    .navbar-nav {
        float: none;
    }
    
    .navbar-nav > li {
        display: block;
    }
}

/* Base Footer Styling */
.footer-contact {
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
.footer-contact h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}
.footer-contact .links p, 
.footer-contact .links a {
    color: #686464;
    text-decoration: none;
    font-size: 14px;
}
.footer-contact .links a:hover {
    color: #f39c12;
}
.footer-social a {
    color: #626262;
    font-size: 20px;
    margin: 0 10px;
}


/* Responsive Media Queries */
@media (max-width: 992px) {
    .footer-contact .row {
        text-align: center;
    }
    .foot {
        margin-bottom: 20px;
    }
    .footer-social a {
        font-size: 18px;
        margin: 0 8px;
    }
}

@media (max-width: 768px) {
    .footer-contact .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .col-sm-3 {
        width: 100%;
    }
    .footer-logo img {
        max-width: 165px;
    }
    .head2 {
        font-size: 14px;
        font-weight: 600;
        color: #b32d00;
    }
    .head3 {
        color: #065e68;
        font-weight: bold;
        font-size: 12px;
    }
    .blog {
        padding: 100px 0 0px;
    }
}

@media (max-width: 480px) {
    .footer-contact {
        padding: 30px 10px;
    }
    .footer-contact h4 {
        font-size: 16px;
    }
    .footer-contact .links p {
        font-size: 12px;
    }
    .footer-social a {
        font-size: 16px;
    }
}
/* \end of base footer */
/* dropdown mwenu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 0px;
    list-style: none;
    min-width: 100px;
}

.dropdown-menu li {
    padding: 5px 0;
}

.dropdown-menu li a {
    text-decoration: none;
    color: rgb(247, 247, 247);
    display: block;
}

.dropdown:hover .dropdown-menu {
    display: block;
}
/* end of dropdown */
/* content box css */
.box {
    padding: 20px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    margin: 10px 0;
}

.box1 { background-color: #ff5733; } /* Red */
.box2 { background-color: #33a1ff;  } /* Blue */
.box3 { background-color: #28a745;  } /* Green */
.box4 { background-color: #f4c542;  } /* Yellow */
.box5 { background-color: #118d45;  }
.box6 { background-color: #f4c542;  }
/* end of content */


.navbar-nav li a {
    color: #ece9e9;
    text-decoration: none;
    padding: 10px;
}

.navbar-nav li a:hover {
    background-color: #f4c542; /* Yellow */
    color: #fff;
}

/* curriculum page css */
.static {
    padding: 175px 0;
    text-align: center; /* Light Gray */
}

.static h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

.static p {
    font-size: 2.2rem;
}
/* end curriculum */

@media (min-width: 768px) {
    .navbar-right {
        float: right !important;
        margin-right: -20px;
    }
    .flex-wrap {
        width: 184%;
        padding-top: 30px;
        margin-left: -358px;
    }
}
@media (min-width: 768px){
    .flex-wrap{
       width: 109%;
        padding-top: 30px;
        margin-left: 38px;
    }
}

@media (max-width: 768px){
.flex-wrap{
    width: 77%;
        padding-top: 30px;
        margin-left: 193px;
        }
}

/* contact pages */
.info-box {
    margin-top: 11px;
    padding: 29px;
    height: 200px;
    border: 3px solid #070606;
    border-radius: 8px;
    background: #f9f9f9;
    margin-bottom: 11px;
    text-align: center;
}

.info-box i {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 10px;
}


.info-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 12px 15px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-in-out;
}
.info-box:hover {
    box-shadow: 20px 6px 15px rgba(0, 0, 0, 0.3); /* Darker shadow on hover */
}
/* end of contact */

/* table css */
 strong {
    color: black;
    font-weight: 700;
}
.maintable table tbody td {
    border: 2px solid #3c3b55;
}
td{
    color:black;
}
.tr-bg-color{
    background-color:#dad67d;
}

/* principal info box */

/* school info */
.info {
    font-size: 128%;
    padding-top: 53px;
    padding-bottom: 53px;
    font-family: 'Poppins';
}
a {
    display: inline-block;
    text-decoration: none;
    color: #050506;
    font-size: 16px;
    padding: 0;
    font-weight: 500;
    text-transform: capitalize;
}
/* end of info */

/* gov info section */
.schoolinfo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.photo img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.header {
    padding: 10px;
    font-size: 24px;
    font-weight: bold;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

/* Media Query for Mobile View */
@media (max-width: 768px) {
    .schoolinfo {
        flex-direction: column; /* Text first, image second */
        text-align: center;
    }
}
@media (min-width: 552px) {
}
/* gov info end */

.box {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
}
.box img {
    padding-top:20px;
    max-width: 80px;
    height: auto;
    margin-bottom: 10px;
}
.info a {
    text-decoration: none;
    font-weight: bold;
    color: #333;
    display: block;
    margin-top: 5px;
}
.info a:hover {
    color: #007bff;
}

.photo {
   align-items: center;
    height: 354px;
    width: 29%;
    padding-top: 9px;
    padding-bottom: 9px;
}

/* notice board */
.notice {
    background: #ffc107;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid #ffc107;
}

.notice-content {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: scrollText 10s linear infinite;
}

/* Stop scrolling when hovered */
.marquee:hover {
    animation-play-state: paused;
}

@keyframes scrollText {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

.notice span {
    font-size: 16px;
    font-weight: bold;
    color: #d9534f;
}

/* notice end */

/* head of page */
.main {
    text-align: center;
    padding: 30px;
    background: #40807e;
    border-radius: 0px;
    box-shadow: 0px 18px 16px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    margin: 2px auto;
}
.main1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
}
/* end of page head */
/* dropdown menu */
/* end of dropdown menu */


/* gallery image */
.single-explore-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 13px 10px 10px rgba(0, 0, 0, 0.1);
}

.single-explore-img img {
    width: 100%; /* Ensures images are responsive */
    height: 200px; /* Set a fixed height to align images */
    object-fit: cover; /* Ensures images fill the space without distortion */
}

/* end of gallery */

/* for motto page */
.about-us {
    background: #f8f9fa;
    border-radius: 10px;
}

.aboutimg img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.content-box {
    background: white;
    border-left: 5px solid #007bff;
    border-radius: 10px;
}

.extra-content {
    background: #fff;
    border-left: 5px solid #28a745;
    text-align: justify;
}

.link {
    font-size: 16px;
    line-height: 28px;
    color: #444;
    text-align: end;
}
.inner-page{
    padding-top: 20px;
}
/* end of moto */

@media screen and (max-width: 1199px) {
    nav.navbar.bootsnav ul.nav > li > a {
        padding: 15px 12px;
    }
}