html {
    scroll-behavior: smooth;
  }
  body {
    font-size: 1rem;
    font-family: "Poppins", sans-serif;
    color: #242424;
  }
  
  a,
  a:hover {
    text-decoration: none !important;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
  }
  
  ul {
    padding-left: 0px;
    list-style-type: none;
    margin: 0;
  }
  img {
    display: block;
    max-width: 100%;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
  }
  
  @media (min-width: 1366px) {
    .cmpad {
      max-width: 1920px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 80px;
      padding-right: 80px;
    }
  }
  @media (max-width: 1366px) {
    .cmpad {
      padding-left: 60px;
      padding-right: 60px;
    }
  }
  @media (max-width: 991px) {
    .cmpad {
      padding-left: 40px;
      padding-right: 40px;
    }
  }
  @media (max-width: 767px) {
    .cmpad {
      padding-left: 15px;
      padding-right: 15px;
    }
  }
  @media (max-width: 575px) {
    html {
      font-size: 90%;
    }
  }
  
  @media (min-width: 768px) {
    ::-webkit-scrollbar {
      width: 10px;
      height: 6px;
    }
    ::-webkit-scrollbar-track {
      background-color: #eee;
    }
    ::-webkit-scrollbar-thumb {
      background-color: #3a3a3a;
    }
    ::-webkit-scrollbar-thumb:hover {
      background-color: #444;
    }
  
    .custscroll::-webkit-scrollbar,
    .custscroll::-webkit-scrollbar-thumb {
      border-radius: 13px;
      width: 6px;
      height: 6px;
      background-clip: padding-box;
      background: transparent;
    }
    .custscroll::-webkit-scrollbar-track {
      background: transparent;
    }
    .custscroll:hover::-webkit-scrollbar-thumb {
      background-color: #ccc;
    }
    .custscroll::-webkit-scrollbar-thumb:hover {
      background-color: #999;
    }
  
    .custscrollA::-webkit-scrollbar {
      border-radius: 13px;
      width: 6px;
      height: 6px;
      background-clip: padding-box;
      background: transparent;
    }
    .custscrollA::-webkit-scrollbar-track {
      background: transparent;
    }
    .custscrollA::-webkit-scrollbar-thumb {
      background-color: #ccc;
      border-radius: 6px;
    }
    .custscrollA::-webkit-scrollbar-thumb:hover {
      background-color: #999;
    }
  }

