/*
=====================
CSS Table of Conttent 
=====================
01. All Variable
02.  Menu Css
/*
------------------------
01. All Variable
--------------------------
*/
#backToTopBtn {
            display:none;               /* JS toggles this to block */
            position:fixed;
            right:20px;
            bottom:20px;
            background:#eaba3f;
            color:#000;
            border:none;
            font-size:24px;
            line-height:1;
            padding:12px 16px;
            cursor:pointer;
            box-shadow:0 8px 22px rgba(0,0,0,.25);
            z-index:9999;
}

#scrollHint {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: transparent;
    color: #fff;
    border: 0;
    cursor: pointer;
    z-index: 9999;
    opacity: 0.9;
    transition: opacity .2s ease;
    animation: hint-bob 1.4s ease-in-out infinite;
}
#scrollHint:hover { opacity: 1; }
#scrollHint.hidden { display: none; }
@keyframes hint-bob {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, -6px); }
}
/* Optional: avoid showing on very short viewports */
@media (max-height: 520px) { #scrollHint { display: none; } }

#backToTopBtn:hover{ transform: translateY(-2px); }
:root {
    --heading_font:'Work Sans', sans-serif;
}
html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {

font-family:var(--heading_font);
line-height: 1.2;
}

/*
------------------------  
 02.  Menu Css
--------------------------
*/
.mobile-toggle {
    width: 40px;
    height: 40px;
    padding: 15px;
    right: 0;
    position: absolute;
}
.mobile-toggle span {
    width: 25px;
    height: 2px;
    position: absolute;
    top: 10px;
    left: 8px;
    border-radius: 10px;
}
.mobile-toggle span:nth-child(2) {
    top: 19px;
}
.mobile-toggle span:nth-child(3) {
    top: 28px;
}
.mobile-toggle.open span:nth-child(1) {
    top: 20px;
    transform: rotate(-45deg);
}
.mobile-toggle.open span:nth-child(2) {
    top: 20px;
    opacity: 0;
}
.mobile-toggle.open span:nth-child(3) {
    top: 20px;
    transform: rotate(45deg);
}
@media only screen and (max-width: 976px) {
    .toggle-menu-class {
        overflow-y: auto;
        max-height: 26rem;
    }
}
@media only screen and (min-width: 976px) {
    .dropdown-menu .dropdown .submenu,
    .dropdown-menu .dropdown .author-submenu {
        opacity: 0;
        visibility: hidden;
        top: calc(100% + 20px);
        transition: .5s;
    }
    .dropdown-menu .dropdown:hover>.submenu {
        opacity: 1;
        visibility: visible;
       top: 100%;
    }
    .dropdown-menu .dropdown:hover>.dropdown-submenu {
       top: 20px;
    }
    .dropdown-menu .dropdown:hover>.author-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(5%);
    }
}

.submenu li:last-child {
    padding-bottom: 20px;}
@keyframes headerSlideDown {
    0% {
        -webkit-transform: translateY(-100%);
        transform: translateY(-100%);
    }
    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}
.header-sticky {
    background-color: #ffffff;
    position: fixed;
    top: 0 !important;
    animation: headerSlideDown 0.5s ease;
    right: 0 !important;
    left: 0 !important;
    z-index: 99;
    opacity: 9999 !important;
}


  @media (max-width: 1024px){
    .mobile-device-active{
    display: block;
    }
    }

    .is-active .dropdown-menu {
  display: block;
}

.tag-link-box ul li:last-child a {
    border-right: 0;
    padding-right: 0;
}


.item-box:last-child {
    padding-right: 0;
    border-right: 0;
    margin-right: 0;
}


.loading {
    display: flex;
    flex-direction: row;
  }
  .loading__letter {
    animation-name: bounce;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }
  
  .loading__letter:nth-child(2) {
    animation-delay: .1s;   
  }
  .loading__letter:nth-child(3) {
    animation-delay: .2s;
  }
  .loading__letter:nth-child(4) {
    animation-delay: .3s;   
  }
  .loading__letter:nth-child(5) {
    animation-delay: .4s;
  }
  .loading__letter:nth-child(6) {
    animation-delay: .5s;   
  }
  .loading__letter:nth-child(7) {
    animation-delay: .6s;
  }
  .loading__letter:nth-child(8) {
    animation-delay: .8s;
  }
  .loading__letter:nth-child(9) {
    animation-delay: 1s;
  }
  .loading__letter:nth-child(10) {
    animation-delay: 1.2s;
  }
  
  @keyframes bounce {
    0% {
      transform: translateY(0px)
    }
    40% {
      transform: translateY(-40px);
    }
    80%,
    100% {
      transform: translateY(0px);
    }
  }
  
  
  @media (max-width: 700px) {
    .loading__letter {
      font-size: 50px;
    }
  }
  
  @media (max-width: 340px) {
    .loading__letter {
      font-size: 40px;
    }
  }


.testimonial-main-slider .slick-slider {
    margin:0 -15px;
}
.testimonial-main-slider .slick-slide {
    margin-right:15px;
    margin-left:15px;
}


.testimonial-main-slider .slick-dots {
  display: flex;
  justify-content: center;
  margin: 0;
  padding-top:50px;
  list-style-type: none;
}
.testimonial-main-slider .slick-dots li {
  margin: 0 0.25rem;
}
.testimonial-main-slider .slick-dots button {
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 100%;
  background-color: #a3a3a3;
  text-indent: -9999px;
}
.testimonial-main-slider .slick-dots li.slick-active button {
  background-color: #eaba3f;
}

h1 {
  font-size: calc(40px + 6 * ((100vw - 320px) / 680));
}

.p-30 {
  padding-right: 30px;
  padding-left: 30px;
}

@media only screen and (max-width: 475px) {
  .header-logo {
    margin-top: -10px;
  }
  .header-logo img {
    max-width: 220px;
  }
  .custom-slider {
    max-height: 400px;
  }
}
