/* 
    ELEMENTOR STYLES  
*/
.page-template 
.elementor{
    flex: 1;
}   

/* 
    MEGA MENU STYLES  
*/
.hea-mega-menu {
    list-style: none;
    padding: 0; 
    margin: 0;
    display: flex;
    position: relative;
}

.hea-mega-menu .nav-link {
    padding: 10px 15px;
}

/* Bootstrap dropdown adjustments */
.huda-mega-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 600px;
    background: #111;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translate(-50%, 10px); /* Start slightly below */
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Prevent interaction when hidden */
    grid-template-columns: repeat(3, 1fr); /* Multi-column layout */
    gap: 20px;
    min-width: 600px;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

/* Show dropdown properly using Bootstrap's 'show' class */
.huda-mega-menu .dropdown-menu.show  {
    transform: translate(-50%, 0); /* Moves up smoothly */
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: grid; /* Ensures multi-column layout */
}

.huda-mega-menu .hea-elementor-mega-menu{
    background-color: #fff;
}

.huda-mega-menu .hea-elementor-mega-menu.show{
    display: inherit;
}

/* Style each menu item inside the dropdown */
.huda-mega-menu .dropdown-menu .menu-item {
    display: block;
    padding: 10px;
    color: white;
    text-align: left;
    border-radius: 5px;
}

.huda-mega-menu .dropdown-menu a.nav-link {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 5px;
}

.huda-mega-menu .dropdown-menu a.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hea-menu .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hea-menu .dropdown-menu.show  {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.hea-menu .menu-item-has-children{
    line-height: initial;
}

.btn-toggle-menu{
    display: flex;
    align-items: center;
    justify-content: center;
}

ul{
    list-style-type: none !important;
}

.hea-advanced-heading-wrapper {
    text-align: center;
}
.hea-advanced-heading-wrapper .hea-advanced-heading span{
    padding: 0 4px;
    color: #5081FF;
}
.hea-advanced-heading-icon{
    display: inline-block;
    line-height: 56px;
    background-color: #5081FF;
    text-align: center;
}

span.widget-branding{
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 12px;
    text-transform: uppercase;
}

/* 
    LENIS SMO0TH SCROLL     
*/
html.lenis, html.lenis body {
    height: auto;
}
  
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
  
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
  
.lenis.lenis-stopped {
    overflow: hidden;
}
  
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

#huda-back-to-top {
    position: fixed;
    width: 58px;
    height: 58px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    bottom: 20px;
    transition: opacity 0.3s;
    z-index: 1000;
    border: unset;
}
.bottom-right { right: 20px; }
.bottom-left { left: 20px; }
.progress-circle {
    position: absolute;
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
}
.progress-circle circle {
    transition: stroke-dashoffset 0.3s linear;
    stroke-linecap: round;
}

/* 
   Stagger Menu     
*/

.stagger-hover .nav-link{
    display: block;
    overflow: hidden;
    height: 20px;
    /*text-transform: capitalize;*/
    /*transform: translateY(-80%) scale(1);*/
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}

.stagger-hover .nav-link:hover .letter,
.stagger-hover .nav-link.play .letter {
  transform: translateY(-100%);
}

.stagger-hover .nav-link .block:last-child {
  color: pink;
}

.stagger-hover .nav-link .letter {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}


.letter:nth-child(1) {
  transition-delay: 0s;
}

.letter:nth-child(2) {
  transition-delay: 0.03s;
}

.letter:nth-child(3) {
  transition-delay: 0.06s;
}

.letter:nth-child(4) {
  transition-delay: 0.09s;
}

.letter:nth-child(5) {
  transition-delay: 0.12s;
}

.letter:nth-child(6) {
  transition-delay: 0.15s;
}

.letter:nth-child(7) {
  transition-delay: 0.18s;
}

.letter:nth-child(8) {
  transition-delay: 0.21s;
}

.letter:nth-child(9) {
  transition-delay: 0.24s;
}

.letter:nth-child(10) {
  transition-delay: 0.27s;
}

.letter:nth-child(11) {
  transition-delay: 0.3s;
}

.letter:nth-child(12) {
  transition-delay: 0.33s;
}
.letter:nth-child(13) {
  transition-delay: 0.36s;
}

.hea-menu-layout-column .hea-menu{
    display: grid !important;
    flex-direction: column;
}

.hea-menu-layout-row .hea-menu{
    display: flex !important;
    flex-direction: row;
}

.hea-menu .dropdown-menu{
    text-align: left;
}

.hea-responsive-menu ul li a.nav-link{
    padding: inherit;
}

.hea-responsive-menu .dropdown-menu{
    position: relative !important;
}

.hea-logo-widget{
    max-width: 100%;
}

.hea-logo-widget img{
    max-width: 90px;
}

.hea-menu .dropdown-menu .nav-link{
    height: 100% !important;
}

/* 
    Creative Heading     
*/

.hea-creative-heading{
    position: relative;
}

.hea-creative-heading-icon-left{
    order: -1; /* Ensure the icon appears on the left */
}

.hea-creative-heading-icon-right {
    order: 1; /* Ensure the icon appears on the right */
}

.hea-heading{
    line-height: normal;
}

.hea-icon img,
.hea-icon svg,
.hea-icon i {
    width: 24px; 
    height: 24px;
    display: inline-block;
}

.hea-creative-heading-icon-left{
    position: absolute;
}

/* Slick Slider */

button.next-prev-button,
.remote-arrows{
    width: 48px;
    height: 48px;
    padding: 0 !important;
    text-align: center;
    background-color: white;
    border-radius: 0;
}

.remote-arrows{
    border-radius: 50px;
}

.slick-track{
    display: inline-flex;
}

.arrow-prev{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: 99;
}

.arrow-next{
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(22%, -50%);
    z-index: 99;
}

ul.slick-dots{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;
}

.slick-dots li button{
    width: 8px;
    height: 8px;
    background-color: #F5F8FF;
    padding: 0 !important;
}

li.slick-active button{
    width: 16px;
    background-color: #040E23;
}

.slick-dots li button {
    content: '';
}

.slick-slider {
    min-height: 300px; /* Adjust based on your slider height */
}

/* 
    Advanced Carousel Styles 
*/
.advancedCarousel.arrow-prev{
    position: absolute;
    top: 38%;
    left: 0;
    transform: translate(-40%, 0);
}

