
@media (max-width: 767px) {
    .top_bar {
        width: 50% !important;
        padding: 50px;
        text-align: center;
    }

    .top_bar_social {
        width: 100% !important;
        text-align: left;  
        padding: 5px 0;
    }
    .top_bar {
        font-size: 11px;
        padding: 3px;
    }
    .top_bar_social  .facebook-button,
    .top_bar_social  .insta-button,
    .top_bar_social  .youtube-button,
    .top_bar_social  .google-button,
    .top_bar_social  .whatsapp-button {
        padding: 2px;
    }
    .fa-brands {
        font-size: 8px;
    }
    .top_bar_social  .facebook-button,
    .top_bar_social  .insta-button,
    .top_bar_social  .youtube-button,
    .top_bar_social  .google-button,
    .top_bar_social  .whatsapp-button {
        margin-right: 18px;
        text-align: center;
    }
    .col-xl-2, .col-md-2 {
        text-align: center;
    }
}

/* Media query for mobile view */
@media (max-width: 576px) {
    /* Remove left and right padding for mobile view */
    .copyrightt {
        padding-left: 0!important;
        padding-right: 0 !important;
    }

    /* Optional: Remove any margin from the container or other elements */
    .copyright-sec,
    .copyrightt,
    .copyright-part {
        margin-left: 0!important;
        margin-right: 0!important;
    }
}
 
/* Navbar start*/

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000; 
}



.navbar-brand img {
    height: 50px;
}
.navbar-nav .nav-link {
    margin-right: 15px;
}
.btn-enquire {
    background-color: orange;
    color: #fff;
}
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}
    

/*********crousel portion*************/
.feature-box {
    background: white;
    padding:10px;
    border-radius:50px 50px 50px 0px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.feature-box img {
    width: 50px;
    height: 50px;
}

.feature-section {
    margin-top: -50px !important; 
    position: relative;
    z-index: 10;
}



.feature-box:hover .icon {
    transform: rotate(360deg);
    transition: transform 0.3s ease;
}

/* Card hover effect (slight lift) */
.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


@media (max-width: 768px) {
 .feature-section {
    margin-top: -5px !important; 
    position: relative;
    z-index: 10;
}
}


/**********************about section*************************/
.school-section {
    padding: 50px 0;
}
.school-section img {
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.highlight {
    color: green;
    font-weight: bold;
}
.icon-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/***************************************animation section*********************************************/
.stats-section {
    background: url('background-image.jpg') center/cover no-repeat;
    color: white;
    padding: 60px 0;
    position: relative;
}
.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 100, 0.7);
}
.stats-container {
    position: relative;
    z-index: 2;
}
.stat-box {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
}
.stat-box:hover {
    transform: translateY(-10px);
}
.stat-icon {
    background: #004aad;
    padding: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 10px;
}
.stat-icon i {
    font-size: 40px;
    color: white;
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Moto Section START*/
.motto-section {
    padding: 50px 20px;
}
.highlight {
    color: #fcb900;
}
.info-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    background-color: #072042;
    padding: 30px;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .info-box {
        width: 100%;
    }
}


.our_facility {
        --bs-bg-opacity: 1;
        background-color: #EEEEDD !important
    }

.custom-card {
    border-radius: 80px 80px 80px 0px !important; 
    overflow: hidden; 
}

.custom-img {
    border-radius: 80px 80px 80px 0px !important; 
    padding:20px; 
    width: 100%;
}



.our_moto{
    background-color: aquamarine;
}
.highlight {
    color: #fdbb2d;
}
.motto-title {
    border-bottom: 3px solid #fdbb2d;
    display: inline-block;
    padding-bottom: 5px;
}
.info-box {
    background: white;
    color: black;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid green;
}
.info-box img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}
.school-image-container {
    border: 5px solid green;
    border-radius: 100px 0px 200px 200px;
    overflow: hidden;
    padding: 10px;
}
.container-custom {
    max-width: 1100px;
    margin: 0 auto;
}

/* Principle Message*/
.principal-single-img img {
    border-radius: 50px 50px 50px 0
}

.principal-details {
    padding: 45px;
    background:#E4DEDD;
    border-radius: 50px 50px 50px 0
}
.principal-details-info{
    margin: 20px 0

}

.principal-details-info a {
    text-decoration: none; 
    font-weight: bold; 
}
@media only screen and (max-width: 600px) {
   
    .principal-details-mobile{
  text-align: justify;
}
}

/* Gallery Section */
.edugen-title-tagline {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 18px;
    font-weight: 700;
    color: #ff6600 !important; /* Added !important */
    position: relative;
    border-bottom: 2px solid #ff6600 !important; /* Added !important */
}

.edugen-title {
    font-weight: 400;
    text-transform: capitalize;
    font-size: 55px;
    color: #333333 !important; /* Added !important */
    margin-top: 10px;
    margin-bottom: 0;
    position: relative;
}


.edugen-title span {
    color: #ff6600; /* Orange color for the span text */
}


.gallery-items {
    position: relative;
    width: 100%;
    margin-bottom: 25px
}
.gallery-imgs {
    height: 100%
}

.gallery-imgs img {
    width: 100%;
    border-radius: 50px 50px 50px 0
}




.gallery-contents {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.gallery-items:hover .gallery-contents {
    opacity: 5;
    background: orange; 
}

.popup-img {
    font-size: 30px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}




.mfp-close {
    color: #fff;
    font-size: 30px;
    top: 10px;
    right: 10px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

