* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Siyam Rupali';
    src: url('/fonts/SiyamRupali.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    /* font-family: 'Kalpurush', Arial, sans-serif; */
    font-family: 'Siyam Rupali', Arial, sans-serif;
    background-color: #f5f5f5;
    background: #fff url('/frontend2/img/bg.jpeg') repeat center top;
    /* line-height: 1; */
}

.container {
    background: white;
}

.adminstation-message {
    display: flex;
    align-items: center;
    gap: 20px;
}

.adminstation-img {
    width: 200px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    padding: 0px 8px 0px 0px;

}

@media (max-width: 768px) {
    .adminstation-message {
        flex-direction: column;
        align-items: center;
    }

    .adminstation-message img {
        margin-bottom: 10px;

    }

    .teacher-image-container {
        border-right: 0px !important;
    }
}

.col-md-3,
.col-md-6,
.col-md-2 {
    padding-left: 0;
    padding-right: 0;
}


.allheadCaption {
    border-bottom: 2px solid #045564;
    color: #000;
    background: url('/frontend2/img/caption-bg.jpg') repeat-x;
    padding: 8px 10px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Siyam Rupali';
    z-index: 1000;
    position: relative;
}

@media (min-width: 768px) {
    .main-container {
        height: 550px;
        overflow-y: auto;
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
}


.header-main {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 15px 0;
    position: relative;
}

@media (max-width: 768px) {
    .header-top img {
        height: auto;
    }

    .date-time {
        display: none !important;
    }

    .main-body .main-container {
        padding: 0 0px;
    }
}

.date-login .date-time {
    /* margin-right: 4px; */
    margin-left: 10px;
    float: left;
    color: #FFF;
    padding: 6px 7px;
    border-radius: 3px;
    font-family: Arial;
    font-size: 14px;
    background: #2a0122;
    display: block;
    margin-top: 4px;
}

.header-top img {
    padding: 0 !important;
}

.header-top small {
    color: white;
}

.date-login {
    background-color: #004E5D;
}

.small-nav-link a {
    border-right: 1px solid #FF0000;
    padding: 0 5px
}

.school-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
}

.school-title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}

.school-subtitle {
    font-size: 14px;
    text-align: center;
}

.established-date {
    background: #ff6b35;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.navigation {
    background: #2c5aa0;
    padding: 0;
}

.nav-item {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link {
    color: white !important;
    padding: 12px 20px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffd700 !important;
}

.main-content {
    padding: 20px 0;
}

.navbar-slider .col-md-3 {
    padding: 0 !important;
}

.sidebar {
    background-color: #045564;
    color: white;
    transition: transform 0.3s ease;
    padding: 11px 5px;
    /* height: 100%; */
    border-radius: 10px;
}

.sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 3px 5px;
    border: 1px solid #fff;
    position: relative;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.4px;
}

.sidebar a:hover,
.sidebar a:focus {
    background-color: #00796b;
    color: white;
    text-decoration: none;
}

.sidebar .menu-header {
    font-weight: bold;
    padding: 0px 5px;
    background-color: #00332f;
}

.arrow {
    float: right;
}

/* Right-side submenu styles */
.menu-item {
    position: relative;
}

.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 200px;
    background-color: #00695c;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1040;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
}

.menu-item:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu a {
    padding: 10px 15px;
    background-color: #00695c;
    border-bottom: 1px solid #004d40;
}

.submenu a:hover {
    background-color: #004d40;
}

.has-submenu::after {
    content: "►";
    float: right;
    font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .school-name {
        font-size: 12px;
    }

    .sidebar {
        transform: translateX(-116%);
        position: fixed;
        height: 100vh;
        z-index: 900000;
        width: 60%;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .content {
        margin-left: 0;
        padding: 20px;
    }

    .menu-toggle {
        /* position: fixed; */
        top: 10px;
        left: 10px;
        background-color: #004e5d;
        border: none;
        color: white;
        padding: 5px 15px;
        font-size: 18px;
        cursor: pointer;
        z-index: 1050;
        border-radius: 4px;
    }

    .loginbtn {

        background-color: #FD7005 !important;
        color: white !important;

    }

    /* Mobile submenu adjustments */
    .submenu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
    }

    .menu-item:hover .submenu {
        display: block;
    }
}

@media (min-width: 769px) {
    .content {
        margin-left: 250px;
        padding: 20px;
    }

    .menu-toggle {
        display: none;
    }
}

