/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x:hidden;
}
.font-strong {
    color: #1f2937;
    font-size: 1.3em;
}

/* --- White/Black Mode --- */
/* To apply dark mode in body */
    body.dark {
        background-color: #000;
    }
    .dark .top {
        background:#000;
    }
.dark .font-strong {
    color: #fff;
}
.dark .about-us p {
    color:#ddd;
}
.dark .noticeboard-section{
    background:#000;
}
.dark .header {
    background: #000;
}
.dark .header.scrolled .nav-link {
    color:#000;
}
    .dark .nav-link {
        color:#fff;
    }
    .dark h2{
        color:#fff;
    }
.dark .table-striped {
    background: #efefef;
}

.dark footer {
    background: #000;
}

    .dark footer h5 {
        color: #fff;
    }

.dark h2 {
    color: #fff;
}
.dark ul li {
    color:#fff;
}
.dark p, .dark h5 {
    color: #fff;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    /*box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);*/
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    position: relative;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
    .header .logo {
        transition: width 0.3s ease;
    }
    .header.scrolled {
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 0px 0;
        top:0;
        position:sticky;
    }
        .header.scrolled .logo {
            width:50px;
        }
        .nav-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.2rem 0;
            min-height: 70px;
        }
.nav-link {
    color: #212529;
    cursor:pointer;
}
    .nav-link:hover, .nav-link:focus {
        color: #8e24aa;
    }
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    width:90px;
}

.logo i {
    font-size: 2.5rem;
    color: #2563eb;
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #8e24ab;
    line-height: 1.2;
    margin: 0;
}

.logo-text p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.2;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-list a {
    cursor:pointer;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 3rem .2rem;
    border-radius: 0rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-size: 0.95rem;
}

    .nav-list a:hover,
    .nav-list a.active {
        color: #e60e26;
        /*background: rgba(37, 99, 235, 0.1);*/
        transform: translateY(-1px);
    }

.dropdown {
    position: relative;
}

.dropdown > a i {
    margin-left: 0.1rem;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 0rem;
    padding: 0rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

    .dropdown-menu a:hover {
        background: rgba(31, 41, 55, 0.1);
        color: #8e24aa;
        transform: translateX(0px);
    }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #374151;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}
.hero {
    padding: 0px;
    background: #fff;
}

.hero-content {
    display: flex;
    flex-direction: row;
    gap: 0px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

.hero-slider {
    flex: 2;
    min-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    height:360px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

    .slide.active {
        opacity: 1;
        position: relative;
    }

    .slide img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 0px;
    }

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    background: rgba(0,0,0,0.4);
    padding: 10px;
    cursor: pointer;
    z-index: 100;
    border-radius: 0;
}

    .nav-arrow.left {
        left: 10px;
    }

    .nav-arrow.right {
        right: 10px;
    }
.btn {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-secondary {
    background-color: #c563ea;
    color: #fff;
    border: 0;
    padding: 10px 30px;
}
    .btn-secondary:hover, .btn-secondary:focus {
        background: #8e24aa;
        color: #fff;
    }

.noticeboard {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
}

.noticeboard-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0px;
}

.notification-dot {
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
}

/*.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}

.marquee-content {
    display: inline-block;
    animation: scrollLeft 25s linear infinite;
}*/

/*@keyframes scrollLeft {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}*/

.notice-item {
    display: inline-block;
    margin-right: 50px;
}

.notice-badge.new {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
}

.notice-date {
    font-size: 0.9rem;
    color: #666;
    margin-left: 8px;
}

.priority {
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 5px;
}

    .priority.high {
        color: #dc3545;
    }

    .priority.medium {
        color: #ffc107;
    }

    .priority.low {
        color: #28a745;
    }

.noticeboard-footer {
    margin-top: auto;
    text-align: right;
}

.view-all-btn {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }

    .nav-arrow {
        display: none;
    }

    .marquee-container {
        white-space: normal;
        overflow-x: auto;
    }

    .marquee-content {
        animation: none;
    }

    .notice-item {
        display: block;
        margin: 10px 0;
    }
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: #f9fafb;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-item i {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
}

.about-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Principal Message */
.principal-message {
    padding: 5rem 0;
    background: #172381;
}

.principal-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: center;
}

.principal-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.principal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.principal-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #f5deb3;
    margin-bottom: 0.5rem;
}

.principal-content .title {
    color: #c563ea;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.principal-content p {
    color: #c9cacd;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Noticeboard Section */
.noticeboard-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.noticeboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
}

