:root {
    --blue-color: #3c3e7f;
}

body {
    /* font-family: 'Roboto', sans-serif; */
    font-family: "Mukta Mahee", sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
}

body,
html {
    overflow-x: hidden;
}

/* Optional: Debug any overflowing elements */
* {
    box-sizing: border-box;
}

.container {
    max-width: 1700px !important;
    width: 100% !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.mukta-mahee-light {
    font-family: "Mukta Mahee", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.topbar {
    background-color: #3b4654;
    padding: 7px 30px;
    /* Adds some padding for spacing */
}

.top-links {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    margin-right: 12px;
    font-weight: 700;
}

.top-links a {
    text-decoration: none;
    /* Removes underline from links */
    color: whitesmoke;
    /* Makes links white */
    font-size: 13px;
}

.top-links a:hover {
    text-decoration: underline;
    /* Adds underline on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .top-links {
        display: flex;
        gap: 10px;
        margin-right: 0;
        justify-content: space-evenly;
    }

    .top-links a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .top-links a {
        font-size: 12px;
        /* Smaller font for very small screens */
    }
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 95px;
    background-color: #ffffff;
    /* border-bottom: 2px solid #ccc; Optional border */
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

/*
.logo {
    height: 100px;
    width: 100px;
} */

.logo {
    height: 100px;
    width: 100px;
    padding: 0.3rem;
}

.title-text {
    display: flex;
    flex-direction: column;
}

.title-text h1 {
    /* margin: 0;
    font-size: 30px;
    color: #a81932;
    font-weight: 800; */
    margin: 0;
    font-size: 23px;
    color: #3b4654;
    font-weight: 600;
}

.title-text p {
    margin: 0;
    font-size: 16px;
    color: #104387;
    font-weight: 600;
}

.buttons {
    display: flex;
    gap: 15px;
}

.button {
    text-decoration: none;
    background-color: #a81932;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 14px;
}

.button:hover {
    color: #a60030;
    background-color: white;
    border: 1px solid #a60030;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo-title {
        flex-direction: column;
        gap: 0px;
    }

    .logo {
        height: 80px;
        width: 80px;
    }

    .title-text h1 {
        font-size: 24px;
    }

    .title-text p {
        font-size: 16px;
    }

    .buttons {
        /* flex-direction: column; Stack the buttons vertically */
        display: flex;
        gap: 10px;
        /* Reduce the gap between buttons */
        width: 90%;
        /* Ensure the container uses full width */
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .button {
        width: 100%;
        /* Make each button take full width on small screens */
        padding: 12px 20px;
        /* Increase padding for better touch targets */
        font-size: 12px;
        /* Make the text bigger for small screens */
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2px 10px;
    }

    .logo {
        height: 60px;
        width: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        /* Horizontally center */
        margin: 0 auto;
    }

    .title-text h1 {
        font-size: 20px;
    }

    .title-text p {
        font-size: 15px;
    }

    .buttons {
        display: flex;
        gap: 10px;
        /* Reduce the gap between buttons */
        width: 90%;
        /* Ensure the container uses full width */
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .button {
        width: 100%;
        /* Make each button take full width on small screens */
        padding: 8px 14px;
        font-size: 12px;
        /* Make the text bigger for small screens */
    }
}

.navbar {
    background-color: #b5493a;
    padding: 7px 100px;
    box-shadow: 0 10px 6px 0px rgb(213 199 199 / 10%);
}

.navbar-toggler {
    border: none;
    background-color: transparent;
    color: white;
}

.navbar-nav .nav-item {
    margin: 0 15px;
}

.navbar-nav .nav-item:first-child {
    margin-left: 0;
}

.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 15px !important;
}

.nav-link:hover {
    color: white;
    text-decoration: underline;
}

.search {
    color: whitesmoke;
}

/* Banner Section */
.banner {
    position: relative;
    height: 78vh;
}

.banner img {
    width: 100%;
    height: 78vh;
    object-fit: cover;
}

.banner .overlay {
    position: absolute;
    bottom: 0px;
    color: white;
    font-size: 14px;
    font-weight: normal;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.656);
    background-color: #1a202c98;
    gap: 5px;
    padding: 20px 34px;
}

.banner .overlay h1 {
    font-size: 40px;
    margin: 0;
    padding: 0;
    display: inline;
}

.banner .overlay p {
    font-size: 14px;
    margin: 0;
    padding: 0;
    display: inline;
}

.carousel {
    max-width: 100%;
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
    backface-visibility: hidden;
}

/* Responsive Design: Mobile Adjustments */
@media (max-width: 768px) {
    .banner {
        height: 50vh;
        /* Smaller height on mobile screens */
    }

    .banner img {
        width: 100%;
        height: 50vh;
        object-fit: cover;
    }

    .banner .overlay {
        padding: 15px;
        /* Less padding */
    }

    .banner .overlay h1 {
        font-size: 22px;
        /* Reduce heading size */
    }

    .banner .overlay p {
        font-size: 12px;
        /* Reduce paragraph font size */
    }

    .facility-box img {
        width: 60px;
        height: 60px;
    }
}

/* Responsive Design: Extra Small (Mobile) */
@media (max-width: 480px) {
    .banner {
        height: 35vh;
        /* Even smaller height on very small screens */
    }

    .banner .overlay {
        padding: 10px;
        /* Further reduce padding */
    }

    .banner img {
        width: 100%;
        height: 35vh;
        object-fit: cover;
    }

    .banner .overlay h1 {
        font-size: 15px;
        /* Even smaller heading font */
    }

    .banner .overlay p {
        display: none;
        font-size: 12px;
        /* Keep the paragraph size smaller */
    }

    .facility-box img {
        width: 60px !important;
        height: 60px !important;
    }

    .facility-box h5 {
        font-size: 19px !important;
    }

    .facility-box p {
        font-size: 15px !important;
    }
}

/* Marequee Section */

.marquee {
    overflow: hidden;
    white-space: nowrap;
    background-color: #f8f9fa;
    /* Light background for contrast */
    color: #333;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
}

.marquee ul {
    display: flex;
    justify-content: start;
    /* Align items to the start of the line */
    gap: 10px;
    /* Add spacing between items */
    list-style: none;
    padding: 0;
    margin: 0;
    animation: marquee 40s linear infinite;
}

.marquee li {
    display: inline;
    /* Ensure items are in-line */
}

.marquee li::after {
    content: " || ";
    /* Separator after each item */
}

.marquee li:last-child::after {
    content: "";
    /* Remove separator from the last item */
}

.marquee {
    color: #3c3e7f;
}

.marquee a {
    color: #3c3e7f;
}

.marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* .content-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
} */

.content-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Section Container */
.info-section {
    display: flex;
    gap: 20px;
    padding: 60px 0;
    /* background-color: #fff; */
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);  */
}

.info-section a {
    color: white;
}

