.site-wrapper {
    overflow-x: hidden;
    width: 100%;
}

/* --- New Header Styles --- */
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace
}

/* Body padding to prevent content from being hidden by the fixed header */
body {
    padding-top: 0px;
    /* Adjust this value based on your final header height */
    font-family: 'Roboto', 'Lora', Georgia, serif;



}

/* Top Bar Styling (Non-Sticky) */
.site-wrapper {
    background-color: #002147;
    color: white;
    padding: 4px 0;
    font-size: 0.9rem;
    position: relative;
    /* To stay in the normal flow */
    z-index: 1031;
    /* Higher than sticky header */
}

.top-bar-left {
    padding-left: 50px;
}

.site-wrapper a {
    color: white;
    text-decoration: none;
}

.site-wrapper a:hover {
    text-decoration: underline;
}

.affiliated-text {
    color: white;
    font-weight: bold;
}

/* Sticky Header Wrapper */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    /* Standard sticky z-index */
    background-color: white;
    /* Ensure it has a background */
    transition: box-shadow 0.3s ease;
}

/* Add shadow when header is stuck */
.header-scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Logo and Navigation Section */
.logo-nav-section {
    background-color: white;
}

.logo-container img {
    max-height: 80px;
    margin-left: 40px;
    transition: max-height 0.3s ease;
    /* For smooth shrinking */
}

/* Shrink logo on scroll */
.header-scrolled .logo-container img {
    max-height: 60px;
}

/* Main Navigation Bar */
.main-navbar {
    background-color: #002147 !important;
    border-radius: 7px;
}

.main-navbar .nav-link {
    color: white !important;
    font-weight: 600;
    padding: 10px 15px !important;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.main-navbar .nav-link:hover,
.main-navbar .dropdown-item:hover {
    color: #ff0707 !important;
}

.dropdown-menu {
    background-color: #00005a;
    border: none;
}

.dropdown-item {
    color: white !important;
}

.header-bottom-border {
    border-bottom: 5px solid #1d3557;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    .top-bar-left,
    .top-bar-right {
        text-align: center;
        padding: 5px 0;
    }

    .logo-container {
        text-align: center;
        padding-bottom: 10px;
    }

    .logo-container img {
        margin: 0 auto;
    }

    .main-navbar {
        width: 100%;
    }
}

.top-bar-left,
.top-bar-right {
    text-align: center;
    padding: 5px 0;
}

.logo-container {
    text-align: center;
    padding-bottom: 10px;
}

.logo-container img {
    margin: 0 auto;
}

.main-navbar {
    width: 100%;
}


/* --- End of New Header Styles --- */
/* --- New Footer Styles --- */
.footer-top {
    background-color: #002147;
    /* Dark Blue */
    color: white;
    padding: 40px 0;
}

.footer-top h4 {
    font-weight: bold;
    border-bottom: 3px solid teal;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: white;
}

.footer-top h5 {
    font-weight: bold;
    color: white;
    margin-top: 15px;
}

.footer-contact p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-contact p i {
    margin-right: 8px;
    color: #f0f8ff;
}

.footer-top a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-top a:hover {
    color: #00bcd4;
    /* Teal color on hover */
    text-decoration: underline;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    padding: 8px 0;
}

.copyright-bar {
    background: #ed0b0b;
    /* Bootstrap primary blue (change if needed) */
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
}

.copyright-bar a {
    color: #f1f0eb;
    /* Gold for contrast */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.copyright-bar a:hover {
    color: #dacf00;
    /* White on hover */
    text-decoration: none;
}


.whatsapp-btn i {
    margin-right: 8px;
    font-size: 18px;
}

a {
    text-decoration: none !important;
    /* removes underline */
    color: inherit;
    /* optional: keeps same text color as parent */
}

a:hover {
    text-decoration: underline;
    /* optional: underline only on hover */
    color: #e2ad00;
    /* optional: blue hover color */
}



/* Show dropdown on hover */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* align properly */
}

/* --- Welcome & Principal's Desk Section Styles --- */
.welcome-section {
    padding: 0px 0;
    background-color: #f4f7fc;
    /* A very light blue background */
}

.info-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    text-align: center;
    height: 100%;
    /* Ensures both boxes are the same height */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.info-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #002147;
    /* Dark Blue */
    margin-bottom: 10px;
}

