
 /* Top Header style  */
 #quick-contact li {
    border-left: 1px solid #fff;
    font-size: 14px;
    line-height: 1.1;
    padding-left: 15px;
}

#quick-contact li:first-child {
    border: none;
    padding-left: 0;
}

#tophead {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: "Merriweather Sans", sans-serif;
    padding: 10px 0;
}

#tophead a {
    color: var(--text-color);
    text-decoration: none;
}

#tophead a:hover {
    text-decoration: underline;
}

#quick-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

#quick-contact ul li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-admission {
    background-color: var(--button-background);
    color: var(--button-text-color);
    font-size: 14px;
    padding: 5px 15px;
    text-align: center;
    border: none;
    border-radius: 5px;
}

.btn-admission:hover {
    background-color: var(--button-hover-background);
    color: var(--button-hover-text-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    #quick-contact ul {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start;
        gap: 10px;
    }

    #quick-contact ul li {
        padding-left: 0; /* Remove left padding for small screens */
        font-size: 13px; /* Reduce font size slightly */
    }

    .btn-admission {
        font-size: 12px; /* Adjust button size */
        padding: 4px 10px;
    }
}

@media (max-width: 576px) {
    .d-flex.justify-content-between {
        flex-direction: column; /* Stack header content vertically */
        align-items: center;
    }

    #quick-contact ul {
        align-items: center; /* Center align quick contact info */
        text-align: center;
    }

    .btn-admission {
        width: 100%; /* Make the button full-width */
        text-align: center;
        margin-top: 10px;
    }
}

 /* Top Header style End */




.banerZone img{
    max-height: 250px; 
    width: 100%;
     object-fit: cover;
}

   
 /* Logo Header style */
/* Main Header Styles */
.main-header {
    background-color: var(--main-header-background-color);
    border-bottom: 1px solid #dee2e6;
    color: var(--main-header-text-color);
}

.main-header .custom-logo {
    max-width: 150px;
    height: auto;
}

.site-title {
    font-family: Georgia, Times, "Times New Roman", serif;
    text-transform: uppercase;
    font-size: 2rem;
    color: var(--main-header-text-color);
}

