/* Normalize */

:root {
    --bar-color: #3396ff;
    --primary-color: #3396ff;
    --secondary-color: #1B2A41;
    --font-color-pry: #333;
    --font-color-sec: #17255A;
    --white-light: #ffffff;
    --middle-white: #f7f7f7;
    --dark-white: #f4f4f4;
}



html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 55px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote {
    margin: 0;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

ul li {
    list-style: none;
}

body {
    background-color: var(--dark-white);
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.6;
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    color: var(--font-color-pry);
}

a {
    text-decoration: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    overflow-x: hidden;
}

@media only screen and (max-width: 900px) {
    .container {
        padding: 0 30px;
    }
}

@media only screen and (max-width: 725px) {
    .container {
        padding: 0px 0px;
    }
}

h1 {

}

h3 {
    font-size: 2.1rem;
}

.sec-header {
    font-size: 2.9rem;
}

.no-overflow {
    overflow-y: hidden;
}


/* icons */

.icons {
    height: 30px;
    width: 30px;
}

.sec-header {
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-right: 20px;
}

/* header */

/* top bar */

.topbar {
    position: relative;
}
.top {

        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 45px;
        font-size: 1.5rem;
        letter-spacing: 0.9px;
}

.social-links {
    max-width: 300px;
    display: flex;
    align-items: center;
    column-gap: 10px;
    z-index: 500;
}

.contact-info {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    background-color: var(--bar-color); /* set background color to brown */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 6% 98%);
    color: var(--middle-white);
}



.contact-item {
    display: flex;
    column-gap: 5px;
    align-items: center;
}

.contact-one {
    border-right: 2px solid var(--middle-white);
    padding: 0px 50px;
}

.contact-two {
    padding: 0px 50px;
}

@media only screen and (max-width: 1300px) {
    .contact-info {
        width: 60%;
    }
}

@media only screen and (max-width: 1000px) {
    .topbar {
        display: none;
    }
}

/* Navbar */

nav {
    background-color: var(--white-light);
    color: var(--font-color-pry);
}


.logo-box {
    display: flex;
    column-gap: 5px;
    align-items: center;
}

.logo-img {
    height: 90px;
    width: 120px;
}

.logo-text,
.logo-short {
    letter-spacing: .5px;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--font-color-sec);
}

.logo-short {
    display: none;
}

.sub-text {
    border-top: 2px solid var(--secondary-color);
    font-size: 1.6rem;
    display: block;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.navbar-links {
    display: flex;
    align-items: center;
    column-gap: 20px;
    font-weight: 500;
}

.navbar-links li a {
    color: var(--font-color-sec);
}


.hamburger {
    height: 60px;
    width: 65px;
    display: none;
}

@media only screen and (max-width: 725px) {
    .logo-img {
        height: 70px;
        width: 90px;
    }

    .logo-text {
        display: none;
        font-size: 2.1rem;
    }


    .sub-text {
        display: none;
        font-size: 1.5rem;
    }

    .logo-short {
        display: block;
    }

    .navbar {
        height: 70px;
    }

    .navbar-links {
        position: absolute;
        display: block;
        top: 70px;
        right: 0;
        padding-top: 40px;
        padding-left: 30px;
        flex-direction: column;
        width: 0%;
        height: 100%;
        text-align: left;
        transition: all 0.2s;
        overflow-x: hidden;
    }

    .navbar-open {
        z-index: 400;
        width: 100%;
        background-color: var(--middle-white);
    }

    .navbar-links li a {
        display: inline-block;
        margin-bottom: 20px;
        font-size: 2.1rem;
    }

    .hamburger {
        display: inline-block;
    }
}

/* hero carousel */

.hero .owl-carousel .item img {
    display: block;
    width: 100%;
    height: 80vh;
}

.hero {
    position: relative;
}

.owl-nav,
.owl-dots {
    display: none !important;
}


.hero .item {
    position: relative;
}

.hero .item:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 36, 64, .7);
    z-index: 1;
}

.hero .item img {
    display: block;
    width: 100%;
    height: 80vh;
    object-fit: cover;
    z-index: 2;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    color: var(--middle-white);
}