.info-divider {
    width: 70px;
    height: 4px;
    background-color: teal;
    margin: 0 auto 25px auto;
}

.info-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 20px auto;
}

.info-principal {
    max-width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    border: 6px solid #e9ecef;
}

.principal-name {
    text-align: center;
    color: #004080;
    font-weight: bold;
    margin-bottom: 15px;
}

.info-box p {
    text-align: justify;
    color: #555;
    line-height: 1.8;
    flex-grow: 1;
    /* Pushes the 'Read More' link to the bottom if content is short */
}

.info-box p a {
    font-weight: bold;
    color: #002147;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.info-box p a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        /* Increased padding for mobile to accommodate the taller header */
        padding-top: 0px;
    }

    .right-menu-container {
        border-left: none;
        border-top: 1px solid #ddd;
    }
}

/* ... rest of the styles ... */
/* --- Admissions Preview Section Styles --- */
/* --- Admissions Preview Section Styles --- */
.admissions-preview-section {
    background-color: #f0f8ff;
    padding: 80px 0;
    overflow: hidden;
}

.image-collage {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-image-container {
    position: relative;
    width: 90%;
    height: 90%;
    border: 8px solid white;
    box-shadow: 0 15px 40px rgba(0, 50, 100, 0.15);
    z-index: 2;
    overflow: hidden;
    border-radius: 30% 70% 55% 45% / 55% 30% 70% 45%;
    animation: morph 8s ease-in-out infinite;
}

.single-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 55% 45% / 55% 30% 70% 45%;
    }

    50% {
        border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%;
    }

    100% {
        border-radius: 30% 70% 55% 45% / 55% 30% 70% 45%;
    }
}

.shape {
    position: absolute;
    border-radius: 50px;
    z-index: 1;
}

.shape-1 {
    width: 100%;
    height: 100%;
    background: #002147;
    top: 0;
    left: 0;
    border-radius: 70% 30% 40% 60% / 60% 40% 60% 40%;
}



.admission-content .college-name {
    color: #005A9E;
    font-weight: bold;
}

.admission-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.admission-content p {
    color: #555;
    line-height: 1.7;
}

.program-links {
    margin: 30px 0;
}

.program-links a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    margin-right: 20px;
    margin-bottom: 10px;
}

.program-links a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #002147;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.program-links a:hover span {
    background-color: #005A9E;
}

.explore-btn {
    display: inline-block;
    background: #002147;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.explore-btn:hover {
    background: #002147;
    color: white;
    transform: translateY(-2px);
}

/* --- CTA Buttons Section Styles --- */
.cta-section {
    padding: 40px 0;
    background: #f4f7fc;
    /* Matches the welcome section background */
}

.cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: #002147;
    /* Main dark blue */
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 128, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-align: center;
    min-height: 140px;
    /* Ensures all buttons are the same height */
}

.cta-button i {
    font-size: 2.5rem;
    /* Icon size */
    margin-bottom: 15px;
    /* Space between icon and text */
}

.cta-button:hover {
    background-color: #ffffff;
    color: #002147;
    /* Main dark blue */
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 128, 0.3);
}