.advancedCarousel.arrow-next{
    position: absolute;
    top: 40%;
    right: 0;
    transform: translate(0, -40%);
}

/* 
    Team Carousel Styles
*/
.arrow-prev,
.arrow-next{
    width: 56px;
    height: 56px;
    margin-top: 32px;
    margin-left: 12px;
    border-color: #E1E0E7;
    border-radius: 50px !important;

}

#teamSlider .slide-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}


#teamSlider .slide-image img {
    width: 100%; 
    height: 460px;
    max-height: 100%;
    object-fit: cover;
}

.team-carousel-content {
    position: absolute;
    bottom: 0; 
    left: 0; 
    right: 0; 
    background-color: rgba(255, 255, 255, 0.3); 
    backdrop-filter: blur(12px);
    color: white; 
    padding: 32px;
}

.team-carousel-content h3 {
    margin: 0;
    font-size: 24px; 
}

.team-carousel-content p {
    margin: 5px 0 0;
    font-size: 16px; 
}

.slick-dots li button {
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

.slick-dots li button:before {
    content: '';
}

#testimonialSlider .testimonial-item.slick-current.slick-active{
    background-color: rgba(255, 255, 255, 0.3);
}

/* 
    Offcanvas Styles
*/
.offcanvas {
    transition: transform 0.5s ease-in-out, visibility 0.5s ease-in-out !important;
}

.offcanvas-start {
    transform: translateX(-100%) !important;
}

.offcanvas.show {
    transform: translateX(0) !important;
}

.offcanvas-backdrop {
    transition: opacity 0.5s ease-in-out !important;
}

.btn-offcanvas-toggle-wrapper .toggle-button{
    color: #fff;
    background-color: #007aff;
    border-color: #007aff;
    text-align: center;
    border-radius: 6px;
}

.btn-offcanvas-toggle-wrapper .toggle-button i{
    color: #fff;
}

.btn-offcanvas-toggle-wrapper .toggle-button svg{
    color: #fff;
}

.offcanvas.offcanvas-start,
.offcanvas.offcanvas-end{
    border-left: 0 !important;
}

.offcanvas.offcanvas-end{
    right: 0 !important;
}

.offcanvass-icon-close{
    cursor: pointer;
    text-align: center;
    z-index: 999;
}

.offcanvass-icon-close i,
.offcanvass-icon-close svg{
    transition: transform 0.3s ease;
}

.offcanvass-icon-close:hover i,
.offcanvass-icon-close:hover svg {
    transform: rotate(180deg);
}



/* 
*
Swiper Slider 
*
*/
.swiper-container {
    width: 100%;
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
    border: 1px solid #000;
}

.swiper-button-next:after,
.swiper-button-prev:after, 
.swiper-rtl .swiper-button-next:after{
    font-size: 18px !important;
}

.slider-content{
    padding-top: 1em;
}

/* 
    Swiper Parallax
*/
.parallaxSwiper .swiper-wrapper{
    width: 100%;
    height: 100vh;
}

.parallaxSwiper .swiper-wrapper 
.swiper-slide{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
}

.parallax-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 130%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
  }
  .swiper-slide {
    position: relative;
    overflow: hidden;
  }
  .slide-content {
    position: relative;
    z-index: 2;
  }

.parallaxSwiper .swiper-wrapper 
.swiper-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
  }

.swiper-pagination.swiper-parallax-pagination{
    display: flex;
    align-items: center;
    bottom: 2em;
}

.swiper-pagination.swiper-parallax-pagination.swiper-pagination-vertical{
    display: inherit;
}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--swiper-theme-color);
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--swiper-theme-color);
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

.slide-content{
    text-align: center;
}

a.hea-slider-button{
    display: inline-flex;
    align-items: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: #000000;
    opacity: 0.5;
}


/* 
    INFOBOX STYLE
*/
.infobox{
    border: 1px solid #E1E0E7;
    padding: 32px 24px;
}

.infobox .icon{
    width: 56px;
    height: 56px;
    text-align: center;
    border-radius: 12px;
    background: #5081FF;
}

.infobox .icon i{
    font-size: 32px;
    color: #fff;
    line-height: 56px;
}

.infobox .infobox-title{
    font-size: 24px;
    font-weight: 700;
    align-self: center;
}

.infobox p.infobox-decription{
    font-size: 16px;
    font-weight: 500;
    color: #4E5666;
    margin: 1em 0;
}

.button-read-more{
    border: unset;
    background-color: transparent;
}

.hea-slider-heading a:hover{
    color: inherit;
}

/* 
    Testimonials Carousel Styles
*/

.slick-track{
    display: flex !important;
}

#testimonialSlider .testimonial-item{
    padding: 32px;
    border-radius: 16px;
    background-color: #FFFFFF;
}

#testimonialSlider img{
    max-width: 72px;
    height: 72px;
    border-radius: 50px;
    display: inline-block;
}

#testimonialSlider .slide-content{
    padding: 32px;
    text-align: center;
    border-radius: 16px;
    background-color: #F5F8FF;
}

h3.testimonial-name{
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
    text-transform: uppercase;
}

.testimonial-description{
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
}

.testimonial-designation{
    font-size: 14px;
    font-weight: 500;
    line-height: 22.4px;
}

.testimonial-rating{
    font-size: 16px;
}

.filled-star {
    color: #FFD700; /* Gold color for selected stars */
}

.empty-star {
    color: #ccc; /* Light gray for unselected stars */
}

#advancedCarousel img{
    width: 100%;
}
/* Initially hide lazy-loaded images */
.slick-slide img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Once loaded, fade them in smoothly */
.slick-slide.slick-active img,
.slick-slide img.slick-loaded {
    opacity: 1;
}

/* Add a smooth loading placeholder (instead of a spinner) */
.slick-slide .lazyload-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f6f7f8 25%, #edeef1 50%, #f6f7f8 75%);
    background-size: 400% 100%;
    animation: loadingPlaceholder 1.5s infinite linear;
    border-radius: 4px; /* Optional: Rounded corners */
}