/* Clock Styles */
.live-clock p {
    margin: 0;
    padding: 6px 7px;
    border-radius: 3px;
    background: var(--background-color);
    color: var(--text-color);
    display: inline-block;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Responsive Styles */

@media (max-width: 1000px) {
    .site-title {
        font-size: 1.3rem; 
    }
}
@media (max-width: 768px) {
    .custom-logo {
        max-width: 80px;
        height: auto;
    }

    .site-title {
        font-size: 1.7rem; 
    }

    .main-header h5 {
        font-size: 1rem; 
    }

    .live-clock {
        margin-top: 1rem; 
    }

    .live-clock p {
        font-size: 1rem; 
    }
}

@media (max-width: 576px) {
    .custom-logo {
        max-width: 60px;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .live-clock {
        text-align: center; 
    }
}
/* Logo style End */



/* Navbar style */
    #main-nav {
        background-color: var(--navbar-background);
        border-bottom: 4px solid var(--navbar-border-bottom);
        font-family: Georgia, Times, "Times New Roman", serif;
        font-size: .7rem;
        text-transform: uppercase;
    }
    .navbar-nav .nav-item .nav-link {
        color: var(--navbar-text-color);
    }
    .nav-item:hover {
        background-color:var(--navbar-hover-background);
        color: var(--navbar-hover-color);
    }
    .navbar-dark .navbar-nav .nav-link {
        color: var(--navbar-text-color);
        font-weight: bold;
        padding: 10px 15px;
    }
    .nav-item:hover, .dropdown-item:hover {
        color: var(--navbar-hover-background);
    }
    .dropdown-menu {
        background-color: var(--navbar-background);
        border: none;
        display: none; /* Hide dropdown by default */
        position: absolute; /* Ensures it shows above other content */
        font-size: .6rem;

    }
    .nav-item:hover .dropdown-menu {
        display: block; /* Show dropdown when hovering over the parent item */
    }
    .dropdown-item {
        color: var(--navbar-text-color);
    }
    .dropdown-item:hover {
        background-color:  var(--navbar-hover-background);
        color: var(--navbar-hover-color);
    }
/* Navbar style End */



/* Breaking Notice */
.breakingNews {
    background-color: var(--background-color); 
    color: var(--text-color);
    padding: 3px 5px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;  /* Allow elements to wrap on small screens */
}

.bn-title {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.marquee-container {
    overflow: hidden; 
    white-space: nowrap; 
    background-color: #fff; 
    padding: 2px 10px; 
    border-radius: 3px;
}

.marquee-container marquee {
    font-size: 14px;
    color: var(--text-color);
    display: block;
}

.marquee-container marquee a {
    text-decoration: none;
    padding: 0 10px;
    display: inline-block;
}

.marquee-container marquee a:hover {
    text-decoration: underline;
    color: #db8c3e;
}

/* Responsive design for small screens */
@media (max-width: 768px) {
    .breakingNews {
        flex-direction: column;
        align-items: flex-start;
    }

    .bn-title {
        margin-bottom: 5px;
        font-size: 14px;
    }

    .marquee-container {
        width: 100%;  /* Ensure marquee takes full width on small screens */
    }

    .marquee-container marquee {
        font-size: 12px; /* Adjust font size for smaller screens */
    }
}
/* Breaking Notice End */




 /* Notice board*/
    .notice-board-wrapper {
        height: 200px; /* Set the height as needed */
        overflow: hidden;
        position: relative;
    }

    .notice-board {
        display: inline-block;
        animation: scroll-up 10s linear infinite;
    }

    .notice-board:hover {
        animation-play-state: paused; /* Pause animation on hover */
    }

    @keyframes scroll-up {
        0% {transform: translateY(100%);}
        100%{transform: translateY(-100%);}
    }

  /* Notice board End*/


/* Order columns for screens smaller than 576px */
@media (max-width: 575px) {
    .left-column {
        order: 3;
    }
    .middle-column {
        order: 1;
    }
    .right-column {
        order: 2;
    }

    .page-section {
        order: 1;
    }
}



.right-column .card img {
    transition: transform 0.3s ease;
}

.right-column .card img:hover {
    transform: scale(1.1);
}


.attendance_and_result .card {
    transition: transform 0.3s ease;
}
.attendance_and_result .card:hover {
    transform: scale(1.1);
}


.student_info .card {
    transition: transform 0.3s ease;
}
.student_info .card:hover {
    transform: scale(1.1);
}

/* attendance */

#attendance-title {
    color: #000;
    background: url('/frontend/caption-bg.jpg') center center no-repeat;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size: 1rem;
    text-transform: uppercase;
}

.student-attendance {
    height: 225px;
    width: 100%;
    max-width: 215px;
    background: #fff;
    margin: 0 auto 17px;
    border: 1px solid #ddd;
    box-shadow: 0px 2.5px 0px #b00101;
    border-radius: 3px;
}

.dpartmntf {
    height: 160px;
    width: 100%;
    max-width: 210px;
    background: #fff url('/frontend/todays_calender.jpg') no-repeat top center;
    text-align: center;
}


.about_school{
    min-height: 280px;
    font-size: 18px;
}










/* custom marquee effect*/

.marquee_container {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 300px; /* Adjusted to include image + text */
}

.teacher-marquee {
    display: flex;
    animation: bidirectional-marquee 20s ease-in-out infinite; /* Adjust speed and duration */
}

.teacher_marquee_item {
    width: 200px; 
    height: 200px; 
    margin: 0 auto;
    border-radius: 5px; 
}

/* Teacher name and designation */
.teacher-name {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 5px;
}

.teacher-designation {
    padding: 3px;
    font-size: 1rem;
    font-weight: bold;
    background: cadetblue;
    color: #FFFFFF;
    border-radius: 2px;
}

.member_designation {
    padding: 3px;
    font-size: 1rem;
    font-weight: bold;
    background: cadetblue;
    color: #FFFFFF;
    border-radius: 2px;
}

@keyframes bidirectional-marquee {
    0% { transform: translateX(100%); }   /* Start outside on the right */
    25% { transform: translateX(0); }    /* Fully visible, aligned left */
    50% { transform: translateX(-100%); } /* Move outside to the left */
    75% { transform: translateX(0); }    /* Fully visible again, aligned left */
    100% { transform: translateX(100%); } /* Back outside to the right */
}
/* Keyframes for bidirectional animation */
/* custom marquee effect End*/


.carousel-item {
    transition: transform 2s ease-in-out, opacity 1s ease-in-out; 
}


/* common style */
   .icon-space {
    margin-right: 5px;
} 

.box-title{
    font-family: Georgia, Times, "Times New Roman", serif;
    font-size: 1rem;
    text-transform: uppercase;
}


.section-title{
    background: var(--background-color);
    color:var(--text-color);
    padding: 5px;
    text-align: center;
}

.section-header{
    background: var(--page-section-background);
    color:var(--page-section-color);
    padding: 5px;
    text-align: center;
}
.section-title h3,h4{
    margin: 0;
}


.linkItem {
    background: #fff;
   
}

.linkItem li {
    list-style: none;
    padding: 10px;
    border-bottom: 2px dashed #14a601;
    display: block;
    align-items: center; /* Vertically align icon and text */
}

.linkItem li:last-child {
    border-bottom: none;
}

.linkItem li a {
    text-decoration: none;
    font-family: Arial;
    font-size: 15px;
    color: #000000;
    display: inline-block; /* Keeps the link inline but still allows padding */
}

.linkItem li:hover, .linkItem li a:hover {
    background: var(--hover-background);
    color: var(--hover-color);
}


/* common style  End*/
.middle-column {
    padding: 0;
}
@media (max-width: 576px) {
    .middle-column {
        padding: 15px;
    }

}

@media (min-width: 576px) {
   
    .row > div {
        margin-bottom: 10px;
    }
    
    .left-column {
        order: 1;
    }
    .middle-column {
        order: 2;
    }
    .right-column {
        order: 3;
    }
}