/* --- Statistics Section Styles --- */
.statistics-section {
    padding: 80px 0;
    /* Using a gradient background for a modern look */
    background: linear-gradient(to right, #002147, #002147);
    color: white;
    position: relative;
    text-align: center;
}

.stats-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.stats-subtitle {
    font-size: 1.2rem;
    color: #ffc107;
    /* Yellow Accent */
    font-weight: 600;
}

.stats-card {
    background: rgba(255, 255, 255, 0.1);
    /* Semi-transparent background */
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    /* Frosted glass effect */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.stats-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.stats-card i {
    font-size: 3rem;
    color: #ffc107;
    /* Yellow Accent */
    margin-bottom: 20px;
}

.stats-card h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.stats-card p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e9ecef;
    margin: 0;
}

/* --- Courses Preview Section Styles --- */
.courses-preview-section {
    padding: 0px 0;
    background-color: #ffffff;
}

.section-subtitle-red {
    color: #d90429;
    /* Red color */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00005a;
    /* Dark Navy Blue */
}

.course-preview-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.course-preview-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-preview-card .card-content {
    padding: 25px;
}

.course-preview-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.course-preview-card hr {
    border-top: 1px solid #eee;
    margin: 0 auto 20px auto;
    width: 80%;
}

.course-preview-card a {
    text-decoration: none;
    color: #000080;
    /* Main dark blue */
    font-weight: 600;
    transition: color 0.3s;
}

.course-preview-card a:hover {
    color: #005A9E;
    /* Lighter blue on hover */
}

/* --- Why Choose Us Section Styles --- */
.why-choose-us-section {
    padding: 60px 0;
    background-color: #f0f8ff;
    /* Light Alice Blue background to match theme */
}

.choose-us-card {
    border-radius: 15px;
    overflow: hidden;
    color: white;
    padding: 40px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.choose-us-card:hover {
    transform: scale(1.03);
    /* Slight zoom effect on hover */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.choose-us-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.choose-us-card p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* --- Notice Board & Quick Contact Section Styles (with Scrolling) --- */
/* --- Notice Board & Quick Contact Section Styles (with Marquee) --- */
.notice-contact-section {
    padding: 10px 0;
    background-color: #f8f9fa;
    /* Light grey background */
}

/* Notice Board Card */
.notice-board-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
}

.notice-board-card .card-header {
    background: linear-gradient(to right, #002147, #002147);
    padding: 20px;
    text-align: center;
}

.notice-board-card .card-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* NEW: Styles for the marquee container and content */
.notice-box {
    height: 380px;
    /* Fixed height for the marquee area */
    padding: 10px 0;
    /* Add some vertical padding */
}



.notice-line {
    display: flex;
    align-items: flex-start;
    margin: 1px 3px 5px 50px;
    /* Top, Right, Bottom, Left */
    color: #555;
    line-height: 1.6;
    border-bottom: 1px dashed #eee;
}

.notice-line i {
    color: #d90429;
    /* Red arrow */
    margin-right: 15px;
    margin-top: 5px;
}

/* Contact Form Card (No changes here) */
.contact-form-card {
    background: #002147;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    color: white;
    height: 100%;
}

.contact-form-card h4 {
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.contact-form-card .form-group {
    margin-bottom: 15px;
}

.contact-form-card .form-control {
    background-color: #f8f9fa;
    border: none;
    border-radius: 8px;
    padding: 15px;
}

.contact-form-card .form-control::placeholder {
    color: #888;
}

.contact-form-card textarea.form-control {
    resize: none;
}

.submit-btn {
    background: #d90429;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 40px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #b90325;
    transform: translateY(-2px);
}

/* --- Training & Placement Section Styles --- */
.placement-section {
    padding: 60px 0;
    background-color: #dcdcdc;
    /* Light grey background from image */
}

.placement-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00005a;
    /* Orange color from image */
    text-transform: uppercase;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.placement-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: #e67e22;
}

.student-card {
    background: #fff;
    border: 1px solid #333;
    /* Inner black border */
    padding: 8px;
    text-align: center;
    /* This creates the double border effect */
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px #aaa;
}

.student-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    /* Focus on the top part of the image */
    margin-bottom: 10px;
}

.student-name {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
    text-transform: uppercase;
}

.company-logo {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    margin-top: 5px;
}

/* Custom styles for Owl Carousel Navigation */
.placement-carousel .owl-nav {
    position: absolute;
    top: 40%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.placement-carousel .owl-prev,
.placement-carousel .owl-next {
    pointer-events: auto;
    font-size: 1.5rem !important;
    color: #333 !important;
    background: rgba(255, 255, 255, 0.7) !important;
    padding: 5px 15px !important;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
}

.placement-carousel .owl-prev:hover,
.placement-carousel .owl-next:hover {
    background: #333 !important;
    color: #fff !important;
}

.placement-carousel .owl-prev {
    transform: translateX(-30px);
}

.placement-carousel .owl-next {
    transform: translateX(30px);
}

/* --- NEW Preloader Styles (Bike Animation) --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f8ff;
    /* Your theme's light blue background */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.bike {
    display: block;
    margin: auto;
    width: 16em;
    height: auto;
    /* This makes the bike animation scalable */
    font-size: calc(16px + (24 - 16) * (100vw - 320px) / (1280 - 320));
}

.bike__body,
.bike__front,
.bike__handlebars,
.bike__pedals,
.bike__pedals-spin,
.bike__seat,
.bike__spokes,
.bike__spokes-spin,
.bike__tire {
    animation: bikeBody 3s ease-in-out infinite;
    stroke: #0cee04;
    /* Your theme's dark blue color */
}

.bike__front {
    animation-name: bikeFront;
}

.bike__handlebars {
    animation-name: bikeHandlebars;
}

.bike__pedals {
    animation-name: bikePedals;
}

.bike__pedals-spin {
    animation-name: bikePedalsSpin;
}

.bike__seat {
    animation-name: bikeSeat;
}

.bike__spokes,
.bike__tire {
    stroke: #e80707;
    /* A slightly different navy blue for tires */
}

.bike__spokes {
    animation-name: bikeSpokes;
}

.bike__spokes-spin {
    animation-name: bikeSpokesSpin;
}

.bike__tire {
    animation-name: bikeTire;
}

/* Keyframe Animations (Copied from your provided code) */
@keyframes bikeBody {
    from {
        stroke-dashoffset: 79;
    }

    33%,
    67% {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -79;
    }
}

@keyframes bikeFront {
    from {
        stroke-dashoffset: 19;
    }

    33%,
    67% {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -19;
    }
}

@keyframes bikeHandlebars {
    from {
        stroke-dashoffset: 10;
    }

    33%,
    67% {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -10;
    }
}

@keyframes bikePedals {
    from {
        animation-timing-function: ease-in;
        stroke-dashoffset: -25.133;
    }

    33%,
    67% {
        animation-timing-function: ease-out;
        stroke-dashoffset: -21.991;
    }

    to {
        stroke-dashoffset: -25.133;
    }
}

@keyframes bikePedalsSpin {
    from {
        transform: rotate(0.1875turn);
    }

    to {
        transform: rotate(3.1875turn);
    }
}

@keyframes bikeSeat {
    from {
        stroke-dashoffset: 5;
    }

    33%,
    67% {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -5;
    }
}

@keyframes bikeSpokes {
    from {
        animation-timing-function: ease-in;
        stroke-dashoffset: -31.416;
    }

    33%,
    67% {
        animation-timing-function: ease-out;
        stroke-dashoffset: -23.562;
    }

    to {
        stroke-dashoffset: -31.416;
    }
}

@keyframes bikeSpokesSpin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(3turn);
    }
}

@keyframes bikeTire {
    from {
        animation-timing-function: ease-in;
        stroke-dashoffset: 56.549;
        transform: rotate(0);
    }

    33% {
        stroke-dashoffset: 0;
        transform: rotate(0.33turn);
    }

    67% {
        animation-timing-function: ease-out;
        stroke-dashoffset: 0;
        transform: rotate(0.67turn);
    }

    to {
        stroke-dashoffset: -56.549;
        transform: rotate(1turn);
    }
}

/* --- Gallery Page Styles --- */
/* --- UPDATED Gallery Page Styles --- */

/* Gallery Header Section */
.gallery-header-section {
    padding-bottom: 50px;
}

.gallery-title-wrapper {
    text-align: left;
    /* Text aligned to the left */
    margin-bottom: 30px;
}

.gallery-title-wrapper h1 {
    font-family: 'Times New Roman', Times, serif;
    /* Serif font like the image */
    padding-top: 5px;
    font-size: 3rem;
    color: #222;
    text-align: center;
}

.gallery-title-wrapper p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    color: #666;
    text-align: center;
}

