@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap');

:root {
    --primary: #00099B;
    --secondary: #14A750;
    --gray: #F7F7F7 --grey: #D6DBE6;
    --black: #000;
    --white: #fff;
    --shadow: 0px 23px 21px -8px rgba(136, 160, 255, 0.25);
}

/* -----------------------------------------element style---------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter',
        sans-serif;posterPopup
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    /* background-color: rgba(0, 9, 155, 0.88); */
}

h1 {
    margin-bottom: 1rem;
    font-weight: bold;
}

/* h2 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
} */
h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

h3 {
    margin-bottom: 1rem;
    font-weight: 800;
}

h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

h5 {
    margin-bottom: 1rem;
}

a {
    color: var(--black);
    text-decoration: none;
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.3;
}

p {
    font-size: 1.2rem;
    margin: 1rem 0;
    font-weight: 300;
    color: var(--black);
    text-align: justify;
    line-height: 1.4;
}

li {
    font-size: 1rem;
    font-weight: 300;
    list-style-type: none;
    position: relative;
}

/* -----------------------------------------css class library---------------------------------------- */

h1.line {
    position: relative;
    display: inline-block;
    padding-bottom: 0.4rem;
}

h2.line {
    position: relative;
    display: inline-block;
    padding-bottom: 0.4rem;
}

h3.line {
    position: relative;
    display: inline-block;
    padding-bottom: 0.4rem;
}

h1.line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: #040BD8;
}

h2.line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: #040BD8;
}

h3.line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: #040BD8;
}


.custom-container {
    width: 85%;
    margin: auto;
}

.custom-inner-container {
    width: 60%;
    margin: auto;
}

.banner-section img {
    width: 100%
}

.paddings {
    padding: 5rem 0;
}

.innerWidth {
    width: 100%;
}

.inner-container {
    width: 70%;
    margin: auto;
}

.flexCommon {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flexCenter {
    display: flex;
    row-gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.flexStart {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flexEnd {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.flexColCenter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.flexColStart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.flexColEnd {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

/*-----------------popup css----------------------------*/


#close-btn{
    position:absolute;
    right:0;
    top:0;
    font-size: 2.5rem;
    cursor:pointer;
}

#posterPopup {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    transform: translate(-0%, -0%);
    z-index: 9999;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  }
  
  #posterPopup img {
    max-width: 100%;
    height: 40vh;
  }


/* ---------------- header ---------------*/

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
    flex-wrap: nowrap;
}

.brand {
    display: flex;
    justify-content: center;
    align-items: center;
}

#header {
    transition: 0.2s;
}

.links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-link {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
    transition: 0.7s ease;
}

.nav-link:hover {
    color: var(--primary);

}

.hamburger {
    display: block;
    cursor: pointer;
    z-index: 9;
}

.bar {
    display: block;
    width: 1.5625rem;
    height: 0.1875rem;
    margin: 0.3125rem auto;
    background-color: var(--white);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--primary);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--primary);

}

.nav-menu {
    position: fixed;
    right: -100%;
    top: 0;
    gap: 0;
    display: flex;
    flex-direction: column;
    background-color: #ffffffd1;
    width: 22%;
    height: 100vh;
    text-align: left;
    transition: 0.3s;
    padding: 8rem 3rem;
    text-align: center;
}

.nav-item {
    margin: 16px 0;
}

.nav-item a {
    color: var(--black);
    font-weight: 600;
    font-size: 1.2rem;
}

.nav-item a:hover {
    color: var(--secondary);
}

.nav-item a:active {
    color: var(--secondary);
}

.nav-menu.active {
    right: 0;
}

.links a {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.links a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 3px;
    background: var(--white);
    bottom: 0;
    left: 0;
}

.links a:hover:after {
    background: var(--secondary);
}

.links a:hover {
    color: var(--white)
}

/* banner section */
.carousel-caption {
    left: 10% !important;
    top: 44%;
    right: 50% !important;
    text-align: left !important;
    transition: transform 0.2s ease-in-out;
    transform-origin: left;
    width: 80%;

}

.carousel-caption h2 {
    font-size: 2.2rem !important;
    font-weight: 500 !important;
    margin-bottom: 1.2rem;
}

.carousel-caption a {
    color: var(--white);
    font-size: 1.4rem !important;
    text-decoration: none !important;
    position: relative;
}

.carousel-caption a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 2px;
    background: var(--white);
    bottom: -8px;
    left: 0;
}
.carousel-banner-section .mobile-banner {
    display:none;
}

/* flash news section */
.news-div {
    background: #242424;
    width: 20%;
    margin: auto;
    padding: 1rem;
    height: 7vh;
    text-align: center;
}

