/* Global styles */
/* @import url("https://fonts.googleapis.com/css2?family=Parkinsans:wght@300..800&display=swap");
<style> */

@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&family=Mukta:wght@200;300;400;500;600;700;800&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Serif+Devanagari:wght@100..900&family=Roboto+Serif:ital,opsz,wght@0,8..144,100..900;1,8..144,100..900&family=Sura:wght@400;700&display=swap");

:root {
    --primary-color: royalblue;
    /* Default background color */
    --secondary-color: #73c2fb;
    --hover-color: red;
}
html,
body,
* {
    scroll-behavior: smooth;
    /* font-family: "Parkinsans", sans-serif; */
    font-family: "Noto Sans", serif;
    /* font-family: "Baloo 2", serif; */
    /* font-family: "Noto Serif Devanagari", serif; */
    /* font-family: "Mukta", serif; */
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
}

body {
    overflow-x: hidden;
}

label {
    color: #6e6b6b;
}
.main-container {
    padding: 0 150px !important;
}

.first-navbar {
    color: beige;
    overflow: hidden;
    margin: 0px !important;
    top: 0;
    width: 100%;
}
.navbar-school-name {
    color: #314a73;
    font-weight: bold;
}
.nav-icon {
    color: #314a73;
}
.border-right {
    height: 100%;
    border-right: 2px solid #ccc;
}
.first-navbar a {
    position: relative;
}

.first-navbar a:not(:last-child)::after {
    content: "";
    position: absolute;
    height: 22px;
    width: 2px;
    border-radius: 10px;
    top: 3px;
    /* right: 5px; */
    left: calc(100% + 12px);
    background-color: #ffffff7e;
}

.second-navbar {
    background-color: var(--primary-color);
    position: relative;
    position: sticky;
    top: 0;
    z-index: 999;
}

.localization select {
    border: none;
}

.localization select:focus {
    outline: none;
}

.carousel-inner .carousel-item {
    position: relative;
    height: 90vh;
    /* Set a larger height for the carousel item (70% of viewport height) */
    overflow: hidden;
}

/* Add the zoom-in effect for the background images */
.carousel-inner .carousel-item-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    /* Start zoomed in */
    transition: transform 2s ease-out;
    z-index: 0;
}

/* Set the background image for each item */
/* .carousel-inner .carousel-item .carousel-item-background {
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4))!important;
} */

/* Add a transparent color overlay on top of the background image */
.carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    /* Transparent black overlay with 40% opacity */
    z-index: 1;
    /* Ensure the overlay sits above the image */
}

/* Ensure the carousel content (like text or buttons) is above the overlay */
.carousel-item .carousel-caption {
    position: absolute;
    z-index: 2;
}

/* Zoom effect for the active carousel item */
.carousel-item.active .carousel-item-background {
    transform: scale(1);
    /* Zoom out to show the full image */
}

.namuna {
    margin-top: 20px;

    width: 100%;
}

.namuna_img {
    position: relative;
    min-width: 40%;
    display: flex;
    width: 100%;
    height: 50%;

    justify-content: center;
    align-items: center;
}

.namuna_img img {
    height: 80%;
    width: 80%;
    object-fit: cover;
    border-radius: 5%;
}

.tab-pane {
    margin: 10px;

    text-align: justify;
}

/* Define the keyframes for sliding in from the right */
/* Define the keyframes for sliding in from the right */
@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        /* Start from the right side of the screen */
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        /* End at its normal position */
        opacity: 1;
    }
}

/* Define the keyframes for sliding in from the left */
@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        /* Start off-screen to the left */
        opacity: 0;
        /* Initially hidden */
    }

    100% {
        transform: translateX(0);
        /* End at normal position */
        opacity: 1;
        /* Make the element fully visible */
    }
}

/* Initially, hide the elements (opacity: 0) */
.news-column,
.events-column {
    transition: opacity 0.5s ease-out;
}