/* Skeleton loading animation */
@keyframes loadingPlaceholder {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* 
POSTGRID STYLE
*/

.post-grid{
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 10px;
}

.post-item{
    margin: 5px;
    /* padding: 20px; */
    border: 1px solid rgb(199, 199, 199);
}

.postgrid-title h2{
    margin-top: 12px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.postgrid-description p{
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 400;
    color: #4E5666;
}

.hea-post-meta-date{
    align-self: flex-end;
}

.hea-post-meta-author{
    color: blue;
}

.hea-post-meta-categories{
    font-size: 16px;
    font-weight: 500;
    color: #4E5666;
}

.hea-post-meta{
    margin-bottom: 10px;
}



.hea-post-meta i{
    margin-right: 3px;
}

.hea-post-meta{
    width: 100%;
    display: flex;
    gap: 16px;
}

.hea-post-wrapper-content{
    /* padding-left: 12px; */
    display: flex;
    flex-direction: column;
    align-items: start;
}



#huda-contact-form .form-check .form-check-input,
#huda-contact-form .form-check .checkbox{
    float: left !important;
}

/* 
    SOCIAL SHARE STYLE
*/
.hea-social-share-widget {
    font-family: Arial, sans-serif;
}
.hea-social-share-widget .hea-social-icons {
    display: flex;
    gap: 10px;
}
.hea-social-share-widget .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}
.hea-social-share-widget .icon:hover {
    background-color: #f0f0f0;
    color: #000;
}
.hea-social-share-widget .icon i {
    font-size: 18px;
}
.hea-social-share-widget.horizontal .hea-social-icons {
    flex-direction: row;
}
.hea-social-share-widget.vertical .hea-social-icons {
    flex-direction: column;
}
  

/* 
POSTGRID STYLE
*/
.single figure.wp-block-image{
    margin: 1em 0 !important;
}

.post-grid-wrapper .style2-item .category-meta{
    top: 14px;
    left: 14px;
    text-align: center;
}

/* Style 4 */

.style4-item .hea-post-title{
    top: 14px;
    left: 14px;
    color: white;
}

.style4-item .hea-post-title a{
    color: white;
}

.style4-item .hea-post-meta-wrapper{
    color: white;
}

.style4-item .hea-post-meta-wrapper{
    width: 96%;
    display: flex;
    justify-content: space-between;
    bottom: 14px;
    left: 14px;
}

.style4-item .hea-post-thumbnail{
    position: relative;
}

.style4-item .hea-post-thumbnail::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
}

/* Style 5 */

.post-grid-wrapper .style5-item .category-meta{
    top: 14px;
    left: 14px;
    text-align: center;
}

.style5-item .hea-post-content-wrapper{
    bottom: 24px;
    left: 14px;
}

.style5-item .hea-post-title a{
    color: white;
}

.style5-item .post-meta-wrapper{
    color: white;
}

.style5-item .hea-post-thumbnail{
    position: relative;
}

.style5-item .hea-post-thumbnail::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
}

/* Style 6 */

.style6-item .hea-post-wrapper{
    flex-direction: row-reverse;
}


p.hea-post-description{
    font-size: 14px;
    font-weight: 400;
    color: #4E5666;
    margin-bottom: 12px;
}


.hea-post-meta{
    align-items: center;
}
.hea-post-meta-date{
    align-self: flex-end;
}

.hea-post-meta-author{
    color: blue;
}

.hea-post-meta-categories{
    font-size: 16px;
    font-weight: 500;
    color: #4E5666;
}

.hea-post-wrapper{
    align-items: center;
}

.hea-post-thumbnail{
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-right: 12px;
}

.hea-post-thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hea-post-meta i{
    margin-right: 3px;
}

.hea-post-meta{
    width: 100%;
    display: flex;
    gap: 16px;
}

.hea-post-meta{
    width: 100%;
    display: flex;
    gap: 16px;
}

.hea-post-meta img.avatar{
    width: 100%;
    height: auto;
    max-width: 24px;
}

.hea-post-meta i{
    margin-right: 5px;
}

/* Post Grid Style 7 */

.style7-item .hea-post-item{
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
}

/* Smart Heading Style */

.hea-advanced-heading-wrapper-inner,
.hea-advanced-creative-wrapper-inner{
    width: 100%;
    max-width: 600px;
    display: inline-block;
}

/* Post Grid Style */

button.learn-more-button{
    background: transparent;
    border: unset;
}

/* Price Style */

.price-tag{
    width: 100%;
    display: flex;
}

.pricing-period{
    display: flex;
    align-items: end;
}

/* Hea Comments Form Style */

.comment-author.vcard img{
    border-radius: 24px;
}

.comment-form-author{
    margin-top: 12px;
}

.comment-form-author, .comment-form-email, .comment-form-url, .comment-form-comment, .comment-form-cookies-consent{
    margin-top: 12px;
}

.comment-form-author input, .comment-form-email input, .comment-form-url input{
    margin-top: 8px;
}

.comment-form-cookies-consent input[type="checkbox" i]{
    width: 20px;
}

.hea-meta{
    margin-left: 6px;
    align-items: center;
}

/* Post Carousel */

.hea-post-item{
    padding: 12px;
}

.post-thumbnail{
    width: 100%;
    overflow: hidden;
    margin-bottom: 14px;
}