/* Left Panel */
.left-panel {
    width: 20%;
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.box {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    font-size: 17px;
}

.box.red {
    background: linear-gradient(to bottom right, #ff7f7f, #f97676);
    /* background: #f976763c; */
}

.box.purple {
    /* background: linear-gradient(45deg, #b19cd9, #9b59b6); */
    background-color: #c188d8;
}

.box.blue {
    background: linear-gradient(to bottom right, #14b9d54f, #14b9d5);
    /* background-color: #14B9D5; */
}

.box.orange {
    /* background: linear-gradient(45deg, #ff9966, #ff6633); */
    background-color: #f3a46b;
}

/* Center and Right Panels */
.center-panel {
    width: 60%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid #3c3e7f;
    overflow: hidden;
    position: relative;
}

.scrolling-news {
    display: block;
    animation: scroll-news 10s linear infinite;
    /* Animation applied to scroll content */
}

.right-panel {
    width: 40%;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid #3c3e7f;
    overflow: hidden;
    position: relative;
}

.right-panel .scrolling-news {
    display: block;
    animation: scroll-news 10s linear infinite;
}

/* Panel Header */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    background-color: white;
    /* background-color: #3C3E7F; */
    margin-top: -1.22rem;
    padding: 1rem;
}

.panel-header h2 {
    margin: 0;
    color: #3c3e7f;
    margin-bottom: 15px;
    border-bottom: 2px solid #3c3e7f;
    font-size: 28px;
    font-weight: 800;
}

/* .whats-new {
    width: 25%;
}

.notice {
    width: 49%;
} */

.panel-header a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

/* News Items */
.news-item {
    position: relative;
    /* margin-bottom: 20px; */
    /* margin: 20px; */
}

.news-item a {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: black;
}

.news-item .date {
    font-weight: bold;
    color: #555;
}

.news-item .badge {
    position: absolute;
    top: 40px;
    right: -17px;
    background-color: #ff4d4d;
    color: #fff;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 10px;
    font-weight: bold;
    margin-right: 2rem;
}

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

    100% {
        transform: translateY(-100%);
    }
}

/* Divider */
hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* For tablets */
    .info-section {
        flex-direction: column;
        /* Stack panels vertically */
    }

    .left-panel,
    .center-panel,
    .right-panel {
        width: 100%;
        /* Full width for each panel */
        height: 244px;
    }

    /* Adjusting box font size and padding for better readability */
    .box {
        font-size: 16px;
        padding: 20px;
    }

    .panel-header h2 {
        font-size: 24px;
        /* Smaller font for header */
    }

    .news-item p {
        font-size: 13px;
        /* Smaller font for news items */
    }

    .panel-header a {
        margin-top: 10px;
        /* Add spacing between the heading and link */
    }

    .news-item .badge {
        top: 30px;
        /* Move badge closer to the text */
        right: -10px;
    }
}

@media (max-width: 768px) {
    /* For mobile devices */
    .left-panel {
        width: 100%;
        /* Full width for left panel */
        margin-bottom: 20px;
        /* Space below */
    }

    .center-panel,
    .right-panel {
        width: 100%;
        /* Full width for center and right panels */
    }

    .box {
        font-size: 15px;
        /* Smaller font size for boxes */
        padding: 15px;
    }

    .panel-header h2 {
        font-size: 22px;
        /* Further reduce font size for mobile */
    }

    .news-item p {
        font-size: 12px;
        /* Reduce font size */
    }

    .news-item .badge {
        top: 20px;
        /* Adjust position of the badge */
        right: -5px;
    }

    .panel-header a {
        margin-top: 10px;
        /* Space between heading and link */
    }
}

@media (max-width: 480px) {
    .box {
        font-size: 14px;
        /* Reduce font size further */
        padding: 10px;
        /* Less padding */
    }

    .panel-header h2 {
        font-size: 20px;
        /* Even smaller font for headings */
    }

    .news-item p {
        font-size: 11px;
        /* Further reduce font size */
    }

    .news-item .badge {
        top: 15px;
        /* Move badge closer */
        right: 0;
    }

    .panel-header a {
        margin-top: 5px;
        /* More spacing for the link */
    }
}

/* //ABout Section */

.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    /* padding: 100px 50px; */
    padding: 100px 70px;
    position: relative;
    /* margin: 2rem; */
    /* background: #d3d3d369; */
}

.info-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 100px 50px;
    position: relative;
    /* margin: 2rem; */
    /* background: #d3d3d369; */
}

.images-container {
    /* position: relative; */
    width: 600px;
}

.images-container {
    position: relative;
    /* width: 600px;
    height: 400px; */
    width: 52%;
    height: 433px;
    overflow: hidden;
}

.images-container img {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.images-container img:first-child {
    /* top: 140px;
    left: 67%;

    width: 60%;
    height: 100%; */

    top: 0px;
    left: 0px;
    height: 67%;
}

.images-container img:last-child {
    top: 128px;
    left: 69%;
    transform: translateX(-50%);
    width: 55%;
    height: 70%;
}

.cont-container {
    width: 600px;
    /* text-align: justify; */
}

.cont-container h2 {
    color: #3c3e7f;
    margin-bottom: 15px;
    border-bottom: 2px solid #3c3e7f;
    /* Line below the heading */
    width: 21%;
    font-size: 28px;
    font-weight: 800;
}

.cont-container p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.read-more-btn {
    display: inline-block;
    background-color: #a60030;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
    float: right;
}

.read-more-btn:hover {
    /* background-color: #860024; */
    color: #a60030;
    /* Optional: Hover effect */
    background-color: white;
    border: 1px solid #a60030;
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* For Tablets */
    .about-section {
        flex-direction: column;
        /* Stack content vertically on smaller screens */
        padding: 60px 20px;
        /* Reduced padding */
    }

    .images-container {
        width: 100%;
        height: auto;
    }

    .images-container img:first-child,
    .images-container img:last-child {
        width: 72%;
        height: auto;
        top: 2px;
    }

    .cont-container {
        width: 100%;
        /* Full width for content container */
        padding: 20px;
        text-align: center;
        /* Center content */
    }

    .cont-container h2 {
        width: 100%;
        /* Full width for the heading */
        font-size: 24px;
        /* Adjust heading size for smaller screens */
    }

    .read-more-btn {
        display: inline-block;
        margin-top: 20px;
        /* Add spacing to the button */
    }
}

@media (max-width: 768px) {
    /* For Mobile Devices */
    .about-section {
        padding: 40px 10px;
        /* Reduce padding for mobile */
    }

    .images-container {
        width: 100%;
        height: 300px;
        /* Adjust height for smaller screens */
    }

    .images-container img:first-child {
        height: 50%;
    }

    .images-container img:last-child {
        height: 50%;
        top: 80px;
        /* Adjust top for better fit */
    }

    .cont-container {
        width: 100%;
        /* Full width for mobile */
        padding: 15px;
    }

    .cont-container h2 {
        font-size: 22px;
        /* Slightly smaller heading for mobile */
        margin-bottom: 10px;
    }

    .cont-container p {
        font-size: 14px;
        /* Adjust font size */
        line-height: 1.5;
    }

    .read-more-btn {
        font-size: 14px;
        /* Adjust button text size */
        padding: 4px 8px;
        /* Adjust button padding */
        /* width: 100%; Make button full-width for better usability */
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    /* For Very Small Screens (Portrait Mobile) */
    .about-section {
        padding: 30px 10px;
        /* Add more padding for very small screens */
    }

    .images-container {
        height: 250px;
        /* Reduce height for better mobile display */
    }

    .images-container img:first-child {
        height: 76%;
    }

    .images-container img:last-child {
        height: 84%;
        /* top: 50px; */
    }

    .cont-container {
        width: 100%;
        /* Full width for mobile */
        padding: 10px;
    }

    .cont-container h2 {
        font-size: 20px;
        /* Further reduced heading size */
        margin-bottom: 8px;
    }

    .cont-container p {
        font-size: 12px;
        /* Smaller font size for better readability */
        line-height: 1.4;
    }

    .read-more-btn {
        font-size: 12px;
        /* Reduce font size */
        padding: 8px 12px;
        /* Adjust padding */
        margin-top: 10px;
    }
}

.grid-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 1600px;
    height: 60%;
    background-color: #f6f6f6;
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* text-align: center; */
    /* padding: 20px; */
    background: #fff;
    /* border-radius: 8px; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-height: 423px;
    /* Increased height for better image and content visibility */
}

.grid-img {
    width: 100%;
    height: 350px;
}

.grid-img:hover {
    /* transform: scale(1.1); */
    /* Zooms in by 10% */
}

.grid-text {
    padding: 2rem;
    background-color: #cbd88851;
}

.grid-text h3 {
    font-size: 28px;
    color: #3c3e7f;
    margin-bottom: 10px;
    position: relative;
    font-weight: 800;
}

.grid-text h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 2px;
    /* transform: translateX(-46%); */
    width: 133px;
    height: 3px;
    background-color: #3c3e7f;
}

