.lib-nav.sticky {
    position: fixed;
    width: 100%;
    top: 49px;
    z-index: 111;
}

section.library-banner .content {
    position: absolute;
    bottom: 30px;
    padding: 20px;
    width: 100%;
    color: white;
    z-index: 111;
}

section.library-banner h2 {
    color: white;
}

div#navbarText {
    justify-content: center;
}

.lib-nav {
    background: #0e2a61d6;
    margin-top: -57px;
    position: relative;
    z-index: 111;
}

section.library-banner li.nav-item .nav-link {
    text-transform: uppercase;
    color: white;
    padding: 8px 14px;
    font-size: 14px;
}

/* section.library-banner li.nav-item .nav-link.active {
     background: #2f637e;
     border-radius: 25px;
     padding: 5px 14px;
 } */

ul.navbar-nav {
    align-items: center;
}

section.new-arrival {
    padding: 100px 0;
}

section.new-arrival figure {
    display: inline-block;
    margin: 0px;
    padding: 0;
    border-radius: 5px;
    background: #ddd;
    box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.7), inset -2px -2px 5px rgb(0 0 0 / 38%), 0 10px 10px rgb(0 0 0 / 19%);
    border: 1px solid #999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

section.new-arrival figure img {
    display: block;
    border-radius: 5px;
    width: 100%;
    height: auto;
}

/* Optional hover effect for realism */
section.new-arrival figure:hover {
    transform: translateY(-5px);
    box-shadow:
        inset 2px 2px 5px rgba(255, 255, 255, 0.7),
        inset -2px -2px 5px rgba(0, 0, 0, 0.5),
        0 15px 25px rgba(0, 0, 0, 0.5);
}


section.new-arrival figure::before {
    content: '';
    position: absolute;
    width: 11px;
    height: 100%;
    left: 0;
    top: 0px;
    background: linear-gradient(90deg, rgb(0 0 0 / 52%), transparent);
}
.lib-heading {
    position: relative;
    margin-bottom: 30px;
}

.lib-heading h2 {
    font-size: 30px;
    margin: 0;
    font-weight: 600;
    color: #323232;
}