.hero-text {
    line-height: 1.2;
    font-size: 5.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.pry-btn {
    background-color: var(--primary-color);
    color: var(--middle-white);
    padding: 20px 75px;
    margin-right: 20px;
    border-radius: 5px;
    font-size: 1.8rem;
    display: inline-block;
}

.sec-btn {
    background-color: rgba(21, 36, 64, .2);
    color: var(--middle-white);
    padding: 20px 55px;
    font-weight: 500;
    border: 1px solid var(--primary-color);
    box-shadow: inset 0 0 0 5px var(--primary-color);
    font-size: 1.8rem;
    display: inline-block;
}

@media only screen and (max-width: 900px) {
    .hero-text {
        font-size: 3.6rem;
    }

    .pry-btn,
    .sec-btn {
        font-size: 1.6rem;
        padding: 15px 30px;

    }
}

@media only screen and (max-width: 725px) {
    .hero .owl-carousel .item img {
        height: 70vh;
    }

    .carousel-caption {
        width: 300px;
    }

    .hero-text {
        font-size: 2.6rem;
        letter-spacing: 2px;
        margin-bottom: 0px;
    }

    .pry-btn,
    .sec-btn {
        display: none;

    }
}

/* about section*/

.about {
    margin: 90px 0px;
    background-color: var(--white-light);
    padding: 60px 0px;
    position: relative;
}

.about-figure {
    position: absolute;
    top: 0;
    right:0;
    background-color: var(--primary-color);
    height: 100%;
    width: 450px;
}
.about-us {
    display: flex;
}

.about-left {
    /*
    background-color: #fff;
    */
    flex: 0.8;
    padding: 30px 35px;
    line-height: 1.4;
}

.about-content {
    margin-bottom: 10px;
    text-align: justify;
}

.more-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--middle-white);
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 1.8rem;
}

.abt-header {
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-right: 20px;
}

.abt-header::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -160%; /* Adjust as needed */
    transform: translateY(-50%);
    width: 150%; /* Adjust as needed */
    height: 1px;
    background-color: var(--primary-color);
}

.about-right {
    flex: 1;
    /*
    position: relative;
    */
    z-index: 300;
    overflow: hidden;
}

.about-right img {
    /*
    position: absolute;
    */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 1000px) {
    .abt-header::after {
        width: 0%;
    }

    .about-figure {
        width: 250px;
    }
    .about-left {
        flex: 1;
    }
    .about-right {
        flex: 0.8;
    }
}

@media only screen and (max-width: 900px) {

    .about-figure {
        background-color: var(--primary-color);
        height: 200px;
        width: 100px;
    }

    .about-us {
        flex-direction: column-reverse;
    }

    .about-right img {
        padding: 0px 35px;
        width: 100%;
        height: 320px;
    }
}

@media only screen and (max-width: 725px) {
    .about {
        margin: 45px 0px;
    }

    .about-content {
        margin-bottom: 10px;
        text-align: left;
    }

    .about-figure {
        height: 130px;
    }
    .about-right img {
        height: 250px;
    }
}

/* Message Section */

.message {
    margin: 90px 0px;
    background-color: var(--white-light);
    padding: 60px 0px;
    position: relative;
}

.message-figure {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-color);
    height: 100%;
    width: 350px;
}


.message-body {
    display: flex;
}

.message-left {
    flex: 0.8;
    overflow: hidden;
    z-index: 200;
}

.message-left img {
    width: 100%;
    height: 400px;
    object-fit: center;
}

.message-right {
    flex: 1;
    padding: 30px 35px;
    line-height: 1.4;
}

.message-header {
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-right: 20px;
}

.message-header::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100%; /* Adjust as needed */
    transform: translateY(-50%);
    width: 100%; /* Adjust as needed */
    height: 1px;
    background-color: var(--primary-color);
}

.message-content {
    text-align: justify;
}

.message-btn {
    display: none;
}

.message-author {
    color: var(--primary-color);
    margin-top: 8px;
    font-weight: 600;
}

@media only screen and (max-width: 1000px) {
    .message-header::after {
        width: 0%;
    }

    .message-figure {
        width: 250px;
    }
}

@media only screen and (max-width: 900px) {
    .message-figure {
        background-color: var(--primary-color);
        height: 200px;
        width: 100px;
    }

    .message-body {
        flex-direction: column;
    }

    .message-left img {
        padding: 0px 35px;
        width: 100%;
        height: 320px;
        object-fit: center
    }
}