.post-thumbnail img{
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.post-meta-wrapper{
    display: flex;
    justify-content: space-between;
}

.post-author-date{
    display: flex;
    gap: 1em;
}

/* Info List Style */

.info-list{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list-item{
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
}

.list-icon i{
    display: flex;
    text-align: center;
    justify-content: center;
}


/* form style */
form#huda-contact-form .input-group{
    align-items: center !important;
}

/* Single Post Meta Style */

.hea-meta{
    width: 100%;
    display: flex;
    gap: 16px;
}

.hea-meta i{
    margin-right: 6px;
}

.hea-meta img.avatar{
    border-radius: 3.125em;
}

/* 
    IMAGE ACCORDION
*/

/* vertical style */
.hea-image-accordion.layout-vertical{
    width: 580px;
    height: 580px;
    transform: rotate(-90deg);
    transform-origin: center;
}

.hea-image-accordion.layout-vertical {
    flex-direction: row;
    transform: rotate(-90deg);
}

.hea-image-accordion.layout-vertical .accordion-button,
.hea-image-accordion.layout-horizontal .accordion-button{
    height: 200px;
    font-size: 40px;
    color: #fff;
    background: #1D2124;
}

.hea-image-accordion.layout-vertical .accordion-collapse,
.hea-image-accordion.layout-horizontal .accordion-collapse{
    height: 500px;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hea-image-accordion.layout-vertical .accordion-body{
    width: 80%;
    position: absolute;
    bottom: 34%;
    left: 60%;
    transform: translateX(-100%) rotate(90deg);
    display: flex;
    flex-direction: column;
}

.hea-image-accordion .accordion-button::after{
   display: none;
}

/* 
horizontal style 
*/
.hea-image-accordion.layout-horizontal {
    flex-direction: column;
    transform: rotate(0deg);
}

/* 
    TEXT MARQUEE STYLE
*/
.hea-text-marquee-wrapper{
    width: 100%; 
    overflow: hidden;
    white-space: nowrap;
}

.hea-text-marquee {
    display: flex;
    align-items: center;
    animation: marquee linear infinite;
    gap: 12px;
}

.hea-text-marquee .hea-marquee-item {
    display: inline-block;
    flex-shrink: 0;
    white-space: nowrap;
}

.hea-marquee-item.outline {
    color: transparent !important;
}

@keyframes marquee {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

.hea-text-marquee {
    animation: marquee linear infinite;
}

/* 
    SIMPLE BUTTON STYLE
    HOVER EFFETCS CREDIT TO
*/
.simple-button-wrapper {
    width: 100%;
    max-width: 100%;
    display: inline-block;
}

.simple-button{
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    padding: 12px 16px;
}

.simple-button-wrapper .simple-button {
    position: relative;
    display: inline-flex;
    border: none;
    transition: 0.3s;
}

.simple-button-wrapper .simple-button a{
    color: inherit;
}
   
/* 
   AJAX SEARCH STYLE
*/
.hea-search-form-wrapper #datafetch {
    max-width: 100%;
    position: relative;
}

.hea-search-form-wrapper #datafetch h3{
    position: absolute;
    padding: 18px;
    background-color: #fff;
    width: 100%;
}

.hea-search-form-wrapper .input-wrapper{
    position: relative;
}

.hea-search-form-wrapper #spinner {
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
}

.hea-search-form-wrapper{
    width: 60%;
    margin: 0 auto;
}

.hea-search-form-wrapper .search-wrapper{
    width: 100%;
    padding: 14px;
    overflow-y: auto;
    background: #f2f2f2;
    height: 400px;
    position: absolute;
    z-index: 999;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.hea-search-form-wrapper .search-wrapper .article{
    height: auto !important;
}

.hea-search-form-wrapper .search-wrapper .article a img{
    margin-bottom: 0 !important;
}

.hea-search-form-wrapper article.search{
    display: flex;
    align-items: start;
    flex-direction: row;
    border-bottom: 1px solid #d5d8dc;
    background: transparent;
    padding-bottom: 16px;
    margin-bottom: 16px;
    gap: 8px;
}

.hea-search-form-wrapper article.search a.post-thumbnail,
.hea-search-form-wrapper article.search .woo-product-image{
    width: 20%;
}

.hea-search-form-wrapper article.search a.post-thumbnail img{
    max-width: 140px;
    max-height: 140px;
}

.hea-search-form-wrapper article.search .post-content{
    width: 80%;
}

/* 
    FOOTER STYLE
*/
footer.hea-footer{
    clear: both;
    display: block;
}

footer#huda-theme-builder-footer .container-fluid{
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* 
    WOOCOMMERCE STYLE
*/
.hea-product-card {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    background: #fff;
    text-align: left;
    position: relative;
    margin-bottom: 1em;
}
.hea-product-card .product-image-wrapper .product-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    object-fit: cover;
}
.hea-product-card .hea-product-details{
    width: auto;
    z-index: 99;
    left: 0;
    bottom: 0;
}


.hea-product-card .hea-product-details h3 {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
}
.hea-product-card .product-details .price {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}
.hea-product-excerpt{
    margin-bottom: 10px;
}
.hea-product-card .btn-primary {
    background: #5081FF;
    border: none;
    padding: 10px 15px;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 12px;
}
.hea-product-card .btn-primary:hover {
    background: #3a6ed9;
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    color: #fff;
    background: #ff6f61;
    margin: 5px;
    border-radius: 3px;
    text-transform: uppercase;
}

.badge.badge-sale {
    background: #ff3f3f;
}

.badge.badge-featured {
    background: #5081ff;
}

.badge.round {
    border-radius: 50%;
    padding: 8px;
}

.product-image {
    position: relative;
}

.product-image .badge {
    position: absolute;
    top: 10px;
    left: 10px;
}

/* General swatch wrapper styling */
.product-swatches{
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 5px;
    text-align: center;
    cursor: pointer;
}

/* Color swatches */
.swatch {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 50%; /* Circular for color */
    transition: border-color 0.3s ease;
}

.swatch:hover {
    border-color: #333;
}

/* Text swatches */
.text-swatch .swatch-text {
    display: inline-block;
    padding: 5px 10px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 3px; /* Rectangular for text */
    font-size: 14px;
    color: #333;
    text-transform: capitalize;
}

.text-swatch .swatch-text:hover {
    background: #eee;
}