/* These classes will be added when the element enters the viewport */
.animate-slide-in-right {
    animation: slideInRight 1s ease-out forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 1s ease-out forwards;
}

/* Apply the sliding animation to the news container */
.news-column {
    animation: slideInLeft 1s ease-out forwards;
    /* Apply the animation */
}

/* Optional: Initial opacity to ensure it is hidden initially */
.news-column {
    opacity: 0;
}

.events-column {
    animation: slideInRight 1s ease-out forwards;
    /* Apply the animation */
}

.events-column {
    opacity: 0;
}

.bg-danger {
    color: white;
    border: none;
    text-decoration: none;
    padding: 5px;
    margin-left: 40%;
}

.news-event {
    margin-top: 80px;
}

.namuna_notice img {
    object-fit: cover;
}

/* Hide the menu items on smaller screens */
.nav-menu {
    display: flex;
}
/*
.menu-item,
.dropdown {
    display: block;
} */

@media (max-width: 991px) {
    .nav-menu {
        display: none;
        /* Hide navigation items on small screens */
    }

    #menu-icon {
        display: block;
        /* Show the hamburger icon on small screens */
    }
}

/* When the hamburger menu icon is clicked, show the menu */
.nav-menu.active {
    display: flex !important;
    /* Ensure the menu is visible when active */
}

/* Optionally, add some style for the dropdown */
.dropdown-menu {
    position: absolute;
    left: -80px;
}

.nav-menu {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    /* background-color: green; */
    height: 50px;
    padding: 1px;
    position: relative;
}

.nav-menu .menu-item {
    transition: 0.5s;
    /* border: 1px solid #007bff; */
}

.nav-menu .menu-item a,
.menu-item span {
    color: #fff;
    text-decoration: none;
}
.menu-item:hover {
    background-color: #fff;
    /* border-top: 1px solid #007bff;
    border-bottom: 1px solid #007bff; */
}
.menu-item:hover a,
.menu-item:hover button,
.menu-item:hover span {
    color: #3a5279 !important;
}

.multi-level-menu {
    position: absolute;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    top: calc(100% - 1px);
    /* padding: 0 10px; */
    border-radius: 5px;
    height: 0px;
    overflow: hidden;
    transition: 0.5s;
    width: max-content;
    right: 0;
    min-width: 200px;
}

.menu-item.multi-level:hover .multi-level-menu {
    /* padding: 10px; */
    height: max-content;
}

.multi-level-menu a {
    padding-left: 10px;
    display: block;
    border-left: 5px solid #fff;
    padding-bottom: 2px;
    padding: 8px;
}

.multi-level-menu a:hover {
    border-left: 5px solid var(--primary-color);
    background-color: rgba(65, 105, 225, 0.479);
}

