﻿*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}
.skewed-bar {
    width: 75%;
    height: 35px;
    color:white;
    margin-left: auto; /* Pushes the div to the right */
    margin-right: 0; /* Touches the right edge */
    background-color: #8154f3; /* The purple color */
    /* Left side slants from bottom-right to top-left, right side is perfectly straight */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 60px 100%);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
    
a {
    color: #8154f3;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4 {
    margin: 0 0 10px;
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #8154f3;
    color: #fff;
    font-size: 12px;
    padding: 6px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-left, .top-center, .top-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .top-center a {
        color: #fff;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 12px;
    }

        .top-center a:hover {
            color: #facc15;
            text-decoration: none;
        }

.date-time {
    font-size: 12px;
    font-weight: 500;
}

.go-social {
    font-weight: 600;
    margin-right: 5px;
}

.top-right a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #fff;
    color: #8154f3;
    border-radius: 50%;
    text-decoration: none;
}

    .top-right a:hover {
        background: #facc15;
        color: #fff;
    }

.icon {
    vertical-align: middle;
}

.blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* ===== HEADER ===== */
.site-header {
    background: #fff;
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}

.header-text {
    flex: 1;
}

    .header-text h1 {
        font-size: 24px;
        color: #3b8c3b;
        margin: 0;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

.gov-text {
    display: block;
    font-size: 14px;
    color: #1a237e;
    font-weight: 600;
    margin-top: -2px;
}

.odia-text {
    display: block;
    font-size: 22px;
    color: #1a237e;
    font-weight: 600;
    margin-top: 2px;
}

/* ===== HEADER EMAIL PARALLELOGRAM PANEL ===== */
.header-contact {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px 6px 30px; /* Extra left padding to fit the slant */
    margin-left: 20px;
    color: #fff;
    font-weight: 500;
    z-index: 1;
    background: none;
    border: none;
}

    /* This creates the slanted background shape */
    .header-contact::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #8154f3; /* Matches the top bar purple */
        transform: skewX(-20deg); /* Creates the parallelogram */
        border-radius: 4px; /* Slight rounding on corners */
        z-index: -1;
    }

    /* Ensure text is white and upright */
    .header-contact a {
        color: #fff !important;
        text-decoration: none;
    }

        .header-contact a:hover {
            color: #facc15 !important;
        }

    /* Ensure the envelope icon is white */
    .header-contact svg {
        fill: #fff !important;
    }
/* ===== MARQUEE ===== */
.notice-marquee {
    background: #a07bff;
    color: #fff;
    overflow: hidden;
    padding: 6px 0;
    font-size: 13px;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-weight: 600;
}

    .marquee-text a {
        color: #fff;
    }

        .marquee-text a:hover {
            color: #facc15;
        }

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ===== NAVIGATION ===== */
.main-nav {
    background: #1e1b4b;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

    .nav-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        background: #fff;
        border-radius: 2px;
    }

.nav-menu {
    display: flex;
    flex-wrap: wrap;
}

    .nav-menu > li {
        position: relative;
    }

        .nav-menu > li > a {
            display: block;
            padding: 12px 16px;
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            white-space: nowrap;
        }

            .nav-menu > li > a:hover {
                background: #312e81;
                text-decoration: none;
            }
        /* Yellow diamond separator */
        .nav-menu > li:not(:last-child)::after {
            content: '';
            position: absolute;
            right: -3px;
            top: 50%;
            transform: translateY(-50%) rotate(45deg);
            width: 5px;
            height: 5px;
            background: #facc15;
        }

/* ===== BANNER SLIDER ===== */
.banner-section {
    position: relative;
}

.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slide {
    display: none;
    width: 100%;
}

    .slide.active {
        display: block;
    }

    .slide img {
        width: 100%;
        height: 450px;
        object-fit: cover;
    }

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #fff;
    border: 0;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    padding: 5px;
}

    .slider-btn:hover {
        opacity: 1;
    }

    .slider-btn.prev {
        left: 15px;
    }

    .slider-btn.next {
        right: 15px;
    }

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

    .slider-dots button {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 2px solid #fff;
        background: transparent;
        cursor: pointer;
        padding: 0;
    }

        .slider-dots button.active {
            background: #fff;
        }

/* ===== SECTIONS ===== */
.section {
    padding: 30px 0;
}

