/*
Theme Name: yektanetTheme
Theme URI: https://harmony.agency
Author: Fatemeh Nasiri
Author Contact :f.nap68@gmail.com
Text Domain: yektanetTheme
Description: Everything is changing

/*
This file is just used to identify the theme in WordPress.
The compiled CSS output can be found in /css/theme.css
The SASS sources for it can be found in /sass/
The dependencies can be found in /src/ after running "gulp copy-assets" terminal command

...and now go out and play!
*/
.elementor-element-populated .elementor-widget-image img {
    border-radius: 5px !important;
}
.search-box #searchsubmit {
    z-index: 9999;
}
/*=========== 1400-11-20 ============*/
/*========== scroll top =======*/
.topbutton {
    height: 50px;
    width: 50px;
    position: fixed;
    left: 10px;
    bottom: 10px;
    Z-index: 999;
    background-image: url(https://www.yektanet.ir/wp-content/uploads/2022/02/scroll-top3.png);
    background-repeat:no-repeat;
    display:none;
    opacity: 0.6;
    background-size: 90%;
}
.topbutton:hover{
    opacity:1;
}
/*=========== end scroll top =========*/
.header-btn.bg_pg.vip_btn {
    padding-top: 10px;
	margin-top: -4px;
}
.testimonial-carousel .testimonial-slide .comment-text{
	overflow-y:auto !important;
	padding-left: 10px;
	word-spacing:1px;
}
.header-info .header-phone {
    margin-top: 1px;
}
.header-info .search-box button{
	height: 44px;
}
/* width */
.comment-text{
    position:relative;
}
.comment-text::-webkit-scrollbar {
  width: 12px;
  margin-left:-20px;
  position:absolute;
  left:-20px;
  top:0;
}

/* Track */
.comment-text::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(26,26,26,0.12); 
  border-radius: 10px;
}
 
/* Handle */
.comment-text::-webkit-scrollbar-thumb {
  background: #efefef; 
  border-radius: 10px;
}


.yektanet-testimonial .elementor-testimonial__text {
    height: 170px;
    overflow-y: auto;
    text-align: justify;
    padding-left: 10px;
	word-spacing:1px;
}
.yektanet-testimonial .elementor-testimonial__text::-webkit-scrollbar {
  width: 12px;
  margin-left:-20px;
  position:absolute;
  left:-20px;
  top:0;
}
.yektanet-testimonial .elementor-testimonial__text::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(26,26,26,0.12); 
  border-radius: 10px;
}
.yektanet-testimonial .elementor-testimonial__text::-webkit-scrollbar-thumb {
  background: #efefef; 
  border-radius: 10px;
}
.elementor-accordion .elementor-tab-title .elementor-accordion-icon svg {
    width: auto !important;
    height: auto !important;
}
@media (max-width:920px){
	#about_progress .swiper-button-next, #about_progress .swiper-button-prev{
		top:53px !important;
	}
}


@media (max-width:600px){
	.progress-img img{
		width:400px !important;
		margin:0 auto !important;
	}
	#about_progress .swiper-button-prev, #about_progress .swiper-rtl .swiper-button-next{
		right:0px !important;
	}
	#about_progress .swiper-button-next, #about_progress .swiper-rtl .swiper-button-prev{
		left:0px !important;
	}
	#about_progress .swiper-button-next, #about_progress .swiper-button-prev {
		top: 120px !important;
	}
}
@media (max-width:399px){
	.progress-img img{
		width:320px !important;
		margin:0 auto !important;
	}
	#about_progress .swiper-button-prev, #about_progress .swiper-rtl .swiper-button-next{
		right:0px !important;
	}
	#about_progress .swiper-button-next, #about_progress .swiper-rtl .swiper-button-prev{
		left:0px !important;
	}
	#about_progress .swiper-button-next, #about_progress .swiper-button-prev {
		top: 100px !important;
	}
}
@media (max-width:300px){
	#about_progress .swiper-button-next, #about_progress .swiper-button-prev {
		top: 78px !important;
	}
}