.grid-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .grid-item {
        min-height: 380px;
    }

    .grid-section {
        grid-template-columns: 1fr;
        /* One item per row on smaller screens */
        gap: 10px;
        /* Reduce spacing */
        padding: 10px;
        /* Add padding for smaller screens */
    }

    .grid-img {
        height: 250px;
        /* Adjust image height */
    }

    .grid-text {
        padding: 1rem;
        /* Reduce padding */
    }

    .grid-text h3 {
        font-size: 24px;
        /* Slightly smaller font size */
    }

    .grid-text p {
        font-size: 14px;
        /* Adjust paragraph font size */
    }
}

@media screen and (max-width: 480px) {
    .grid-item {
        min-height: 360px;
    }

    .grid-text h3 {
        font-size: 20px;
        /* Further reduce font size */
    }

    .grid-text p {
        font-size: 12px;
        /* Smaller text for very small screens */
    }

    .grid-img {
        height: 200px;
        /* Adjust image height for small devices */
    }
}

/*
.principal-section-header {
    text-align: center;
}

.principal-title {
    font-size: 28px;
    font-weight: 800;
    color: #3c3e7f;
    margin-bottom: 20px;
    position: relative;
}

.principal-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background-color: #3c3e7f;
    margin: 8px auto 0 auto;
}

.principal-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.principal-image {
    border-radius: 8px;
    width: 50%;
    height: auto;
}

.principal-message {
    font-size: 16px;
    color: #555;
    text-align: justify;
    margin-left: 2rem;
}

.principal-name {
    color: #a60030;
    font-size: 25px;
    font-weight: bold;
    margin-top: 25px;
    margin-left: 2rem;
} */

.features-container {
    /* margin-top: 40px; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    text-align: center;
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #ececf8;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease-in-out,
        box-shadow 0.3s ease-in-out;
    text-align: center;
    width: 260px;
    height: 168px;
}

.feature-box:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon-container {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background-color: #ffffff73;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 40px;
    height: auto;
}

.feature-title {
    font-size: 18px;
    font-weight: 500;
    color: #3c3e7f;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    /* .principal-section {
        margin: 20px auto;
        padding: 0 1rem;
    } */

    /* .features-container {
        grid-template-columns: 1fr;
    } */
    .features-container {
        margin-top: 1rem;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 9px;
        text-align: center;
    }

    .feature-box {
        width: 99%;
        height: 101%;
    }

    .feature-icon-container {
        width: 70px;
        height: 70px;
    }

    .principal-message {
        font-size: 14px;
        /* Slightly smaller text */
        /* margin: 0.5rem; */
    }

    .principal-name {
        font-size: 15px;
    }

    .principal-title {
        font-size: 24px;
    }

    .principal-title::after {
        width: 80px;
        /* Adjust underline size */
    }
}

@media screen and (max-width: 480px) {
    .principal-title {
        font-size: 20px;
    }

    .principal-title::after {
        width: 60px;
    }

    .principal-image {
        width: 84%;
        /* Ensure image fits small screens */
    }

    .principal-message {
        font-size: 13px;
        margin-left: 0;
    }

    .principal-name {
        font-size: 20px;
        margin-left: 0;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-icon-container {
        width: 70px;
        height: 70px;
    }
}

/* tab Content */

a {
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

a,
a:hover {
    text-decoration: none !important;
}

.education-section .row {
    margin-right: 62px !important;
    margin-left: 60px !important;
}

.educational-content {
    padding: 2rem 0;
}

.education-header {
    font-size: 28px;
    color: #3c3e7f;
    font-weight: 800;
}

.education-header::after {
    content: "";
    display: block;
    width: 200px;
    height: 2px;
    background-color: #3c3e7f;
    margin: 8px auto 0 auto;
}

.owl-1 .owl-nav {
    width: 100%;
    position: absolute;
    top: 50%;
}

.owl-1 .owl-nav .owl-next,
.owl-1 .owl-nav .owl-prev {
    border: 1px solid red;
    z-index: 92;
    position: absolute;
    top: 50%;
}

.owl-1 .owl-nav .owl-next:active,
.owl-1 .owl-nav .owl-next:focus,
.owl-1 .owl-nav .owl-prev:active,
.owl-1 .owl-nav .owl-prev:focus {
    outline: none;
}

.owl-1 .owl-nav .owl-next span,
.owl-1 .owl-nav .owl-prev span {
    color: #fff;
}

.owl-1 .owl-nav .owl-next span:before,
.owl-1 .owl-nav .owl-prev span:before {
    font-size: 40px !important;
}

.owl-1 .owl-nav .owl-next {
    border: 4px solid blue;
    right: 20px;
}

.owl-1 .owl-nav .owl-prev {
    left: 20px;
}

.owl-1 .owl-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

.owl-1 .owl-dots .owl-dot {
    background: none;
    display: inline-block;
}

.owl-1 .owl-dots .owl-dot > span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 4px;
}

.owl-1 .owl-dots .owl-dot.active > span {
    background: white;
}

.owl-1 .owl-dots .owl-dot:active,
.owl-1 .owl-dots .owl-dot:focus {
    outline: none;
}

.media-29101 {
    width: 1330px;
    height: 618px;
}

.media-29101 .img {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    width: 80%;
    height: 117%;
}

.media-29101 .text {
    padding: 50px;
}

@media (max-width: 991.98px) {
    .media-29101 .text {
        padding: 20px;
        width: 100%;
    }
}

.media-29101 .text .category {
    color: #adb5bd;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.2rem;
}

.media-29101 .text h2 {
    font-family: "Playfair Display", times, serif;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 30px;
}

.media-29101 .text h2 a {
    color: #000;
}

.carousel-nav {
    width: 100%;
    /* border-bottom: 1px solid #ccc; */
    margin-bottom: 0px;
}

.carousel-nav a {
    color: #5b8dc1;
    padding: 20px;
    text-align: center;
    display: inline-block;
    font-size: 20px;
    font-weight: 800;
}

.carousel-nav a:hover {
    color: #a60030;
}

.carousel-nav a.active {
    color: #a60030;
    font-weight: 800;
    font-size: 22px;
}

.carousel-nav a.active:before {
    content: "";
    bottom: -1px;
    left: 0;
    right: 0;
    position: absolute;
    /* border-bottom: 1px solid #a60030; */
}

.carousel .card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    width: 100%;
    /* min-height: 40vh; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #ececf8;
    height: 335px !important;
}

.carousel .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.carousel .card-title {
    font-size: 24px;
    font-weight: bold;
    color: #3c3e7f;
    text-align: center;
    margin-top: 2rem;
}

.r .card-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.carousel .card-img-top {
    object-fit: cover;
    width: 100%;
    /* height: 250px; */
    height: 320px;
}

.carousel .card a {
    color: #a60030;
    transition: color 0.3s;
}

.card p {
    margin-top: 2rem;
}

a:hover {
    color: #860024;
    text-decoration: underline;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
    height: 345px !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .carousel-nav a {
        font-size: 16px;
    }

    .carousel .card {
        height: auto;
        /* Dynamic height for medium screens */
    }

    .carousel .card-title {
        font-size: 18px;
    }

    .carousel .card-text {
        font-size: 14px;
    }

    .carousel .card {
        height: 240px !important;
    }
}