.section-title {
    font-size: 20px;
    color: #1e1b4b;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Welcome Section */
.welcome-section {
    background: #f9f9f9;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    align-items: start;
}

.welcome-col img {
    border-radius: 4px;
    width: 100%;
}

.principal-inline {
    display: flex;
    gap: 15px;
    align-items: center;
}

.principal-thumb {
    border-radius: 50%;
    border: 2px solid #8154f3;
    flex-shrink: 0;
}

.principal-inline p {
    margin: 0;
    font-size: 13px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    background: #8154f3;
    color: #fff;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    margin-top: 8px;
    border: 0;
    cursor: pointer;
}

    .btn:hover {
        background: #6a4ee6;
        text-decoration: none;
        color: #fff;
    }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #8154f3;
    color: #fff;
    border: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: none;
    z-index: 300;
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

    .scroll-top.show {
        display: block;
    }

    .scroll-top:hover {
        background: #6a4ee6;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr;
    }

    .header-text h1 {
        font-size: 20px;
    }

    .slide img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        text-align: center;
    }

    .top-center {
        justify-content: center;
    }

    .top-right {
        justify-content: center;
    }

    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .header-contact {
        width: 100%;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }

        .nav-menu.open {
            display: flex;
        }

        .nav-menu > li {
            width: 100%;
        }

            .nav-menu > li > a {
                border-bottom: 1px solid rgba(255,255,255,.15);
            }

            .nav-menu > li:not(:last-child)::after {
                display: none;
            }

    .slide img {
        height: 220px;
    }

    .slider-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 16px;
    }

    .gov-text, .odia-text {
        font-size: 12px;
    }

    .logo-img {
        width: 70px;
        height: 70px;
    }

    .slide img {
        height: 160px;
    }
}
/* ===== WELCOME SECTION ===== */
.welcome-section {
    padding: 30px 0;
    background: #fff;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.452fr;
    gap: 25px;
    align-items: start;
}

.box-title {
    color: #1e3a8a; /* Dark Blue */
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1e3a8a;
    display: inline-block;
}