.news-detail {
    background: var(--primary);
    width: 80%;
    padding: 1.1rem;
    height: 7vh;
}

.news-div h2 {
    color: var(--white);
}

.news-detail marquee {
    color: var(--white);
    font-size: 1.3rem;
}




/* welcome section */
.welcome {
    background: #F7F7F7;
}

.welcome-sec {
    width: 60%;
    margin: auto;
    gap: 2rem;
}

.welcome-sec p {
    text-align: center;
}

.welcome-sec a {
    border: 3px solid var(--secondary);
    padding: 1rem 2rem;
    color: var(--black);
    text-decoration: none;
}

.welcome-sec a:hover {
    background: var(--secondary);
    color: var(--white);
    border: 3px solid transparent;
}

/* Round section */
.round-sec {
    width: 64%;
    margin: auto;
}

.round-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    cursor: pointer;
}

.round-inner img {
    width: 100%;
    border-radius: 50%;
    position: relative;
}

.round-inner:hover h5 {
    color: var(--black);
    font-weight: 700;
}

.image-border {
    display: inline-block;
    border-radius: 50%;
    padding: 8px;
    background: -webkit-linear-gradient(90deg, #fff 50%, #d6dbe6 50%);
    background: -o-linear-gradient(90deg, #fff 50%, #d6dbe6 50%);
    background: -moz-linear-gradient(90deg, #fff 50%, #d6dbe6 50%);
    background: linear-gradient(90deg, #fff 50%, #d6dbe6 50%);
    transition: 0.3s ease;
}

.round-inner:hover .image-border {
    background: -webkit-linear-gradient(90deg, #fff 50%, #00099B 50%);
    background: -o-linear-gradient(90deg, #fff 50%, #00099B 50%);
    background: -moz-linear-gradient(90deg, #fff 50%, #00099B 50%);
    background: linear-gradient(90deg, #fff 50%, #00099B 50%);
}

.round-inner:hover h5 {
    color: var(--primary);
}

/* nurse section */
.blue-sec {
    background: url(../images/course-bg.png);
    padding-top: 2rem;
    background-repeat: no-repeat;
    background-size: cover;
}

.first-sec {
    gap: 2rem;
    padding-bottom: 1rem;
}

.first-sec img {
    width: 80%;
}

.second-sec {
    margin-bottom: -1rem;
}

.second-sec img {
    width: 80%;
}

.first-sec a {
    text-decoration: none;
    border: 2px solid #ffffff6e;
    padding: 0.6rem 1rem;
    color: var(--white);
    margin-left: 15%;
}

.first-sec a:hover {
    color: var(--white);
}

/* news section */
.news-main {
    background: url(../images/footer-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--white);
}

.news-events h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: bold;
}

.news-events {
    width: 64%;
    margin: auto;
}

.news-section {
    align-items: stretch !important;
    margin-top: 3rem;
}

.news-inner-sec {
    width: 100%;
    background: transparent;
    transition: all .3s ease;
}

.news-inner-sec:hover {
    box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px,
        rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}

.news-inner-sec-img img {
    width: 100%;
}

.news-text h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 1rem 0;
    text-align: left;
}

.news-text p {
    text-align: left;
    font-size: 1rem;
}

.news-text {
    padding: 0 1.5rem 1rem;
}
.mySwiperNews .swiper {
      width: 100%;
      height: 100%;
    }

.mySwiperNews .swiper-slide {
      text-align: center;
      font-size: 18px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

.mySwiperNews .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

/* carousel section */
.gallery-sec {
    background: var(--primary);
}

.gallery-sec h2 {
    text-align: center;
    font-size: 2.6rem;
    font-weight: bold;
    color: var(--white);
}

.swiper {
    width: 100%;
    height: 100%;
    margin-top: 3rem;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    /* height: 100%; */
    /* object-fit: cover; */
}

.swiper-inner img {
    position: relative;
}

.swiper-inner h3 {
    position: absolute;
    width: 100%;
    text-align: center;
    background: #000000a1;
    color: white;
    top: 10%;
    padding: 0.8rem;
    transition: all .3s ease;
    font-size: 1rem;
}

.swiper-inner:hover {
    box-shadow: 0 0 8px 8px #0000009c;
}

.swiper-inner:hover h3 {
    top: 0;
}

.swiper-container .swiper-pagination {
    bottom: -30px !important;
}

/* footer */
.footer {
    background: url(../images/footer-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.footer-logo img {
    width: 100%;
}

.footer-address ul {
    margin: 0;
    padding: 0;
}

.footer-address a {
    text-decoration: none;
    color: var(--black);
}

.footer-menu a {
    text-decoration: none;
    color: var(--black);
}

.footer-social-media i {
    font-size: 2rem;
}

/* about section */
.about-inner-one {
    width: 60%;
}

.about-inner-two {
    width: 30%;
    position: relative;

}

.about-inner-one h1 {
    position: relative;
    font-size: 2.4rem;
}

.nursing h2 {
    position: relative;
    font-size: 2.4rem;
}

.about-inner-two img {
    width: 100%;
    position: relative;
    border-radius: 50%;
    z-index: 2;
}

.first-circle {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: #040BD8;
    top: 15%;
    left: 50%;
    z-index: 1;
}

.second-circle {
    content: "";
    position: absolute;
    width: 62%;
    height: 62%;
    border-radius: 50%;
    background: #040BD8;
    top: 44%;
    right: 36%;
}

.third-circle {
    content: "";
    position: absolute;
    width: 50%;
    height: 50%;
    border-radius: 50%;
    background: #777BEA;
    top: 0;
    left: 48%;
}

.fourth-circle {
    content: "";
    position: absolute;
    width: 10%;
    height: 10%;
    border-radius: 50%;
    background: #777BEA;
    bottom: -6%;
    right: 10%;
}

.nursing {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.vision {
    width: 46%;
    background: #F5F5F5;
    height: 40vh;
    padding: 3rem;
}

.mission {
    width: 46%;
    background: #F5F5F5;
    padding: 3rem;
    height: 40vh;
}

/* academic page */
.academic-table {
    width: 100%;
    margin: auto;
    background: var(--white);
    padding: 3rem 4rem;
    border: 1px solid #DDD0D0;
    box-shadow: 7px 7px 10px 5px rgba(0, 0, 0, 0.1);
}

.academic-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.line-ver {
    position: relative;
    border-left: 1px solid #DDD0D0;
    height: 10vh;
    margin: 0 1rem;
}

.academic-table .academic-inner .lesson {
    color: #635DFF;
    font-size: 2rem;
    font-weight: 400;
}

.academic-table .academic-inner .label {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 500;
}

.course-one {
    width: 30%;
}

.course-one img {
    width: 100%;
}

.course-two {
    width: 64%;
}

.duration {
    font-size: 1.2rem;
}

/* facility page */
.faci h2 {
    margin-bottom: 4rem;
}

.facility-inner {
    gap: 0;
    padding: 0;
}

.faci-img img {
    width: 100%;
}

.faci-img {
    width: 33.3%;
}

.faci-text {
    width: 33.3%;
    padding: 2rem;
}

/* gallery page */


/* contact page */


.enquiry-form-sec {
    width: 46%;
}

.enquiry-map {
    width: 46%;
    background: var(--primary);
    padding: 2rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.enquiry-map address i {
    font-size: 1.6rem;
    padding-right: 0.6rem;
}

.enquiry-map a {
    color: var(--white);
    font-size: 1rem;
}

.enquiry-map a i {
    font-size: 1.6rem;
    padding-right: 0.6rem;
}

.contact input {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border: 1px solid #E8E8E8;
    background: transparent;
    outline: none;
    margin: 1rem 0;
}

.contact textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border: 1px solid #E8E8E8;
    background: transparent;
    outline: none;
    margin: 1rem 0;
}

.contact input[type="button"] {
    width: 100%;
    padding: 0.8rem;
    border: none;
    background: var(--primary);
    color: var(--white);
    outline: none;
}
/*other gallery inner pages*/
/* gallery start */

.gall-inner p{
    margin-bottom:2rem;
}
.gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap:0;
    justify-content: space-between;
}

.gallery img {
    width: 100%;
    padding-bottom:2rem;
}

.gallery .organ-img{
    width: 50%;
}

.video-sec video{
    width:60%;
    margin:2rem auto;
}

#lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-img {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
}

.close-btn {
    color: #fff;
    font-size: 3rem;
    position: absolute;
    top: 2rem;
    right: 0;
    padding: 10px 20px;
    cursor: pointer;
}

.prev-btn,
.next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 3rem;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.prev-btn {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next-btn {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* gallery end */

/*Inauguration section*/
.mySwiperInauguration .swiper-wrapper{
    position: relative;
}
.inauguration-img{
    position: relative;
}
.inauguration-text {
    position: absolute;
    bottom: 0;
    z-index: 1;
    background: #000000b8;
}
.inauguration-text p{
    color: var(--white);
    width: 80%;
    margin: 0 auto;
    padding: 1.5rem 0;
    font-size: 1.5rem;
}

/*a*/

.astyle a{
    font-weight:600;
}