@media only screen and (max-width: 725px) {

    .message {
        margin: 45px 0px;
    }

    .full-message {
        display: none;
    }

    .message-content {
        text-align: left;
    }

    .message-btn {
        display: inline-block;
        margin-top: 10px;
    }

    .message-figure {
        height: 130px;
    }
    .message-left img {
        height: 250px;
    }
}

  /* vision and mission */
.vision,
.mission {
    margin: 90px 0px;
    background-color: var(--white-light);
    padding: 60px 0px;
    position: relative;
}

/* .vision-figure {
    position: absolute;
    top: 0;
    right:0;
    background-color: var(--primary-color);
    height: 100%;
    width: 450px;
} */


.vision-body {
    display: flex;
}

.vision-left,
.vision-right {
    /*
    background-color: #fff;
    */
    flex: 1;
    padding: 30px 35px;
    line-height: 1.4;
}

.vision-header,
.mission-header {
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-right: 20px;
}

.vision-header::after,
.mission-header::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100%; /* Adjust as needed */
    transform: translateY(-50%);
    width: 100%; /* Adjust as needed */
    height: 1px;
    background-color: var(--primary-color);
  }

/* .vision-right {
    flex: 0.8;
    overflow: hidden;
    z-index: 200;
} */

/* .vision-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.vision-content,
.mission-content {
    text-align: justify;
    margin-bottom: 15px;
}

/* .vision-btn {
    display: none;
} */

.read-more {
    display: inline-block;
    margin: 0px 0px;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
}


@media only screen and (max-width: 1000px) {
    .vision-header::after,
    .mission-header::after {
        width: 0%;
    }
    /* .vision-figure {
        width: 150px;
    } */

}

@media only screen and (max-width: 900px) {
    /* .vision-figure {
        background-color: var(--primary-color);
        height: 200px;
        width: 100px;
    } */

    .vision-body {
        flex-direction: column-reverse;
    }

    /* .vision-right img {
        padding: 0px 35px;
        width: 100%;
        height: 320px;
        object-fit: center
    } */
}

@media only screen and (max-width: 725px) {

    .vision {
        margin: 45px 0px;
    }

    .full-vision {
        display: none;
    }

    .vision-content,
    .mission-content {

        text-align: left;
        margin-bottom: 15px;
    }

    .vision-btn {
        display: inline-block;
        margin-top: 10px;
    }

    .vision-figure {
        height: 130px;
    }

    .vision-right img {
        height: 250px;
    }
}


.mission-list {
    margin-left: 20px;
}
/* notice & news */

.notice {
    margin: 90px 0px;
    background-color: var(--white-light);
    padding: 50px 0px;
}

.notice-body {
    display: flex;
}

.notice-left {
    flex: 1;
    padding: 30px 35px;
    line-height: 1.4;
}

.notice-content {
    padding: 10px 20px;
    box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.75);
    border-radius: 5px;
}
.notice-header {
    color: var(--primary-color);
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-right: 20px;
}

.notice-header::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100%; /* Adjust as needed */
    transform: translateY(-50%);
    width: 100%; /* Adjust as needed */
    height: 1px;
    background-color: var(--primary-color);
  }

.notice-right {
    flex: 1;
    padding: 30px 35px;
    line-height: 1.4;
}

.notice-bottom a,
.news-desc a {
    color: var(--font-color-pry);
}

.notice-list {
    padding: 10px 5px;
    margin-bottom: 5px;
    border-bottom: 0.7px solid #d6d6d6;;
}

.new-icon {
    height: 30px;
    width: 50px;
}

.notice-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.notice-date {
    font-size: 1.4rem;
    font-weight: 600;
}

.show-all {
    display: inline-block;
    margin: 30px 0px;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
}

@media only screen and (max-width: 1000px){
    .notice-header::after {
        width: 0%;
    }
}

@media only screen and (max-width: 900px) {
    .notice-body {
        flex-direction: column;
    }
}