/*webinar*/
.post-type-archive-webinar .card_wrapper .card_img img {
    object-fit: unset;
    transition: all 0.5s;
    height: 100%;
}
.post-type-archive-webinar .card_wrapper .card_img {
    height: auto;
    overflow: hidden;
}
.cta-btn {
    text-align: center;
    margin: 20px 0;
}
.entry-content .gform-body ul li {
    list-style: none;
    margin-right: 0;
}
.entry-content .gform-body ul li:before{
    content:none;
}
.archive  .card_wrapper .card_img img{
    width:100%;
    
}

.register_webinar, .exists_video{
    border: 1px solid RGB(253, 216, 22);
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    background: RGB(253, 216, 22);
    color: black;
    text-align: center;
    display:inline-block;
}

.register_webinar:hover, .exists_video:hover{
    color: black !important;
    -webkit-box-shadow: 0 0 12px 5px rgba(237,201,19,0.37);
    -moz-box-shadow: 0 0 12px 5px rgba(237,201,19,0.37);
    box-shadow: 0 0 12px 5px rgba(237,201,19,0.37);
}

.webinar_button_wrapper{
    text-align: center;
    margin-bottom: 15px;
}

.not_exists_video{
    border: 1px solid #999999;
    padding: 5px 10px 5px 10px;
    border-radius: 5px;
    background: #f7f7cb;
    color: #4a4a4a;
    text-align: center;
    display: inline-block;
    cursor: not-allowed !important;
}
.download-pdf {
    background: #fed813;
    padding: 8px;
    border-radius: 8px;
    color: #373737;
}
/* .page-id-67387 .header-phone , .page-id-67387 .search-box , .page-id-67387 .search-box-mobile ,page-id-66908{
    display: none !important;
} */

.gform_footer a.button {
    padding: 8px 16px;
    display: inline-flex;
    border-radius: 5px;
    text-align: center !important;
    font-size: 16px;
    transition: all 0.7s;
    vertical-align: middle;
    background-color: #FED813;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    line-height: 30px;
    width: 190px !important;
    position: relative;
    background-image: url(images/arrow-left-dark.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    text-align: right !important;
    align-items: center;
    column-gap: 8px;
    height: 45px;
    margin-top: 32px;
}

.gform_footer a.button svg {
    max-width: 24px;
}

form#gform_46 .gform-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.gform_footer a.button:hover {
    background-color: #2FBEAA;
}
.brands-swiper .swiper-wrapper{
  transition-timing-function: linear !important; /* کلید اصلی */
}
.brands-swiper .swiper-wrapper .img-brand {
    display: flex;
    align-items: center;
    justify-content: center;
}
.brands-swiper .swiper-wrapper .img-brand img {
    transition: all 0.3s ease;
}

.brands-swiper .swiper-wrapper .img-brand a:hover img {
    filter: brightness(0) invert(1);
    scale: 1.1;
}

@media screen and (max-width: 992px){
.gform_footer a.button {
    font-size: 14px;
    width: 100% !important;
    background-position: 45px center;
    justify-content: center;
    margin-top: 4px;
}
.gform_footer a.button svg {
    max-width: 18px;
}
}