.swatch.active,
.swatch-text.active {
    border-color: #333 !important; 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.hea-product-price-rating{
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hea-cart-button{
    display: flex;
    justify-content: center;
}

.hea-cart-button .hea-button.ajax_add_to_cart.add_to_cart_button{
    display: flex;
    align-items: center;
}

/* Checkout Form Styles */

.hea-woocommerce-checkout .checkout.woocommerce-checkout .woocommerce-checkout-review-order table{
    width: 100%;
    margin-bottom: 20px;
}

/* Style the container */
.hea-woocommerce-checkout .woocommerce {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: block;
}

/* Coupon form styling */
.woocommerce-form-coupon-toggle {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: #5081FF;
    text-decoration: underline;
}

.woocommerce-form-coupon {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.woocommerce-form-coupon input.input-text {
    flex: 2;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.woocommerce-form-coupon button.button {
    flex: 1;
    background-color: #5081FF;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease;
}

.woocommerce-form-coupon button.button:hover {
    background-color: #3060CC;
}

/* Billing and shipping details layout */
#customer_details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

#customer_details .col-1,
#customer_details .col-2 {
    flex: 1;
    min-width: 300px;
}

/* Form fields styling */
.woocommerce-billing-fields__field-wrapper p.form-row {
    margin-bottom: 15px;
}

.woocommerce-billing-fields__field-wrapper label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.woocommerce-billing-fields__field-wrapper input.input-text,
.woocommerce-billing-fields__field-wrapper textarea,
.woocommerce-billing-fields__field-wrapper select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-bottom: 10px;
}

/* Focus state */
.woocommerce-billing-fields__field-wrapper input.input-text:focus,
.woocommerce-billing-fields__field-wrapper select:focus {
    border-color: #5081FF;
    box-shadow: 0 0 5px rgba(80, 129, 255, 0.5);
    outline: none;
}

/* Review order table */
.woocommerce-checkout-review-order {
    margin-top: 20px;
}

.woocommerce-checkout-review-order table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.woocommerce-checkout-review-order table th,
.woocommerce-checkout-review-order table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.woocommerce-checkout-review-order table th {
    background-color: #f8f8f8;
    font-weight: bold;
}

/* Total row */
.woocommerce-checkout-review-order .order-total th,
.woocommerce-checkout-review-order .order-total td {
    font-size: 18px;
    font-weight: bold;
}

/* Payment method message */
.woocommerce-checkout-payment .woocommerce-info {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.woo-product-filter-widget {
    margin: 20px 0;
}

.woo-product-filter-widget form input,
.woo-product-filter-widget form select {
    display: block;
    margin-bottom: 10px;
    padding: 8px;
    width: 100%;
}

#filtered-products {
    margin-top: 20px;
}

.woo-product-filter-widget {
    margin: 20px 0;
}

.woo-product-filter-widget .filter-section {
    margin-bottom: 15px;
}

.woo-product-filter-widget form input,
.woo-product-filter-widget form select {
    display: block;
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.woo-product-filter-widget button {
    margin-right: 10px;
    padding: 10px 20px;
    background-color: #ff5722;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.woo-product-filter-widget button:hover {
    background-color: #e64a19;
}

.product-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-item {
    flex: 1 1 calc(33.333% - 20px);
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.hea-woo-tabs .woocommerce-tabs .panel h2,
.hea-woo-tabs .woocommerce-tabs .panel p{
    margin-bottom: 12px !important;
}

.hea-woo-tabs .woocommerce-tabs ol li.review .comment_container{
    width: 100%;
}

.hea-woo-tabs .woocommerce-tabs ol li.review .comment_container img.avatar{
    width: 48px;
    height: 48px;
}

.hea-site-header-cart .cart-contents .bag-icon {
    position: relative;
}

.hea-site-header-cart .cart-contents .cart-badge {
    position: absolute;
    top: 0;
    right: -1px;
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e93315;
}

.hea-hea-site-header-cart {
    width: 30px;
    position: relative;
}

.hea-hea-site-header-cart .mini-cart-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.hea-hea-site-header-cart .mini-cart-content h4.title{
    margin-bottom: 6px;
}

.hea-hea-site-header-cart:hover .mini-cart-content {
    display: block;
}

.hea-site-header-cart {
    position: relative;
    display: inline-flex;
}

.hea-site-header-cart .mini-cart-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    color: #000;
    width: 300px;
    padding: 15px;
    z-index: 1000;
    display: none;
    border: 1px solid #ccc;
}

.hea-site-header-cart:hover .mini-cart-content {
    display: block;
}

.mini-cart-content ul.cart_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mini-cart-content .cart_list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
}

.custom-cart-button, .custom-checkout-button {
    background: red;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: inline-block;
    margin-top: 10px;
    text-align: center;
    width: 48%;
}

.hea-woocommerce-my-account .woocommerce.tabs-position-top{
    flex-direction: column;
}

.hea-woocommerce-my-account .woocommerce.tabs-position-top 
nav.woocommerce-MyAccount-navigation ul{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    gap: 2em;
}

.hea-woocommerce-my-account .woocommerce.tabs-position-top 
nav.woocommerce-MyAccount-navigation{
    width: 100%;
}

.hea-woocommerce-my-account .woocommerce.tabs-position-top 
nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout{
    padding: 0;
    border: unset;
    background: unset;
    margin: 0 !important;

}

.hea-woocommerce-my-account .woocommerce.tabs-position-top 
nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout a{
    color: #000;
}

.hea-woocommerce-my-account .woocommerce.tabs-position-top 
nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link--customer-logout::before{
    display: none;
}

.tabs-position-left {
    display: flex;
}
.tabs-position-left .woocommerce-MyAccount-navigation {
    flex: 0 0 25%;
    margin-right: 20px;
}
.tabs-position-left .woocommerce-MyAccount-content {
    flex: 1;
}
.tabs-position-right {
    display: flex;
}
.tabs-position-right .woocommerce-MyAccount-navigation {
    order: 2;
    flex: 0 0 25%;
    margin-left: 20px;
}
.tabs-position-right .woocommerce-MyAccount-content {
    flex: 1;
}
.tabs-position-top .woocommerce-MyAccount-navigation {
    margin-bottom: 20px;
}
.tabs-position-bottom {
    display: flex;
    flex-direction: column;
}
.tabs-position-bottom .woocommerce-MyAccount-navigation {
    order: 2;
    margin-top: 20px;
}

.hea-woocommerce-my-account tbody, td, tfoot, th, thead, tr{
    padding-bottom: 1em;
}

.hea-woocommerce-my-account .show-password-input{
    display: none;
}

/* Woo Cart Styles */
.woocommerce-cart-container .woocommerce-cart-form{
    border: 1px solid #00000059;
}

.woocommerce-cart-container .woocommerce-cart-form .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents thead{
    height: 50px;
    background-color: red;
    color: white;
}   

.woocommerce-cart-container .woocommerce-cart-form .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents thead th{
    padding: 0px 20px;
}   

.woocommerce-cart-container .woocommerce-cart-form .shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents tbody td{
    padding: 20px;
}  

.woocommerce-cart-container .cart-coupon .coupon{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.192);
    flex-wrap: wrap;
}

.woocommerce-cart-container .cart-coupon .coupon .coupon-details{
    width: 100%;
    display: flex;
    gap: 20px;
}

.woocommerce-cart-container .cart-coupon .coupon .coupon-details label{
    display: none;
}

.woocommerce-cart-container .cart-coupon .coupon .coupon-details input{
    width: 262px;
    height: 55px;
}

.woocommerce-cart-container .cart-coupon .coupon .coupon-details button{
    border: 1px solid #E1E0E7;
    text-align: center !important;
}