/* HEADER */
header{
    position: absolute;
    width: 100%;
    /* background: #fff; */
    z-index: 10;
}
.top-header{
    padding: 20px;
    /* background-color: #e40c0f0d; */
    background-color: transparent;
    position: relative;
    z-index: 11;
    border-bottom: 1px solid #ffffff52;
}
.top-sections{
    display: flex;
    justify-content: space-between;
}
.top-left, .clock, .call, .loc{
    display: flex;
    gap: 15px;
    align-items: center;
    color: #fff;
    opacity: .95;
}
.top-right ul{
    display: flex;
    gap: 20px;
    align-items: center;
    height: 100%;
}
.top-right ul li a{
    color: #fff;
    opacity: .95;
    transition: all .3s;
}
.top-right ul li a:hover{
    color: #e40c0f;
}
.top-header p{
    margin: 0;
    font-size: 0.875rem;
}
.bottom-sections{
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    padding-bottom: 15px;
    align-items: center;
}
.bottom-left img{
    width: 200px;
}
.bottom-right ul{
    display: flex;
    gap: 2rem;
}
.bottom-right ul li a{
    color: #fff;
    transition: all .3s;
}
.bottom-right ul li a:hover{
    color:  rgb(228 12 15);
}
.color{
    color: rgb(228 12 15);
}
.bottom-header{
    background: transparent;
    position: relative;
}
.top-left{
    gap: 25px !important;
}
.bottom-right ul li a i{
    margin-right: 10px;
}
/* SLIDER */
.slider, .slideimg{
    height: 100vh;
}
.slider img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.slide-cont{
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    height: 100%;
}
.slider-head .mainhead{
    color: #fff;
    margin: 0;
}
.slideimg{
    position: relative;
}
.slideimg::before{
    position: absolute;
    content: '';
    background-color: #000;
    opacity: .4;
    width: 100%;
    height: 100%;
}
.slider-head{
    width: 700px;
    max-width: 100%;
    background: #00000052;
    padding: 20px;
    border-radius: 15px;
    margin-top: 10rem;
    padding-bottom: 35px;
}
/* FEATURES */
.head{
    position: relative;
    text-align: center;
}
.head::before{
    position: absolute;
    content: '';
    background-color: rgb(228 12 15);
    height: 3px;
    width: 35px;
    bottom: -10px;
}
.decor svg{
    fill: #e40c0f1a !important;
    width: 160px;
    height: 160px;
}
.dec2 svg{
    transform: rotate(-60deg);
}
.decor{
    margin: auto;
    display: flex;
    justify-content: center;
    position: relative;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.decor i{
    color: #e40c0f;
    font-size: 45px;
    position: absolute;
    bottom: 60%;
}
.decor-cont{
    margin-top: 10px;
}
.decor-cont h5{
    font-weight: 600;
}
.decor-cont p{
    font-size: 0.875rem;
    opacity: .8;
    text-align: center;
}
.bttn{
    padding: 10px 20px 10px 20px;
    background-color: #e40c0f;
    color: #fff;
    border: 1px solid #e40c0f;
    transition: all .3s;
    font-size: 0.875rem;
    border-radius: 10px;
}
.bttn:hover{
    background-color: #fff;
    color: #e40c0f;
    border: 1px solid #fff;
}
/* books */
.books{
   width: 80%;
   height: 100%;
   background-color: #fce6e7;
   border-top-right-radius: 90px;
   border-bottom-right-radius: 90px;
   position: relative;
   padding-top: 15px;
   padding-bottom: 15px;
   margin-bottom: 3rem;
}
.books-cont p{
    width: 660px;
    max-width: 100%;
    margin-bottom: 20px;
}
.hand{
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 402px;
}
.books-cont a:hover{
    background-color: #000 !important;
    border: 1px solid #000;
    color: #fff;
}
/* footer */
footer{
    height: 100%;
    background-color: #000;
}
.foot-col{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.foot-col img{
    width: 250px;
    margin-bottom: 10px;
}
.foot-menu p{
    color: #fff;
    opacity: .8;
    margin-top: 20px;
    font-size: 0.875rem;
}
footer .head{
    text-align: left;
    color: #fff;
}
.foot-col ul{
    line-height: 30px;
    padding-top: 8px;
}
.foot-col ul li a{
    text-decoration: none !important;
}
.foot-col ul li{
    position: relative;
    padding-left: 20px;
}
.foot-col ul li p{
    color: #fff;
    opacity: .8;
}
.nopad ul li{
    padding-left: 0 !important;
}
.foot-col ul li p i{
    position: absolute;
    left: 0;
    top: 6px;
    color: #e40c0f;
}
.bottom-foot{
    background-color: #e40c0f;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}

.flex-foot{
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}
.flex-foot p{
    margin: 0;
    opacity: .8;
}
.bottom-foot span a{
    opacity: 1;
}
.flex-foot a, .bottom-right{
    color: #fff;
    opacity: .8;
}
.icons{
    display: flex;
    gap: 1.5rem;
}
.icons li, .menu li{
    padding-left: 0 !important;
}
.icons li a{
    color: #e40c0f;
    transition: all .3s;    
}
.icons li a:hover{
    color: #3a3a3a;
}
.menu li a{
    color: #3a3a3a;
    transition: all .3s;
}
.menu li a:hover{
    color: #e40c0f;
}
.foot-col a{
    font-size: 0.875rem;
    color: #fff;
    text-decoration: underline !important;
    margin-top: 10px;
    opacity: .8;
}
footer .top-right ul li a{
    color: #e40c0f;
    opacity: 1;
    transition: all .3s;
}
footer .top-right ul li a:hover{
    color: #fff;
}
footer .top-right{
    justify-content: end;
    display: flex;
    border-bottom: 1px solid #e0e0e03d;
    padding-bottom: 15px;
}
footer .top-right ul{
    gap: 2rem;
}
footer .bottom-right ul{
    justify-content: end;
    margin-top: 15px;
    font-size: 0.875rem;
}
footer .bottom-right ul li{
    position: relative;
    padding-left: 20px;
}
footer .bottom-right ul li i{
    position: absolute;
    color: #e40c0f;
    left: 0;
    top: 5px;
}
.icon{
    display: flex;
    padding: 0;
    gap: 1rem;
}
.icon li{
    padding-left: 0 !important;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s;
}
.icon li:hover{
    background-color: #e40c0f;
}
.icon li:hover a{
    color: #fff;
}
.icon li a{
    color: #000;
}
.foot-log a{
    font-size: 0.875rem;
    text-decoration: underline !important;
    color: #fff;
    opacity: .8;
}
.foot-log{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    gap: 10px;
}
.foot-log img{
    width: 250px;
}

/* BOOKS */
.banner {
    background-color: #fffaef;
    height: 200px;
    position: relative;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background: #000;
}

.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    background-image: url(../img/images/bannerbg.svg);
}

.bancont{
    display: flex;
    flex-flow: column;
    justify-content: center;
    width: 100%;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.breadcrumb{
    background-color: #e40c0f;
    padding: 10px;
    border-radius: 10px;
    position: absolute;
    bottom: -36px;
    width: max-content;
    font-size: 0.875rem;
    padding-left: 17px;
    padding-right: 17px;
    padding-bottom: 10px;
    padding-top: 10px;
}
.breadcrumb-item.active::before, .breadcrumb-item+.breadcrumb-item::before{
    content: '' !important;
    background-image: url(../img/icons/breadcrumb.svg);
    width: 12px;
    height: 12px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.breadcrumb-main{
    width: 100%;
    display: flex;
    justify-content: center;
}
.breadcrumb-item a{
    color: #fff;
}
.breadcrumb-item{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.breadcrumb-item.active{
    color: #fff;
    opacity: .7;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.breadcrumb-item+.breadcrumb-item::before {
    color: #fff;
}

.mytable {
    width: 100%;
    margin-bottom: 1rem;
    border-spacing: 0;
    border-collapse: collapse;
    border-radius: 0.3rem;
    overflow: hidden;
    font-size: .9rem;
}

.mytable thead th {
    font-weight: 500;
    color: #fff;
    background-color: #e41d22;
    overflow: hidden;
}

.mytable td,
.mytable th {
    border: 1px solid #eee;
    padding: 10px;
    overflow: hidden;
    transition: .3s;
}


.mytable tr {
    transition: .3s;
}

.mytable tr:hover {
    background: rgb(253 236 0 / 10%);
}
.table-responsive {
    overflow-x: auto;
}
.booksin input{
    padding: 10px 90px 10px 30px;
    border-radius: 10px;
    border: 1px solid #e7e7e7;
    font-size: 0.875rem;
}
.booksin input:focus-visible{
    outline: none;
}
.pagination{
    gap: 15px;
}
.pagination .bttn:hover{
    background-color: #000;
    border: 1px solid #000;
    color: #fff;
}
.pagination .bttn{
    cursor: pointer;
}
.posrel{
    position: relative;
}
.posrel i{
    position: absolute;
    left: 7px;
    top: 12px;
    color: #e40c0f;

}
.flex-div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
/* RESPONSIVE */
@media(max-width: 1299px){
    br{
        display: none;
    }
    .books-cont{
        width: 60%;
    }
}

@media(max-width: 991px){
    .books-cont, .books{
        width: 100%;
    }
    .books{
        padding-bottom: 10rem;
    }
    .hand{
        width: 330px;
        right: 0;
    }
    
}
@media(max-width: 767px){
    .bottom-right{
        display: none;
    }
    .slider-head{
        width: 100%;
    }
    .foot-log{
        align-items: center;
    }
}

@media(max-width: 575px){
    .top-sections{
    flex-direction: column;
    gap: 15px;
    align-items: center;
    }
    .decor-svg{
        width: 130px !important;
        height: 130px !important;
    }
    .flex-foot{
        flex-direction: column;
        align-items: center;
    }
    .none{
        display: none;
    }
    .hand{
        width: 270px;
    }
    .bottom-left{
        margin: auto;
    }
    .banner{
        height: 250px;
    }
    .booksin .head{
        margin-bottom: 25px;
    }
    .flex-div{
        flex-direction: column;
        gap: 20px;
    }
    .top-header{
        padding-bottom: 0;
    }
 
}

@media(max-width: 400px){
    .top-left{
        flex-direction: column;
    }
    .bottom-left{
        margin: auto;
    }
}