@media (max-width: 768px) {
    .carousel-nav {
        /* flex-direction: column; */
    }

    .carousel-nav a {
        font-size: 16px;
        padding: 10px;
    }

    .carousel .row {
        /* flex-direction: column; */
    }

    .carousel .card {
        margin-bottom: 5px;
    }

    .carousel .card-title {
        font-size: 16px;
        margin-top: 0;
    }

    .carousel .card-text {
        font-size: 13px;
    }

    .owl-carousel .owl-item img {
        display: block;
        width: 101%;
        height: 231px !important;
    }

    .carousel-nav a.active {
        color: #a60030;
        font-weight: 800;
        font-size: 14px;
    }

    .card p {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .carousel .row {
        /* flex-direction: column; */
    }

    .carousel .card-title {
        font-size: 14px;
        margin-top: 0;
    }

    .carousel .card-text {
        font-size: 12px;
    }

    .education-header {
        font-size: 20px;
    }

    .education-header::after {
        width: 100px;
    }

    .owl-carousel .owl-item img {
        display: block;
        width: 101%;
        height: 245px !important;
    }

    .carousel-nav a.active {
        color: #a60030;
        font-weight: 800;
        font-size: 14px;
    }

    .card p {
        margin-top: 0;
    }
}

/* Section Styling */
.imp-links-section {
    background-color: #3c3e7f;
    padding: 30px 10px;
}

.imp-links-section .imp-links-header h2 {
    font-size: 24px;
    color: white;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
}

.imp-links-section .imp-links-header h2::after {
    content: "";
    display: block;
    width: 150px;
    height: 2px;
    background-color: white;
    margin: 8px auto 0 auto;
}

/* Card Styling */
.imp-links-section .card {
    background: #fff;
    border: none;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    height: 150px;
    width: 150px;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.imp-links-section .card img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    margin-bottom: 10px;
}

.imp-links-section .card-title {
    font-size: 14px;
    font-weight: bold;
    color: #3c3e7f;
    margin-top: 5px;
}

/* Default Desktop/Grid View */
.imp-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0px;
}

/* Mobile View: Horizontal Scrolling */
@media (max-width: 768px) {
    .imp-links {
        display: flex;
        flex-wrap: nowrap;
        /* Prevent wrapping */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        /* Enables smooth snap scrolling */
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS devices */
    }

    .imp-links::-webkit-scrollbar {
        display: none;
        /* Hides the scrollbar for cleaner look */
    }

    .imp-links .card {
        flex: 0 0 auto;
        /* Cards take their natural width */
        scroll-snap-align: center;
        /* Each card centers during scroll */
    }

    .imp-links-section .card {
        height: 140px;
        width: 140px;
    }

    .imp-links-section .card img {
        width: 35px;
        height: 35px;
    }

    .imp-links-section .card-title {
        font-size: 12px;
    }
}

/* General Section Styling */
.gallery-section {
    padding: 50px 0;
}

.gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.gallery-header h2 {
    font-size: 28px;
    color: #3c3e7f;
    font-weight: 800;
    text-align: center;
}

.gallery-header .section-title::before {
    content: "";
    position: absolute;
    left: -60px;
    top: 63%;
    width: 75px;
    height: 3px;
    background-color: #b5493a;
    transform: translateY(-50%);
}

/* .gallery-header h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background-color: #3c3e7f;
    margin: 8px auto 0 auto;
} */

.galleryHeader {
    text-align: center;
}

.gallery-header a {
    display: inline-block;
    background-color: #a60030;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 14px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.gallery-header a:hover {
    color: #a60030;
    background-color: white;
    border: 1px solid #a60030;
}

/* Carousel Image Styling */
.gallery-section .carousel-item img {
    object-fit: cover;
    height: 210px;
    width: 100%;
    border-radius: 2px;
}

/* Arrows Styling */
.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: #0056b3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s;
}

.gallery-section .carousel-control-prev {
    left: -50px;
}

.gallery-section .carousel-control-next {
    right: -50px;
}

.gallery-section .carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

/* Hover Effect for Arrows */
.gallery-section .custom-arrow:hover {
    background-color: #003f8a;
}

/* Make Rows Centered */
.gallery-section .carousel-inner .row {
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gallery-header h2 {
        font-size: 22px;
    }

    .gallery-header h2::after {
        width: 80px;
    }

    .gallery-header a {
        margin-top: 10px;
        font-size: 14px;
        padding: 8px 15px;
    }

    .gallery-section .carousel-item img {
        height: 100%;
    }

    .custom-arrow {
        width: 36px;
        height: 36px;
        margin: 0.5rem;
    }

    .gallery-section .carousel-control-prev {
        left: -30px;
    }

    .gallery-section .carousel-control-next {
        right: -30px;
    }
}

@media (max-width: 576px) {
    .gallery-header h2 {
        font-size: 18px;
    }

    .gallery-header h2::after {
        width: 60px;
    }

    .gallery-header a {
        font-size: 12px;
        padding: 6px 12px;
    }

    .gallery-section .carousel-item img {
        height: 270px;
    }

    .custom-arrow {
        width: 30px;
        height: 30px;
        margin: 0.5rem;
    }

    .gallery-section .carousel-control-prev {
        left: -20px;
    }

    .gallery-section .carousel-control-next {
        right: -20px;
    }
}

.contact-section {
    padding: 60px 20px;
    background-color: #f6f6f6;
}

.contact-section .container {
    max-width: 1300px;
    /* Added px for clarity */
}

.contact-section .section-title {
    font-size: 28px;
    font-weight: 800;
    color: #2c2c2c;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
}

.contact-section .section-title::before {
    content: "";
    position: absolute;
    left: -60px;
    top: 63%;
    width: 75px;
    height: 3px;
    background-color: #b5493a;
    transform: translateY(-50%);
}

.contact-section h2 {
    font-size: 24px;
    color: #2c2c2c;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
}

/* .contact-section h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 70px;
    height: 2px;
    background-color: #3c3e7f;
} */

.contact-section .contact-body {
    background-color: #ffffff;
    padding: 2rem;
}

.form-container form {
    padding-top: 20px;
    border-radius: 8px;
}

.form-container .form-control {
    border-radius: 4px;
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057 !important;
    background-color: #f7f9fe !important;
    background-clip: padding-box;
    border: 1px solid #ced4da7a;
    border-radius: 0.25rem;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.form-container button:hover {
    background-color: white;
    color: #a60030;
    border: 1px solid #a60030;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    /* Full width for responsiveness */
    /* height: 300px; Default height */
}

.contact-details img {
    width: 27px;
    height: 30px;
}

.contact-details p {
    font-size: 16px;
    color: #b5493a;
    margin: 3px 10px;
    font-weight: 600;
}

.contact-details-info p {
    font-size: 16px;
    color: #495057 !important;
    margin: 18px 2px;
    font-style: italic;
}

.form-container button {
    background-color: #b5493a !important;
    color: #fff;
    border: none;
    padding: 7px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease-in-out;
    width: 100%;
}

.form-container button:hover {
    background-color: white;
    color: #b5493a;
    border: 1px solid #b5493a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        background-color: #b5493a;
        padding: 2px 2px;
        box-shadow: 0 10px 6px 0px rgb(213 199 199 / 10%);
    }

    .contact-section {
        padding: 40px 10px;
        /* Reduce padding for smaller screens */
    }

    .contact-section .container {
        max-width: 100%;
        /* Remove fixed width for flexibility */
    }

    .contact-details p {
        font-size: 14px;
        /* Adjust font size for readability */
        margin: 3px 5px;
    }

    .form-container .form-control {
        font-size: 14px;
        /* Smaller inputs */
    }

    .map-container iframe {
        height: 250px;
        /* Reduce map height on tablets */
    }

    .contact-section .form-container {
        padding-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 30px 10px;
    }

    .contact-section h2 {
        font-size: 20px;
        text-align: center;
        /* Center heading on mobile */
    }

    .contact-section .form-container {
        padding-bottom: 1rem;
    }

    .contact-details {
        display: flex;
        flex-direction: column;
        /* Stack contact details */
        align-items: center;
    }

    .contact-details img {
        width: 20px;
        /* Smaller icons */
        height: 25px;
    }

    .contact-details p {
        font-size: 12px;
        margin: 5px 13px;
    }

    .map-container iframe {
        height: 200px;
        /* Further reduce height for mobile */
    }

    .form-container button {
        font-size: 14px;
        /* Adjust button text size */
    }
}