/* Filter Buttons Styling */
.filter-buttons-wrapper {
    display: flex;
    justify-content: center;
    /* Buttons aligned to the right */
}

.filter-buttons .filter-btn {
    margin: 0 5px;
    font-weight: 600;
    color: #007bff;
    /* Blue text color */
    background-color: transparent;
    border: 2px solid #007bff;
    border-radius: 8px;
    /* Slightly more rounded corners */
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.filter-buttons .filter-btn:hover {
    background-color: #007bff;
    color: white;
}

.filter-buttons .filter-btn.active {
    background-color: #007bff;
    /* Solid blue for active button */
    color: white;
}

/* Gallery Grid Styling (remains mostly the same) */
.gallery-section {
    padding-top: 0;
    /* Remove top padding to align with the header */
}

.gallery-item {
    margin-bottom: 30px;
    animation: fadeIn 0.5s;
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-image-wrapper img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.gallery-image-wrapper:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 45, 106, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-image-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2.5rem;
}

/* --- FINAL About Us Page Styles (Consistent Shape Design) --- */
.about-two {
    background-color: #f8f9fa;
}

.about-three {
    background-color: #ffffff;
    padding-top: 80px;
    /* Added top padding to the first section */
}

/* Common Section Title Styles */
.section-title {
    margin-bottom: 30px;
}

.section-title__tagline {
    display: block;
    color: #d90429;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6347;
}

/* Image Wrapper Styles */
.about-two__img,
.about-three__img {
    position: relative;
    border-radius: 20px;
    z-index: 1;

}

.about-two__img img,
.about-three__img img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* NEW: Unified Shape Style */
.shape-outline {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    z-index: 1;
    /* Behind the image */
    transition: transform 0.5s ease;
    top: 10px;
    left: 10px;
}

/* NEW: Different Colors for Shapes */
.shape-blue {
    border: 5px solid #007bff;
    /* Blue Border */
}

.shape-yellow {
    border: 5px solid #ffc107;
    /* Yellow Border */
}

/* Hover effect for the entire image container */
.about-two__img:hover .shape-outline,
.about-three__img:hover .shape-outline {
    transform: rotate(5deg) scale(1.05);
}

/* Text Content Styles */
.about-two__text p,
.about-three__text p {
    color: #555;
    line-height: 1.5;
    text-align: justify;
    margin-bottom: 1rem;
}


@media (min-width: 992px) {

    .about-two__img:hover .shape-outline,
    .about-three__img:hover .shape-outline {
        transform: scale(1.05);
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .about-three {
        padding-top: 40px;
        overflow: hidden;
    }

    .about-two__left,
    .about-three__left {
        margin-bottom: 40px;
    }

    .about-three__right,
    .about-two__right {
        order: 1;
    }

    .about-three__left,
    .about-two__left {
        order: 2;
    }

    .section-title {
        text-align: center !important;
    }
}

/* --- Vision & Mission Page Styles --- */
/* --- NEW Inner Page Header (Breadcrumb) Styles --- */
.inner-page-header {
    padding: 25px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

/* Add a dark overlay on top of the background image */
.inner-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 36, 36, 0.146);
    /* Your theme's dark blue with transparency */
    z-index: 1;
}

/* Ensure the content is above the overlay */
.inner-page-header .container {
    position: relative;
    z-index: 2;
}

.inner-page-header h1 {
    display: inline-block;
    /* Primary Blue */
    color: white;
    padding: 10px 30px;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.breadcrumb-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: #ffc107;
    /* Yellow accent on hover */
}

.breadcrumb-nav i {
    margin-right: 8px;
}

.vision-mission-section .vm-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.vision-mission-section .vm-image-wrapper img {
    width: 100%;
}

.vm-content-wrapper .icon-title {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.vm-content-wrapper .icon-title i {
    font-size: 3rem;
    color: #007bff;
    /* Primary blue */
    margin-right: 20px;
}

.vm-content-wrapper .icon-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00005a;
    /* Dark Navy Blue */
    margin-top: 18px;
}

.vm-content-wrapper p {
    color: #555;
    line-height: 1.9;
    text-align: justify;
}

/* Styling for the mission points list */
.mission-points {
    list-style: none;
    padding: 0;
}

.mission-points li {
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 5px;
    line-height: 1.8;
}

.mission-points li i {
    color: #28a745;
    /* Green checkmark */
    font-size: 1.4rem;
    margin-right: 15px;
    margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .vm-image-wrapper {
        margin-bottom: 30px;
    }

}

/* --- Fee Structure Page Styles --- */
.fee-structure-section {
    background-color: #ffffff;
}

/* Page Top Header */
.fee-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}