.woocommerce-cart-container .cart-coupon .coupon .cart-actions{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.woocommerce-cart-container .cart_totals {
    background-color: #f2eded;
    width: 46%;
    margin: 30px 0px;
    padding: 24px 20px;
}

.woocommerce-cart-container .cart_totals .wc-proceed-to-checkout{
    margin: 18px 0px;
}

.woocommerce-cart-container .cart_totals .wc-proceed-to-checkout a{
    color: white;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    #customer_details {
        flex-direction: column;
    }
}

/* Product Grid Style 2 Styles */
.product-style2-item {
    position: relative;
}

.product-style2-item .hea-cart-button {
    width: 100%;
    bottom: -20px; /* Start slightly below */
    left: 50%;
    display: flex;
    visibility: hidden;
    transform: translate(-50%, 0); /* Initially off the bottom */
    opacity: 0;
    position: absolute;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out, bottom 0.3s ease-in-out;
}

.product-style2-item .product-image:hover .hea-cart-button {
    visibility: visible;
    bottom: 14px;
    opacity: 1;
    transform: translate(-50%, 0); /* Move to the correct position smoothly */
}

/* Product Grid Style 3 Styles */
.product-style3-item .hea-cart-button{
    width: 100%; 
    margin-top: 12px;
    margin-bottom: 12px;
}

/* Product Grid Style 4 Styles */

.product-style4-item .hea-product-rating{
    top: 14px;
    right: 18px;
}

.product-style4-item .product-rating-stars{
    display: flex;
    gap: 6px;
}

.product-style4-item .rating-wrapper{
    gap: 6px;
}


/* Product Tabs Style */
.hea-site-header-cart .mini-cart-content .woocommerce-mini-cart-item.mini_cart_item a{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-cart-content .cart_list li{
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border-bottom: 1px solid #000;
}

.hea-site-header-cart .woocommerce-mini-cart-item.mini_cart_item a{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
}

.hea-site-header-cart .woocommerce-mini-cart-item.mini_cart_item .quantity{
    margin-bottom: 8px;
}

.hea-site-header-cart .woocommerce-mini-cart-item.mini_cart_item 
.remove.remove_from_cart_button{
    width: 18px;
    position: absolute;
    background-color: whitesmoke;
    color: #000;
    top: 10px;
    right: 10px;
    border-radius: 25px;
    align-items: center;
} 

.hea-site-header-cart .woocommerce-mini-cart-item.mini_cart_item a img{
    width: 100%;
    max-width: 100%;
    min-height: auto;
    object-fit: cover;

}

.hea-site-header-cart .mini-cart-content .woocommerce-mini-cart__buttons.buttons{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hea-site-header-cart .mini-cart-content .woocommerce-mini-cart__buttons.buttons a.button,
.button.wc-forward, .button.checkout.wc-forward{
    text-align: center;
}

.hea-site-header-cart .mini-cart-content .title-divider{
    border: none;
    height: 1px;
    opacity: 100%;
    margin-bottom: 8px;
    background-color: #000;
}

/* Product Image/Gallery Style */
.hea-woo-product-gallery.woocommerce-product-gallery {
    width: 100%;
    max-width: 100%;
}

.hea-woo-product-gallery.woocommerce-product-gallery 
.woocommerce-product-gallery__wrapper img{
    width: 100%;
}

.hea-woo-product-gallery .woocommerce-product-gallery__trigger{
    position: absolute;
    z-index: 99;
    top: 1em;
    left: 1em;
}

.hea-woo-product-gallery ol{
    list-style-type: none;
} 

.hea-woo-product-gallery ol.flex-control-nav.flex-control-thumbs{
    display: flex;
    align-items: center;
    margin-top: 14px;
    gap: 1em;
}

.woocommerce-product-gallery .flex-viewport {
    margin-bottom: 10px;
}

.elementor-editor-active .woocommerce-product-gallery{
    opacity: 1 !important;
}

/* 
    WOO GALLERY STYLE
*/
.hea-gallery-thumbs .swiper-slide{
    width: auto !important;
}

/* 
    WOO CAROUSEL STYLE
*/
.hea-carousel-product-item .add_to_cart_button{
    display: block;
    text-align: center;
}

/* Add to Cart Style */
.hea-add-to-cart-widget button.single_add_to_cart_button{
    width: max-content;
}

.hea-add-to-cart-widget form.cart input[type=number]{
    width: 80px;
    float: left;
    margin-right: 1em;
    padding: 9.5px;
}

.hea-add-to-cart-widget button.reset_variations{
    margin-top: 1em;
    border: unset;
    background: unset;
    color: #000;
    padding: unset;
}

.hea-add-to-cart-widget .woocommerce-variation-price{
    margin-bottom: 1em;
}

.hea-add-to-cart-widget .reset_variations{
    margin-left: 1em;
}

/* Variations Style */
.variation-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.variation-buttons .variation-btn {
    padding: 12px 20px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: capitalize;
}
.variation-buttons .variation-btn:hover {
    background: #444;
}
.variation-buttons .variation-btn.active {
    background: #5081ff;
    border-color: #5081ff;
    color: #fff;
}
table.variations tr td.value{
    display: block;
    margin-bottom: 24px;
}

table.variations tr td.value{
    border: 1px solid #ccc;
}
#payment_method_bacs, #payment_method_cod{
    visibility: hidden;
}
#payment_method_bacs ~ label, #payment_method_cod ~ label,
.hea-woocommerce-checkout #payment_method_cheque ~ label,
.hea-woocommerce-checkout .wc_payment_method #payment_method_stripe ~ label{
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.274);
    padding-bottom: 10px;
}

.hea-woocommerce-checkout #payment_method_bacs:checked ~ label, 
.hea-woocommerce-checkout #payment_method_cod:checked ~ label, 
.hea-woocommerce-checkout #payment_method_cheque:checked ~ label,
.hea-woocommerce-checkout .wc_payment_method #payment_method_stripe:checked ~ label{
    color: red;
    border-color: red;
}

.hea-woocommerce-checkout input[type='radio']{
    visibility: hidden;
}

.hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon{
    align-items: center;
    justify-content: space-between;
}
.hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon p{
    width: 55%;
}
.hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-first, input{
    width: 100%;
}
.hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-last{
    width: 12% !important;
}
.hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-last button{
    width: 130px;
}

.woocommerce-cart-container .cart_totals .wc-proceed-to-checkout a.checkout-button{
    display: block;
}

.woocommerce-additional-fields{
    margin-top: 1em;
}