#home-customer-logo {
    box-shadow: unset !important;
}
.yn-logos-tabs { padding: 32px 0; background: #fff; }

.yn-tabs__nav {
    display: flex;
    justify-content: center;
    gap: 4px;
    background: #F4F5F7;
    border-radius: 999px;
    padding: 4px;
    width: fit-content;
    margin: 0 auto 10px;
}

.yn-tabs__btn {
    border: 0;
    background: transparent;
    color: #6B7280;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 28px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}

.yn-tabs__btn.is-active {
    background: #2B2F3A;
    color: #fff;
}

.yn-tabs__pane { display: none; }
.yn-tabs__pane.is-active { display: block; animation: ynFade .3s ease; }

@keyframes ynFade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

.yn-tabs__pane .section-title { display: none; }

@media (max-width: 576px) {
    .yn-tabs__btn { padding: 9px 18px; font-size: 14px; }
}

.yn-slider-wrap {
    position: relative;
    padding: 0 48px;
}

.yn-slider-wrap .swiper-container { overflow: hidden; }

.yn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: #f4f5f7;
    color: #4B5563;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all .2s ease;
    padding: 0;
}

.yn-nav:hover { background: #F9FAFB; color: #111; border-color: #D1D5DB; }

.yn-nav--prev { right: 0; }
.yn-nav--next { left: 0; }

.yn-nav.swiper-button-disabled { opacity: .35; cursor: default; }
.yn-nav svg { transform: scaleX(-1); }
@media (max-width: 576px) {
    .yn-slider-wrap { padding: 0 38px; }
    .yn-nav { width: 32px; height: 32px; }
}

section#home-target-ads {
    margin-top: 4rem;
}
#home-target-ads .target-ads-title { font-size: 36px; font-weight: 700; margin-bottom: 1rem; }
#home-target-ads .target-ads-description p { color: #323232; font-size: 18px; font-weight: 400; }
#home-target-ads .d-flex { align-items: stretch; }

.target-ads-card {
    position: relative;
    width: 30%;
    min-width: 260px;
    max-width: 340px;
    padding: 45px 20px 25px;
    margin-top: 30px;
    border: 1px solid #f5e3a3;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.06);
    transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.target-ads-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: #ffd600;
    clip-path: polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .3s ease;
}
.target-ads-icon img { max-width: 34px; max-height: 34px; }
.target-ads-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.target-ads-card-title a { color: inherit; text-decoration: none; }
.target-ads-divider {
    display: block;
    width: 40px;
    height: 2px;
    background: #ffd600;
    margin: 0 auto 15px;
    transition: background-color .3s ease;
}
.target-ads-card-desc,
.target-ads-card-desc p { font-size: 14px; font-weight: 400; line-height: 1.9; color: #323232; }

/* Hover */
.target-ads-card:hover {
    background: #ffd600;
    border-color: #ffd600;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.target-ads-card:hover .target-ads-icon,
.target-ads-card:hover .target-ads-divider { background: #fff; }

@media (max-width: 767px) {
    .target-ads-card { width: 100%; }
    #home-target-ads .target-ads-title { font-size: 26px; }
    #home-target-ads .target-ads-description p { font-size: 16px; }
}
.footer .mid-footer .footer-widget ul li a span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    background-color: #fed813;
    color: #000;
    border-radius: 999px;
    padding: 4px 8px;
    margin-inline-start: 6px;
    vertical-align: middle;
    position: relative;
    animation: hiring-ring 2s ease-out infinite;
}

/* نقطه‌ی چشمک‌زن */
.footer .mid-footer .footer-widget ul li a span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2fbeaa;
    flex-shrink: 0;
    animation: hiring-dot 1.2s ease-in-out infinite;
}

@keyframes hiring-ring {
    0%   { box-shadow: 0 0 0 0 rgba(254, 216, 19, .6); }
    70%  { box-shadow: 0 0 0 8px rgba(254, 216, 19, 0); }
    100% { box-shadow: 0 0 0 0 rgba(254, 216, 19, 0); }
}

@keyframes hiring-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .35; transform: scale(.7); }
}

@media (prefers-reduced-motion: reduce) {
    .footer .mid-footer .footer-widget ul li a span,
    .footer .mid-footer .footer-widget ul li a span::before {
        animation: none;
    }
}