/* #232c3b */
/* General Footer Styles (Desktop) */
.footer {
    background-color: #232c3b;
    padding: 40px 95px;
    color: white;
}

.footer .container {
    max-width: 1300px;
}

.footer h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    font-size: 16px;
    margin-bottom: 10px;
}

.footer ul li:hover {
    color: white;
    cursor: pointer;
}

.footer a {
    color: white;
}

.footer .row {
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.footer .col-md-4 {
    flex: 1;
    margin-right: 20px;
}

.footer .col-md-4:last-child {
    margin-right: 0;
}

.footer p {
    font-size: 16px;
}

.footer ul li::before {
    content: ">";
    color: #a60030;
    margin-right: 8px;
    font-weight: 900;
    font-size: 21px;
}

.copyright {
    border-top: 1px solid white;
    background-color: #232c3b;
}

.copyright p {
    text-align: center;
    margin: 15px 2px;
    color: white;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 10px;
    }

    .footer .row {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        text-align: center;
    }

    .footer .col-md-4:nth-child(1),
    .footer .col-md-4:nth-child(2) {
        width: 48%;
    }

    .footer .col-md-4:nth-child(3) {
        width: 100%;
        margin-top: 20px;
    }

    .footer h3 {
        font-size: 18px;
    }

    .footer ul li {
        font-size: 12px;
    }

    .footer p {
        font-size: 12px;
    }

    .copyright p {
        font-size: 14px;
    }

    .footer ul li::before {
        content: ">";
        color: white;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 20px 10px;
    }

    /* Adjust column sizes for very small devices */
    .footer .col-md-4:nth-child(1),
    .footer .col-md-4:nth-child(2) {
        width: 100%;
        /* Stack About Us and Links for tiny screens */
    }

    .footer .col-md-4:nth-child(3) {
        margin-top: 10px;
    }

    .footer h3 {
        font-size: 16px;
    }

    .footer ul li {
        font-size: 12px;
    }

    .footer p {
        font-size: 14px;
    }

    .copyright p {
        font-size: 11px;
    }
}

/* Sub Page */
.subpage-content {
    padding: 58px 63px;
}

/* Subpage About Section */
/* .subpage-about-section h2 {
    font-size: 30px;
    font-weight: bold;
    color: #3c3e7f;
    margin-bottom: 20px;
    font-style: italic;
}

.subpage-about-section h2::after {
    content: '';
    position: absolute;
    top: 39px;
    /* transform: translateX(-46%);
    width: 278px;
    height: 3px;
    background-color: #3c3e7f;
    left: 15px;
} */

.subpage-about-section p {
    font-size: 16px;
    color: #555;
    text-align: justify;
}

/* .infrastructure-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #3c3e7f;
    margin-bottom: 20px;
}
.infrastructure-section h2::after {
    content: '';
    position: absolute;
    top: 39px;
    width: 278px;
    height: 3px;
    background-color: #3c3e7f;
    left: 18rem;
} */

.infrastructure-section {
    position: relative;
    /* Ensure the parent has position relative */
}

.infrastructure-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #3c3e7f;
    margin-bottom: 20px;
    position: relative;
    /* This is optional, just for good practice */
}

.infrastructure-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    /* Adjust this to position the line right below the h2 */
    width: 278px;
    height: 3px;
    background-color: #3c3e7f;
    left: 0;
    /* Adjust if needed to align properly */
}

.infrastructure-section p {
    font-size: 16px;
    color: #555;
    text-align: justify;
}

.subpage-image-carousel {
    position: relative;
    width: 400px;
}

.subpage-image-carousel .subpage-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}

.subpage-image-carousel .subpage-dot {
    width: 10px;
    height: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.subpage-image-carousel .subpage-dot.active {
    background-color: #3c3e7f;
}

/* Subpage Vision and Mission Section */
.subpage-vision-mission-section h3 {
    font-size: 26px;
    font-weight: bold;
    color: #3c3e7f;
}

.subpage-vision-mission-section p {
    font-size: 16px;
    color: #555;
    margin: 0 auto;
    max-width: 75%;
}

.image-carousel-section {
    /* background-color: #f7f9fe; */
    /* Light background for contrast */
    width: 550px;
    /* height: 70vh; */
}

.image-carousel-section .carousel-inner img {
    max-height: 350px;
    /* Limit image height */
    object-fit: cover;
    /* Ensure images fill the container */
    border-radius: 8px;
    /* Rounded corners for images */
    width: 454px;
    height: 57vh;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    /* background-color: rgba(69, 74, 222, 0.5); */
    /* Semi-transparent background */
    border-radius: 50%;
    /* Circle shape for controls */
}

.image-carousel-section .carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 5px !important;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #212529 !important;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

/*
Admission Portal */
.row-container {
    display: flex;
    gap: 15px;
    /* padding: 20px; */
    justify-content: center;
    flex-wrap: wrap;
}

.admission-portal .card {
    width: 290px;
    min-height: 250px;
    background-color: #989d9d40;
    /* Subtle light cyan */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.admission-portal .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.admission-portal .card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.admission-portal .card a {
    text-decoration: none;
    color: #3c3e7f;
    /* Subtle teal color */
    font-weight: bold;
    font-size: 17px;
}

.admission-portal .card:hover {
    background-color: #3c3e7faa;
    color: white;
    /* Background changes to white */
}

.admission-portal .card:hover a {
    color: white;
    /* Ensures the link color changes to white */
}

.library-section {
    position: relative;
    /* Ensure the parent has position relative */
}

.library-section h2 {
    font-size: 28px;
    font-weight: bold;
    color: #3c3e7f;
    margin-bottom: 20px;
    position: relative;
    /* This is optional, just for good practice */
}

.library-section h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    /* Adjust this to position the line right below the h2 */
    width: 108px;
    height: 3px;
    background-color: #3c3e7f;
    left: 0;
    /* Adjust if needed to align properly */
}

.library-section p {
    font-size: 16px;
    color: #555;
    text-align: justify;
}

/* ================= */

nav {
    position: sticky !important;
    top: 0;
    z-index: 99;
}

/* .subpage-content {
    background-color: #d3d3d36b;
} */

/*.subpage-hero-department {*/
/*    background: url("/images/department-banner-1.jpg");*/
/*}*/

.subpage-hero-department {
    background: url("/images/department-banner-1.jpg");
}

.subpage-hero {
    /* background: url("/images/department-banner-1.jpg"); */
    width: 100%;
    height: 60vh;
    background-attachment: fixed;
    /* background-position: center; */
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subpage-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.subpage-hero .hero-banner-text {
    align-items: center;
    color: #fff;
    z-index: 1;
    font-weight: 600;
    font-size: 4rem;
}

.department-title {
    display: block;
    color: #3c3e7f;
    font-weight: 800;
    /* font-size: 40px; */
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* .department-box {
    background-color: var(--blue-color);
    color: white;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 13rem;
    text-align: center;
} */

.department-box {
    color: #3c3e7f;
    font-size: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 9rem;
    text-align: center;
    width: 22rem;
    font-weight: 700;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.department-box:hover {
    background-color: #3c3e7f;
    color: white;
    text-decoration: none;
    /* Ensures no underline on hover */
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
    /* Smooth transition for hover effect */
    border-radius: 5px;
    /* Adds slight rounded corners */
    padding: 5px;
    /* Adds padding for better visual appeal */
}

.department-box a {
    color: #3c3e7f;
}

.department-box a:hover {
    background-color: #3c3e7f;
    /* Hover background */
    color: white !important;
    /* Ensure color changes to white */
    text-decoration: none;
    /* No underline on hover */
}

#department-menu .nav-link {
    padding: 10px 15px;
    font-size: 20px;
    /* border-bottom: 1px solid #ccc; */
    border-bottom: 1px solid #c6c4c4;
    color: #545454;
    text-decoration: none;
}

#department-menu .nav-link.active {
    font-weight: bold;
    color: var(--blue-color);
    background-color: #f5f5f5;
    border-radius: 0;
    border-bottom: 1.5px solid var(--blue-color);
}

/* Content area styling */
#department-content .content-item {
    font-size: 16px;
    line-height: 1.6;
}

#department-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--blue-color);
    margin-bottom: 16px;
}

