@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    /* border: 1px solid red; */
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    overflow-x: hidden;
    top: 0 !important;
}


:root {
    --text-dark: #121212;
    --blue-color: #0A5EB0;
    --green-color: #1C4D35;
    --second-green: #1E741B;
    --green-color: #1C4D35;
    --price-color: #B52929;
    --orange-color: #FC7703;
    --text-color: #EFF9FF;
}

header {
    position: fixed;
    width: 100%;
    z-index: 999;
    font-family: "Poppins", serif;
}

nav {
    transition: 0.6s;
    /* background-color: rgba(255, 255, 255, 0.279); */
    background-color: white;
}

.scroll-down nav {
    transform: translate3d(0, -100%, 0);
}

.scroll-up nav {
    background-color: white;
    filter: drop-shadow(0 -10px 10px rgba(66, 65, 65, 0.279));
    padding: 0;
}

.navbar-nav .nav-link {
    padding: 0 !important;
}

.navbar-nav .nav-link.active {
    color: var(--second-green);
    position: relative;
}

.navbar-nav .nav-link.active::before {
    content: '';
    height: 3px;
    width: 100%;
    background-color: var(--second-green);
    position: absolute;
    top: -69% !important;
    left: 0;
}

.navbar-toggler:focus {
    border: 0 !important;
    box-shadow: none !important;

}

.navbar-toggler {
    border: 0 !important;
}

.offcanvas {
    height: 100vh !important;
    position: fixed;
}

.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: transparent;
}

