/*
Theme Name: 		Hema Child
Theme URI: 			https://hema.templateoption.com/
Author: 			WTTechDesign Team
Author URI: 		https://www.webtwine.com/
Description: 		hema is ThemeForest WordPress Premium Theme.
Version: 			1.0.0
Requires at least: 	5.9
Tested up to: 		6.0
Requires PHP: 		7
License: 			Themeforest Commercial Licence
License URI: 		https://themeforest.net/licenses/standard
Tags: 				flexible-header, one-column, two-columns, left-sidebar, right-sidebar, custom-colors, custom-menu, editor-style, featured-images, featured-image-header, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready, blog, shop
Template:     		hema
Text Domain: 		hema-child

Theme Custom CSS starts here
------------------------------------------------------------ */
@font-face{font-family:"Clash Display";src:url(fonts/ClashDisplay-Semibold.woff2) format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Clash Display";src:url(fonts/ClashDisplay-Medium.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
:root{--wt-headings-ff:"Clash Display",sans-serif}
.bg-black-50{background-color:rgb(0 0 0 / 50%)}
.hwt-main-nav>li>a{position:relative}
.hwt-main-nav>li>a::before{position:absolute;left:50%;right:50%;border-width:2px 0 0;border-style:solid;border-color:var(--wt-secondary-color);content:"";height:2px;bottom:0;transition:all .3s ease}
.hwt-main-nav>li.active>a::before,.hwt-main-nav>li.current-menu-item>a::before,.hwt-main-nav>li.current_page_item>a::before,.hwt-main-nav>li:hover>a::before{left:0;right:0}
.header-wrapper{z-index:999}

/* accordion style */
.acc-custom .bx-title .bx-im-wrap,.acc-custom-s2 .e-n-accordion-item-title-icon,.acc-custom-s3 .e-n-accordion-item-title-icon{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:50%;background:#000;overflow:hidden;transition:background-color .35s ease}
.acc-custom .bx-title .list-icon{font-size:18px!important;font-weight:400!important;color:#fff;transition:transform .35s ease}
.acc-custom .accordions-wrap .accordion-button{flex-direction:row-reverse;justify-content:space-between}
.acc-custom .accordions-wrap .bx-title .fbox-ico{position:static}
.acc-custom .accordion-button:not(.collapsed) .bx-im-wrap,.acc-custom.br-w .accordion-button:not(.collapsed) .bx-im-wrap,.acc-custom-s3 .e-n-accordion-item[open] .e-n-accordion-item-title-icon{background: var(--wt-theme-color);}
.acc-custom .accordion-button:not(.collapsed) .list-icon,.acc-custom-s2 .e-n-accordion-item[open] .e-n-accordion-item-title-icon i,.acc-custom-s3 .e-n-accordion-item[open] .e-n-accordion-item-title-icon i{transform:rotate(45deg)}
.acc-custom  .bx-title{border: 0px;}
.acc-custom .accordion-item,.acc-custom-s3 .e-n-accordion-item:last-child > .e-n-accordion-item-title {border-bottom:1px solid #000;}
.acc-custom .accordion-item:first-child{border-top: 1px solid #000;}
.acc-custom.br-w .accordion-item{border-bottom-color: #fff !important;}
.acc-custom.br-w .accordion-item:first-child{border-top-color: #fff !important;}
.acc-custom.br-w .bx-title .bx-im-wrap,.acc-custom-s2 .e-n-accordion-item-title-icon,.acc-custom-s3.arr-w .e-n-accordion-item-title-icon{background: #fff;}
.acc-custom.br-w .bx-title .list-icon,.acc-custom-s2 .e-n-accordion-item-title-icon i,.acc-custom-s3 .e-n-accordion-item-title-icon i{color: #000;}
.acc-custom.br-w .accordion-button:not(.collapsed) .list-icon{color: #fff;}
/* accordion style Two */
.acc-custom-s2 details{border-radius:10px !important;overflow: hidden;}
.acc-custom-s2 .e-n-accordion-item-title-icon,.acc-custom-s3 .e-n-accordion-item-title-icon {justify-content:center;}
.acc-custom-s2 .e-n-accordion-item-title{border: 0px !important;border-color: transparent !important;}
.acc-custom-s3 .e-n-accordion-item-title-icon{background:#000;}
.acc-custom-s3 .e-n-accordion-item:last-child[open] > .e-n-accordion-item-title {border-bottom: 0 !important;}


.team-style .bx-img,.team-style .fbox-ico,.team-style .fbx-image,.partner-style .bx-img,.partner-style .fbox-ico,.partner-style .fbx-image{width:100%!important;height:100%!important;max-width:none!important}
.partner-style .fbox-ico,.team-style .fbox-ico{display:flex;align-items:center}
.team-style .list-item{position: relative;}
.team-style .bx-wrap-cont{position:absolute;left:12px;right:12px;bottom:12px;border-radius:20px;background-color:#fff;transition: all .35s ease;}
.team-style .hwt-button{position:absolute;right:25px;bottom:25px}


.partner-style .list-item,.team-style .list-item{position:relative;border-radius:24px;overflow:hidden}
.partner-style .bx-wrap-cont,.fancy-blog .post-content{position:absolute;left:16px;right:16px;bottom:16px;background:#fff;border-radius:16px;padding:24px 70px 24px 24px;z-index:2;display:grid;grid-template-rows:min-content 0fr;transition:grid-template-rows .6s ease,padding .6s ease}
.partner-style .list-item:hover .bx-wrap-cont,.fancy-blog .post-wrap:hover .post-content{grid-template-rows:min-content 1fr}
.partner-style:not(.style-2) .list-item:hover .bx-wrap-cont{padding-bottom: 50px;}
.partner-style .bx-title,.fancy-blog .entry-title{margin-bottom:0;transition:margin-bottom .6s ease}
.partner-style .bx-content,.fancy-blog .entry-content{opacity:0;overflow:hidden;transition:opacity .4s ease}
.partner-style .list-item:hover .bx-title,.fancy-blog .post-wrap:hover .entry-title{margin-bottom:10px}
.partner-style .list-item:hover .bx-content,.fancy-blog .post-wrap:hover .entry-content{opacity:1;transition:opacity .6s ease .1s}
.partner-style .hwt-button,.fancy-blog:not(.style2) .entry-read-more{position:absolute;right:20px;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0;transition:all .6s ease}
.partner-style .list-item:hover .hwt-button,.fancy-blog:not(.style2) .post-wrap:hover .entry-read-more{top:calc(100% - 64px);transform:translateY(0)}
.partner-style .hwt-button .bx-im-wrap,.partner-style .hwt-button .fbx-icon,.fancy-blog .entry-read-more,.fancy-blog .post-img,.fancy-blog.style2 .entry-title{margin:0!important}
.partner-style .list-icon,.fancy-blog:not(.style2) .entry-read-more i{font-size:18px;display:inline-block;transition:transform .6s ease}
.partner-style .list-item:hover .list-icon,.fancy-blog:not(.style2) .post-wrap:hover .entry-read-more i{transform:rotate(45deg)}

.fancy-blog .post-content{padding-bottom:40px}
.fancy-blog .bx-img img{width:100%;object-fit:cover}
.fancy-blog .post-wrap{position:relative;border-radius:20px;overflow:hidden}
.fancy-blog .entry-title{font-size:28px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.fancy-blog .post-wrap:hover .entry-title{display:block}
.fancy-blog .entry-content{font-size:16px}
.fancy-blog:not(.style2) .entry-read-more{background-color:#000}
.fancy-blog:not(.style2) .entry-read-more a{color:#fff;display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.fancy-blog:not(.style2) .post-wrap:hover .entry-read-more{background-color:var(--wt-theme-color)}
.fancy-blog:not(.style2) .masonry-filter button{padding:16px 24px;border-radius:50px;color:#fff;font-size:16px}
.fancy-blog:not(.style2) .masonry-filter button:not(.active){background-color:#000}
.fancy-blog .masonry-filter::-webkit-scrollbar{height:4px}
.fancy-blog .masonry-filter::-webkit-scrollbar-track{background:0 0}
.fancy-blog .masonry-filter::-webkit-scrollbar-thumb{background:#ccc;border-radius:4px}
.fancy-blog.style2 .post-content{padding:24px 40px}
.fancy-blog.style2 .entry-content{width:90%}
.fancy-blog.style2 .entry-read-more{position:absolute;top:50%;right:40px;transform:translateY(-50%)}
.fancy-blog.style2 .date-tag{border-radius:16px;left:16px;top:16px}
.fancy-blog.style2 .entry-read-more a{font-size:18px;text-transform:capitalize;font-family:var(--wt-body-ff);font-weight:400}
.fancy-blog.style2 .entry-read-more i{display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;min-height:40px;background:var(--wt-theme-color);color:#fff;border-radius:50%;transform:rotate(-45deg);transition:transform .3s ease-in-out}
.fancy-blog.style2 .entry-read-more:hover i{transform:rotate(0deg)}
.fancy-blog.style2 .entry-read-more:hover i{background:#000}

/* Ensure the parent grid doesn't hide overflowing cards during animation */
.custom-pgbar .swiper-pagination-progressbar.swiper-pagination-vertical{right:0;left:auto;height:80%;top:50%;transform:translateY(-50%);width:1px;background-color:#CACACA}
.custom-pgbar .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background-color:var(--wt-theme-color);width:2px;left:50%;margin-left:-1px}
.custom-pgbar .swiper-pagination-progressbar .wt-progress-dot{position:absolute;width:12px;height:12px;background-color:var(--wt-theme-color);border-radius:50%;z-index:10;transition-property:transform;left:50%;margin-left:-6px;top:0;margin-top:-6px}
.custom-pgbar .swiper-pagination-vertical.swiper-pagination-progressbar .wt-progress-dot{left:50%;top:0;margin-left:-6px;margin-top:-6px}
.custom-pgbar .swiper-pagination-progressbar .custom-fraction-current,.custom-pgbar .swiper-pagination-progressbar .custom-fraction-total{position:absolute;left:50%;transform:translateX(-50%);color:#fff;font-size:16px;line-height:1}
.custom-pgbar .swiper-pagination-progressbar .custom-fraction-current{top:-45px}
.custom-pgbar .swiper-pagination-progressbar .custom-fraction-total{bottom:-45px}

/* Target the divs generated by GSAP SplitText inside the text-change-color element */
.scroll-effect .text-change-color div{background:linear-gradient(to right,#000 50%,#CACACA 50%) no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;background-size:200% 100%;background-position-x:100%}
.scroll-effect-white .text-change-color div{background:linear-gradient(to right,#fff 50%,rgba(255,255,255,.3) 50%) no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;background-size:200% 100%;background-position-x:100%}

/* Contact Form 7 */
.contact-form-custom .wpcf7 p{margin-bottom: 0;}
.contact-form-custom .form-label{margin-bottom: 14px;color: #fff;font-size: 14px;font-weight: 400;text-transform: uppercase;}
.contact-form-custom .form-number{display: inline-flex;align-items: center;gap: 8px;margin-bottom: 10px;color: rgba(255,255,255,.7);}
.contact-form-custom .form-number::before{content:"";width:7px;height:7px;border-radius:50%;background:#2F32FF;position:static;transform:none}
.contact-form-custom .form-label span:last-child{color: #fff;}
.contact-form-custom .cf-field{width: 100%;height: 56px;border: 0;border-radius: 6px;background: #2B2B2B;color: #FFF;padding: 0 20px;font-size: 15px;transition: .3s ease;}
.contact-form-custom select.cf-field{appearance: none;-webkit-appearance: none;cursor: pointer;padding-right: 50px;background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ffffff' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
        no-repeat right 20px center,
        #2B2B2B;
}
.contact-form-custom select.cf-field option{background:#2B2B2B;color:#fff;padding:10px}
.contact-form-custom select.cf-field option:checked,.contact-form-custom select.cf-field option:hover{background:#2F32FF;color:#fff}
/* Custom Select Dropdown Optimized */
.custom-select-wrapper{position:relative;width:100%}
.custom-select-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;height:56px;border-radius:6px;background:#2B2B2B;color:#FFF;padding:0 20px;font-size:15px;cursor:pointer;transition:.3s ease}
.custom-select-trigger::after{content:'';width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ffffff' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center}
.custom-select-options{position:absolute;top:100%;left:0;right:0;margin:5px 0 0;background:#1c1c1c;border-radius:6px;box-shadow:0 5px 15px rgba(0,0,0,.3);z-index:99;opacity:0;visibility:hidden;transform:translateY(-10px);transition:.3s;max-height:250px;overflow-y:auto}
.custom-select-wrapper.open .custom-select-options{opacity:1;visibility:visible;transform:translateY(0)}
.custom-option{padding:12px 20px;color:#fff;font-size:15px;cursor:pointer;transition:.2s}
.custom-option:hover,.custom-option.selected{background:#2F32FF}
.contact-form-custom .cf-field::placeholder{color:rgba(255,255,255,.45)}
.contact-form-custom .cf-field:focus{outline:0;border-color:#2F32FF;box-shadow:0 0 0 1px #2F32FF}
.contact-form-custom .form-note{color:rgba(255,255,255,.65);font-size:11px;line-height:1.5;text-transform:uppercase}
.contact-form-custom .form-note p{margin:0}
.contact-form-custom .wpcf7-not-valid{border:1px solid #ff4d4f}
.contact-form-custom .wpcf7-not-valid-tip{margin-top:8px;font-size:12px}
.contact-form-footer{margin-top:40px}
.contact-form-custom .btn{padding:16px 24px}
.contact-form-custom .wpcf7-submit:hover{background-color:#fff;border-color:#fff;color:#000}

.arr-custom .wt-swiper-nav-btn{position:relative;top:auto;right:auto;bottom:auto;left:auto;transform:none;background-color:#000!important;opacity:1!important}
.arr-custom .wt-swiper-nav-btn:after{color:#fff;font-size:16px}
.arr-custom .swiper-button-prev::after{content:"\ea5a";font-family:annimex-icons!important}
.arr-custom .swiper-button-next::after{content:"\ea5b";font-family:annimex-icons!important}
.arr-custom .wt-swiper-nav-btn:hover{background-color:var(--wt-theme-color)!important}
.arr-custom .wt-swp-nav{display:inline-flex;align-items:center;gap:15px;z-index:1;position:relative;background-color:#fff;width:max-content;height:max-content}
.arr-custom .swiper-pagination-fraction{width:auto!important;position:static;font-size:16px}
.arr-custom .swiper-pagination-current{color:#000;font-weight:600}
.arr-custom .swiper-pagination-total{color:#999}
.arr-custom.white .wt-swiper-nav-btn{background-color:#fff!important}
.arr-custom.white .wt-swiper-nav-btn:after{color:#000}
.arr-custom.white .wt-swiper-nav-btn:hover{background-color:var(--wt-theme-color)!important}
.arr-custom.white .wt-swiper-nav-btn:hover:after{color:#fff}
.arr-custom.white .wt-swp-nav{background-color:#000}
.arr-custom.white .swiper-pagination-fraction,
.arr-custom.white .swiper-pagination-current{color:#fff}
.arr-custom.white .swiper-pagination-total{color:rgba(255,255,255,.7)}
.arr-custom.middle .wt-swp-nav{left:50%;transform:translateX(-50%)}

@media (min-width: 1440px) {.team-post,.partner-width{max-width: 88% !important;}}
@media (max-width: 1439px) and (min-width: 1199px) {.team-post, .partner-width { padding: 15px;}}
@media (max-width: 1024px){.fancy-blog .entry-title{font-size:24px}}
@media (max-width:991px){.fancy-blog.style2 .entry-read-more i{width:32px;height:32px;min-width:32px;min-height:32px}}
@media (min-width: 992px) {
.team-style .bx-wrap-cont{opacity: 0;visibility: hidden;transform: translateY(20px);}
.team-style .list-item:hover .bx-wrap-cont{opacity: 1;visibility: visible;transform: translateY(0);}
}
@media (max-width: 767px){
.acc-custom .bx-title .bx-im-wrap,.acc-custom-s2 .e-n-accordion-item-title-icon,.acc-custom-s3 .e-n-accordion-item-title-icon{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
.acc-custom .bx-title .list-icon{font-size:16px!important}
.fancy-blog .entry-title{font-size:20px}
.fancy-blog .masonry-filter{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start!important;-webkit-overflow-scrolling:touch;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:#ccc transparent}
.fancy-blog .masonry-filter button{padding:12px 20px;white-space:nowrap;flex-shrink:0}
.fancy-blog.style2 .post-content{padding:20px}
.fancy-blog.style2 .entry-read-more{right:20px}
.custom-pgbar .swiper-pagination-progressbar {display: none !important;}
.contact-form-custom .btn{padding:12px 20px}
.contact-form-footer{margin-top:20px}
.contact-form-custom .form-group{margin:0}
}
@media (max-width:576px){.fancy-blog.style2 .entry-read-more{display:none}}