.noticeboard {
    background: white;
    border-radius: 0rem;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
    border: 0px solid #e5e7eb;
}
    .noticeboard ul {
        list-style:none;
        margin-top:20px;
        margin-left:0px;
        padding-left:0px;
        padding:10px;
    }
        .noticeboard ul li a {
            text-decoration: none;
            width: 100%;
            font-size:.9em;
            padding:10px 10px;
            display: inline-block;
            color: #212529;
            transition:.3s ease-in-out;
            border-bottom:1px dotted #ddd;
        }
            .noticeboard ul li a i {
                color: #172381;
                margin-right: 5px;
            }
            .noticeboard ul li a:hover, .noticeboard ul li a:focus {
                text-decoration: none;
                color: #fff;
                transition: .3s ease-in-out;
                padding: 10px 14px;
                background: #172381;
            }
                .noticeboard ul li a:hover i, .noticeboard ul li a:focus i{
                    color:#fff;
                }
                .noticeboard-header {
                    background: #8e24aa;
                    color: white;
                    padding: 1.5rem;
                    display: flex;
                    align-items: flex-start;
                    gap: 1rem;
                    position: relative;
                }

.noticeboard-header i {
    font-size: 1.5rem;
}

.noticeboard-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.notification-dot {
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 2s infinite;
    margin-left: auto;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Simple Marquee Container */
.marquee-container {
    height: 337px;
    overflow: hidden;
    position: relative;
    background: #fafafa;
}

.marquee-content {
    display: flex;
    flex-direction: column;
    animation: simpleMarquee linear infinite;
    animation-duration: 10s; /* adjust speed here */
    padding: 1rem 0;
}

@keyframes simpleMarquee {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
    /* Since content is doubled */
}


.notice-item {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: white;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    margin: 0 1rem 1rem 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    white-space:normal;
}
    .notice-item a {
        color: #212529;
        text-decoration: none;
        margin-bottom: 5px;
    }
    .notice-item:hover {
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.notice-badge {
    position: absolute;
    top: -5px;
    right: 10px;
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.notice-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.notice-date {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.priority {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority.high {
    background: #fee2e2;
    color: #dc2626;
}

    .priority.medium {
        background: #fef3c7;
        color: #212529;
    }

.priority.low {
    background: #dcfce7;
    color: #16a34a;
}

.noticeboard-footer {
    padding: 1rem 1.5rem;
    background: #f5deb3;
    border-top: 1px solid #e5e7eb;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content:center;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    color: #1d4ed8;
    transform: translateX(5px);
}

/* Latest News */
.latest-news {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.news-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
}

.news-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.view-all-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    background: #172381;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
}

    .view-all-link:hover {
        color: #fff;
        transform: translateX(5px);
        background: #8e24aa;
    }
.news-list {
    padding: 1rem;
    overflow-x: auto;
    height: 580px;
}

.news-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.news-item:hover {
    background: #f9fafb;
    transform: translateX(5px);
}

.news-item.featured {
    border: 2px solid #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.news-image {
    position: relative;
    width: 120px;
    height: 80px;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.featured-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.news-content {
    flex: 1;
}

.news-category {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-content p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.news-meta {
    display: flex;
    gap: 1rem;
    color: #9ca3af;
    font-size: 0.75rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

    .section-header p {
        color: #c9cacd;
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 0rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
    .gallery-item:hover .gallery-overlay i{
        background:none;
    }
    .gallery-info {
        color: #fff;
        background: #ee0727;
        text-align: center;
        padding: 10px 0px;
        height: 50px;
        position: absolute;
        z-index: 1;
        bottom: 0;
        width: 100%;
    }

.gallery-info h5 {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.gallery-overlay i {
    color: #fff;
    font-size: 1.5rem;
    background: none;
    padding: 0.75rem;
    border-radius: 0;
    backdrop-filter: blur(0px);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

#lightbox-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
    max-width: 600px;
}

.lightbox-caption h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.lightbox-caption p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Activities Section */
/*.activities-section {
    padding: 5rem 0;
    background: #f9fafb;
}

.activities-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.slider-container {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.slide-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.activity-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.activity-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    left: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
    max-width: 450px;
}

.slide-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.slide-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #2563eb;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    left: 1.5rem;
}

.next-btn {
    right: 1.5rem;
}

.slider-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 3;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}*/

/* Departments Section */
.departments {
    padding: 5rem 0;
    background: #172381;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.department-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 0px solid #e5e7eb;
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.department-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.department-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.department-card:hover .department-image img {
    transform: scale(1.1);
}

.department-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #8e24aa;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    backdrop-filter: blur(10px);
}

.department-content {
    padding: 2rem;
}

.department-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

    .department-content p {
        color: #515356;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

.department-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: #515356;
    font-size: 0.875rem;
}

.department-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more {
    color: #8e24aa;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

    .learn-more:hover {
        color: #8e24aa;
        transform: translateX(5px);
    }

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: #f5f5f5;
    color: #212529;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta .btn-secondary:hover {
    background: white;
    color: #2563eb;
}

/* Footer */
/* Footer */
.footer {
    background: #172381;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}
.footer ul li a{
    text-decoration:none;
    color:#ccc;
    font-size:.9em;
}
    .footer ul li a:hover, .footer ul li a:focus{
        text-decoration:none;
        color:#fff;
    }
    .footer-logo {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .footer-logo i {
        font-size: 2rem;
        color: #2563eb;
    }

    .footer-logo h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0;
    }

    .footer p {
        font-size: 0.875rem;
        color: #ccc;
        margin: 0;
    }

.footer-section p {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 0.5rem;
    }

        .footer-section ul li a {
            color: #d1d5db;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-section ul li a:hover {
                color: #2563eb;
            }

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #d1d5db;
}

.contact-info i {
    color: #fff;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #d1d5db;
        color: #8e24aa;
        border-radius: 50%;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            background: #8e24aa;
            color: white;
            transform: translateY(-2px);
        }

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #8e24aa;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(238, 7, 39, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

    .scroll-to-top:hover {
        background: #8e24aa;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(238, 7, 39, 0.4);
    }
.bpFab {
    bottom: 5.5rem !important;
}
.top {
    width: 100%;
    background: #172382;
}

/* Page Header for Internal Pages */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images/about_bnr.jpg);
    background-size: cover;
    background-position: center;
    background-attachment:fixed;
    text-align: center;
    height:300px;
    display:flex;
    align-items:center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .nav-list {
        gap: 1rem;
    }
    
    .nav-list a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slide-content h2 {
        font-size: 2.8rem;
    }
    
    .about-grid,
    .principal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .noticeboard-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .slide-content {
        left: 1.5rem;
        right: 1.5rem;
        max-width: none;
    }
    
    .slide-content h3 {
        font-size: 1.8rem;
    }
    
    .slider-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0;
    }
    
    .nav-wrapper {
        padding: 0.5rem 0;
        min-height: 60px;
    }
    
    .logo {
        gap: 0.75rem;
    }
    
    .logo i {
        font-size: 1.8rem;
    }
    
    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .logo-text p {
        font-size: 0.8rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid #e5e7eb;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid #f3f4f6;
        font-size: 1rem;
    }
    
    .nav-list a:hover {
        transform: none;
        padding-left: 2.5rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f9fafb;
        margin-left: 2rem;
        border: none;
        border-radius: 0;
    }
    
    .dropdown > a i {
        transform: rotate(90deg);
    }
    
    .hero {
        margin-top: 0px;
        /*min-height: 500px;*/
    }
    
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .marquee-container {
        height: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .activities-slider {
        margin: 0 1rem;
    }
    
    .slider-container {
        height: 350px;
    }
    
    .slide-content {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
    
    .slide-content h3 {
        font-size: 1.4rem;
    }
    
    .slide-content p {
        font-size: 0.95rem;
    }
    
    .prev-btn,
    .next-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .prev-btn {
        left: 1rem;
    }
    
    .next-btn {
        right: 1rem;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-caption {
        bottom: 1rem;
        padding: 0.75rem 1rem;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-wrapper {
        min-height: 55px;
    }
    
    .logo i {
        font-size: 1.6rem;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-text p {
        font-size: 0.75rem;
    }
    
    .hero {
        margin-top: 55px;
        min-height: 450px;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .notice-item {
        padding: 1rem;
        margin: 0 0.5rem 1rem 0.5rem;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 150px;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    .slider-container {
        height: 280px;
    }
    
    .slide-content {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
    
    .slide-content h3 {
        font-size: 1.2rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .prev-btn,
    .next-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .slider-indicators {
        bottom: 1rem;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Loading Animation */
body.loaded {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Smooth Transitions */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .scroll-to-top,
    .mobile-menu-btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}
.top-bar {
    color: white;
    padding: 0px 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width:100%;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    align-items: center;
}

    .contact-info span {
        display: flex;
        align-items: center;
        gap: 5px;
        font-size: 14px;
        margin-right:15px;
    }
        .contact-info span i{
            color:#fff;
        }

        .nav-links {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            align-items: center;
            font-size: 14px;
            cursor:pointer;
        }
            .nav-links a{
                color:#fff;
                text-decoration:none;
            }
            .online-fee {
                background-color: red;
                color: white;
                padding: 5px 10px;
                font-weight: bold;
                border-radius: 3px;
                text-decoration: none;
            }

@media (max-width: 600px) {
    .top-bar {
        flex-direction: row;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 10px;
        flex-direction: row;
        gap: 10px;
        align-items: flex-start;
    }
}
.screen {
    display: inline-block;
    text-align: center;
    padding: 0px;
    color: #000;
    background: #f5deb3;
    width:100%;
}

    .screen a {
        text-decoration: none;
        cursor: pointer;
        color: #000;
        font-size: .8em;
        padding: 5px;
    }

.wb-back {
    background: #555;
}
@media (min-width: 992px) { /* Applies on large screens and above (Bootstrap lg breakpoint) */
    .navbar-nav .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar-nav .dropdown:hover > .nav-link {
        color: #8e24aa;
    }
}
.mark {
    /*background: #f9f9f9;
    font-size:20px;*/
    padding: 0px 20px;
    background: #172381;
    /*border-left:solid;
    border-right:solid;
    border-color:lightgray;*/
}
    .mark a {
        text-decoration: none;
        color: #fff;
        font-size: .9em;
        padding: 15px;
    }
.table-striped {
    width: 100%;
    padding: 5px;
    border: 0px solid #ddd
}

    .table-striped th {
        padding: 10px;
        text-align: left;
        font-weight: normal;
        font-size: 1em;
        border: 1px solid #f1f1f1;
        color: #fff;
        background: #8e24ab;
    }

    .table-striped td {
        padding: 15px 10px;
        text-align: left;
        font-size: .9em;
        color: #333;
        border: 1px solid #ddd;
    }
    .table-striped > tbody > tr:nth-child(odd) > td {
        background-color: #f5f5f5;
    }
.newsec {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    overflow: hidden;
}

.tab input {
    display: none;
}

label {
    display: inline-block;
    margin: 0 0 -1px;
    padding: 15px 25px;
    font-weight: bold;
    text-align: center;
    color: #444;
    border: 1px solid transparent;
}

    label:before {
        font-weight: normal;
        margin-right: 10px;
    }

    label:hover {
        color: #000;
        cursor: pointer;
    }

input:checked + label {
    color: #8e24ab;
    border: 1px solid #ddd;
    border-top: 5px solid #8e24ab;
    border-bottom: 1px solid #fff;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5,
#tab6:checked ~ #content6,
#tab7:checked ~ #content7 {
    display: block;
}


.suggestions {
    position: absolute;
    top: 28px;
    left: 0px;
    background: #fff;
    color: black;
    text-align: center;
    border: 0px solid #ccc;
    width: 100%; /* match your search box width */
    max-height: 105px; /* limit height */
    overflow-y: auto; /* vertical scroll */
    margin-top: 2px;
    padding: 0;
    list-style: none;
    z-index: 9999; /* keep it above other elements */
    cursor: pointer;
}

    .suggestions li {
        padding: 8px 12px;
        cursor: pointer;
    }

        .suggestions li:hover {
            background-color: #f0f0f0;
        }


@media screen and (max-width: 600px) {
    .suggestions {
        font-size: 13px;
        top: 38px;
        width: 90%;
    }
}

@media screen and (max-width: 500px) {
    .suggestions {
        font-size: 11px;
    }
}

.search-container {
    width: 100%;
    max-width: 500px;
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
}

.search-box {
    width: 100%;
    padding: 4px 35px 3px 40px;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

    .search-box:focus {
        border-color: #0078d7;
        box-shadow: 0 0 5px rgba(0,120,215,0.4);
    }

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: #555 !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-gadget-simple {
    background-color: #ecebf0 !important;
    border: 0 !important;
    font-size: 12px;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px 12px !important;
    cursor: pointer;
    position: relative;
    border-radius: 0px;
}

    .goog-te-gadget-simple span {
        color: #000 !important;
    }

.skiptranslate span {
    display: inline-block !important;
}

.goog-te-gadget-simple::after {
    content: "";
    font-size: 10px;
    color: #3e3065;
    margin-left: 6px;
}
.uw-widget-custom-trigger {
    bottom: 35px !important;
    left: 10px !important;
    background: #8e24aa !important;
}

    .uw-widget-custom-trigger .short-key {
        bottom: 8px !important;
        padding: 0px;
        left:14px !important;
        font-size:11px !important;
    }
.faq-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

    .faq-question .icon {
        transition: transform 0.3s ease;
        font-weight: bold;
        font-size: 1.2rem;
    }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 0;
}

    .faq-answer p {
        margin: 10px 0;
    }

.faq-item.active .faq-answer {
    max-height: 250px; /* enough for content */
    padding: 10px 0;
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
    content: "–";
}