.small {
    position: fixed;
    top: 0px;
    font-size: 17px !important;
    color: white;
    z-index: 999;
    width: 100%;
    height: 100%;
    line-height: 30px;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.small-nav {
    /* display: none; */
    width: 60%;
    height: 100%;
    background-color: var(--primary-color);
    padding-left: 15px;
}

/* Banner Image */
.banner {
    width: 100%;
    /* height: 90vh; */
    min-height: 300px;
    /* Ensures the banner doesn't collapse on smaller screens */
    overflow: hidden;
    position: relative;
}

.banner_head {
    font-size: 50px;
}

.intro_head,
.heading {
    font-size: 40px;
    color: #314a73;
}

.banner_ex,
.intro_para {
    font-size: 20px;
}

.events-main {
    background-color: var(--secondary-color);
    height: 200px;
}

.events {
    margin: 20px;
}

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

.image {
    position: relative;
    text-align: center;
    overflow: hidden;
    transition: 1s;
}

.image img {
    transition: 1s;
}

.image:hover img {
    transform: scale(1.15);
}

.centered {
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;

    /* transform: translate(-50%, -50%); */
    color: white;
    font-weight: 500;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 2s;
}

.centered:hover {
    background-color: rgba(0, 0, 0, 0);
}

.about {
    background-color: rgba(65, 105, 225, 0.4);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;

    /* transform: translate(-50%, -50%); */
    color: white;
    font-weight: 500;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 50px;
    left: 0;
    color: white;
    font-weight: 500;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.breadcrumb a:after {
    padding: 8px;
    content: ">\00a0";
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: red;
    text-decoration: underline;
}

h1,
h2,
h3 {
    text-align: center;
}

.intro {
    color: white;
}

.intro,
.namunaintro {
    margin: 0 10%;
    text-align: justify;
    line-height: 1.7;
    font-size: 18px;
}

.intro span,
.namunaintro span {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
}

.namunaintro {
    color: black;
}

/* .why_namuna{
    background-color: var(--primary-color);
} */
.why {
    background-color: var(--primary-color);
    padding: 20px;
}

.admission {
    padding: 20px;
}

.admission img {
    object-fit: cover;
    width: 100%;
}

.apply_adm {
    text-decoration: none;
    color: white;
    background-color: royalblue;
    border-radius: 5%;
    padding: 5px;
}

.course {
    margin: 100px;
}

.bottom {
    padding: 70px;
    margin: 0;
}

.date {
    font-size: 12px;
    color: black;
}

.art {
    width: 50px;
}

.login-btn {
    border: 1px solid rgba(128, 128, 128, 0.39);
    border-radius: 5px;
    font-size: 14px;
    color: white;
    padding: 5px 20px;
    width: 100px;
    background-color: var(--primary-color);
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    text-align: center;
}

.login-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Responsive Layout Adjustments */
@media (max-width: 768px) {
    .namunaintro,
    .course,
    .bottom {
        margin: 20px;
        padding: 10px;
    }
}

.message-content {
    display: block;
    max-height: 250px;
    /* Set a max height for the truncated message */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    padding: 0;
    width: 100%;
}

#read-more-link {
    display: block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

#read-more-link:hover {
    text-decoration: underline;
}

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

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(5px);
    }
}

.more:hover i {
    display: inline-block;
    animation: vibrate 0.8s linear infinite;
}

.message {
    margin: 20px;
    padding: 20px;
    margin-top: 0;
}

.message p {
    width: 50%;
    text-align: justify;
}

.circle {
    background-color: var(--primary-color);
    height: 300px;
    width: 100%;

    border-radius: 80%;
    display: inline-block;
}

.footer {
    background-color: #2c3093;

    color: #e8e8e8;
    /* height: auto; */
}

.footer a,
.footer span {
    color: #e8e8e8;

    line-height: 2.4;
}

.footer img {
    border-radius: 50%;
}

.link a {
    color: #e8e8e8;
    text-decoration: none;
}

.message span {
    display: block;
    text-align: justify;
}

.principal {
    width: 100%;
    height: 400px;
    object-fit: cover;
    position: relative;
    z-index: 9;
    border-top-left-radius: 50px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 10px;
    /* border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% ; */
}
.image-bg {
    width: 100%;
    height: 400px;
    background-color: #007bff;
    position: absolute;
    top: 0;
    left: 0;
}
.principal_message {
    display: flex;
}

@media (max-width: 878px) {
    .principal_message {
        display: block !important;
    }

    .principal_message .message-content {
        display: block;
        width: 100%;
    }

    .principal_image {
        width: 100% !important;
    }
}

@media (max-width: 400px) {
    .principal_image img {
        width: 100%;
    }
}

.d {
    height: 500px !important;
}

.animation_image {
    width: 100%;
    height: 100%;
}

.test {
    border: none;
    border-bottom: 1.5px dotted var(--primary-color);
    margin: 5px;
}

.test:focus {
    outline: none;
}

.con_btn {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 2px;
    font-size: 14px;
}

.con_map {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.video-container {
    position: relative;
    width: 100%;
    height: 500px;
    /* You can adjust the height as needed */
}

.video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures the video covers the area */
    z-index: 0;
    /* Ensures the video is behind the overlay */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black for dimming */
    z-index: 1;
    /* Places the overlay above the video */
}