.welcome-text p,
.welcome-message p {
    font-size: 14px;
    color: #333;
    text-align:justify;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-teal {
    display: inline-block;
    background-color: #008080; /* Teal */
    color: #fff;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 3px;
}

    .btn-teal:hover {
        background-color: #006666;
        text-decoration: none;
        color: #fff;
    }

/* Video Box */
.video-box {
    position: relative;
    width: 100%;
    border: 2px solid #1e3a8a;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}

    .video-box img {
        width: 100%;
        height: auto;
        display: block;
        opacity: 0.8;
    }

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

/* Principal Card */
.principal-card {
    background-color: #1e3a8a; /* Dark Blue */
    color: #fff;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    padding-bottom: 15px;
}

    .principal-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        display: block;
        padding:10px
    }

.principal-info {
    padding: 10px;
}

    .principal-info h3 {
        margin: 0 0 5px;
        font-size: 18px;
        color: #fff;
    }

    .principal-info span {
        font-size: 14px;
        color: #ccc;
        display: block;
        margin-bottom: 5px;
    }

    .principal-info p {
        margin: 0;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
    }

/* ===== INFO BOXES SECTION ===== */
.info-boxes-section {
    padding: 20px 0 40px;
    background: #fff;
}

.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Individual Box */
.info-box {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* Box Header */
.box-header {
    background: #035519;
    height: 60px;
    border-radius: 10px 10px 0 0;
    color: #fff;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .box-header h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
    }

.box-icon {
    font-size: 18px;
}

/* Box Content */
.box-content {
    padding: 15px;
    flex-grow: 1;
    font-size: 14px;
}

    .box-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .box-content li {
        margin-bottom: 12px;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        line-height: 1.4;
    }

        .box-content li:last-child {
            margin-bottom: 0;
        }

.bullet {
    color: #1e3a8a;
    margin-right: 5px;
    font-size: 10px;
    margin-top: 4px;
}

.date {
    color: #555;
    font-size: 12px;
    white-space: nowrap;
    margin-left: 10px;
}

.box-content a {
    color: #dc2626; /* Red for Tender links */
    text-decoration: none;
}

    .box-content a:hover {
        text-decoration: underline;
    }

/* Box Footer */
.box-footer {
    padding: 10px 15px;
    text-align: right;
    border-top: 1px solid #eee;
}

.btn-teal-sm {
    display: inline-block;
    background-color: #008080;
    color: #fff;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
}

    .btn-teal-sm:hover {
        background-color: #006666;
        text-decoration: none;
        color: #fff;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr 1fr;
    }

    .info-boxes-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .welcome-grid {
        grid-template-columns: 1fr;
    }

    .info-boxes-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== SHARED SECTION STYLES ===== */
.section-title-center {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 14px;
    color: #555;
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

/* ===== ADMINISTRATION SECTION ===== */
.admin-section {
    padding: 40px 0;
    background: #fff;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.admin-card {
    display: flex;
    border: 1px solid #ddd;
    background: #f9f9f9;
    min-height: 160px;
    overflow: hidden;
}

.admin-text {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .admin-text h3 {
        font-size: 14px;
        color: #333;
        margin: 0 0 8px 0;
        text-transform: uppercase;
        font-weight: 700;
    }

    .admin-text p {
        font-size: 12px;
        color: #666;
        line-height: 1.4;
        margin: 0;
    }

.admin-img {
    width: 45%;
    overflow: hidden;
    flex-shrink: 0;
}

    .admin-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ===== STUDENT CORNER SECTION ===== */
.student-section {
    padding: 20px 0 50px;
    background: #fff;
}

.student-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.student-card {
    border: 1px solid #ddd;
    background: #fff;
    text-align: center;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
}

    .student-card:hover {
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .student-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
        margin-bottom: 15px;
    }

    .student-card h3 {
        font-size: 16px;
        color: #333;
        margin: 0 0 10px 0;
        font-weight: 700;
    }

    .student-card p {
        font-size: 13px;
        color: #555;
        padding: 0 15px;
        margin: 0 0 15px 0;
        line-height: 1.4;
        flex-grow: 1; /* Pushes button to the bottom */
    }

    .student-card .btn-teal {
        margin-bottom: 5px;
    }

/* ===== TEAL BUTTON ===== */
.btn-teal {
    display: inline-block;
    background-color: #008080;
    color: #fff;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    align-self: center;
}

    .btn-teal:hover {
        background-color: #006666;
        text-decoration: none;
        color: #fff;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }

    .student-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .student-grid {
        grid-template-columns: 1fr;
    }

    .admin-card {
        flex-direction: column;
    }

    .admin-img {
        width: 100%;
        height: 180px;
    }
}
/* ===== SHARED SECTION TITLES ===== */
.section-title-light {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.section-title-dark {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* ===== OUR DEPARTMENTS SECTION ===== */
/* ===== OUR DEPARTMENTS SECTION ===== */
.departments-section {
    padding: 40px 0;
    background-color: #2a2a2a; /* Dark background */
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* CHANGED: 2x2 Grid */
    gap: 25px; /* Increased gap for better readability */
}

.dept-card {
    display: flex;
    flex-direction: column;
    padding: 15px 12px; /* More padding for the extra text */
    text-align: left; /* CHANGED: Left align makes long text readable */
    color: #fff;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .dept-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    }

/* Department Colors */
.dept-purple {
    background-color: #7b4eb5;
}

.dept-teal {
    background-color: #59b8a8;
}

.dept-blue {
    background-color: #3b7abf;
}

.dept-darkblue {
    background-color: #616002;
}

/* Icon Styling */
.dept-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center; /* Keep icon centered */
}

/* Title Styling */
.dept-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    text-align: center; /* Keep title centered */
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Separator line */
}

/* Content Area Styling */
.dept-content {
    flex-grow: 1;
}

.dept-subtitle {
    font-size: 13px;
    font-weight: 700;
    margin: 15px 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #facc15; /* Yellow accent color for Vision/Mission titles */
}

.dept-content p {
    font-size: 14.5px;
    line-height: 1.36;
    margin: 0 0 10px 0;
    opacity: 0.95;
    text-align: left;
}

/* Mission List Styling */
.dept-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

    .dept-list li {
        font-size: 13.8px;
        line-height: 1.35;  
        margin-bottom: 8px;
        opacity: 0.95;
        text-align: left;
    }

        .dept-list li strong {
            color: #fff;
        }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .dept-grid {
        grid-template-columns: 1fr; /* Stacks to 1 column on tablets/mobile */
    }
}

/* ===== OUR RECRUITER SECTION ===== */
.recruiter-section {
    padding: 30px 0;
    background: #fff;
}

.recruiter-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.recruiter-track {
    display: flex;
    gap: 30px;
    align-items: center;
    width: max-content;
}

.recruiter-logo {
    flex-shrink: 0;
    width: 184px;
    height: 148px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    padding: 5px;
    background: #fff;
}

    .recruiter-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

/* ===== OUR GALLERY SECTION ===== */
.gallery-section {
    padding: 30px 0 50px;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    display: block;
    text-decoration: none;
    color: #333;
    text-align: center;
    border: 1px solid #eee;
    transition: box-shadow 0.2s ease;
}

    .gallery-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        text-decoration: none;
    }

    .gallery-item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
    }

.gallery-caption {
    padding: 10px;
}

    .gallery-caption p {
        font-size: 13px;
        font-weight: 600;
        margin: 0 0 5px 0;
        color: #333;
    }

.red-link {
    font-size: 12px;
    color: #dc2626;
    text-decoration: underline;
    font-weight: bold;
}

.gallery-item:hover .red-link {
    color: #b91c1c;
}

/* ===== FOOTER SECTION ===== */
.site-footer {
    background-color: #4c2f66;
    color: #ccc;
    padding: 35px 0 0;
    font-size: 13px;
    border-top: 4px solid #1e3a8a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #444;
}

.footer-col h3 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-col ul li {
        margin-bottom: 8px;
    }

        .footer-col ul li a {
            color: #ccc;
            text-decoration: none;
            font-size: 13px;
        }

            .footer-col ul li a:hover {
                color: #facc15;
                text-decoration: underline;
            }

.footer-col p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.footer-col a {
    color: #facc15;
    text-decoration: none;
}

    .footer-col a:hover {
        text-decoration: underline;
    }

/* Footer Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 12px;
    color: #888;
    flex-wrap: wrap;
    gap: 10px;
}

    .footer-bottom p {
        margin: 0;
    }

.starsoft {
    color: #facc15;
    font-weight: bold;
    text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .dept-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .dept-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
/* ===== NAVIGATION ===== */
.main-nav {
    background: #1e1b4b;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

    .nav-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        background: #fff;
        border-radius: 2px;
    }

.nav-menu {
    display: flex;
    flex-wrap: wrap;
}

    .nav-menu > li {
        position: relative;
    }

        .nav-menu > li > a {
            display: block;
            padding: 12px 16px;
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            white-space: nowrap;
            text-decoration: none;
        }

            .nav-menu > li > a:hover {
                background: #312e81;
            }

        /* Desktop Dropdowns */
        .nav-menu > li > .dropdown {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            min-width: 220px;
            box-shadow: 0 4px 12px rgba(0,0,0,.15);
            z-index: 200;
            border-top: 3px solid #8162ff;
            padding: 0;
            list-style: none;
        }

        .nav-menu > li:hover > .dropdown {
            display: block;
        }

/* Nested Dropdowns (Level 2 and Level 3) */
.dropdown li {
    position: relative;
}

.dropdown .dropdown {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background:white;
    margin-top: -3px; /* Align with border-top */
    border-top: 3px solid #8162ff;
}

.dropdown li:hover > .dropdown {
    display: block;
}

.dropdown li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
}

    .dropdown li a:hover {
        background: #f5f3ff;
        color: #8162ff;
    }
/* Arrow indicator for nested dropdowns */
.dropdown li.has-dropdown > a::after {
    content: '▸';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== RESPONSIVE / MOBILE NAVIGATION ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #1e1b4b;
    }

        .nav-menu.open {
            display: flex;
        }

        .nav-menu > li {
            width: 100%;
        }

            .nav-menu > li > a {
                border-bottom: 1px solid rgba(255,255,255,.15);
                padding: 12px 15px;
            }

            /* Mobile Dropdowns (Static) */
            .nav-menu > li > .dropdown {
                position: static;
                box-shadow: none;
                border-top: 0;
                background: #6a4ee6;
                min-width: 0;
                display: none;
            }

            .nav-menu > li.open > .dropdown {
                display: block;
            }

    .dropdown .dropdown {
        position: static;
        background: #5a3fd6;
        border-top: 0;
        margin-top: 0;
    }

    .dropdown li.has-dropdown.open > .dropdown {
        display: block;
    }

    .dropdown li a {
        color: #fff;
        border-bottom-color: rgba(255,255,255,.1);
        padding-left: 25px; /* Indent for level 1 */
    }

    .dropdown li .dropdown li a {
        padding-left: 40px; /* Indent for level 2 */
    }

    .dropdown li a:hover {
        background: #5a3fd6;
        color: #fff;
    }

    /* Change arrow direction on mobile */
    .dropdown li.has-dropdown > a::after {
        content: '▾';
    }
}
/* ===== PAGE BANNER ===== */
.page-banner {
    height: 30vh;
    background-color: #1e3a8a; /* Dark Blue */
    /* Lightweight dot pattern to mimic the original design */
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

    .page-banner h1 {
        font-size: 32px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin: 0;
        color: #fff;
    }

/* ===== PAGE CONTENT & SIDEBAR LAYOUT ===== */
.page-content-section {
    padding: 0 0 60px 0;
    background: #fff;
}

.page-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Left Column (Main Content) */
.main-content-area {
    flex: 1; /* Takes approximately 70% of the space */
}

    .main-content-area p {
        font-size: 16px;
        line-height: 1.8;
        color: #333;
        margin: 0;
        font-weight:600;
        text-align: justify;
    }

/* Right Column (Sidebar) */
.sidebar-area {
    width: 30%; /* Exactly 30% as requested */
    flex-shrink: 0;
}

.quick-links-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 13px;
    border-radius: 4px;
}

    .quick-links-box h3 {
        font-size: 18px;
        color: #1e3a8a;
        margin: 0 0 15px 0;
        padding-bottom: 10px;
        border-bottom: 2px dashed #1e3a8a; /* Dashed underline matching screenshot */
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .quick-links-box ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .quick-links-box ul li {
            margin-bottom: 1px;
            border-bottom: 1px solid #f3f4f6;
            padding-bottom: 2px;
        }

            .quick-links-box ul li:last-child {
                border-bottom: none;
                margin-bottom: 0;
                padding-bottom: 0;
            }

            .quick-links-box ul li a {
                color: #555;
                text-decoration: none;
                font-size: 14px;
                font-weight:600;
                display: flex;
                align-items: center;
                gap: 8px;
                transition: color 0.2s ease;
            }

                .quick-links-box ul li a::before {
                    content: '▸';
                    color: #1e3a8a;
                    font-size: 14px;
                }

                .quick-links-box ul li a:hover {
                    color: #1e3a8a;
                    text-decoration: underline;
                }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .page-layout {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 25vh;
    }

        .page-banner h1 {
            font-size: 24px;
        }

    .page-layout {
        flex-direction: column; /* Stack on mobile */
    }

    .sidebar-area {
        width: 100%; /* Full width on mobile */
    }

    .main-content-area p {
        font-size: 15px;
        text-align: left; /* Better readability on mobile */
    }
}
/* ===== VISION & MISSION CONTENT STYLES ===== */
.content-heading {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin: 30px 0 15px 0;
    text-transform: capitalize;
}