.fee-header img {
    max-height: 100px;
}

.fee-header .header-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000080;
    /* Dark Blue */
}

.fee-header .header-text p {
    font-size: 0.9rem;
    color: #005A9E;
    /* Blue */
    margin: 5px 0;
}

.fee-header .header-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #d90429;
    /* Red */
}

/* Table Wrapper and Title */
.fee-table-wrapper {
    margin-bottom: 40px;
}

.course-category-title {
    background-color: #0d2d6a;
    /* Navy Blue */
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Table Styling */
.fee-table {
    border: 2px solid black;
    text-align: center;
    vertical-align: middle;
}

.fee-table thead th {
    background-color: #f8f9fa;
    border: 1px solid black;
    font-weight: bold;
    color: #333;
    padding: 12px 5px;
}

.fee-table thead th small {
    font-weight: normal;
}

.fee-table tbody td {
    border: 1px solid black;
    padding: 10px 5px;
}

.fee-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.fee-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}


/* --- FINAL Dropdown & Submenu Styles (Pure CSS Hover) --- */

/* Only apply hover effect on desktop screens */
@media (min-width: 992px) {

    /* Ensure dropdowns are positioned correctly */
    .dropdown-menu {
        margin-top: 0;
    }

    /* Hide dropdowns by default */
    .dropdown:hover>.dropdown-menu,
    .dropdown-submenu:hover>.dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        display: none;
        /* Keep them hidden until the parent is hovered */
    }

    /* Position the nested submenu to the right */
    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
    }

    /* Add a right arrow to indicate a submenu */
    .dropdown-submenu>.dropdown-item.dropdown-toggle::after {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: .255em;
        vertical-align: .255em;
        content: "";
        border-top: .3em solid transparent;
        border-right: 0;
        border-bottom: .3em solid transparent;
        border-left: .3em solid;
    }
}