.video-text {
    position: absolute;
    top: 50%;
    /* Center the text vertically */
    left: 50%;
    /* Center the text horizontally */
    transform: translate(-50%, -50%);
    /* Adjust position to truly center the text */
    color: white;
    /* Text color to make it visible on dark overlay */
    text-align: center;
    /* Center-align the text */
    z-index: 2;
    /* Ensure the text is above the overlay */
}

.video-text h2 {
    font-size: 2.5rem;
    /* Adjust font size as needed */
    font-weight: bold;
}

.video-text p {
    font-size: 1.2rem;
    /* Adjust font size as needed */
}

.n_image a {
    text-decoration: none;
    color: black;
}

.nav-link {
    font-size: "20px" !important;
}

.images {
    margin-bottom: 60px;
}

.images img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;

    /* opacity: 0;

    transform: translateX(-100%);

    transition: transform 1s ease, opacity 1s ease; */
}

.images .img1 {
    width: 500px;
    margin: 50px;
    margin-bottom: 0px;
}

.images .col-lg-4:first-child img {
    height: 540px !important;
}

/* When image comes into view, apply animation */
/* .images img.in-view {
    opacity: 1;

    transform: translateX(0);

} */

/* Hover effect: Slight zoom-in effect */
/* .images img:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);

} */

/* Responsive Design: Make images full-width on smaller screens */
@media (max-width: 768px) {
    .images img {
        width: 100%;
    }
}

