header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

/* Sidebar */
.sidebar {
    background: #F8F8F8;
    padding: 20px;
    border-right: 1px solid #ccc;
    position: fixed;
    top: 10%;
    height: 100vh;
    overflow-y: auto;
}

.sidebar h3 {
    margin-bottom: 20px;
    color: #4a4a4a;
}

.sidebar button {
    display: block;
    width: 80%;
    height: 110px;
    margin: auto;
    margin-bottom: 30px;
    padding: 10px;
    background: #FFFFFF;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #E4E4E4;
}

.sidebar button.active {
    color: #678FD5;
    border: 1px solid #678FD5;
}

.slide-nav {
    position: absolute;
    top: 80px;
    left: 18%;
    width: 220px;
    height: calc(100vh - 80px);
    background: #FFFFFF;
    padding: 20px;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    z-index: 999;
}

.slide-nav::-webkit-scrollbar {
    width: 6px;
}

.slide-nav::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 3px;
}


.slide-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slide-nav li {
    padding: 12px 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    cursor: pointer;
    color: #9C9A9E;
    font-weight: 500;
}

.slide-nav li:hover {
    background: #e0eaff;
}

.slide-nav li.active {
    color: #678FD5 !important;
}

.slide-content {
    flex: 1;
    padding: 0;
    background: #fff;
    overflow: hidden;
    position: absolute;
    top: 10%;
    left: 35%;
}

#pdf-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#pdf-toolbar {
    position: fixed;
    bottom: 0%;
    z-index: 10;
    background-color: rgba(248, 248, 248, 0.99);
    width: 63%;
    text-align: end;
    height: 130px;
    display: flex;
    justify-content: end;
    align-items: center;
    right: 56px;
    padding-right: 25px;

}

#pdf-toolbar button {
    margin-left: 10px;
    cursor: pointer;
    background-color: #678fd5;
    /* background-color: ; */
    border: 0px;
    color: white !important;
    border-radius: 4px;
    color: #333333;
}

#pdf-container {
    flex: 1;
    overflow-y: scroll;
    padding: 20px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;

}

canvas {
    width: 90%;
    height: 80vh;
}

canvas.pdf-page {
    display: block;
    margin: 0 auto 30px;
    scroll-margin-top: 80px;
    width: 90%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 73vh;
}

body.zoomed-in {
    overflow: hidden;
    padding: 0;
    background: white;
}

body.zoomed-in .sidebar,
body.zoomed-in .slide-nav {
    display: none;
}

body.zoomed-in #pdf-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: white;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

body.zoomed-in #pdf-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    width: 100%;
    height: 100%;
}

body.zoomed-in #pdf-toolbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: white;
    display: flex;
    width: 100%;
    padding: 10px 50px 10px 20px;
    height: 70px;
}

body.zoomed-in #pdf-wrapper canvas.pdf-page {
    width: 85%;
    max-width: 100%;
    margin-bottom: 30px;
    height: 85vh;
}

.zoom-logo {
    right: 50px;
    bottom: 20px;
    z-index: 9999;
    width: 50px;
    height: 40px;
}

.sidebar,
.slide-nav {
    z-index: 999;
    transition: top 0.2s ease;
}


.slide-nav, #pdf-container {
    overflow-y: auto;
    max-height: 100vh;
}

/* #brochures-section{
  display: flex;

}

#brochures-section{
  display: block;
  margin: 20px auto;
  max-width: 100%;
  position: absolute;
  top: 0;
 
}

.slide-content.brochures-active {
  max-width: 100%;
  background-color: rgb(235, 242, 247);
  height: 100vh;
}

.brochure-wrapper {
  height: 100vh !important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brochure-img {
  height: 100%;
  width: auto;
  object-fit: contain;
} */


#brochures-section {
    display: block; /* or flex if you'd prefer column alignment */
    margin: 0 auto;
    max-width: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    /*height: 90vh;*/
    height: calc(100vh - 80px);
    background-color: rgb(235, 242, 247);
    overflow: hidden;
}

.slide-content.brochures-active {
    left: 18% !important;
    width: 80% !important;
    max-width: 100%;
    height: 83vh;
    background-color: rgb(235, 242, 247);
    /* overflow: hidden; */
}

.brochure-wrapper {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brochure-img {
    height: 95%;
    width: 100% !important;
}

#brochureDownloadBtn {
    position: fixed;
    bottom: 10px;
    right: 37%;
    z-index: 999;
    display: none;
}

.brochuresbtn-bg{
    background-color: #505A63 !important;
}

.sidebar .img2{
    display: none;
}
.sidebar .active .img1{
     display: none;
}
.sidebar .active .img2{
    display:inline-block;
}


@media (max-width: 753px) {
    .sidebar {
        position: static;
        height: 80vh;
    }

    .slide-nav {
        position: static;
        height: auto;
    }

    .slide-content {
        position: static;
        overflow: visible;
    }

}

@media (max-width: 767px) {
    ul li .text-dark {
        color: white !important;
    }

    canvas.pdf-page {
        width: 100%;
        height: auto;
    }

    body.zoomed-in #pdf-wrapper canvas.pdf-page {
        width: 100%;
        height: auto;
    }
}


#mainmenu>li.has-child:after {
     color: #000000 !important;
}