.department-vision h3,
.department-mission h3 {
    font-size: 24px;
    color: var(--blue-color);
    font-weight: 600;
}

#courses ol li {
    margin: 5px 0;
}

#important-notice .notice-card-item a {
    color: var(--blue-color);
    text-decoration: underline !important;
    font-weight: 400;
    padding-left: 10px;
}

/* #important-notice .notice-card-item-devider {
    width: 100%;
    height: 1px;
    background-color: #BDBEC3;
    margin: 5px 0;
} */

#important-notice .notice-card {
    max-height: 600px;
    overflow-y: scroll;
}

@media only screen and (max-width: 600px) {
    #important-notice .notice-card {
        max-width: 300px;
    }
}

#important-notice .notice-card-item {
    position: relative;
    border-bottom: 1px solid #bdbec3;
}

#important-notice .notice-card-item .new-mark {
    height: 50px;
    width: 70px;
    margin-left: 10px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: rgb(237 232 232) !important;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 12rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #ffedd6 !important;
    text-align: left;
    list-style: none;
    background-color: #3c3e7f !important;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #f8f9fa !important;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

/* .dropdown a:hover {
    color: #a81932 !important;
} */

.form-control:focus {
    border-color: whitesmoke !important;
}

.facility-box {
    background-color: #b14839;
    color: white;
    padding: 20px;
    /* margin-top:1rem; */
}

.facility-box img {
    width: 100px;
    height: 100px;
}

.facility-box .image {
    margin-left: 2.5rem;
    margin-right: 2rem;
}

.facility-box .info {
    margin-top: 0.2rem;
}

.facility-box h5 {
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
}

.facility-box p {
    font-size: 16px;
}

.btn-outline-secondary {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* Notice board */

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #2e3a48;
    position: relative;
    /* margin-bottom: 20px; */
    padding-left: 2rem;
}

.imp-links {
    font-size: 28px;
    font-weight: 700;
    color: #2e3a48;
    position: relative;
    font-family: "Abhaya Libre";
    /* margin-bottom: 20px; */
}

.section-title::before {
    content: "";
    position: absolute;
    left: -60px;
    top: 50%;
    width: 75px;
    height: 3px;
    background-color: #b5493a;
    transform: translateY(-50%);
}

.see-more-btn {
    background-color: #b5493a;
    color: white;
    border: none;
    padding: 8px 20px;
    font-weight: 500;
    margin-right: 12px;
}

.notice-board,
.important-links-box {
    border: 1px solid #adb5bd;
    padding: 20px;
    height: 100%;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
}

/*
    .notice-item {
      display: flex;
      align-items: flex-start;
      margin-bottom: 20px;
    } */

.notice-info {
    margin-left: 28px;
    margin-right: 20px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 2px;
    padding: 13px 3px;
}

.notice-item i {
    color: #333;
    margin-right: 10px;
    /* margin-top: 3px; */
}

.notice-text {
    color: #2e3a48;
    font-size: 16px;
    line-height: 1.5;
    margin-left: 2rem;
}

.links-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.links-list li {
    margin-bottom: 15px;
    font-size: 16px;
    color: #2e3a48;
    display: flex;
    align-items: center;
}

.links-list li i {
    color: #a0352a;
    margin-right: 10px;
}

.links-list img {
    margin-right: 2rem;
}

.about-container .about-info {
    font-size: 36px;
}

.about-label {
    font-family: "Nokora", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    color: #b5493a;
    font-size: 19px;
    letter-spacing: 3px;
}

.about-label::before {
    content: "";
    position: absolute;
    /* left: -36px;
    top: 31%;
    width: 75px; */
    left: -70px;
    top: 31%;
    width: 112px;
    height: 3px;
    background-color: #b5493a;
    transform: translateY(-50%);
}

.about-heading {
    color: #3b4654;
    /* Dark blue-grey like in image */
    font-size: 30px;
    font-weight: 800;
    line-height: 43px;
    letter-spacing: 0%;
    font-family: "Abhaya Libre";
    font-style: normal;
}

.about-description {
    color: #2d3b4e;
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
    font-family: "Mukta Mahee";
}

/* Alignment tweaks */
/* .about-section .row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
} */

.about-section .col-md-4 {
    padding-left: 60px;
    /* pulls content further left */
    text-align: left;
}

.about-section .col-md-8 {
    padding-right: 60px;
    /* pulls content further right */
}

.video-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 50px;
    /* background-color: #fff; */
    /* optional: for contrast */
}