.content-area {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.slider-container {
    position: relative;
    /* margin-bottom: 20px; */
    border-radius: 8px;
    overflow: hidden;
}

@media(max-width:768px) {
    .slider-container {
        margin-bottom: 10px;
    }

    .swiper-slide img {
        height: 250px !important;
    }
}

.swiper-slide {
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 495px;
    object-fit: cover;
}

.marquee-container {
    background: #2c5aa0;
    color: white;
    padding: 5px;
    margin: 10px 0;
    border-radius: 5px;
    overflow: hidden;
}

.marquee-container a {
    color: white;
    text-decoration: none;
}

.marquee-text {
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.content-section {
    /* margin-bottom: 30px; */
}

@media(max-width:768px) {
    .slider-section {
        padding: 0 !important;
    }
}

.content-section h3 {
    color: #2c5aa0;
    border-bottom: 2px solid #ff6b35;
    padding-bottom: 10px;
    /* margin-bottom: 15px; */
}


/* .recent-events {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-bottom: 20px;
}

.event-item {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    display: flex;
    align-items: center;
} */
.recent-events {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background: white;
    height: 100%;
}

.logo-content {
    display: flex;
    align-items: center;
}

.recent-events .sidebar-header {
    background-color: #004d40;
    color: white;
    padding: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-events .sidebar-content {
    min-height: 365px;
    /* Fixed height for visible area */
    overflow: hidden;
    position: relative;
}

.events-scroll {
    position: absolute;
    width: 100%;
    animation: marqueeUp 15s linear infinite;
}

@keyframes marqueeUp {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.event-item {
    padding: 8px 8px;
    border-bottom: 1px dotted red;
    background: white;
}

.event-item a {
    text-decoration: none;
}

.event-item:hover {
    cursor: pointer;
    background: #E7E7E7;
}

.event-item:hover .event-title {
    color: red;
}

.event-date {
    font-size: 12px;
    color: #666;
    margin-bottom: 0px;
    font-weight: 500;
    border-top: 1px dotted red;
    width: fit-content;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin-bottom: 0px;
}

/* Pause animation on hover */
.recent-events:hover .events-scroll {
    animation-play-state: paused;
}


.event-date {
    color: #333;
    padding: 0px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin-right: 10px;
    min-width: 80px;
    margin-top: 8px;
}

.event-title {
    font-size: 14px;
    color: #333;
}

.teacher-corner .col-md-6:first-child {
    padding-right: 5px !important;
}

.teacher-corner .col-md-6:last-child {
    padding-left: 5px !important;
}

.student-cavinet .col-md-6:first-child {
    padding-right: 5px !important;
}

.student-cavinet .col-md-6:last-child {
    padding-left: 5px !important;
}

.governing-body {
    height: 100%;
}

.resistance-commitee {
    height: 100%;
}

.teacher-carousel {
    overflow: hidden;
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 3px;
}




.teacher-profile .col-md-6 {
    margin: 10px !important;
    padding: 0px 10px !important;
}

.teacher-track {
    display: flex;
    gap: 10px;
    animation: slideRightToLeft 60s linear infinite;
}

.teacher-track:hover {
    animation-play-state: paused;
}

@keyframes slideRightToLeft {
    0% {
        transform: translateX(100%);
    }

    50% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.digital-teacher-speech .content-section {
    box-shadow: #000 0px 0px 3px;
    padding: 5px;
    height: 100%;
}

.digital-teacher-speech .col-md-6 {
    padding: 0px 4px !important;
}

.teacher-image-container {
    border-right: 2px solid #ff0000;
}

.teacher-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;
    display: block;
    padding: 0px 8px 0px 0px;
    /* border-right: 2px solid #ff0000; */
}

.teacher-name {
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 5px;
}

.teacher-position {
    font-size: 12px;
    color: white;
    background: #045564;
    padding: 5px;

}

.teacher-card {
    /* height: 100%; */
    background: #ffffff;
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    max-width: 400px;
    min-width: 180px;
    margin: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #045564;
}

.teacher-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    display: block;
    border: 3px solid #045564;
}

.teacher-name {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: #2c5aa0;
    margin-bottom: 4px;
}

.teacher-position {
    width: 100%;
    text-align: center;
    font-size: 10px;
    color: white;
    background: #045564;
    padding: 4px 12px;
    display: inline-block;
    border-radius: 4px;
    margin-bottom: 15px;
}

.teacher-info {
    font-size: 14px;
    color: #333;
}

.label-row {
    display: flex;
    gap: 5px;
    margin-bottom: 6px;
}

.label-title {
    font-weight: 600;
    min-width: 100px;
    color: #444;
}

.label-colon {
    margin-right: 4px;
}

.label-value {
    flex: 1;
    color: #222;
}

.stats-table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.stats-table table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table th {
    background: #2c5aa0;
    color: white;
    padding: 10px;
    text-align: center;
}

.stats-table td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.important-links {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
}

.important-links ul {
    list-style: none;
    padding: 0;
}

.important-links li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.important-links a {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 13px;
}

.important-links a:hover {
    color: #ff6b35;
}

.footer {
    background-color: #075e63;
    color: white;
    padding: 30px 0;
    border-top: 4px solid black;
    border-bottom: 4px solid black;
}

.footer .container {
    background-color: #045564;
}

.footer h6 {
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}

.footer img {
    width: 80px;
    height: auto;
    margin: 5px;
    /* border: 1px solid #ccc; */
    padding: 2px;
    /* background-color: white; */
}

.footer a {
    color: #d7faff;
    text-decoration: none;
    font-size: 14px;
}

.footer p {
    color: #d7faff !important;
    text-decoration: none;
    font-size: 14px;
}

.footer a:hover {
    color: yellow;
    text-decoration: underline;
}

.footer .contact-info a {
    color: yellow;
    word-break: break-word;
}

.footer-divider {
    border-left: 2px dotted #fff;
    height: 100%;
}

.footer-bottom {
    background-color: black;
    color: white;
    padding: 10px 15px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media(max-width:768px) {
    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

.footer-bottom a {
    color: yellow;
    text-decoration: none;
    font-weight: bold;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.social-icons img {
    width: 32px;
    height: 32px;
    margin: 4px;
}

.digital-content {
    background: #f0f8ff;
    border-radius: 8px;
    /* padding: 10px; */
    /* margin: 20px 0; */
    text-align: center;
    box-shadow: #000 0px 0px 3px;
    /* height: 100%; */
}

.home-digital-content .digital-content {
    height: 100%;
}

.digital-content h6 {
    font-family: Impact;
    font-size: 17px;
    text-align: center;
    padding-top: 10px;
    color: #ff0000;
    text-shadow: #999 0px 3px 2px;
}


.digital-content img:nth-of-type(0) {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}


.click-here-btn {
    background: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    display: inline-block;
    margin-top: 10px;
}

.click-here-btn:hover {
    background: #218838;
    color: white;
}

@media (max-width: 768px) {
    .school-title {
        font-size: 18px;
    }

    .established-date {
        position: static;
        transform: none;
        margin-top: 10px;
        display: inline-block;
    }

    .teacher-track {
        animation-duration: 15s;
    }

    .teacher-card {
        min-width: 150px;
    }
}

.section-content {
    /* box-shadow:
        0px -3px 3px rgba(0, 0, 0, 0.3),
        -3px 0px 3px rgba(0, 0, 0, 0.3),
        3px 0px 3px rgba(0, 0, 0, 0.3); */
}

.table-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* margin-bottom: 30px; */
    overflow: hidden;
}

.table-header {
    background: linear-gradient(135deg, #004d40, #00695c);
    color: white;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

.custom-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.custom-table th {
    background-color: #c2ccff;
    color: #004d40;
    font-weight: bold;
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #b2dfdb;
    font-size: 14px;
}

.custom-table td {
    padding: 5px 8px;
    border: 1px solid #e0e0e0;
    text-align: center;
    font-size: 14px;
}

.custom-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.custom-table tbody tr:hover {
    background-color: #e8f5e8;
    transition: background-color 0.3s ease;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.profile-images {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.profile-card {
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    min-width: 120px;
}

.profile-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #004d40;
    margin-bottom: 8px;
}

.profile-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 4px;
}

.profile-designation {
    background: #004d40;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    display: inline-block;
}

.more-link {
    color: #d32f2f;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
}

.more-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .custom-table {
        font-size: 12px;
    }

    .custom-table th,
    .custom-table td {
        padding: 8px 6px;
    }

    .profile-images {
        justify-content: center;
    }

    .profile-card {
        min-width: 100px;
    }

    .profile-img {
        width: 60px;
        height: 60px;
    }
}

.left-panel {
    /* background-color: #045564; */
    color: white;
    border-radius: 6px;
    height: 100%;
    margin: 0px auto 10px;
    border-top: 3px solid #145800;
    border-radius: 10px;
}

.left-panel ul {
    padding-left: 0;
}

.left-panel ul li {
    display: flex;
    align-items: center;
    gap: 5px;
}

.left-side-img-container {
    background: #F2F2F2;
    width: 20px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.side-panel .col-md-6 {
    padding: 0px 10px;
}

.left-panel a {
    color: #11409e;
    text-decoration: none;
    display: block;
    padding: 3px 0;
    font-size: 13px;
    border-bottom: 1px dashed #14a601;
    width: 100%;
}

.left-panel a:hover {
    color: #fe0101;
}

.dashboard-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    background: #fff;
    margin-bottom: 15px;
}

.calendar-box {
    background-color: #b92d2d;
    color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.calendar-box h2 {
    font-size: 48px;
    margin: 0;
}

.calendar-box small {
    display: block;
    margin-top: -5px;
}

.quick-access {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    background: white;
}

.quick-access i {
    font-size: 24px;
    color: #005a87;
    margin-bottom: 8px;
}

.exam-table th,
.exam-table td {
    font-size: 14px;
    padding: 4px 8px;
}

.calendar-box {
    height: 316px;
    width: 100%;
    background: #fff url(/frontend2/img/calander.jpg) no-repeat top center;
    float: left;
    margin-right: 9px;
    margin-bottom: 17px;
    border: 1px solid #ddd;
    box-shadow: #b00101 0px 2.5px 0px;
}

.calendar-box h3 {
    font-size: 17px;
    color: #fff;
    padding: 0px 0px 0px 0px;
    text-align: center;
    font-family: Arial;
    text-shadow: #000 0px 1px 0px;
    font-weight: bold;
}

.calendar-box h2 {
    font-size: 38px;
    color: #000;
    font-weight: bold;
}

.calendar-box small {
    font-size: 20px;
    color: #d52d2b;
    padding: 10px 0px 0px 0px;
    text-align: center;
    font-family: Arial;
    text-shadow: #fff 0px 1px 0px;
    font-weight: bold;
}

.calendar-box p {
    font-size: 12px;
    color: #6c6d6d;
    text-align: center;
    padding: 26px 3px 0px;
    line-height: 20px;
}

.attendance-card {
    /* max-width: 350px; */
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 40px 10px;
    background: #fff;
}

.attendance-header {
    color: #2d66b3;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 5px;
    text-align: center;
}

.cpt-title {
    color: #b32d2d;
    font-weight: bold;
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 5px;
    text-align: center;
}

.attendance-table th,
.attendance-table td {
    text-align: center;
    font-size: 12px;
    padding: 0;
}

.click-btn {
    display: block;
    width: 140px;
    margin: 10px auto 0 auto;
    font-size: 13px;
    font-weight: bold;
    background: linear-gradient(90deg, #1fcf4e 0%, #0bbf36 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 4px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.09);
    transition: background 0.2s;
}

.click-btn:hover {
    background: linear-gradient(90deg, #0bbf36 0%, #1fcf4e 100%);
}

.attendance-logo {
    display: block;
    margin: 0 10px 10px 10px;
    width: 45px;
}

.student-corner a {
    color: #11409e;
}

.student-corner .corner-number {
    color: #ffffff;
    background-color: #1C7383;
    font-size: 19px;
    border: 3px solid #145800;
    padding: 15px 10px;
    cursor: pointer;
    text-align: center;
    border-radius: 15px;
    font-family: fantasy;
}

.student-corner .corner-number h4 {
    margin-bottom: 0;
}

.custom-card {
    border: 1px solid #d1d1d1;
    border-radius: 10px;
    background: #fff;
    padding: 20px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 18px;
}

@media(max-width:768px) {
    .custom-card {
        padding: 5px;
    }

    .col-md-5 {
        padding: 0px;
    }
}

.custom-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2d2d2d;
    text-align: center;
    margin-bottom: 12px;
}

.result-table th,
.result-table td {
    text-align: center;
    vertical-align: middle;
    font-size: 1rem;
}

.section-header {
    background: #e6f3ff;
    color: #1a5ca6;
    font-weight: bold;
    padding: 6px 0;
    border-radius: 4px;
    margin-bottom: 8px;
}

.notice-text {
    color: #c00;
    font-weight: bold;
    text-align: center;
    font-size: 1.02rem;
}

.side-btn {
    background: #f6f6f6;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    padding: 13px 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.06rem;
    font-weight: 500;
    color: #1a5ca6;
    transition: background 0.2s, box-shadow 0.2s;
}

.side-btn:hover {
    background: #e6f3ff;
    box-shadow: 0 2px 8px rgba(26, 92, 166, 0.09);
    color: #0a3e7b;
}

.side-btn img {
    width: 28px;
    height: 28px;
}

.result-table th,
.result-table td {
    padding: 0;
    font-size: 13px;
}

.custom-card .section-header {
    font-size: 14px;
}

.quick-access-card {
    background: #f8fafd;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(44, 62, 80, 0.07);
    /* padding: 21px 0 12px 0; */
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    border: 1px solid gray;
    
    /* 25-8-25 */
    margin-bottom: 0px;
    display: flex;
    gap: 10px;
    padding: 5px;
    align-items: center;
}

.quick-access-card img {
    width: 42px;
    height: 47px;
}



.quick-access-card:hover {
    box-shadow: 0 4px 18px rgba(44, 62, 80, 0.13);
    transform: translateY(-4px) scale(1.03);
    background: #e9f3ff;
}

.quick-access-card i {
    font-size: 2.1rem;
    color: #2d66b3;
    margin-bottom: 8px;
}

.quick-access-card div {
    font-size: 0.80rem;
    font-weight: 500;
    color: #2d2d2d;
}

@media (max-width: 991px) {

    .custom-card,
    .side-panel {
        margin-bottom: 20px;
    }
}

/* About Page */
.about-content {
    /* padding: 20px; */
    height: 100%;
}

.about-content img {
    /* float: left; */
    width: 500px;
}

/* Mission vission page */
.mission-vission-section img {
    width: 345px;
    padding: 20px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #ddd;
    /* padding-bottom: 10px; */
    width: fit-content;
}

.content-text {
    font-size: 16px;
    color: #444;
    text-align: justify;
    margin-bottom: 15px;
}

.bullet-point {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.bullet-point::before {
    content: "★";
    position: absolute;
    left: 0;
    color: #2196F3;
    font-weight: bold;
}

/* Student Attendance */
.student-attendance {
    height: 100%;
}

.student-attendance .logo-content {
    padding: 20px;
}

.student-attendance .logo-content p {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.student-attendance img {
    width: 110px;
    float: left;
}

/* Contact Page */
.contact-info p {
    color: #7e7e7e;
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
    line-height: 20px;
}

/* Photo Gallery */
.photo-gallery img {
    cursor: pointer;
}

#fullscreenPrev,
#fullscreenNext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    transition: background 0.2s;
}

#fullscreenPrev:hover,
#fullscreenNext:hover {
    background: rgba(0, 0, 0, 0.6);
}

#fullscreenPrev {
    left: 24px;
}

#fullscreenNext {
    right: 80px;
}

/* Teacher Profile */
.teacher-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    /* padding: 15px; */
    background-color: #f9f9f9;
}

/* .teacher-photo {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    max-height: 170px;
    min-height: 170px;
} */
.teacher-profile .col-md-6 {
    margin: 10 !important;
    padding: 0px 10px !important;
}

.teacher-info {
    font-size: 14px;
    line-height: 1.6;
}

.label-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2px;
}

.label-title {
    min-width: 100px;
}

.label-colon {
    width: 10px;
    text-align: center;
}

.label-value {
    flex: 1;
}

.download-btn {
    color: #007bff;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.footer {
    background-color: #045564;
    color: #ecf0f1;
    padding: 40px 0 20px;
    font-size: 15px;
}

.footer h5 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 1px solid #ffffff33;
    padding-bottom: 8px;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer ul li a:hover {
    color: #1abc9c;
    text-decoration: underline;
}

.footer .social-links a {
    font-size: 18px;
    color: #ecf0f1;
    margin-right: 12px;
    transition: color 0.3s;
}

.footer .social-links a:hover {
    color: #1abc9c;
}

.footer .download-img img {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 3px;
    transition: transform 0.3s;
}

.footer .download-img img:hover {
    transform: scale(1.1);
}

.footer hr {
    border-top: 1px solid #ffffff33;
}