/* --- Examination & Results Page Styles --- */

/* Examination Table */
.exam-table thead th {
    background-color: #00005a;
    /* Dark navy blue from your theme */
    color: white;
    text-align: center;
    vertical-align: middle;
}

.exam-table tbody td {
    vertical-align: middle;
    text-align: center;
}

.exam-table tbody td:first-child {
    text-align: left;
}

/* Results List */
.result-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.result-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.result-list li:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.result-list .result-title {
    font-weight: 600;
    color: #333;
}

.result-list .badge {
    margin-left: 10px;
    font-size: 0.8rem;
}

/* Guidelines List */
.guidelines-list {
    list-style: none;
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto;
}

.guidelines-list li {
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.guidelines-list i {
    color: #007bff;
    /* Primary blue checkmark */
    margin-right: 15px;
    margin-top: 6px;
}

/* --- Academic Calendar Page Styles --- */

.calendar-table {
    border: 1px solid #dee2e6;
}

.calendar-table thead.table-dark {
    background-color: #00005a;
    /* Your theme's dark navy blue */
    color: white;
}

.calendar-table thead th {
    text-align: center;
    vertical-align: middle;
}

.calendar-table tbody td {
    vertical-align: middle;
}

/* Style for the semester heading rows */
.calendar-table .table-primary {
    background-color: #cfe2ff;
    /* Light blue from Bootstrap */
    font-size: 1.1rem;
    text-align: center;
}

/* --- Certificates Page Styles --- */

.certificate-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    overflow: hidden;
    /* Important for the image overlay */
}