.video-image {
    max-width: 89%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.video-section video.video-image {
    width: 89%;
    max-width: 89%;
    height: auto;
    object-fit: cover;
}

.video-mission-wrapper {
    position: relative;
    z-index: 0;
    width: 100%;
}

.video-mission-wrapper::before {
    content: "";
    position: absolute;
    top: 33%;
    /* Start halfway down the video section */
    left: 0;
    right: 0;
    bottom: -52px;
    background-color: #f6f6f6;
    z-index: -1;
    /* Send it behind content */
}

.mission-vission-section {
    /* background-color: #F6F6F6; */
    padding: 100px 50px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.mission-vission-section .container {
    max-width: 1300px;
}

.section-label {
    font-family: "Abhaya Libre", serif;
    font-weight: 800;
    font-size: 25px;
    line-height: 43px;
    letter-spacing: 0;
    /* color: #ba4c3e; Adjust if needed */
    margin-bottom: 20px;
    margin-left: 9%;
}

.mission-text {
    font-family: "Mukta Mahee";
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-left: 9%;
    margin-right: 3%;
}

.mission-vission-section .col-md-7 {
    max-width: 51.333333% !important;
}

.mission-vission-section img {
    /* width: 530px;
    height: 500px;
    margin-top: -50px;
    margin-left: 2rem; */
    width: 530px;
    height: 500px;
    /* margin-top: -50px; */
    margin-top: 17px;
    margin-left: 100px;
}

.mission-vission-section .mission-details {
    background-color: #ffffff;
    /* margin-left: -14px;
    padding: 20px 39px; */

    /* margin-left: -78px;
    padding: 68px 43px; */

    margin-left: 0p;
    padding: 60px 135px;
    z-index: -1;
}

.section-label:before {
    /* content: "";
    position: absolute;
    left: 80px;
    top: 80px;
    width: 80px;
    height: 3px;
    background-color: #b5493a;
    transform: translateY(-50%); */
    content: "";
    position: absolute;
    left: 80px;
    top: 80px;
    width: 80px;
    height: 3px;
    background-color: #b5493a;
    transform: translateY(-50%);
}
/* Ensure the image and text align perfectly in the same row */
.principal-section .row {
    display: flex;
    align-items: center; /* Align vertically */
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Remove unwanted vertical offset */
.principal-img,
.principal-details {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

/* Optional: fine-tune image sizing */
.principal-img img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.principal-section {
    /* background-color: #F6F6F6; */
    padding: 100px 50px;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.principal-section .container {
    max-width: 1500px;
    display: flex;
    flex-direction: column;
}

.principal-label {
    font-family: "Abhaya Libre", serif;
    font-weight: 800;
    font-size: 25px;
    line-height: 43px;
    letter-spacing: 0;
    /* color: #ba4c3e; Adjust if needed */
    /* margin-bottom: 20px; */
    margin-left: 4%;
    text-align: left;
}

.principal-label:before {
    content: "";
    position: absolute;
    left: -88px;
    top: 4%;
    width: 100px;
    height: 3px;
    background-color: #b5493a;
    transform: translateY(-50%);
}

.principal-text {
    font-family: "Mukta Mahee";
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-left: 9%;
    /* padding-top: 2rem; */
}

.principal-section {
    position: relative;
}

.pen-icon-section {
    position: absolute;
    bottom: 0;
    right: 0; /* stick to the right */
    width: 180px; /* adjust size as needed */
    height: auto;
    z-index: 2; /* keep it above background but below text if needed */
    transform: translate(
        20%,
        20%
    ); /* optional – nudges slightly outward for style */
}

@media (max-width: 768px) {
    .pen-icon-section {
        width: 100px;
        transform: translate(10%, 10%);
    }
}

.principal-section .img-fluid {
    max-width: 89%;
    height: auto;
}

.principal-sign h6 {
    font-size: 19px;
}

.principal-sign {
    text-align: right;
}

.signature-img {
    display: inline-block;
    max-width: 180px;
}

.principal-section h6,
.principal-section p {
    color: #222;
}

.education-section {
    background-color: #f6f6f6;
    padding: 80px 0;
    font-family: "Abhaya Libre";
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #2c2c2c;
    /* border-top: 3px solid #a52727; */
    display: inline-block;
    padding-top: 10px;
    margin-bottom: 10px;
    font-family: "Abhaya Libre";
}

.education-section .section-title::before {
    content: "";
    position: absolute;
    left: -115px;
    top: 61%;
    width: 130px;
    height: 4px;
    background-color: #b5493a;
    transform: translateY(-50%);
}

.section-subtitle {
    font-size: 17px;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
    font-family: "Mukta Mahee";
}

.edu-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    font-family: "Mukta Mahee";
}

.edu-box h5 {
    color: #2c2c2c;
    margin-bottom: 20px;
    margin-left: 2rem;
}

/* .edu-list {
    list-style: none;
    padding-left: 0;
}

.edu-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
} */

.edu-list {
    list-style: none;
    padding-left: 0;
}

.edu-list li {
    margin-bottom: 10px;
    position: relative;
    line-height: 1.6;
    padding-left: 50px;
    font-weight: 500;
    font-size: 16px;
}

.edu-list img {
    margin-right: 8px;
    vertical-align: middle;
}

.inner-list {
    list-style-type: disc;
    margin-left: 10px;
    margin-top: 5px;
}

.music-courses {
    list-style: none;
    padding-left: 0;
    column-count: 2;
    column-gap: 5px;
}

.music-courses li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    break-inside: avoid;

    display: flex;
    align-items: center;
    gap: 5px;
    /* space between image and text */
}

.music-courses li img {
    flex-shrink: 0;
    /* prevents image from shrinking */
}

.edu-box li img {
    margin-right: 2rem;
}

/* .music-courses li::before {
    content: url('../images/arrow.png');
    position: absolute;
    left: 0;
    color: #a52727;
} */

/* Video carsousel */

.videoCarousel-section {
    padding: 60px 0;
    background-color: #fff;
}

.videoCarousel-section .section-title {
    text-align: center;
    /* font-size: 2.5rem; */
    font-weight: 800;
    color: #333;
    margin-bottom: 3rem;
}

.video-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
}

.videoCarousel-section .videoSwiper {
    width: 100%;
    padding: 50px 0;
    overflow: visible;
}

.videoCarousel-section .swiper-wrapper {
    align-items: center;
}

.videoCarousel-section .swiper-slide {
    width: 600px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 1;
}

.videoCarousel-section .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.videoCarousel-section .video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.videoCarousel-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.videoCarousel-section .play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.videoCarousel-section .play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.videoCarousel-section .play-button i {
    font-size: 30px;
    color: #c46d62;
    margin-left: 5px;
}

.videoCarousel-section .play-overlay:hover .play-button {
    transform: scale(1.1);
}

.video-nav-prev,
.video-nav-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 50px !important;
    height: 50px !important;
    z-index: 10 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #c46d62 !important;
    color: #ffffff !important;
    border-radius: 0px !important;
    transition: all 0.3s ease !important;
}

.video-nav-prev:hover,
.video-nav-next:hover {
    background-color: #a85d52 !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.video-nav-prev {
    left: 0 !important;
}

.video-nav-next {
    right: 0 !important;
}

.video-nav-prev i,
.video-nav-next i {
    font-size: 20px;
}

.video-nav-prev:after,
.video-nav-next:after {
    content: "" !important;
}

.gallery-content {
    margin-right: 60px;
    margin-left: 60px;
}

.contact-content {
    margin-right: 60px;
    margin-left: 60px;
}

.subpage-banner {
    width: 100%;
    height: 36vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url("/images/about_banner_v2.png?v=1") no-repeat center bottom !important;
    background-attachment: fixed;
    background-size: cover !important;
    position: relative;
}

.subpage-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.subpage-banner .overlay {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #0000002f;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.subpage-banner .overlay h1 {
    font-size: 2rem;
}

@media (max-width: 768px) {
    .subpage-banner .overlay h1 {
        font-size: 1.6rem;
    }

    .subpage-banner::after {
        content: "";
        position: absolute;
        bottom: 0;
        top: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 767px) {
    .section-title::before {
        left: -11px;
        top: 23px;
        width: 33px;
    }

    .info-section .row {
        flex-direction: column;
        margin-top: 2rem;
    }
}

/* Responsive */

@media (max-width: 767px) {
    .navbar {
        background-color: #b5493a;
        padding: 2px 2px;
        box-shadow: 0 10px 6px 0px rgb(213 199 199 / 10%);
    }

    .section-title {
        font-size: 19px;
        /* Slightly smaller title for mobile */
    }

    .imp-links {
        font-size: 24px;
        /* Slightly smaller font size for important links on mobile */
    }

    .notice-board {
        font-size: 14px;
        /* Adjust the font size of the notice text */
    }

    .notice-item {
        padding: 14px 20px;
        /* Adjust padding for mobile */
    }

    .important-links-box ul {
        padding-left: 20px;
        /* Add padding for mobile */
    }

    .important-links-box ul li {
        font-size: 0.9rem;
        /* Slightly smaller font size for the links list items */
    }

    .col-md-8,
    .col-md-4 {
        padding-left: 12px;
        /* Add padding for the columns to make them look cleaner on mobile */
        padding-right: 12px;
    }

    .col-sm-12 {
        width: 100% !important;
        /* Ensure full width on small screens */
    }

    /* Make the Notice Board and Important Links sections stack on smaller screens */
    .row {
        flex-direction: column;
        /* Stack columns on small screens */
    }

    .imp-links {
        display: none;
    }

    .see-more-btn {
        background-color: #b5493a;
        color: white;
        border: none;
        padding: 3px 9px;
        font-weight: 500;
        margin-right: 12px;
    }

    .about-heading {
        color: #3b4654;
        font-size: 21px;
        font-weight: 800;
        line-height: 43px;
        letter-spacing: 0%;
        font-family: "Abhaya Libre";
        font-style: normal;
    }

    .about-section .col-md-8 {
        padding-right: 30px !important;
        padding-left: 30px !important;
    }

    .video-section {
        display: none;
    }

    .mission-vission-section img {
        width: 100%;
        height: 100% !important;
        margin-left: 0;
    }

    .mission-vission-section .mission-details {
        background-color: #ffffff;
        margin-left: 0;
        padding: 32px 10px;
    }

    .mission-vission-section .section-label:before {
        /* content: "";
        position: absolute;
        left: 100px;
        top: 22%;
        width: 100px;
        height: 4px;
        background-color: #b5493a;
        transform: translateY(-50%); */
        content: "";
        position: absolute;
        left: 80px;
        top: 80px;
        width: 80px;
        height: 3px;
        background-color: #b5493a;
        transform: translateY(-50%);
    }

    .section-label {
        font-family: "Abhaya Libre", serif;
        font-weight: 800;
        font-size: 17px;
        line-height: 43px;
        letter-spacing: 0;
        margin-bottom: 5px;
        margin-left: 16%;
    }

    .section-label:before {
        /* content: "";
        position: absolute;
        left: 100px;
        top: 22%;
        width: 100px;
        height: 4px;
        background-color: #b5493a;
        transform: translateY(-50%); */
        display: none;
    }

    .mission-text {
        font-family: "Mukta Mahee";
        font-size: 16px;
        /* line-height: 1.8; */
        color: #333;
        text-align: center;
        margin-left: 9%;
        margin-right: 3%;
    }

    .principal-section .container {
        position: relative;
        display: flex;
        flex-direction: column-reverse;
    }

    .principal-label {
        font-size: 21px;
    }

    .principal-label:before {
        content: "";
        position: absolute;
        left: -88px;
        top: 4%;
        width: 100px;
        height: 3px;
        background-color: #b5493a;
        transform: translateY(-50%);
    }

    .principal-text {
        text-align: justify;
        margin-left: 0;
    }

    .pen-icon-section {
        left: 30px;
        width: 153px;
    }

    .principal-section .img-fluid {
        max-width: 83%;
    }

    .music-courses {
        list-style: none;
        padding-left: 0;
        column-count: 1;
        padding-right: 2rem;
    }

    .education-section .section-title {
        font-size: 24px;
    }

    .education-section .section-subtitle {
        font-size: 15px;
    }

    .edu-box {
        padding: 2px 2px 2px 2px;
        padding-top: 20px;
    }

    .gallery-content {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }

    .contact-content {
        margin-right: 0px !important;
        margin-left: 0px !important;
    }

    .galleryHeader .section-title {
        font-size: 25px;
    }

    .galleryHeader .section-title::before {
        left: -31px;
        top: 30px;
        width: 50px;
    }

    .gallery-section .carousel-item img {
        height: 244px;
    }

    .videoCarousel-section {
        padding: 40px 0;
    }

    .video-carousel-wrapper {
        padding: 0 20px;
    }

    .videoCarousel-section .section-title {
        font-size: 1.8rem;
    }

    .videoCarousel-section .swiper-slide {
        width: 90vw;
        height: 250px;
    }

    .videoCarousel-section .swiper-slide-active {
        transform: scale(1);
    }

    .video-nav-prev,
    .video-nav-next {
        width: 40px !important;
        height: 40px !important;
        display: none !important;
    }

    .videoCarousel-section .play-button {
        width: 60px;
        height: 60px;
    }

    .videoCarousel-section .play-button i {
        font-size: 24px;
    }

    .contact-section h2 {
        font-size: 16px;
        text-align: start;
        color: black;
    }

    .notice-info {
        margin-left: 0px;
        margin-right: 0px;
    }

    .education-section .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .videoCarousel-section {
        padding: 40px 0;
    }

    .navbar-toggler {
        padding: 1rem;
    }

    .info-section {
        padding: 0px 0px;
    }

    .subpage-content {
        padding: 16px 18px;
    }
}

.btn-sm {
    font-size: 10px !important;
    padding: 7px 11px !important;
}

/* --- Sub Banner --- */
.sub-banner {
    position: relative;
    height: 36vh;
    overflow: hidden;
}

.sub-banner-img {
    object-fit: cover;
    object-position: 70% 20%;
    height: 100%;
    width: 100%;
    filter: brightness(70%);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 100;
}

.banner-overlay h2 {
    font-size: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* --- Digital Library Cards --- */
.digital-card {
    background-color: #b03a2e;
    /* Deep red tone */
    /* border-radius: 12px; */
    transition: all 0.3s ease;
    padding: 4rem;
}

.digital-card img {
    width: 85px;
    opacity: 1;
    top: 64.02px;
    left: 1.66px;
}

.digital-card:hover {
    background-color: #922b21;
    transform: translateY(-5px);
}

.history-section {
    padding: 2px 80px;
    color: #333;
}

.history-header .subheading {
    color: #d65a4a;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
}

.history-header h2 {
    font-size: 28px;
    line-height: 1.4;
    margin: 10px 0 30px;
    color: #000;
}

.history-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.history-content .text {
    flex: 2;
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

.history-content .image {
    flex: 1.2;
}

.history-content .image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mission-section {
    margin-top: 60px;
    padding: 0 120px 60px;
    border-top: 2px solid #d65a4a;
}

.mission-section h3 {
    margin-top: 20px;
    font-size: 22px;
    color: #000;
    font-weight: 600;
}

.mission-section p {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
}

/* courses */

.programs-section {
    padding: 2px 80px;
    color: #333;
}

.programs-section .note {
    font-size: 13px;
    color: #b3432e;
    text-align: justify;
    margin-bottom: 10px;
}

.divider {
    border: none;
    border-top: 2px solid #1c64a2;
    margin-bottom: 30px;
}

.subheading {
    color: #b3432e;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 5px;
}

.programs-header h2 {
    font-size: 20px;
    color: #000;
    font-weight: 600;
    margin-bottom: 8px;
}

.programs-header .intro {
    font-size: 15px;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 40px;
}

.subjects h3,
.courses h3 {
    font-size: 17px;
    font-weight: 600;
    color: #000;
    margin: 25px 0 15px;
}

.subject-columns {
    display: flex;
    /* justify-content: space-between; */
    gap: 112px;
}

.subject-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subject-columns li {
    font-size: 15px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 18px;
}

.subject-columns li::before {
    content: "➤";
    color: #b3432e;
    position: absolute;
    left: 0;
    font-size: 13px;
    top: 1px;
}

.numbered {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.8;
}

.numbered > li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 18px;
}

.numbered > li::before {
    content: "➤";
    color: #b3432e;
    position: absolute;
    left: 0;
    font-size: 13px;
}

.numbered ol {
    list-style-type: decimal;
    margin-left: 25px;
    margin-top: 5px;
}

/* academic calender */
.academic-section {
    padding: 2px 80px;
    color: #333;
}

.academic-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #b3432e;
    margin-bottom: 25px;
}

/* --- MOBILE FIXES --- */
@media (max-width: 768px) {
    /* academic calender */
    .academic-section {
        padding: 2px 10px;
    }
}

.calendar-table {
    display: flex;
    gap: 50px;
    margin-bottom: 30px;
}

.calendar-table .left,
.calendar-table .right {
    flex: 1;
}

.calendar-table ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 0;
    font-size: 15px;
    line-height: 2;
}

.calendar-table ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    font-size: 15px;
    line-height: 2;
}

.extra-info p {
    font-size: 15px;
    margin: 10px 0;
    line-height: 1.8;
}

.extra-info strong {
    font-weight: 600;
    color: #000;
}

.extra-info ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
    font-size: 15px;
    line-height: 1.8;
}

.mg-padding {
    padding-left: 60px;
    padding-right: 60px;
}

@media (max-width: 768px) {
    .mg-padding {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Normal State */
.mg-btn-view {
    background-color: #c84d38; /* Purple background */
    border-color: #c84d38; /* Purple border */
    color: #ffffff; /* White text */
    transition: all 0.3s ease; /* Smooth hover effect */
}

/* Hover State */
.mg-btn-view:hover {
    background-color: #c84d38; /* Darker purple on hover */
    border-color: #c84d38;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle pop */
    transform: translateY(-2px); /* Slight lift effect */
}