.dropdown-menus {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.dropdown-menu li:not(:last-child) .dropdown-item {
    border-bottom: 1px solid #ddd; 
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.user-menu-dropdown[data-bs-popper] {
    left: -120px !important;
    top: 140% !important;
}  

.navbar>.container,
.navbar>.container-fluid,
.navbar>.container-lg,
.navbar>.container-md,
.navbar>.container-sm,
.navbar>.container-xl,
.navbar>.container-xxl {
    flex-wrap: nowrap;
}

.navbar-toggler {
    padding: .2rem .5rem !important;
    font-size: 16px !important;
}

.nav-user-account {
    font-size: .9rem;
    font-weight: bold;
}

.ov-hide {
    display: none !important;
}

.sector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar .top-section {
    padding-inline: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar .logo {
    display: flex;
    gap: .5rem;
    align-items: flex-end;
}

.navbar .logo p {
    font-family: "Poppins", serif;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.navbar .logo .green {
    color: var(--green-color);
}

.navbar .logo img {
    width: 110px;
}

.dropdown-toggle::after {
    display: none;
}

.searches-wrapper {
    position: relative;
}

.wrapper-mobiles {
    display: none;
    border: 1px solid black;
}

.searches-wrapper .button button {
    border: 0;
    outline: 0;
    border-radius: 100%;
    background-color: var(--blue-color);
    padding: .6rem;
    transition: .3s ease-in-out;
}

.searches-wrapper .button svg {
    width: 24px;
    height: 24px;
}

.searches-wrapper .button button:hover {
    background-color: #05417c;
}

.search-box {
    position: absolute;
    right: 0;
    top: 8vh;
    width: 0;
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, max-height 0.3s ease-out;
}

.search-box input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: 0.3s;
}

.search-box.show {
    max-height: 50px;
    opacity: 1;
    transform: translateY(0);
}

.search-box.expand {
    width: 900px;
    transition: width 0.4s ease-out 0.3s;
}

.search-box.shrink {
    width: 0;
    transition: width 0.4s ease-out;
}

.search-results {
    position: absolute;
    top: 100px;
    right: 0;
    width: 900px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.search-results.show {
    display: block;
}

.search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results li {
    padding: 10px;
    cursor: pointer;
    display: none;
}

.search-results li:hover {
    background: #f0f0f0;
}

.loading {
    text-align: center;
    padding: 10px;
    font-style: italic;
    color: gray;
    display: none;
}

.no-data {
    text-align: center;
    padding: 10px;
    color: red;
    font-weight: bold;
    display: none;
}


.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--blue-color);
    transition: 0.3s;
}

.line-wrapper .line {
    content: '';
    height: 25px;
    width: 1.1px;
    background-color: #787878;
}

.cart {
    position: relative;
    margin: 0 !important;
}

.cart svg {
    width: 40px;
    height: 40px;
}

.cart .qty {
    padding-inline: 7px;
    padding-block: 2.5px;
    background-color: var(--blue-color);
    border-radius: 100%;
    color: white;
    font-size: .7rem;
    position: absolute;
    transform: translateX(50%) translateY(-65%);
}

.cart-menu[data-bs-popper] {
    top: 100%;
    left: -800% !important;
    min-width: 400px;
    width: 100%;
    padding-inline: .8rem;
    padding-block: 1rem;
}

.about-book h6 {
    font-size: 1rem;
    font-family: "Libre Baskerville", serif;
    font-weight: bold;
    color: var(--green-color);
    text-transform: capitalize;
}

.about-book p {
    font-weight: 400;
    font-size: .9rem;
    color: #474747;
    font-family: "Poppins", serif;
}

.cart-menu .price {
    font-family: "Libre Baskerville", serif;
    font-size: .8rem;
}

.close button {
    cursor: pointer;
    background-color: transparent;
    outline: 0;
    border: 0;
}

.cart-menu .total .total-text {
    font-family: "Libre Baskerville", serif;
    font-weight: bold;
}

.cart-menu .total-price {
    font-family: "Libre Baskerville", serif;
    color: var(--price-color);
    font-weight: bold;
}

.holine {
    width: 100%;
    position: relative;
}

.holine .line {
    content: '';
    height: 1px;
    background-color: #DDDDDD;
    width: 100%;
}

.primary {
    padding-inline: 3.1rem;
    padding-block: .8rem;
    border-radius: 1px;
    border: 1px solid var(--blue-color);
    display: flex;
    background-color: var(--blue-color);
    color: white;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: .5s;
    overflow: hidden;
    position: relative;
    font-family: "Poppins", serif;
    text-decoration: none;
}

.primary:hover {
    background-color: transparent;
    color: var(--blue-color);
}

.primary:active {
    transform: scale(0.95);
    transition-duration: .1s;
    background: transparent;
}

.nextbtn {
    padding-inline: 1.5rem;
    width: 100%;
    padding-block: .6rem;
    border-radius: 1px;
    border: 1px solid var(--blue-color);
    display: flex;
    background-color: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: .5s;
    overflow: hidden;
    position: relative;
    font-family: "Poppins", serif;
    text-decoration: none;
    color: var(--blue-color) !important;
}

.nextbtn:hover {
    background-color: var(--blue-color);
    color: white;
}

.nextbtn:active {
    transform: scale(0.95);
    transition-duration: .1s;
    background: transparent;
}


footer {
    background-color: var(--green-color);
    padding-block-start: 3rem;
    padding-block-end: 1rem;
    margin-block-start: 100px;
}


footer img {
    width: 200px;
    filter: invert(1) brightness(5);
}

footer p {
    color: #c2cfd7;
    font-family: "Poppins", serif;
    line-height: 30px;
    font-size: .9rem;
    font-weight: 300;
    margin-block-start: 20px;
}

footer h4 {
    color: #EFF9FF;
    font-family: "libre baskerville", serif;
    font-weight: bold;
    font-size: 1.3rem;
}


footer a {
    color: #d2dbdf;
    text-decoration: none;
    font-family: 'Poppins', serif;
    font-weight: 300;
    font-size: .9rem;
}


.copyright {
    max-width: 1485px;
    margin: 0 auto;
    padding-inline: 2.5rem;
    margin-block-start: 50px;
}

.copyright .line {
    content: '';
    height: 1px;
    width: 100%;
    background-color: rgb(229, 229, 229);
}

.copyright p {
    color: #EFF9FF;
    margin-block-start: 20px;
    font-family: "Libre Baskerville", serif;
    font-size: .8rem;
    font-weight: 400;
}

.switch {
    position: relative;
    display: inline-block;
    margin: 0 5px;
}

.switch>span {
    position: absolute;
    top: 8px;
    pointer-events: none;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    width: 50%;
    text-align: center;
}

.switch>span.on {
    left: 0;
    padding-left: 2px;
}

.switch>span.off {
    right: 0;
    padding-right: 4px;
}

.switch .check-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
}

.switch .check-toggle+label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.switch input.check-toggle-round-flat+label {
    padding: 2px;
    width: 97px;
    height: 35px;
    background-color: var(--green-color);
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
}

.switch input.check-toggle-round-flat+label:before,
.switch input.check-toggle-round-flat+label:after {
    display: block;
    position: absolute;
    content: "";
}

.switch input.check-toggle-round-flat+label:before {
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    background-color: var(--green-color);
    -webkit--moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
}

.switch input.check-toggle-round-flat+label:after {
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 45px;
    background-color: #fff;
    -webkit-border-radius: 52px;
    -moz-border-radius: 52px;
    -ms-border-radius: 52px;
    -o-border-radius: 52px;
    border-radius: 52px;
    -webkit-transition: margin 0.2s;
    -moz-transition: margin 0.2s;
    -o-transition: margin 0.2s;
    transition: margin 0.2s;
}

.switch input.check-toggle-round-flat:checked+label:after {
    margin-left: 44px;
}

.switch img {
    width: 20px;
    height: 20px;
}


/* HEADERS SECTION START */
.headers {
    max-height: 100%;
    height: 300px;
}

.headers .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.headers .image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(60%);
    transform-origin: center center;
    transition: transform 0.3s ease;
}