@media (max-width:768px){
	.topbutton {
		height: 50px;
		width: 50px;
		left: 6px;
		bottom: 0px;
		background-size: 70%;
	}
	.testimonial-carousel .testimonial-slide .comment-text{
		height:170px !important;
	}
	.share-section {
    top: auto;
    width: 80%;
    display: inline-flex;
    bottom: 6px;
    right: 5% !important;
   }
   /* =========================================================
   منوی کشویی
   ========================================================= */
#mobile_menu {
    display: none;
    position: fixed;
    top: 64px;          /* با JS دقیق تنظیم می‌شود */
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
    background: #fff;
    padding: 0 0 40px;
}
#mobile_menu.open { display: block; }
body.yk-menu-open { overflow: hidden; }

#mobile_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#mobile_menu li { list-style: none; margin: 0; }
#mobile_menu li::before { display: none !important; }

#mobile_menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000;
    text-decoration: none;
}
#mobile_menu .mm-text {
    display: inline-flex;
    align-items: center;
    line-height: 1.6 !important;
}

/* سطح ۱ */
#mobile_menu .mobile-nav > li > a {
    padding: 14px 16px !important;
    font-size: 15px;
    font-weight: bold;
    border-bottom: 1px solid #e5e5e5;
}

/* سطح ۲: آیکون مربع سبزآبی */
#mobile_menu .mobile-nav > li > .sub-menu {
    display: none;
    padding: 6px 0 10px;
    border-bottom: 1px solid #e5e5e5;
}
#mobile_menu .mobile-nav > li.open > .sub-menu { display: block; }

#mobile_menu .mobile-nav > li > .sub-menu > li > a {
    padding: 10px 16px;
    margin-right: 16px;
    font-size: 15px;
    font-weight: bold;
}
#mobile_menu .mobile-nav > li > .sub-menu > li > a .mm-text::before {
    content: "";
    width: 18px;
    height: 18px;
    margin-left: 10px;
    border: 2px solid #2FBEAA;
    border-radius: 6px;
    flex-shrink: 0;
}

/* سطح ۳ و بعد: باکس خاکستری */
#mobile_menu .sub-menu .sub-menu {
    display: none;
    margin: 4px 44px 8px 16px;
    padding: 6px 0;
    background: #F5F5F9;
    border-radius: 8px;
}
#mobile_menu .sub-menu li.open > .sub-menu { display: block; }

#mobile_menu .sub-menu .sub-menu a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
#mobile_menu .sub-menu .sub-menu a .mm-text::before {
    content: "";
    width: 6px;
    height: 2px;
    margin-left: 8px;
    background: #2FBEAA;
    border-radius: 2px;
    flex-shrink: 0;
}
#mobile_menu .sub-menu .sub-menu .sub-menu {
    margin: 0 14px 4px 0;
    background: transparent;
}

/* فلش باز و بسته */
#mobile_menu .menu-item-has-children > a::after {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: 4px;
    border-left: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(-45deg) translateY(-2px);
    transition: transform .2s;
    flex-shrink: 0;
}
#mobile_menu .sub-menu .menu-item-has-children > a::after { border-color: #000; }
#mobile_menu .menu-item-has-children.open > a::after {
    transform: rotate(135deg) translateY(-2px);
}
#mobile_menu .sub-menu a:hover { color: #FFB113; }

/* تلفن پایین منو */
#mobile_menu .mobile-phone {
    display: block;
    margin: 24px 16px 0;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    background: #EFEFEF;
    color: #323232;
    direction: ltr;
}
.mobile_header .navbar-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    background: #333;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
#menu-item-58360 {
    width: auto !important;
}
}
.footer-container {
        max-width: 1400px;
        margin: 0 auto;
       padding-right: 15px;
        padding-left: 15px;
}
#q {
    color: #fff;
}
.fixed-header #q {
    color: #000;
}

.footer .brand-title {
    font-size: 21px;
    text-align: center;
    padding-top: 2rem;
    margin: 0;
    font-weight: bold;
}
.footer .brand-title span {
    font-size: 21px;
    font-weight: bold;
    color:#FED813;
}