.newBook-wrap {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.newBook-wrap figure img {
    height: 230px;
    object-fit: cover;
    object-position: top;
}

figcaption {
    text-align: center;
    padding: 10px;
}

.newBook-wrap p {
    margin: 0;
    background: red;
    display: inline-block;
    padding: 0 10px;
    position: absolute;
    top: 23px;
    left: 10px;
    color: white;
    border-radius: 25px;
    box-shadow: 0 0 3px 0 #000000;
}

.publication-list ul {
    padding: 0;
}

.publication-list ul li {
    display: flex;
    border-bottom: 1px dotted #adadad;
    align-items: center;
}

.publication-list ul li {
    display: flex;
    border-bottom: 1px dotted #adadad;
    align-items: center;
    line-height: 20px;
    padding: 15px;
}

.lib-marquee-wrapper {
    padding: 10px 0;
    box-shadow: 0 0 5px 0 #8d8d8d;
    border-radius: 10px;
}

.publication-list marquee {
    height: 300px;
}

.publication-list ul li a {
    color: inherit;
    font-size: 14px;
}

.publication-list ul li h5 {
    margin: 0;
    color: #3c7595;
    font-weight: 600;
}

/* Default Page */
section.lib-default {
    padding: 80px 0;
}

/* Library Overview */
section.lib-overview {
    padding: 100px 0;
    background: whitesmoke;
}

section.lib-overview figure {
    height: 100%;
}

section.lib-overview figure img {
    height: 100%;
    object-fit: cover;
}

/* Counter */
section.lib-collection {
    padding: 100px 0;
}

section.lib-collection .lib-heading {
    text-align: center;
}

.counter-box {
    text-align: center;
    padding: 30px 0 0 0;
    display: flex;
    position: relative;
    padding-left: 70px;
}

.counter-box-img {
    position: absolute;
    left: 10px;
    top: 45px;
}

.counter-box-img img {
    width: 50px;
}

.counter-text {
    display: inline-block;
}

.counter-box h2 {
    font-weight: 600;
    font-size: 47px;
}

.counter-box a {
    padding: 5px 7px;
    transition: all 0.3s ease;
    border-bottom: 2px solid #3c6de6;
    display: inline-block;
    margin-top: 15px;
    text-transform: uppercase;
    color: #000;
}

.counter-box a:hover {
    transform: scale(1.04);
}

section.library-committee {
    padding: 100px 0;
    background: whitesmoke;
}

/* .contactOwl-item {
    display: flex;
    justify-content: center;
    align-items: center;
   
} */

section.library-committee .card {
    background: #3c6de612;
    border-radius: 12px;
    text-align: center;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;
    align-items: center;
    /* centers horizontally */
    justify-content: center;
    /* centers vertically */
}

section.library-committee .card figure {
    width: 147px;
    height: 147px;
    margin: 0 auto 15px;
    /* centers the figure */
    display: flex;
    align-items: center;
    justify-content: center;
}

section.library-committee .card img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #3c7595;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

section.library-committee .card-name {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

section.library-committee .card-title {
    font-size: 13px;
    letter-spacing: 2px;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* .card-text {
  font-size: 14px;
  color: #777;
  line-height: 1.5;
} */

section.library-committee .owl-nav,
section.new-arrival .owl-nav {
    position: absolute;
    top: -53px;
    right: 0;
    display: inline-flex;
    gap: 10px;
}

section.library-committee .owl-nav button,
section.new-arrival .owl-nav button {
    /* background: #3c7595!important; */
    color: rgb(39, 39, 39) !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 22px;
    border: 1px solid #aeaeae !important;
}


/* Contact Person */

section.lib-contact {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

section.lib-contact::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 33.33%;
    background: #0e2a61;
    top: 0;
    right: 0;
}

section.lib-contact .container {
    position: relative;
}

.working-hour-card .heading-new-1 h2 {
    color: #fff;
    background: url(../images/working-hour.png);
    background-size: 35px;
    background-repeat: no-repeat;
    padding-left: 45px;
    display: inline-flex;
    min-height: 37px;
    align-items: center;
}

.working-hour-card {
    padding: 0 15px;
}

.working-hour-card ul {
    padding: 0;
    margin: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.working-hour-card ul li {
    position: relative;
    background: url(../images/list-arrow.png);
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: top 7px left;
    padding-left: 26px;
}

.working-hour-card ul li strong {
    font-weight: 500;
    display: inline-block;
    width: 100%;
}

section.lib-contact thead tr th {
    padding: 20px 10px;
}

section.lib-contact thead {
    color: white;
}

.person {
    display: flex;
    align-items: center;
}

.person img {
    width: 50px;
    border-radius: 50%;
    height: 50px;
    margin-right: 5px;
    object-fit: cover;
}

.contactOwl-item .card-body {
    text-align: center;
    min-height: 135px;
}

.contactOwl-item p {
    text-align: center;
}

/* Newspaper */
section.lib-newspaper {
    padding: 100px 0;
}

section.lib-newspaper .lib-heading {
    text-align: center;
}

section.lib-newspaper figure {
    border-right: 1px dotted;
    border-bottom: 1px dotted;
    margin: auto;
    text-align: center;
    position: relative;
    height: 130px;
    padding: 10px;
}

section.lib-newspaper figure img {
    height: 100%;
    object-fit: contain;
}

section.lib-newspaper .row .col-md-2:nth-child(6n) figure {
    border-right: none;
}

section.lib-newspaper .row .col-md-2:nth-last-child(-n+6):nth-child(6n+1)~.col-md-2 figure,
section.lib-newspaper .row .col-md-2:nth-last-child(-n+6):nth-child(6n+1) figure {
    border-bottom: none;
}

a.news-read-btn {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    margin: auto;
    background: #3f7797d6;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 600;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

a.news-read-btn:hover {
    opacity: 1;
}

.overview-content {
    text-align: justify;
}

section.lib-default p {
    text-align: justify;
}

/* .heading-new-1 h2 {
    font-weight: 500;
    line-height: 36px;
    font-size: 26px;
}
.heading-new-1 {
    margin-bottom: 10px;
    position: relative;
} */

@media(max-width:1200px) {
    .lib-nav {
        margin-top: -40px;
    }

    figcaption {
        font-size: 14px;
    }

}



@media(max-width:992px) {

    section.library-committee .owl-nav button,
    section.new-arrival .owl-nav button {
        width: 35px;
        height: 35px;
    }

    section.library-committee .owl-nav,
    section.new-arrival .owl-nav {
        position: absolute;
        top: -55px;
        gap: 5px;
    }

    .heading-new-1 h2 {
        font-size: 24px;
    }

    .counter-box h2 {
        font-weight: 600;
        font-size: 34px;
    }

    .counter-box a {
        margin-top: 5px;
        font-size: 12px;
    }

    section.lib-default {
        padding: 50px 0;
    }

}

@media(max-width:768px) {
    section.new-arrival {
        padding: 60px 0;
    }

    section.lib-overview {
        padding: 60px 0;
        background: whitesmoke;
    }

    .heading-new-1 {
        margin-bottom: 10px;
        position: relative;
        margin-top: 10px;
    }

    section.lib-collection {
        padding: 60px 0;
    }

    section.lib-collection .col-md-3 {
        width: 50%;
    }

    section.library-committee {
        padding: 60px 0;
        background: whitesmoke;
    }

    section.lib-contact .heading-new-1 h2 {
        color: #fff;
    }

    section.lib-contact {
        padding: 60px 0;
        background: #fff;
        position: relative;
    }

    section.lib-contact::before {
        content: '';
        position: absolute;
        height: 100%;
        width: 100%;
        background: #0e2a61;
        top: 0;
        right: 0;
    }

    section.library-committee .owl-nav,
    section.new-arrival .owl-nav {
        position: absolute;
        top: -45px;
        gap: 5px;
    }

    .lib-nav.sticky {
        position: fixed;
        width: 100%;
        top: 40px;
        z-index: 111;
    }
}

@media(max-width:576px) {
    .heading-new-1 h2 {
        font-size: 20px;
    }
}

@media(max-width:420px) {
    section.lib-collection .col-md-3 {
        width: 100%;
    }

    .heading-new-1 h2 {
        font-size: 18px;
    }

    .counter-box h2 {
        font-weight: 600;
        font-size: 28px;
    }

    .counter-box a {
        margin-top: 0px;
        font-size: 12px;
    }

}