.headers .titles {
    left: 50%;
    top: 50%;
    transform: translate(-50%, 5%);
    color: var(--text-color);
    font-family: "Libre Baskerville", serif;
}

.breadcrumb {
    font-family: "Poppins", serif;
    font-size: 1rem;
}

.breadcrumb .home {
    color: #CFCFCF;
}

.breadcrumb .rooms {
    color: var(--text-color);
}

.events {
    max-width: 1485px;
    margin: 0 auto;
    padding-inline-start: 2.5rem;
}

.events .content-wrapper {
    overflow-x: scroll;
}

.events .content-wrapper::-webkit-scrollbar {
    display: none;
}

.events .title h2 {
    color: var(--green-color);
    font-family: "Libre Baskerville", serif;
}

.events .card {
    max-width: 450px;
    min-width: 450px;
}

.events .card .image {
    width: 100%;
    height: 240px;
}

.events .card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.events .card .description h4 {
    font-family: "Libre Baskerville", serif;
    color: var(--green-color);
}

.events .card .text-description {
    color: #545454;
    font-family: "Poppins", serif;
    font-size: .9rem;
}

.events .card a {
    font-family: "Poppins", serif;
    color: var(--blue-color);
}

.events .date-sections p {
    color: #616161;
}

.events .date-sections h2 {
    font-family: "Poppins", serif;
    font-size: 2.2rem;
    color: var(--orange-color);
}

#backTop {
    bottom: 10%;
    right: 30px;
    padding: .8rem;
    border-radius: 100%;
    background-color: var(--green-color);
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease;
}

#backTop svg {
    stroke: white;
    width: 24px;
    height: 24px;
}

#backTop.show {
    opacity: 1;
    visibility: visible;
    animation: bounceInUp .5s ease forwards;
}

#backTop.hide {
    animation: slideExitDown .5s ease forwards;
    visibility: visible;
}

@keyframes bounceInUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    60% {
        transform: translateY(-10%);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
    }

}