/* .hea-woocommerce-checkout .woocommerce-form-coupon-toggle .checkout_coupon.woocommerce-form-coupon p.form-row.form-row-last{
    float: left;
} */

.custom-cursor {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

.custom-cursor-text {
    font-size: 14px; /* Slightly larger for readability */
    color: #fff;
    font-weight: 500;
    display: inline-block;
    margin-left: 5px;
    pointer-events: none;
    text-align: center;
}

.custom-cursor-icon {
    font-size: 18px; /* Slightly larger for better visibility */
    color: #fff;
    display: inline-block;
    pointer-events: none;
    margin-right: 5px; /* Adds spacing between icon and text */
}

.custom-cursor-hover {
    transform: scale(1.2); /* Slight enlargement on hover */
    transition: transform 0.2s ease; /* Smooth hover effect */
}
/* Animations */
.custom-cursor.animate {
    animation: cursor-pulse 1.5s infinite ease-in-out; /* Example animation */
}

@keyframes cursor-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hea-posts-tabs .hea-post-image {
    position: relative;
    overflow: hidden;
}

.hea-posts-tabs .hea-post-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease-in-out;
}

.hea-posts-tabs .hea-post-image:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

.hea-posts-tabs .hea-post-button {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    opacity: 0;
    transition: top 0.43s ease-in-out, opacity 0.3s ease-in-out;
}

.hea-posts-tabs .hea-post-image:hover .hea-post-button {
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.hea-posts-tabs .hea-post-title{
    margin-top: 18px;
}

 /* Fullscreen iframe styling */ 
 .heaWidgetAreaModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
}

 /* Dynamic Modal*/ 
 .dynamic-modal-toggle-button svg,
 .hea-dynamic-modal .modal-close-icon svg{
    width: 14px;
    height: 14px;
    cursor: pointer;
    text-align: center;
    fill: #fff;
}   

.dynamic-modal-toggle-button i,
.hea-dynamic-modal .modal-close-icon i{
    font-size: 14px;
    color: #fff;
}

.hea-dynamic-modal .modal-close-icon svg{
    fill: #000;
}

.heaWidgetAreaModal iframe{
    height: 100%;
}

#smooth-wrapper {
    position: relative;
    overflow: hidden;
}

#smooth-content {
    position: relative;
}


.huda-animated-heading {
    display: inline-block;
    perspective: 400px;
    transform-origin: center bottom;
    will-change: transform, opacity;
    opacity: 1;
}

.huda-animated-heading .word {
    display: inline-block;
    overflow: hidden;
    padding: 0 2px;
    white-space: nowrap;
}

.huda-animated-heading .letter {
    display: inline-block;
    transform-origin: center;
    opacity: 1;
}

/* 
    MODAL STYLE
*/

.modal-body {
    position: relative;
    min-height: 100px;
}

/* Hide edit button by default */
.hea-offcanvas.offcanvas-start, 
.hea-offcanvas.offcanvas-end{
    height: 100vh;
    overflow: hidden;
}


.edit-content-btn,
.offcanvass-edit-content-btn{
    display: none;
    position: absolute;
    bottom: 0;
    right: 0;
    top: auto;
    background-color: var(--e-p-border-widget) !important;
    color: var(--e-p-border-widget-invert) !important;
    border: none;
    padding: 8px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    z-index: 99999;
    border-radius: 0;
}

/* Show edit button on hover */
.elementor-editor-active .modal-body:hover .edit-content-btn,
.elementor-editor-active .offcanvas-body:hover .offcanvass-edit-content-btn {
    display: flex;
    align-items: center;
    gap: 5px;
}

.edit-content-btn i {
    font-size: 12px;
}

/* Remove hover effect since it should match Elementor's native behavior */
.edit-content-btn:hover {
    background-color: var(--e-p-border-widget) !important;
}

/* Widget Area Modal Styles */
.elementor-widget-area-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
}

/* Prevent body scroll when modal is open */
body.elementor-widget-area-modal-open {
    overflow: hidden !important;
    padding-right: 17px; /* Prevent layout shift when scrollbar disappears */
}

.elementor-widget-area-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events: all; /* Ensure overlay catches all clicks */
}

.elementor-widget-area-modal-container {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    margin: 50px;
    background-color: #fff;
    border-radius: 3px;
    overflow: hidden;
    pointer-events: all; /* Ensure modal content is clickable */
}

.elementor-widget-area-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.elementor-widget-area-modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #495157;
}

.elementor-widget-area-modal-title i {
    font-size: 18px;
    color: #495157;
}

.elementor-widget-area-modal-close {
    padding: 0;
    border: none;
    background: none;
    color: #495157;
    cursor: pointer;
    font-size: 20px;
}

.elementor-widget-area-modal-content {
    flex-grow: 1;
    position: relative;
}

.elementor-widget-area-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 
    PRELOADER STYLE
*/
.hea-preloader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex !important;  /* Ensure it appears */
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

/* Ensure preloader fully disappears */
.hea-preloader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    display: none !important;
}

/* Loader Layout 1 */
.loader-1 {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #FF3D00;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Loader Layout 2 */
.loader-2 {
    width: 48px;
    height: 48px;
    margin: auto;
    position: relative;
}

.loader-2:before {
    content: '';
    width: 48px;
    height: 5px;
    background: #000;
    opacity: 0.25;
    position: absolute;
    top: 60px;
    left: 0;
    border-radius: 50%;
    animation: shadow 0.5s linear infinite;
}

.loader-2:after {
    content: '';
    width: 100%;
    height: 100%;
    background: #fff;
    animation: bxSpin 0.5s linear infinite;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
}

@keyframes bxSpin {
    17% {
        border-bottom-right-radius: 3px;
    }
    25% {
        transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        transform: translateY(18px) scale(1, .9) rotate(45deg);
        border-bottom-right-radius: 40px;
    }
    75% {
        transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        transform: translateY(0) rotate(90deg);
    }
}
@keyframes shadow {
    0%, 100% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.2, 1);
    }
}