.contact-us {
    background-image: linear-gradient(to bottom, #000, #0000004b),
        url("images/img1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 350px;
}

/* .course_bottom a {
    text-decoration: none;
    border: 2px solid white;
    border-radius: 10px;
    color: white;
    background-color: var(--primary-color);
    padding: 10px !important;
    justify-content: center;
} */
/* .course_bottom a:hover {
    background-color: white;
    border: 3px solid var(--primary-color) !important;
    color: black;
} */

.contact_image {
    width: 100%;
    height: auto;
}

.bottom {
    padding: 50px;
    background-color: #000;
}

.mng-team {
    width: 100;
    height: 200px;
}

.mng-image {
    padding: 30px;
    background-color: var(--primary-color);
}

/* backend */
.sidebar {
    width: 30px;
    background-color: black;
    height: 100%;
}

.gallery-container {
    background-color: #e8e8e8c4;
}

.bitter {
    font-family: "Bitter", serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

.heading {
    font-family: "Bitter", serif;
    position: relative;
    padding-bottom: 15px;
    /* margin-bottom: 50px; */
}

/* .heading::after {
    content: "";
    height: 5px;
    width: 50%;
    background: linear-gradient(to right, var(--primary-color), red);
    position: absolute;
    bottom: 0;
    left: 25%;
} */

/* .heading {
    font-family: "Bitter", serif;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 50px;
}

.heading::after {
    content: "";
    height: 3px;
    width: 50%;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 0;
    left: calc(50% - 25px);
}

.heading::before {
    content: "";
    height: 3px;
    width: 50%;
    background-color: red;
    position: absolute;
    bottom: 0;
    left: 0;
} */
.sub-menu {
    padding-right: 20px;
    min-width: 200px;
    z-index: 99999;
}
.sub-menu a {
    display: block;
    padding: 0px 10px;
    margin-bottom: 5px;
    border-radius: 5px;
}
.sub-menu a:hover,
.sub-menu a.active {
    background-color: #73c2fb3f;
}

.contact-info {
    background-color: transparent;
}

.contact-info i {
    border: 1px solid #ccc;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    background-size: cover;
}

.social div {
    border: 1px solid #ccc;
    height: 35px;
    width: 35px;
    /* border-radius: 20%; */
    display: flex;
    justify-content: center;
    align-items: center;

    transform: rotate(45deg);

    margin: 20px;
}

.social i {
    transform: rotate(-45deg);
}

.secondary p {
    line-height: 50px;
    font-size: 18px;

    text-align: center;
}

.item {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    background-color: var(--primary-color);
}

.item .content {
    display: none;
}

.item:hover .content {
    display: block;
    background-color: rgba(25, 19, 203, 0.2) !important;
    position: absolute !important;
    height: 50%;
    width: calc(100% - 30px);
    bottom: 17px;
    left: 15px;

    color: white;
    font-weight: 500;
    font-size: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);

    align-items: center;
    justify-content: center;
}
.contact {
    margin-top: 100px;
    margin-bottom: 100px;
    line-height: 50px;
}
.student_say {
    font-size: 20px;
}
.testimonial {
    margin-top: 50px;
}
.nav-notice {
    background-color: #e1edfd;
    padding: 10px 0 0 0;
}
.marquee li {
    font-size: 13px;
    list-style: none;
}
.marquee li i {
    font-size: 10px;
    padding-right: 10px;
    color: red;
}
/* .carousel-control-next,.carousel-control-prev{
    position: absolute !important;
    background-color: red !important;
    height: 35px !important;
    width: 50px !important;
    font-size: 15px !important;
}
.carousel-control-next{
    top: calc(100vh - 300px) !important;
}
.carousel-control-prev{
    top: calc(100vh - 355px) !important;
    left: calc(100vw  - 67px) !important;
} */
.title {
    display: block;
    text-align: center;
    text-transform: uppercase;
    position: relative;
    color: #c51a22;
}
.title::after {
    content: "";
    position: absolute;
    height: 15px;
    width: 30px;
    /* border-top: 2px solid #ccc; */
    border-bottom: 1px solid #c51a22;
}
.news {
    padding: 0 100px;
}

.news_image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: 0.5s;
}
.news-card {
    border-bottom: 1px solid #cccccc83;
    overflow: hidden;
    /* border-radius: 10px; */
}
.news-card:hover img {
    transform: scale(1.05);
}
.event-head {
    /* background-color: #314A73; */
    border-bottom: 2px solid #3154917e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin-bottom: 10px;
}
.event-head-title {
    font-size: 20px;
    color: #c9363d;
    margin: 0;
}
.event-head-link {
    color: #757575;
    text-decoration: none;
}
.event-head-link:hover {
    text-decoration: underline;
}
.event-img {
    height: 60px;
    width: 60px;
    object-fit: cover;
}
.switchLang {
    border: none !important;
}
.switchLang:focus {
    border: none !important;
    outline: none !important;
}
.switchLang {
    color: #fff; /* Change color when the .switchLang dropdown is focused (active) */
}

select option {
    color: #000;
}
.member-image {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 50%;
}
@media only screen and (max-width: 1300px) {
    /* For tablets: */
    .main-container {
        padding: 0 50px !important;
    }
}
@media only screen and (max-width: 1100px) {
    /* For tablets: */
    .main-container {
        padding: 0 20px !important;
    }
}
.multi-sub-menu {
    position: relative;
}
.multi-sub-menu-section {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
    padding-left: 10px;
    width: max-content;
}
.multi-sub-menu:hover .multi-sub-menu-section,
.multi-sub-menu-section:hover {
    display: block;
}
.border-section {
    background-color: #fff;
    border-left: 1px solid #ccc;
    padding: 10px;
}
.theme-default {
    width: calc(100vw - 350px);
    box-shadow: none !important;
}
.nivoSlider img {
    height: 450px !important;
    object-fit: cover;
}
.main-slider {
    background-color: #cccccc42;
}

.employee-in-slider {
    /* background-color: #cccccc42; */
    width: 350px;
    padding: 0 20px;
}
.nivo-controlNav {
    display: none !important;
}
.employee-in-slider img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .employee-in-slider {
        width: 100%;
    }
    .news {
        padding: 0 20px;
    }
}

.gallery .spotlight img {
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    transition: transform 0.2s;
}
.gallery .spotlight img:hover {
    transform: scale(1.03);
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}