@media only screen and (max-width: 725px) {

    .notice {
        margin: 45px 0px;
    }

    .notice-box {
        margin-bottom: 20px;
    }

    .notice-bottom a,
    .news-desc a {
        font-size: 1.5rem;
    }

    .news-img {
        height: 100px;
    }

    .notice-left,
    .notice-right {
        padding: 10px 15px;
    }

    .notice-date {
        font-weight: 500;
    }

    .notice-list {
        padding: 7px 4px;
    }
}

/* news styles */

.news-list {
    display: flex;
    column-gap: 10px;
    padding: 10px 5px;
    margin-bottom: 5px;
    border-bottom: 0.7px solid #d6d6d6;
}

.news-img {
    height: 90px;
    width: 140px;
    display: inline-block;

}

.news-desc {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.footer {
    background-color: var(--secondary-color);
}

.footer-body {
    padding: 80px 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}



.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-header {
    font-size: 2.6rem;
    color: var(--middle-white);
    letter-spacing: 1.4px;
}

.link-list {
    padding: 10px 0px;
}

.contact-list li,
.link-list li a {
    display: inline-block;
    color: var(--middle-white);
    font-size: 1.6rem;
    letter-spacing: 1.2px;
}

.link-list li,
.contact-list li {
    display: flex;
    column-gap: 5px;
    align-items: center;
    margin-bottom: 8px;

}

.social-icons {
    display: flex;
    column-gap: 10px;
}

.footer-sc-icons {
    height: 50px;
    width: 50px;
}

.link-arrow {
    height: 20px;
    width: 40px;
    color: var(--primary-color);
}

@media only screen and (max-width: 1000px) {
    .footer-body {
        column-gap: 20px;
    }
}

@media only screen and (max-width: 725px) {
    .footer-body {
        padding: 40px 30px;
    }

    .footer-header {
        font-size: 2.4rem
    }

    .footer-column {
        margin-bottom: 30px;
    }

}

.footer-copyright {
    color: var(--middle-white);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
    border-top: 2px solid var(--middle-white);
    padding: 20px 0px;
}

/* notice page css */

.notice-page-body {
    padding: 40px 0px;
}

.notice-page-content {
    padding: 30px 20px;
    background-color: var(--white-light);
    max-width: 900px;
    margin: 0 auto;
    min-height: 600px;
}

.page-header {
    background-color: var(--secondary-color);
}

.page-header-body {
    padding: 40px 0px;
}

.page-header {
    color: var(--middle-white);
    text-align: center;
    font-size: 3.2rem;
    font-weight: 600;
    letter-spacing: 3px;
}


/* about page and admission page*/

.about-page {
    padding: 40px 0px;
}

.about-us-page {
    background-color: #ffffff;
    padding: 50px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.about-us-content {
    padding: 0px 30px;
}

@media only screen and (max-width: 725px) {
    .about-us-content {
        padding: 0 10px;
    }
}

.vision-page,
.message-body {

}

/* article page css */

.article-page-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.article-page-head {
    margin: 10px 0px;
    font-size: 2.8rem;
    color: var(--font-color-sec)
}

.article-page-date {
    margin: 15px 0px;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--font-color-sec);
}

.article-paragraph {
    margin-bottom: 10px;
}


/* admission page css */

.subject {
    margin-left: 30px;
}

:root {
    --hero-overlay-color: rgba(21, 36, 64, 0.5); /* Main overlay color */
    --hero-transition: all 0.3s ease-in-out; /* Transition timing */
}

.hero .item {
    position: relative;
    overflow: hidden; /* Prevents overflow from child elements */
}

.hero .item::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--hero-overlay-color);
    z-index: 1;
    transition: var(--hero-transition); /* Smooth transition */
    pointer-events: none; /* Prevents interfering with clickable elements */
}

.hero .item:hover::before {
    background-color: rgba(21, 36, 64, 0.4); /* Darken overlay on hover */
}



/* Gallery */

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
}


.gallery-header {
    display: flex;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 300px; /* Fixed width */
    height: 200px; /* Fixed height */
    margin: 0 auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire box without distortion */
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
    opacity: 1;
}


/* Pagination styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination-button {
    margin: 0 5px;
    padding: 10px 15px;
    border: none;
    background-color: var(--font-color-pry); /* Use your primary color */
    color: white;
    cursor: pointer;
}

.pagination-button.active {
    background-color: var(--primary-color);
}

.pagination-button:hover {
    background-color: var(--primary-color);
}