@keyframes slideExitDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1405px !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding-block: 5px;
        display: flex;
        justify-content: start;
        gap: .5rem;
        width: 100%;
    }

    .navbar-nav {
        gap: 1.5rem !important;
    }

    .sector {
        display: none;
    }

    .navbar .logo p {
        display: none;
    }

    .company-logo {
        width: 90px;
    }

    .menus-wrapper {
        position: fixed;
        top: 0;
        left: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-user-account {
        display: none;
    }

    .searches-wrapper {
        display: none;
    }

    .dropdown-menus {
        align-items: start;
        justify-content: start;
    }

    .navbar-nav .nav-link.active::before,
    .navbar-nav .nav-link.show::before {
        display: none;
    }

    .ov-hide {
        display: inline !important;
    }

    main {
        margin-block-start: -45px;
    }

    .cart {
        position: relative;
    }

    .cart svg {
        width: 28px;
        height: 28px;
    }


    .button .cartbtn {
        width: 100%;
    }


    .primary {
        padding-inline: 2rem;
        padding-block: .8rem;
        border-radius: 1px;
    }

    .nextbtn {
        padding-inline: 3rem;
        padding-block: .6rem;
        border-radius: 1px;
    }


    .button .text {
        font-size: .6rem;
    }


    .loading {
        text-align: center;
        padding: 10px;
        font-style: italic;
        color: gray;
        display: none;
    }


    .no-data {
        text-align: center;
        padding: 10px;
        color: red;
        font-weight: bold;
        display: none;
    }

    .wrapper-mobiles {
        max-width: 200px;
        display: inline;
        border: 0;
    }

    .wrapper-mobiles svg {
        width: 18px;
        height: 18px;
        stroke: black !important;
    }

    .wrapper-mobiles .results-mobile {
        max-height: 300px;
    }

    .wrapper-mobiles .result-item {
        font-size: .7rem;
        padding: 5px;
    }

    .wrapper-mobiles .loading,
    .wrapper-mobiles .no-data {
        font-size: 16px;
    }


    .wrapper-mobiles .search-container-mobile {
        margin: 0 auto;
        position: relative;
    }

    .wrapper-mobiles .wrappers {
        display: flex;
        align-items: center;
        gap: .5rem;
        padding-inline-start: .5rem !important;
        border: 1px solid #ccc;
        border-radius: 100px;
        padding: .3rem;
        font-size: 14px;
        width: 100%;
    }

    .wrapper-mobiles .search-input {
        border: 0;
        outline: 0;
        background-color: transparent;
        width: 100%;
        font-size: .8rem;
    }

    .wrapper-mobiles .results-mobile {
        width: 100%;
        border-radius: 4px;
        background: #fff;
        position: absolute;
        top: 40px;
        left: 0;
        display: none;
        overflow-y: auto;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .wrapper-mobiles .result-item {
        padding: 10px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
    }

    .wrapper-mobiles .result-item:hover {
        background: #f0f0f0;
    }

    .wrapper-mobiles .loading {
        text-align: center;
        padding: 10px;
        font-style: italic;
        color: gray;
    }

    .wrapper-mobiles .no-data {
        text-align: center;
        padding: 10px;
        font-weight: bold;
        color: red;
    }

    .wrapper-mobiles .data-list-mobile {
        display: none;
    }

    .VIpgJd-ZVi9od-ORHb-OEVmcd {
        display: none;
    }

    /* MAIN START */
    /* MAIN START */
    .headers .titles h1 {
        font-size: 1.5rem;
    }

    .headers {
        max-height: 100%;
        height: 250px !important;
    }

    .headers .titles {
        transform: translate(-50%, 29%);
    }

    .breadcrumb {
        font-size: .7rem;
    }

    .breadcrumb .home {
        color: #CFCFCF;
    }

    .events {
        max-width: 1400px;
        margin: 0 auto;
        padding-inline: 1rem;
        margin-block-start: 40px !important;
    }

    .events .content-wrapper {
        margin-block-start: 30px !important;
        gap: .9rem !important;
    }
    
    .events .title h2 {
        font-size: 1.3rem;
    }
    
    .events .card {
        max-width: 280px;
        min-width: 280px;
    }
    
    .events .card .image {
        height: 150px;
    }

    .events .card .description {
        padding-inline-start: 1.5rem !important;
        padding-block: 1rem !important;
    }
    
    .events .card .description h4 {
        font-size: 1rem;
    }
    
    .events .card .text-description {
        font-size: .75rem;
    }
    
    .events .card a {
        font-size: .8rem;
    }

    .events .date-sections p {
        font-size: .75rem;
    }
    
    .events .date-sections h2 {
        font-size: 1.8rem;
    }

    #backTop {
        bottom: 5%;
        right: 10px;
        padding-inline: .5rem;
        padding-block: .55rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #backTop svg {
        width: 18px;
        height: 18px;
    }


    /* MAIN END */


    .copyright {
        padding-inline: .9rem;
    }

    footer p,
    footer a {
        font-size: .8rem;
    }

    footer img {
        width: 120px;
    }


}