.certificate-card:hover {
    transform: translateY(-10px);
}

.certificate-card a {
    display: block;
    position: relative;
}

.certificate-card img {
    width: 100%;
    height: 350px;
    /* Fixed height for consistency */
    object-fit: cover;
    /* Ensures the image covers the area */
    object-position: top;
    /* Focus on the top part of the certificate */
}

.certificate-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 45, 106, 0.7);
    /* Your theme's dark blue with transparency */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: white;
}

.certificate-card a:hover .overlay {
    opacity: 1;
}

.certificate-card .overlay i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.certificate-card .overlay span {
    font-weight: 600;
}

.certificate-card .card-body {
    padding: 25px;
    text-align: center;
}

.certificate-card .card-title {
    font-weight: 700;
    color: #00005a;
    /* Dark Navy Blue */
}

.certificate-card .card-text {
    color: #555;
}

/* --- Course Cards Styles (for certificate, diploma, degree pages) --- */

.course-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Ensures all cards in a row are the same height */
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.course-image {
    height: 220px;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Allows the footer to stick to the bottom */
}

.course-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00005a;
    /* Dark Navy Blue */
    margin-bottom: 15px;
    min-height: 50px;
    /* Gives space for 2 lines of title */
}

.course-meta {
    display: flex;
    gap: 20px;
    color: #555;
    font-weight: 500;
    margin-bottom: 15px;
}

.course-meta span i {
    color: #007bff;
    /* Primary Blue */
    margin-right: 8px;
}

.course-description {
    color: #666;
    flex-grow: 1;
    /* Pushes footer to the bottom */
}

.course-footer {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
    text-align: center;
}

/* --- Principal's Page Styles --- */

.principal-profile-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: sticky;
    /* Makes the card stick on scroll on larger screens */
    top: 120px;
    /* Adjust based on your sticky header's height */
}

.principal-profile-card img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #007bff;
    /* Primary Blue Border */
    margin: 0 auto;
}

.principal-profile-card h4 {
    font-weight: 700;
    color: #00005a;
    /* Dark Navy Blue */
}

.principal-profile-card .designation {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.principal-profile-card .quote {
    font-size: 0.9rem;
    color: #777;
    border-left: 3px solid #eee;
    padding-left: 15px;
    text-align: left;
}

.principal-profile-card .social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.principal-profile-card .social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    background-color: #f1f1f1;
    color: #00005a;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.principal-profile-card .social-links a:hover {
    background-color: #00005a;
    color: white;
}

.principal-message-content p {
    text-align: justify;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

/* --- Teaching Staff Page Styles --- */

.faculty-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.faculty-image {
    height: 280px;
    /* Fixed height for consistency */
    position: relative;
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: inherit;
    object-position: top;
    /* Focus on the face */
}

.faculty-content {
    padding: 20px;
}

.faculty-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00005a;
    /* Dark Navy Blue */
    margin-bottom: 5px;
}

.faculty-designation {
    font-size: 1rem;
    font-weight: 500;
    color: #007bff;
    /* Primary Blue */
    margin-bottom: 10px;
}

.faculty-qualification {
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}

/* --- Contact Page Styles --- */

.contact-page-form,
.contact-info-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-page-form .form-control {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    height: 50px;
    padding: 10px 15px;
}

.contact-page-form textarea.form-control {
    height: auto;
}

.contact-page-form .submit-btn {
    background: #d90429;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 40px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-page-form .submit-btn:hover {
    background-color: #b90325;
    transform: translateY(-2px);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-item .icon-circle {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: #f0f8ff;
    /* Light alice blue */
    color: #007bff;
    /* Primary blue */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

.contact-info-item .info-text strong {
    display: block;
    color: #00005a;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-item .info-text p {
    margin: 0;
    color: #555;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}