.content-list {
    list-style-type: disc; /* Standard bullet points */
    padding-left: 25px;
    margin: 0 0 25px 0;
}

    .content-list li {
        font-size: 15px;
        line-height: 1.7;
        color: #444;
        margin-bottom: 10px;
    }

/* Responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .content-heading {
        font-size: 22px;
    }

    .content-list li {
        font-size: 14px;
    }
}
.service-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

    .service-table th {
        background: linear-gradient(180deg, black, blue);
        color: #fff;
        padding: 12px;
        text-align: left;
    }

    .service-table td {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .service-table tr:nth-child(even) {
        background: #f2f2f2;
    }

    .service-table tr:hover {
        background: #ffe5b4; /* peach highlight */
        transition: 0.3s;
    }
.governing-body {
    max-width: 900px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: Lato, Arial, sans-serif;
}

    .governing-body h2 {
        font-family: Montserrat, sans-serif;
        font-size: 22px;
        margin-bottom: 10px;
        color: navy;
    }

    .governing-body p {
        margin-bottom: 20px;
        line-height: 1.6;
        font-size: 15px;
    }

.gov-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

    .gov-table th {
        background: linear-gradient(180deg, black, blue);
        color: #fff;
        padding: 12px;
        text-align: left;
    }

    .gov-table td {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .gov-table tr:nth-child(even) {
        background: #f9f9f9;
    }

    .gov-table tr:hover {
        background: #ffe5b4; /* peach highlight */
        transition: 0.3s;
    }
.pdf-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

    .pdf-table td {
        padding: 20px;
        text-align:start;
    }

    .pdf-table img {
        width: 77px;
        height: 100px;
        transition: transform 0.3s ease;
    }

        .pdf-table img:hover {
            transform: scale(1.1);
        }

    .pdf-table a {
        text-decoration: none;
        color: navy;
        font-family: Montserrat, Arial, sans-serif;
    }

        .pdf-table a strong {
            display: block;
            margin-top: 8px;
            font-size: 14px;
        }