/* Loader Layout 3 */
.loader-3 {
    position: relative;
    width: 108px;
    display: flex;
    justify-content: space-between;
}
.loader-3::after, .loader-3::before  {
    content: '';
    display: inline-block;
    width: 48px;
    height: 48px;
    background-color: #FFF;
    background-image:  radial-gradient(circle 14px, #0d161b 100%, transparent 0);
    background-repeat: no-repeat;
    border-radius: 50%;
    animation: eyeMove 10s infinite , blink 10s infinite;
}
@keyframes eyeMove {
    0%  , 10% {     background-position: 0px 0px}
    13%  , 40% {     background-position: -15px 0px}
    43%  , 70% {     background-position: 15px 0px}
    73%  , 90% {     background-position: 0px 15px}
    93%  , 100% {     background-position: 0px 0px}
}
@keyframes blink {
    0%  , 10% , 12% , 20%, 22%, 40%, 42% , 60%, 62%,  70%, 72% , 90%, 92%, 98% , 100%
    { height: 48px}
    11% , 21% ,41% , 61% , 71% , 91% , 99%
    { height: 18px}
}

/* Loader Layout 4 */
.loader-4 {
    width: 82px;
    height: 18px;
    position: relative;
}

.loader-4::before, .loader-4::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translate(-50% , 10%);
    top: 0;
    background: #FF3D00;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    animation: jump 0.5s ease-in infinite alternate;
}
  
.loader-4::after {
    background: #0000;
    color: #fff;
    top: 100%;
    box-shadow: 32px -20px , -32px -20px;
    animation: split 0.5s ease-out infinite alternate;
}
  
@keyframes split {
    0% { box-shadow: 8px -20px, -8px -20px}
    100% { box-shadow: 32px -20px , -32px -20px}
}

@keyframes jump {
   0% { transform: translate(-50% , -150%)}
   100% { transform: translate(-50% , 10%)}
}

/* Loader Layout 4 */
.loader-5 {
    width: 8px;
    height: 40px;
    border-radius: 4px;
    display: block;
    margin: 20px auto;
    position: relative;
    background: currentColor;
    color: #FFF;
    box-sizing: border-box;
    animation: animloader 0.3s 0.3s linear infinite alternate;
}
  
.loader-5::after, .loader-5::before {
    content: '';
    width: 8px;
    height: 40px;
    border-radius: 4px;
    background: currentColor;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    box-sizing: border-box;
    animation: animloader 0.3s  0.45s  linear infinite alternate;
}

.loader-5::before {
    left: -20px;
    animation-delay: 0s;
}
  
@keyframes animloader {
    0%   { height: 48px} 
    100% { height: 4px}
}

/* Loader Layout 6 */
.loader-6{
    display: block;
    position: relative;
    height: 32px;
    width: 200px;
    background: #fff;
    border:2px solid #fff;
    color: #FF3D00;
    overflow: hidden;
}

.loader-6::before{
    content: '';
    background: #FF3D00;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    animation: loading 10s linear infinite;
}

.loader-6:after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 24px;
    line-height: 32px;
    color: rgb(0,255,255);
    mix-blend-mode: difference;
    animation: percentage 10s linear infinite;
}
  
@keyframes loading {
    0% { width: 0 }
    100% { width: 100% }
}

@keyframes percentage {
    0% { content: "0%"}
    5% { content: "5%"}
    10% { content: "10%"}
    20% { content: "20%"}
    30% { content: "30%"}
    40% { content: "40%"}
    50% { content: "50%"}
    60% { content: "60%"}
    70% { content: "70%"}
    80% { content: "80%"}
    90% { content: "90%"}
    95% { content: "95%"}
    96% { content: "96%"}
    97% { content: "97%"}
    98% { content: "98%"}
    99% { content: "99%"}
    100% { content: "100%"}

}

.gallery{
    grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
    width: 100%;
  }

@media (max-width: 576px) {
    .gallery{
        grid-template-columns: repeat(1, 1fr);
    }

    .hea-search-form-wrapper article.search{
        flex-wrap: wrap;
    }

    .hea-search-form-wrapper article.search a.post-thumbnail,
    .hea-search-form-wrapper article.search .woo-product-image{
        width: 100%;
    }

    .hea-search-form-wrapper article.search .post-content{
        width: 100%;
    }
}

.alert{
    margin-top: 1em;
}

/* 
    RESPONSIVE STYLE
*/
/* Tablet */
@media (max-width: 1024px) {
    .hea-image-accordion.layout-vertical{
        width: 100%;
        height: 100%;
        transform: rotate(0deg);
    }

    .hea-image-accordion.layout-vertical .accordion-button{
        height: 100%;
    }

    .hea-image-accordion.layout-vertical .accordion-body{
        width: 100%;
        position: static;
        transform: inherit;
    }

    .hea-image-accordion.layout-vertical .accordion-collapse{
        height: 300px;
    }
}

/* Mobile */
@media screen and ( max-width: 999px ) {
    .arrow-prev{
        left: 1.2em !important;
    }
}

@media screen and ( max-width: 768px ) {
   .hea-woocommerce-my-account .tabs-position-right{
    flex-direction: column;
   }

   .woocommerce-page .hea-woocommerce-my-account .woocommerce{
        gap: 0;
   }

   .woocommerce-page .hea-woocommerce-my-account 
   .woocommerce nav.woocommerce-MyAccount-navigation{
        padding: 0;
   }

   .woocommerce-cart-container .cart-coupon .coupon{
        display: block;
   }

   .woocommerce-cart-container .cart_totals{
        width: 100%;
   }

   .cart-coupon .coupon .coupon-details button,
   .woocommerce-cart-container .cart-coupon .coupon .cart-actions button{
       width: 100% !important;
       margin-top: 10px;
       text-align: center;
   }

   .cart-coupon .coupon .coupon-details button{
        margin: 0;
   }

   table.shop_table_responsive tr td::before {
        display: none;
    }

    
    .single-post h2.wp-block-heading,
    .wp-block-heading{
        font-size: 22px !important;
    }
}

@media screen and ( max-width: 576px ) {

    .cart-coupon .coupon .coupon-details button{
        margin-top: 10px;
   }

    .woocommerce-cart-container .cart-coupon .coupon .coupon-details{
        display: block;
    }

    .woocommerce-cart-container .cart-coupon .coupon .coupon-details input{
        width: 100%;
    }

    .slick-slider .slick-track .slide-item{
        margin: 0;
    }

    .arrow-prev{
        top: 40% !important;
        left: 1.2em !important;
        transform: inherit !important;
    }

    .arrow-next{
        top: 40% !important;
        right: 1.2em !important;
        transform: inherit !important;
    }

    .hea-meta{
        flex-wrap: wrap;
    }
}

