@charset "UTF-8";


@font-face {
    font-family: "IRANSans";
    src: url("../fonts/IRANYekanXFaNum-Regular.woff2") format("woff2");

    font-style: normal;
}


@font-face {
    font-family: "Kalameh";
    src: url("../fonts/KalamehWebFaNum-Bold-2.woff2") format("woff2");

    font-style: normal;
}

@font-face {
    font-family: 'fontello';

    src: url("../fonts/fontello.woff2") format("woff2");

    font-style: normal;
}
@font-face {
    font-family: 'fontello2';

    src: url("../fonts/flaticongos.woff2") format("woff2");

    font-style: normal;
}
a.btn-more {
    box-shadow: 5px 5px #263150;
    padding: 1rem 3rem;
    background: #fdc77a;
    margin-top: 6rem;
    border-radius: 12px;
}

/************* defult css************/
/* root colors */
:root {
    --main: #ad7f2d;
    --secend: #404041;
    --text: #040D29;
    --text2: #7A7979;

}
.flaticon {
    display: inline-block;
    line-height: 0.65;
}

.animtitle span {
    background: linear-gradient(90deg, #ad7f2d 0 0) 0 / calc(var(--n, 80) * 1ch) no-repeat /* faded text */ #414040d9;
    -webkit-background-clip: text;
    color: transparent;
    animation: text .1s steps(var(--n, 100)) forwards;
    animation-timeline: scroll(root);
    font-family: 'Kalameh';
    line-height: 2;
}

@keyframes text { 0% { background-size: 0 } }

body {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 2;
    font-weight: 400;
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
    font-size: 0.86rem;
    font-family: IRANSans;
}
img.custom-logo {
    max-width: 50px;
}
i.demo-icon {
    font-family: 'fontello';
    font-style: normal;
    color: #404041;
    font-size: 1rem;
}
.backcall .demo-icon {
    color: #fed86a;
}
img.imgicon {
    width: 50px;
}
div#myTab {
    max-width: 100%;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px; 
}

.gform-theme--framework .gfield:where(.gfield--type-multiselect,.gfield--input-type-multiselect) .chosen-container-multi:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-search input[type=text]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-single:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper button.button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    border: 1px solid #efefef !important;
    border-radius: 12px !important;
    height: 45px !important;
}
.gform_button {
    background: linear-gradient(45deg, #b28738, #ffdbb2) !important;
    color: #111 !important;

}
.wrapfooter{
	background: #0b0b0c;
}
.socials ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.socials ul li {
    margin: 0 5px;
}

.socials ul li a {
    border: 1px solid #DCE1F2;
    border-radius: 50%;
    color: #f3f3f3;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    width: 35px;
    text-decoration: none;
    transition: all .2s linear;
	padding: 4px;
	
	
}
#main-menu a.nav-link {
	font-weight: bold;
}
#main-menu a.nav-link.active , #main-menu a.nav-link:hover {
    color: var(--main) !important;
    
}
.socials ul li a:hover {
    border-color: #ad7f2d;
  font-size:30px;
    box-shadow: 0 9px 12px -9px #ad7f2d;
	background: #efefef;
	padding: 2px;
	transition: 0.3s ease;
}

.socials ul li a:hover svg {
    filter: invert(1)
}
.addresses
 {
    padding: 0;
    list-style: none;
    display: flex;
    align-items: start;
    flex-direction: column;
}
span.page-numbers.current {
    background: #fdc67b;
    width: 30px;
    height: 30px;
    display: inline-flex
;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    margin: 0.3rem;
}
header.nav-home.sticky .bgmenu {
    border-radius: 0 0 3rem 3rem !important;
    transition: 0.3s ease;
	background: #fffffff5 !important;
	
}
header.nav-home.sticky .tophead {
    display: none;
}
.bgmenu {
	    box-shadow: inset 5px 3px 20px 15px #4140403d;
	    border-radius: 30px;
	background: #ffffffad !important;
}
nav.navigation.pagination {
    text-align: center;
    margin: auto;
    display: block;
}
a.page-numbers {
    background: #eee;
    width: 30px;
    height: 30px;
    display: inline-flex
;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    margin: 0.3rem;
}
.video-slider {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
}
.video-role {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 10, .35), rgba(8, 8, 10, .15) 35%, rgba(8, 8, 10, .72) 78%, rgba(8, 8, 10, .92)), linear-gradient(90deg, rgba(8, 8, 10, .55), rgba(8, 8, 10, .1) 55%, transparent);
    pointer-events: none;
}
.kin-hero-video__content {
    margin: 0 0 0 auto;
    text-align: right;
    direction: rtl;
}
.kin-hero-video__content {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100% - 2.5rem));
    margin: 0 auto 0 0;
    padding: clamp(5.5rem, 12vh, 8rem) clamp(1.25rem, 4vw, 4rem) clamp(2.5rem, 6vh, 4.5rem);
    color: #f5f2ea;
}
.wa-p-relative
Specificity: (0,1,0)
 {
    position: relative;
    z-index: 1;
}
.kin-hero-video {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: #0a0a0c;
}
.kin-hero-video__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: scale(1.04);
    animation: kin-hero-drift 28s ease-in-out infinite alternate;
}
.kin-hero-video__support
 {
    margin: 0 0 1.75rem;
    max-width: 38rem;
    font-family: Kalameh, Tahoma, sans-serif;
    font-size: clamp(.95rem, 1.5vw, 1.1rem);
    line-height: 1.85;
    color: rgba(245, 242, 234, .86);
    animation: kin-hero-rise .9s ease .22s both;
}
.kin-hero-video__support {
    margin-right: 0;
    margin-left: auto;
    direction: rtl;
    text-align: right;
    unicode-bidi: isolate;
}
.kin-hero-video__headline {
    margin: 0 0 1rem;
    font-size: clamp(1.15rem, 2.6vw, 1.75rem);
    font-weight: 400;
    line-height: 1.45;
	font-family: Kalameh, Tahoma, sans-serif;
    color: var(--kin-luxury, #ad7f2d);
    animation: kin-hero-rise .9s ease .12s both;
}
.kin-hero-video__brand {
    margin: 0 0 .75rem;
    font-family: Kalameh, Tahoma, sans-serif;
    font-size: clamp(2.4rem, 7vw, 4.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.02em;
    color: #fff;
    text-shadow: 0 8px 40px rgba(0, 0, 0, .45);
    animation: kin-hero-rise .9s ease both;
}
.kin-contact-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 0 0 clamp(3rem, 8vh, 5rem);
}
.kin-contact-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 11, 0.25) 0%, rgba(10, 10, 11, 0.72) 55%, rgba(10, 10, 11, 0.98) 100%), radial-gradient(ellipse 60% 50% at 80% 20%, rgba(192, 0, 0, 0.28), transparent 60%);
}
.kin-contact-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85) contrast(1.05);
}
.kin-contact-hero__media {
    position: absolute;
    inset: 0;
}
.kin-contact-hero__sub {
    max-width: 38rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
    font-size: 1.02rem;
}
.kin-contact-hero__title {
    font-size: clamp(1.2rem, 5vw, 2.25rem);
    font-weight: 900;
    margin: 0 0 0.85rem;
    color: #fff;
}
.kin-contact-eyebrow {
    color: #e6ae6f;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}
.kin-contact-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.85) contrast(1.05);
}
.kin-contact-hero {
    position: relative;
    min-height: min(62vh, 560px);
    display: grid;
    place-items: end stretch;
    overflow: hidden;
}
.button:hover {
	background: linear-gradient(145deg, #b28738, #ffdbb2) !important;
	transition: 0.3s ease;
}
div#myTabContent
 {
    overflow-y: auto;
    max-height: 420px;
    overflow-x: hidden;
}
.accordion-button:not(.collapsed)::after {
    filter: hue-rotate(165deg);
}
@media(min-width: 768px) {
    .img-1 {
        margin-bottom: -2rem;
        position: absolute;
        bottom: 0;
        left: -11px;
    }
    .button {
        display: inline-block;
        background: linear-gradient(45deg, #b28738, #ffdbb2) !important;
        padding: 0.6rem 2rem !important;
        color: #404041 !important;
        border-radius: 11px !important;
		transition: 0.3s ease;
    }
    .wrapservive {
        padding-top: 150px;
    }
	.info svg {
    margin-bottom: 30px;
    margin-left: 10px;
    /* filter: none; */
    }
    .infog {
        box-shadow: 0 7px 29px #64646f26;
        MARGIN-TOP: -10rem;
    }
    .img-2 {
        margin-bottom: -3rem;
    }
    .wraptestimonial , .wraplinks {
        background: #404041;
        border-radius: 150px 0 150px 0;
    }

}

@media (max-width: 768px) {
    .woocommerce-ordering , .woocommerce-result-count {
        float: none !important;
        margin: 1rem 0 !important;
    }
		.about-section .image-column .inner-column:before {
	display: none !important;
}
    .img-2 {
        margin-bottom: 0;
    }
    .button {
        display: inline-block;
        margin-top: 1em !important;
        background: background: linear-gradient(45deg, #b28738, #ffdbb2) !important;;
        padding: 0.5rem 2rem !important;
        color: #404041 !important;
        border-radius: 11px !important;
    }
    sticky-nav {
        top: 0 !important;
    }
}
p.lh-lg.mb-2.aos-animate {
    background: #e3c995;
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 37px;
    font-weight: bold;
}
header i.demo-icon.round {
    width: 30px;
    height: 30px;
    background: #ffffffa3;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.3rem;
    box-shadow: inset 2px 2px 5px 5px #4140403d;
   
    
}

h1, h2, h3, h4, h5, h6 {
    font-family: Kalameh;
}

a {
    color: unset;
    text-decoration: none;

}
.nav-home svg
 {
    background: #eee;
    border-radius: 20px;
    padding: 5px;
    width: 28px;
    height: 28px;
}
footer .boxphone {
    position: fixed !important;
    z-index: 4;
    bottom: -29px;
    right: auto !important;
    display: block;
    background: #fff;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    box-shadow: 0 7px 29px #64646F20;
    transform: translate(0, -50%);
    top: auto !important;
    background: #a8fbff;
}


img {
    height: auto;
    
}


.wrapfooter ul.menu {
    list-style: none;
    padding: 0;
}
.wrapfooter ul.menu li a {
    color: #ffffffdd;
    line-height: 2.8;
}
.map img {
    width: 100%;
}
.metacont .demo-icon {
    position: relative;
    font-size: 1.5rem;
}
.contform .gform_title {
    color: #fff;
}
.ctaform {
    box-shadow: 0 4px 20px #64646F22;
    width: 50%;
    margin: auto;
    margin-bottom: -4.5rem;
    z-index: 3;
    background: #fff;
    position: relative;
}
.metacont .demo-icon:after {
    content: "";
    width: 23px;
    height: 25px;
    position: absolute;
    right: -6px;
    top: 0;
    z-index: -1;
    background: linear-gradient(45deg, #ffd76b, #fcc37d);
    border-radius: 10px;
}
.nav-home {
    position: fixed;
    z-index: 5;
    width: 100%;
}
ul.socials {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: end;
    margin: 0;
}
.shiftbot {
    margin-top: 150px;
    margin-bottom: 100px;
    z-index: 0;
}
.custom-logo {
    max-width: 100%;
}
.wrapinf {
    margin-top: -130px;
}
.swiper-slider .swiper-slide:not(.swiper-slide-active) {
    transform: scale(1.25);
    transition: 0.3s ease;
}
.swiper-slider .swiper-slide.swiper-slide-active {
    transform: scale(1.65);
    transition: 0.3s ease;
    z-index: 22;
}
.swiper-slider .swiper-slide.swiper-slide-next , .swiper-slider .swiper-slide.swiper-slide-priv {
    z-index: 10;
    transform: scale(1.40) !important;
}
.swiper-slide.swiper-slide-visible.swiper-slide-prev ,
.swiper-slide.swiper-slide-visible.swiper-slide-next {
    transform: scale(1.10);
    transition: 0.3s ease;
}
ul.socials li {
    margin: 0.4rem;

}
/*.sticky-nav .tophead {*/
/*    display: none;*/
/*}*/
.f-small {
    font-size: 0.8rem;
}
.boxworks .iconser {
    margin-top: -25px !important;
}
.boxworks:hover .iconser {
    margin-top: -20px !important;
    transform: rotateY(360deg);
    transition: 0.7s ease;
}
.boxworks p {
    min-height: 65px;
    max-height: 110px;
}
.boxservice:hover .iconser {
    animation: shake 0.8s;
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}
.backcall {
    background: #404041;
    border-radius: 0 100px 10px 10px;
}

.iconser , .iconmore {
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg , #FFDB67 , #FCC17F);
    border-radius: 18px;
    display: inline-flex;
    margin-bottom: 1rem;
}
.btn-call {
    background: linear-gradient(45deg , #FFDB67 , #FCC17F);
    padding: 1rem 2rem;
    color: #404041;
    border-radius: 11px;
}
.boxinfs {
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(2 , 1fr);
}
.perserv {
    display: flex;
    align-items: center;
    padding: 0.6rem;
    box-shadow: 0 7px 29px #64646F22;
    border-radius: 20px;
}
.titlecall {
    color: #fff;
}
.titlecall span {
    color: #FCC17F;
}
.iconserv {
    width: 41px;
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.boxservice {
    box-shadow: 0 7px 25px #64646F20;
    border-radius: 20px;
    background: #fff !important;
}
.calc-Swiper .swiper-slide.swiper-slide-active .hovercalc {
    background: #FFDB67 !important;
}
.calc-Swiper .swiper-slide:not(.swiper-slide-active) .hovercalc {
    background: #FFDB67 !important;
}
.calc-Swiper .swiper-slide.swiper-slide-active .boxcalc {
    background: #404041;
}
.calc-Swiper .swiper-slide.swiper-slide-active .boxcalc h6 , .calc-Swiper .swiper-slide.swiper-slide-active .boxcalc p  {
    color: #fff;
}
.calc-Swiper .swiper-slide.swiper-slide-active .hoverbox {
    transform: rotate(-6deg);
    transition: 0.83s easee;
}
.support {
    border-top: 1px solid #40404122;
}

.hoverbox {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition: 0.53s ease;
    background: #263150;
    border-radius: 22px;
    z-index: -1 !important;
}
.boxservice:hover .hoverbox {
    transform: rotate(-4deg);
    transition: 0.83s easee;
}
/* voice-customer-section........................................... */

.voice-Swiper{
    padding: 1rem 10px 5rem 0.6rem;
    margin-bottom: 15px;
}
.voice-Swiper img {
    border-radius: 50%;
    background: #fff;
}
.voice-div{
    border-radius: 35px;
    margin-top: -2rem !important;
    box-shadow: -1px 4px 12px 0px #e0e0e033;
}

audio{
    padding: 4px 22px;
}
header.nav-home.sticky-nav {
    background: linear-gradient(180deg, #404041 50%, transparent 50%);
    z-index: 99;
}
.infog {
    box-shadow: 0 7px 29px #64646f26;
}
.boxcalc {
    border: 1px solid #404041;
    border-radius: 20px;
    background: #fff;
}
.calc-swiper .swiper-slide:not(.swiper-slide-active) .boxcalc {
    background: #fff !important;
}

.counters {
    margin-top: -4rem;
}
.boxcounter {
    background: #263150;
    border-radius: 25px;
    color: #fff;
    text-align: center;
}
.sticky-nav .boxbord {
    display: none;
    transition: 0.5s ease;
}
.sticky-nav .bgmenu {
    box-shadow: 0 4px 20px #64646F22;
	background: #ffffffad !important;
}
audio::-webkit-media-controls-play-button{
    color: #EF5E5B !important;

}


/*======================
    404 page
=======================*/


.page_404{ padding:40px 0; background:#fff;
}

.page_404  img{ width:100%;}

.four_zero_four_bg{
 
 background-image: url(https://cdn.dribbble.com/users/722246/screenshots/3066818/404-page.gif);
    height: 650px;
    background-position: center;
	background-repeat: no-repeat;
 }
 
 
 .four_zero_four_bg h1{
 font-size:80px;
 }
 
  .four_zero_four_bg h3{
			 font-size:80px;
			 }
			 
			 .link_404{			 
	color: #fff!important;
    padding: 10px 20px;
    background: #39ac31;
    margin: 20px 0;
    display: inline-block;}
	.contant_box_404{ margin-top:-50px;}
/* Subscribe Newsletter */
.newsletter{
    padding: 50px 10px 60px 10px !important;
    border-bottom: 1px solid #fff;
    margin-bottom: 50px;
    color: #fff;
}
.newsletter h1{
    font-weight: 600;
    font-size: 40px;
}
.newsletter p{
    font-size: 22px;
}
.newsletter form{
    margin-top: 20px;
}
.newsletter form input{
    width: 100%;
    padding: 18px;
    border: none;
}
.newsletter form input[type="email"]{
    border-radius: 10px 0px 0px 10px;
}
.newsletter form input[type="email"]:focus{
    border: none;
    outline: none;
}
.newsletter form input[type="submit"]{
    border-radius: 0px 10px 10px 0px;
    background-color: #E20001;
    color: #fff;
}
.newsletter form input[type="submit"]:hover{
    background-color: #c00000;
    color: #fff;
}
@media(max-width: 767px){
    .newsletter form input[type="email"]{
        border-radius: 10px;
    }
    .newsletter form input[type="submit"]{
        border-radius: 10px;
        margin-top: 5px;
    }
    .newsletter h1{
        font-size: 35px;
    }
    .newsletter p{
        font-size: 18px;
        font-weight:lighter !important;
    }
}
      h1,
        h2,
        h3,
        h4,
        h5,
        h6 {}
        a,
        a:hover,
        a:focus,
        a:active {
            text-decoration: none;
            outline: none;
        }
        
        a,
        a:active,
        a:focus {
            color: #333;
            text-decoration: none;
            transition-timing-function: ease-in-out;
            -ms-transition-timing-function: ease-in-out;
            -moz-transition-timing-function: ease-in-out;
            -webkit-transition-timing-function: ease-in-out;
            -o-transition-timing-function: ease-in-out;
            transition-duration: .2s;
            -ms-transition-duration: .2s;
            -moz-transition-duration: .2s;
            -webkit-transition-duration: .2s;
            -o-transition-duration: .2s;
        }
        
       .history-area ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }
        .history-area img {
    max-width: 100%;
    height: auto;
    margin-top: 10px;
	margin-bottom: 10px;
	border-radius: 1rem;
}
span, a, a:hover {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

/* ====== عنوان‌ها ====== */
        .section-title,
        .column-title {
            font-size: 36px;
            font-weight: 300;
            color: #414142;
            margin-bottom: 70px;
        }
        .section-title span,
        .column-title span {
            font-weight: 700;
        }
        .column-title {
            margin-bottom: 30px;
        }
        .title-bg-small {
            font-size: 14px;
            font-weight: 700;
            line-height: 24px;
            margin-bottom: 15px;
            color: #fff;
            background: #414142;
            display: inline-block;
            padding: 3px 18px;
            text-transform: uppercase;
        }
        .primary-bg {
            background: #ad7f2d;
			border-radius: 2rem;
        }

        /* ====== منطقه تاریخچه ====== */
        .history-area {
            padding: 100px 0;
            position: relative;
            min-height: 100vh;
        }
        #history-slid .history-content {
            background: #fff;
            padding: 35px 35px 35px 14px;
        }
        #history-slid .carousel-inner {
            margin-top: 45px;
        }
        #history-slid .carousel-item {
            background: #fff;
        }

        /* ====== نشانگرها (دکمه‌ها) مخصوص Bootstrap 5.3 ====== */
        #history-slid .carousel-indicators {
            position: relative;
            display: flex;
            justify-content: center;
            gap: 0;
            margin: 0 0 40px;
            padding: 0;
            list-style: none;
            z-index: 5;
            width: 100%;
			overflow-x: auto;
        }

        /* خط زیرین */
        #history-slid .carousel-indicators::before {
            content: "";
            width: 100%;
            height: 2px;
            position: absolute;
            left: 0;
		    top: -66%;
		    transform: translateY(-50%);
		    background-color: #ddd;
            z-index: -1;
        }

        /* هر دکمه - نسخه 5.3 */
        #history-slid .carousel-indicators button {
            display: inline-block;
            width: 70px;
            height: 35px;
            line-height: 35px;
            margin: 0 35px;
            padding: 0;
            text-indent: 0;
            cursor: pointer;
            color: #ad7f2d;
            background: transparent;
            border: none;
            border-radius: 0;
            font-weight: 700;
            font-family: 'Open Sans', sans-serif;
            font-size: 16px;
            position: relative;
            transition: all 0.2s ease;
            pointer-events: auto !important; /* مهم برای کلیک‌پذیری */
            z-index: 10;
        }

        /* دایره بالای هر دکمه */
        #history-slid .carousel-indicators button::before {
            position: absolute;
            top: -30px;
            left: 50%;
            transform: translateX(-50%);
            display: inline-block;
            width: 12px;
            height: 12px;
            content: "";
            border-radius: 50%;
            background: #404041 !important
        }

        /* حالت active */
        #history-slid .carousel-indicators button.active {
                color: #ad7f2d;
			    background: #fff;
			    box-shadow: 0px 20px 30px 0px rgba(0, 0, 0, 0.15);
			    line-height: 35px;
			    padding: 0px 10px;
			    border-radius: 20px;
        }
        #history-slid .carousel-indicators button.active::before {
            background: #ad7f2d;
        }
        #history-slid .carousel-indicators button.active::after {
            position: absolute;
            top: -34px;
            left: 50%;
            transform: translateX(-50%);
            display: inline-block;
            width: 20px;
            height: 20px;
            content: "";
            border-radius: 50%;
            border: 1px solid #ad7f2d;
            background: transparent;
        }

        /* نمایش صحیح آیتم‌ها */
        #history-slid .carousel-item-next,
        #history-slid .carousel-item-prev,
        #history-slid .carousel-item.active {
            display: flex;
        }

        /* ریسپانسیو */
        @media (max-width: 768px) {
            #history-slid .carousel-indicators button {
                width: 50px;
                margin: 0 15px;
                font-size: 14px;
            }
            #history-slid .carousel-indicators button::before {
                width: 8px;
                height: 8px;
                top: -25px;
            }
            #history-slid .carousel-indicators button.active::after {
                width: 14px;
                height: 14px;
                top: -28px;
            }
			#history-slid .history-content {
				padding: 5px !important;
			}
			#history-slid .carousel-indicators {
    margin: 0 0 0px !important;
    padding: 40px 6px !important; 
			}
			.tabs.text-center.mb-4 , .tabs.text-center
 {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: auto !important;
    white-space: nowrap;
    padding: 10px;
}
        }
.imgfront {
    filter: grayscale(1);
}
.imgfront:hover {
    filter: grayscale(0);
}
.about-section{
	position:relative;
	padding:100px 0px;
}

.about-section .content-column{
	position:relative;
	margin-bottom:40px;
}

.about-section .content-column .inner-column{
	position:relative;
	padding-top:30px;
	padding-right:40px;
}

.about-section .content-column .text{
	position:relative;
	color:#777777;
	font-size:15px;
	line-height:2em;
	margin-bottom:40px;
}

.about-section .content-column .email{
	position:relative;
	color:#252525;
	font-weight:700;
	margin-bottom:50px;
}

.about-section .image-column{
	position:relative;
	margin-bottom:50px;
}

.about-section .image-column .inner-column{
	position:relative;
	padding:40px 40px 0px 0px;
	margin-left:40px;
}

.about-section .image-column .inner-column:after{
	position:absolute;
	content:'';
	right:0px;
	top:0px;
	left:40px;
	bottom:100px;
	z-index:-1;
	border:2px solid #d7a449;
	border-radius: 4px;
}

.about-section .image-column .inner-column .image{
	position:relative;
}
.about-section .image-column .inner-column .image img {
	border-radius: 4px;
}
.about-section .image-column .inner-column .image:before{
	position:absolute;
	content:'';
	left:-50px;
	bottom:-50px;
	width:299px;
	height:299px;
	background:url(img/pattern-2.png) no-repeat;
}

.about-section .image-column .inner-column .image img{
	position:relative;
	width:100%;
	display:block;
}

.about-section .image-column .inner-column .image .overlay-box{
	position:absolute;
	left:40px;
	bottom:48px;
}

.about-section .image-column .inner-column .image .overlay-box .year-box{
	position:relative;
	color:#dddddd;
	font-size:24px;
	font-weight:700;
	line-height:1.4em;
	padding-right:125px;
}

.about-section .image-column .inner-column .image .overlay-box .year-box .number{
    position: absolute;
    right: 0px;
    top: 0px;
    width: 110px;
    height: 110px;
    color: #d7a449;
    font-size: 68px;
    font-weight: 700;
    line-height: 105px;
    text-align: center;
    background-color: #fffcfc;
    /* border: 1px solid #000000; */
    border-radius: 5px;
}
.about-section .btn-style-three:before {
    position: absolute;
    content: '';
    left: 10px;
    top: 10px;
    z-index: -1;
    right: -10px;
    bottom: -10px;
    background: url(https://i.ibb.co/DKn55Qz/pattern-1.jpg) repeat;
	border-radius: 4px;
}
.about-section .btn-style-three:hover {
    color: #ffffff;
    background: #d7a449;
}
.about-section .btn-style-three {
    position: relative;
    line-height: 24px;
    color: #252525;
    font-size: 15px;
    font-weight: 700;
    background: none;
    display: inline-block;
    padding: 11px 40px;
    background-color: #ffffff;
    text-transform: capitalize;
    border: 2px solid #d7a449;
	border-radius: 4px;
}
.sec-title2{
	color:#fff;
}
.sec-title {
    position: relative;
    padding-bottom: 10px;
}
.sec-title .title {
    position: relative;
    color: #d7a449;
    font-size: 18px;
    font-weight: 700;
    padding-right: 50px;
    margin-bottom: 45px;
    display: inline-block;
    text-transform: capitalize;
}
.sec-title .title:before {
    position: absolute;
    content: '';
    right: 0px;
    bottom: 7px;
    width: 40px;
    height: 1px;
    background-color: #404041;
}
.sd-contact-hero__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(201deg, rgb(10 10 11 / 0%) 0%, rgb(10 10 11 / 17%) 55%, rgb(14 14 16 / 65%) 100%), radial-gradient(ellipse 60% 50% at 80% 20%, rgb(192 0 0 / 0%), transparent 60%);
}

.count{
  font-size: 40px;
  font-weight: bold;
}
.counter-wrapper{
  position: relative;
}
.counter-wrapper:after{
  content: '';
  position: absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  background: rgba(0,0,0,.5);
}
.counter-inner{
  position:relative;
  z-index:2;
}
.count-icon{
  font-size: 48px;
}
.counter-icon-wrapper:before {
    content: "";
    width: 90px;
    height: 90px;
    background: #ad7f2d14;
    position: absolute;
    top: -1%;
    left: 36%;
    border-radius: 25px 50px 15px 65px;
    z-index: -7;
}
.gray {
    color: #404041;
    font-size: 1.025rem;
    font-weight: bold;
}
.count {
    font-size: 30px;
    font-weight: bold;
}

.contact {
    padding: 130px 0;
}

.contact .heading h2 {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    padding: 0;

}

.contact .heading h2 span {
    color: #ff9100;
}

.contact .heading p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: #404041;
    margin: 20px 0 60px;
    padding: 0;
}

.contact .form-control {
    padding: 25px;
    font-size: 13px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border: 0;
    border-radius: 10px;
}

.contact button.btn {
    padding: 10px;
    border-radius: 10px;
    font-size: 15px;
    background: #ff9100;
    color: #ffffff;
}

.contact .title h3 {
    font-size: 18px;
    font-weight: 600;
}

.contact .title p {
    font-size: 14px;
    font-weight: 400;
    color: #404041;
    line-height: 1.6;
    margin: 0 0 40px;
}

.contact .content .info {
    margin-top: 30px;
}
.contact .content .info i {
    font-size: 30px;
    padding: 0;
    margin: 0;
    color: #02434b;
    margin-right: 20px;
    text-align: center;
    width: 20px;
}
.contact .content .info h4 {
    font-size: 14px;
    line-height: 1.4;
}

.contact .content .info h4 span {
    font-size: 15px;
    font-weight: lighter;
    color: #7e7e7e;
    line-height: 2;
}
.sec-title{
  position:relative;
  z-index: 1;
  margin-bottom:10px;
}

.sec-title .title{
  position: relative;
  display: block;
  font-size: 18px;
  line-height: 24px;
  color: #ad7f2d;
  font-weight: 500;
  margin-bottom: 15px;
}

.sec-title h2{
  position: relative;
  display: block;
  font-size:40px;
  line-height: 1.28em;
  color: #222222;
  font-weight: 600;
  padding-bottom:18px;
}

.sec-title h2:before{
  position:absolute;
  content:'';
  left:0px;
  bottom:0px;
  width:50px;
  height:3px;
  background-color:#d1d2d6;
}

.sec-title .text{
  position: relative;
  font-size: 16px;
  line-height: 26px;
  color: #848484;
  font-weight: 400;
  margin-top: 35px;
}

.sec-title.light h2{
  color: #ffffff;
}

.sec-title.text-center h2:before{
  left:50%;
  margin-left: -25px;
}

.list-style-one{
  position:relative;
}

.list-style-one li{
  position:relative;
  font-size:16px;
  line-height:26px;
  color: #222222;
  font-weight:400;
  padding-left:35px;
  margin-bottom: 12px;
}

.list-style-one li:before {
    content: "\f058";
    position: absolute;
    left: 0;
    top: 0px;
    display: block;
    font-size: 18px;
    padding: 0px;
    color: #ad7f2d;
    font-weight: 600;
    -moz-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1.6;
    font-family: "Font Awesome 5 Free";
}

.list-style-one li a:hover{
  color: #44bce2;
}

.btn-style-one{
  position: relative;
  display: inline-block;
  font-size: 17px;
  line-height: 30px;
  color: #ffffff;
  padding: 10px 30px;
  font-weight: 600;
  overflow: hidden;
  letter-spacing: 0.02em;
  background-color: #ad7f2d;
}

.btn-style-one:hover{
  background-color: #001e57;
  color: #ffffff;
}
.about-section{
  position: relative;
  padding: 120px 0 70px;
}

.about-section .sec-title{
  margin-bottom: 25px;
}

.about-section .content-column{
  position: relative;
  margin-bottom: 50px;
}

.about-section .content-column .inner-column{
  position: relative;
  padding-left: 30px;
}

.about-section .text{
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 26px;
  color: #848484;
  font-weight: 400;
}

.about-section .list-style-one{
  margin-bottom: 45px;
}

.about-section .btn-box{
  position: relative;
}

.about-section .btn-box a{
  padding: 15px 50px;
}

.about-section .image-column{
  position: relative;
}

.about-section .image-column .text-layer{
    position: absolute;
    right: -110px;
    top: 50%;
    font-size: 325px;
    line-height: 1em;
    color: #ffffff;
    margin-top: -175px;
    font-weight: 500;
}

.about-section .image-column .inner-column{
  position: relative;
  padding-left: 120px;
  padding-bottom: 125px;
}

.about-section .image-column .inner-column:before{
  position: absolute;
  left: -75px;
  top: 65px;
  height: 520px;
  width: 520px;
  background-image:url(https://i.ibb.co/fxJ1jtC/about-circle-1.png);
  content: "";
}

.about-section .image-column .image-1{
  position: relative;
}

.about-section .image-column .image-2{
  position: absolute;
  left: 0;
  bottom: 0;
}

.about-section .image-column .image-2 img,
.about-section .image-column .image-1 img{
  box-shadow: inset 0 30px 50px rgba(8,13,62,.15);
  border-radius: 8px;
}

.about-section .image-column .video-link{
  position: absolute;
  left: 70px;
  top: 170px;
}

.about-section .image-column .video-link .link{
  position: relative;
  display: block;
  font-size: 22px;
  color: #191e34;
  font-weight: 400;
  text-align: center;
  height: 100px;
  width: 100px;
  line-height: 100px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 30px 50px rgba(8,13,62,.15);
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}
.wa-p-relative {
    position: relative;
    z-index: 1;
}
.nm-about-1-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 80px;
    align-self: start;
}
.nm-about-1-card-wrap .a1_card_trigger_elm:nth-child(2) {
    top: 190px;
}
.nm-about-1-card-wrap .a1_card_trigger_elm {
    position: sticky;
    top: 100px;
}
.nm-about-1-card {
    padding: 2rem 1rem;
    text-align: center;
    background: #f8f8f9;
    border-radius: 17px;
    border: 2px solid #d1d2d633;
	transition: 0.3s ease;
}
.nm-about-1-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 146, 78, 0.42);
    background: linear-gradient(180deg, rgb(247 247 249) 0%, rgb(209 210 214) 100%);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(200, 146, 78, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: 0.3s ease;
}
.nm-about-1-card {
    background: linear-gradient(
1deg, rgb(247 248 249) 0%, rgb(209 210 214) 100%);
    text-align: center;
    padding: 30px 40px;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    overflow: hidden;
transition: 0.3s ease;
}
.nm-about-1-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c8924e;
    transition: color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}
.nm-about-1-card .icon {
    display: block;
    text-align: center;
}
/* === استایل مدرن به همراه راست‌چینی کامل برای آکاردئون === */

/* کانتینر اصلی آکاردئون */
.accordion {
  width: 100%;
  /* max-width: 680px; */
  margin: 0 auto;
}

/* هر آیتم آکاردئون */
.accordion-item {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  margin-bottom: 12px !important;
}

.accordion-item:hover {
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: rgba(99, 102, 241, 0.2) !important;
  transform: translateY(-1px);
}

.accordion-item:has(.show) {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: rgb(203 173 117 / 32%) !important;
}

/* ---------- راست‌چینی دکمه سوال ---------- */
.accordion-button {
    direction: ltr;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 20px 22px !important;
    background: #bbbbbb0a !important;
    border: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #404041 !important;
    text-align: right !important;
    box-shadow: none !important;
    transition: padding 0.3s ease;
    gap: 14px;
}

.accordion-button:not(.collapsed) {
  background: transparent !important;
  color: #404041 !important;
  box-shadow: none !important;
  padding-bottom: 12px !important;
}

/* ---------- فلش (chevron) در سمت چپ ---------- */
.accordion-button::after {
  content: '';
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  /* حذف مارجین‌های پیش‌فرض و چسباندن فلش به سمت چپ */
  margin: 0 !important;
  margin-right: auto !important; /* فلش را به سمت چپ (سمت ابتدای متن در راست‌چین) می‌کشد */
  order: 0; /* اولین المان در ترتیب نمایش (در چپ‌ترین قسمت) */
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* ---------- آیکون (؟) در سمت راست ---------- */
.accordion-button::before {
  content: '؟';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ededed, #e9e9e9);
  color: #ad7f2d;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  /* حذف مارجین‌های پیش‌فرض و چسباندن آیکون به سمت راست */
  margin: 0 !important;
  margin-left: 0 !important; 
  margin-right: 0 !important;
  order: -1; /* آخرین المان در ترتیب نمایش (در راست‌ترین قسمت) */
}

.accordion-button:not(.collapsed)::before {
  background: linear-gradient(135deg, #eddada, #b3842f);
  color: #fff;
}

/* ---------- بدنه پاسخ (راست‌چین) ---------- */
.accordion-body {
  padding: 0 76px 22px 22px !important; /* فاصله‌ی 76px از راست برای هم‌راستا شدن با متن سوال */
  background: transparent !important;
  text-align: right !important;
}

.accbody {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.75;
  padding: 0 !important;
  background: transparent !important;
  text-align: right !important;
}

/* ---------- انیمیشن باز شدن ---------- */
.accordion-collapse {
  animation: slideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
a.main-button.fw-bold {
	    border-radius: 27px;
        padding: 5px;
        margin: 0;
	    border: 1px solid #eedbc3;
}
.tab-content>.active
 {
    display: block;
}
a.main-button.fw-bold.active {
    background: linear-gradient(45deg, #ad7f2d, #fff2e8);
    border-radius: 27px;
    padding: 5px;
    margin: 0;
	color: #fff;
}
.swiper-slide.swiper-slide-next img {
    transform: scale(1.077);
    transition: 0.3s ease;
}
.swiper-button-next {
    top: 23px !important;
    right: auto !important;
    left: 10px !important;
    width: 30px;
    height: 30px;
    background: #ad7f2de3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffff;
}
.swiper-button-prev {
    top: 23px !important;
    right: auto !important;
    left: 46px !important;
    width: 30px;
    height: 30px;
    background: #ad7f2de3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #ffff;
}
.swiper-navigation-icon, ::slotted(.swiper-navigation-icon) , .swiper-button-prev svg , .swiper-button-next svg {
	width: 11px;
	height: 11px;
}

/*start portfolio*/
.portfolio {
  padding: 80px 0;
  background: #f7f7f7;
}

.portfolio input[type="radio"] {
  display: none;
}

.portfolio .tabs label {
display: inline-block;
    color: #3f4244;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 18px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #ad7f2d00;
    border: 1px solid #ad7f2d45;
    cursor: default;
    color: #424243;
    border-radius: 7px;
    line-height: 1;
    margin: 3px;
}
.portfolio .content {
    margin-top: 2rem;
}

.portfolio input[type="radio"]:checked + label {
    border: 1px solid #ad7f2d75;
    cursor: default;
    /* background: var(--main) !important; */
    border-radius: 28px;
    line-height: 1;
    color: #fff !important;
    /* box-shadow: inset -1px -1px 1px 1px #78777742; */
    background: linear-gradient(45deg, #ad7f2d, #fff2e8);
}

.portfolio .portfolio-item {
  display: none;
}

.portfolio .content-item {
    margin-bottom: 29px;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    background: #eee;
    padding: 14px;
    box-shadow: inset 5px 3px 20px 15px #8b8b8b1f;
    border-radius: 43px;
}

.portfolio .content-item img {
  height: 190px;
  width: 100%;
  object-fit: contain;
  display: block;
}

.portfolio .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    padding-top: 10%;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    background: #ad7f2da3;
    transition: top .5s linear;
    border-radius: 30px 30px 0;
    box-shadow: inset 5px 3px 20px 15px #6464643b;
	display: flex;
	align-items: center;
	justify-content: center;
}

.portfolio .portfolio-item:hover .overlay {
  top: 0;
}

.portfolio .overlay h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.portfolio .overlay p {
  color: rgba(255, 255, 255, .6);
  margin: 20px 40px;
  letter-spacing: 1px;
  line-height: 1.5em;
}

@keyframes animateTabe {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
.primbtn
 {
    background: var(--main);
    border-radius: 7px 7px 0 7px;
}
article.card.h-100.border-0.shadow-sm.blog-card {
    border-radius: 2rem 2rem 1.781rem 1.781rem;
}
.card-body .btn-outline-primary {
    --bs-btn-color
: #be9735;
    --bs-btn-border-color: #ad7f2d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ad7f2d;
    --bs-btn-hover-border-color: #b28738;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ad7f2d;
    --bs-btn-active-border-color: #d7a449;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ad7f2d;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #d7a449;
    --bs-gradient: none;
    border-radius: 6px 5px 5px 16px !important;
}
nav.rank-math-breadcrumb {
    filter: invert(1);
}
.swiper-logos .swiper-slide , .swiper-logos2 .swiper-slide  {
    background: #f7f7f7;
    border-radius: 20px;
    border: 1px solid #efefef;
}
label[for="comment"] {
    display: block;
}
textarea#comment
 {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
}
p.comment-form-url {
    display: none;
}
textarea#comment
 {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 8px;
}
input#author, input#email {
    border: 1px solid #eee;
    border-radius: 5px;
    width: 98%;
}
p.comment-form-author, p.comment-form-email {
    width: 49%;
    display: inline-block;
}
/* =========================================
   Single Post
   ========================================= */
.single-post-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 60px;
}

/* =========================================
   ستون دوم: عکس + عنوان + اطلاعات
   ========================================= */
.post-sidebar {
  position: sticky;
  top: 100px;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}


/* عنوان کوتاه */
.single-post-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.75;
  color: #0f172a;
  margin: 0 0 16px;
  letter-spacing: -0.2px;
}

/* دسته‌بندی */
.post-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.post-cat-badge {
display: inline-block;
    background: linear-gradient(285deg, #ae872c, #e1bf6f);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: .575rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
    border-radius: 20px;
}
input#submit {
    background: linear-gradient(45deg, #e7b43c, #ae872c9e);
    border: 0;
    padding: 0.3rem 0.85rem;
    border-radius: 25px;
    color: #fff;
    border: 1pxf solid var(--main);
}
.post-cat-badge:hover {
    background: #9b751d;
    color: #fff;
}

/* لیست اطلاعات */
.post-meta-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  transition: background .2s ease;
}

.meta-row:hover {
  background: #f8fafc;
}

.meta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #e7d8bb75;
  color: #ad7f2d;
  flex-shrink: 0;
}

.meta-label {
  font-size: .78rem;
  color: #94a3b8;
  font-weight: 500;
  min-width: 68px;
}

.meta-value {
  font-size: .85rem;
  color: #1e293b;
  font-weight: 700;
  text-decoration: none;
  margin-right: auto;
  text-align: left;
}

a.meta-value:hover {
  color: #0284c7;
}

/* =========================================
   ستون اول: محتوا
   ========================================= */
.post-content {
  font-size: 1.05rem;
  line-height: 2;
  color: #334155;
}

.post-content > *:first-child {
  margin-top: 0;
}

.post-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin: 2.5rem 0 1rem;
  padding-right: 14px;
  position: relative;
}

.post-content h2::before {
  content: '';
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: linear-gradient(180deg, #0ea5e9, #06b6d4);
  border-radius: 4px;
}

.post-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 .8rem;
}

.post-content p {
  margin-bottom: 1.4rem;
}

.post-content a {
  color: #0284c7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.post-content blockquote {
  border-right: 4px solid #0ea5e9;
  background: #f0f9ff;
  padding: 16px 20px;
  margin: 1.5rem 0;
  border-radius: 10px;
  color: #0f172a;
  font-style: italic;
}

.post-content ul,
.post-content ol {
  padding-right: 22px;
  margin-bottom: 1.4rem;
}

.post-content li {
  margin-bottom: .5rem;
}

/* =========================================
   برچسب‌ها
   ========================================= */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #eef0f3;
}

.tags-label {
  font-weight: 700;
  color: #0f172a;
  font-size: .9rem;
}

.post-tag {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .78rem;
  text-decoration: none;
  transition: all .25s ease;
}

.post-tag:hover {
  background: #0ea5e9;
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================
   باکس نویسنده
   ========================================= */
.author-box {
    background: linear-gradient(135deg, #f8fafc, #d5b16f);
    border: 1px solid #d2b98d;
    border-radius: 16px;
    padding: 24px;
}

.author-box-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.author-box-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, .15);
  flex-shrink: 0;
}

.author-box-info {
  flex: 1;
}

.author-box-label {
  display: inline-block;
  font-size: .72rem;
  color: #0284c7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.author-box-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #0f172a;
}

.author-box-name a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.author-box-name a:hover {
  color: #0284c7;
}

.author-box-bio {
  font-size: .88rem;
  color: #64748b;
  line-height: 1.8;
  margin: 0;
}

/* =========================================
   دیدگاه‌ها
   ========================================= */
.post-comments {
  padding-top: 24px;
  border-top: 1px solid #eef0f3;
}

/* =========================================
   ریسپانسیو
   ========================================= */
@media (max-width: 991px) {
  .post-sidebar {
    position: static;
    top: auto;
    margin-bottom: 30px;
  }
	.tabs.text-center.mb-5 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
}
  .col-md-4.col-lg-4.col-12.mb-4:nth-child(2) {
    top: 190px;
}
  .col-md-4.col-lg-4.col-12.mb-4:nth-child(3) {
    top: 250px;
}	
 .col-md-4.col-lg-4.col-12.mb-4 {
    position: sticky;
    top: 100px;
}
  .single-thumb-wrap {
    aspect-ratio: 16 / 9;
  }

  .single-post-title {
    font-size: 1.3rem;
  }

  .post-meta-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .meta-row {
    flex: 1 1 calc(50% - 4px);
    min-width: 140px;
    background: #f8fafc;
  }

  .meta-label {
    min-width: auto;
  }
}

@media (max-width: 575px) {
  .single-post-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .post-sidebar {
    padding: 18px;
    border-radius: 16px;
  }

  .meta-row {
    flex: 1 1 100%;
  }

  .author-box-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.flip-card {
  perspective: 1000px;
  min-height: 280px; /* Set a minimum height for the flip card */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	border-radius: 23px;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  top: 0; /* Set the top and left properties to ensure */
  left: 0; /* the front and back cards are overlaid on each other */
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}
.flip-card-front,
.flip-card-back {
  /* ... existing styles ... */
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: transparent;
  min-height: 280px;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1; /* Ensure the front card stays on top initially */
}
h5.flip-card-title {
    font-size: 1.1rem;
    line-height: 2;
}
.flip-card-front img {
  object-fit: cover; /* This will ensure the image covers the entire container */
  width: 100%;
  height: 100%;
  min-height: 280px;
	border-radius: 0.81rem;
}
.flip-card-back {
  /* ... existing styles ... */
  transform: rotateY(-180deg);
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-text {
    position: absolute;
    color: white;
    background-color: rgb(196 149 55 / 62%);
    padding: 10px;
    border-radius: 27px 27px 0 0;
    bottom: 0;
    width: 95%;
}

.flip-card-back {
  box-sizing: border-box; /* make padding included in the height */
  background: linear-gradient(45deg, #bf9d60, #bf9d6070);
  color: #404041;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
	padding: 1rem;
}
span.flip-card-cat {
    background: var(--main);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    color: #fff;
}
.flip-card-back .content-container {
  padding: 15px;
  height: 100%;
  overflow-y: auto;
}
.section-services {
	padding-top: 110px;
	padding-bottom: 120px;
	font-family: "Poppins", sans-serif;
	background-color: #211f24;
	color: #fff;
}

.section-services .header-section {
	margin-bottom: 35px;
}

.section-services .header-section .title {
	position: relative;
	margin-bottom: 40px;
	padding-bottom: 25px;
	text-transform: uppercase;
	font-weight: 700;
}

.section-services .header-section .title:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 140px;
	height: 1px;
	background-color: ##eee;
}

.section-services .header-section .title:after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 50%;
	transform: translateX(-50%);
	width: 45px;
	height: 3px;
	background-color: ##eee;
}

.section-services .header-section .title span {
	color: ##eee;
}

.section-services .header-section .description {
	color: #404041;
}

.section-services .single-service {
	margin-top: 40px;
	background-color: #fcfcfc;
	box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
}

.section-services .single-service .part-1 {
	padding: 40px 40px 25px;
	border-bottom: 2px solid #ad7f2d;
}

.section-services .single-service .part-1 i {
	margin-bottom: 25px;
	font-size: 50px;
	color: ##eee;
}

.section-services .single-service .part-1 .title {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.8em;
}

.section-services .single-service .part-2 {
	padding: 30px 40px 40px;
}

.section-services .single-service .part-2 .description {
	margin-bottom: 22px;
	color: #6f6f71;
	font-size: 14px;
	line-height: 1.8em;
}

.section-services .single-service .part-2 a {
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}

.section-services .single-service .part-2 a i {
	margin-right: 10px;
	color: ##eee;
}
/* کانتینر اصلی */
.cta-box {
    background: #D9D9D9;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.cta-box:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* عنوان */
.cta-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a252f;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    display: inline-block;
    line-height: 1.4;
}


.cta-text p:last-child {
    margin-bottom: 0;
}

/* بخش دکمه */
.cta-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cta-button {
    display: inline-block;
    background: #999;
    color: #ffffff !important;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 3px 10px #aaa;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: #aaa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #aaa;
    color: #ffffff !important;
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
}

/* واکنش‌گرا برای موبایل */
@media (max-width: 768px) {
    .cta-box {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .cta-text {
        font-size: 0.95rem;
        text-align: right;
        margin-bottom: 20px;
    }

    .cta-button {
        width: 100%;
        padding: 12px 24px;
    }
}
.step-card {
	background: #EAEAEA;
}
.iconradio {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D9D9D9;
}
.about {
	background: #D9D9D9;
}
.wrapdep {
	background: #efefef;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #1d2327 !important;
    background-color: #d9d9d9 !important;
}
.nav-boxc {
	color: #333 !important;
    border-radius: 1rem !important;
    background: #D9D9D9;
}
div#mainTabsContent
 {
    background: #D9D9D9;
    padding: 1rem 2rem 3rem 2rem;
    border-radius: 1rem;
    height: 100%;
}
div#mainTabsContent .nav-link:not(.active) {
    color: #343434 !important;
    background: #efefef !important;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #ffffff !important;
    background-color: #1d2327 !important;
	    border-color: #b78831 !important;
}
.nav-pills .nav-link.active {
    background: #5c5c5c !important;
    color: #fff !important;

}
/* ===== کانتینر اصلی گرید ===== */
.cated {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 150px; /* ارتفاع پایه هر ردیف */
    gap: 1.3rem;
    grid-auto-flow: dense; /* پر کردن فضاهای خالی */
    transition: 0.3s ease;
}

/* ===== آیتم‌های گرید ===== */
.catitem {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: 0.3s ease;
}

/* ===== لینک و تصاویر ===== */
.catimages {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.catimages div {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    transition: transform 0.3s ease, scale 0.3s ease;
}

.catimages img.moo

 {
    position: absolute;
    inset: 0;
    width: 40% !important;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, scale 0.3s ease;
    right: 5rem;
}
.catimages:hover img.moo
 {
    animation: mymove 800ms infinite linear;
    cursor: pointer;
}
@keyframe mymove {
0%, 100% {
    transform: rotate(0deg);
}
25% {
    transform: rotate(15deg);
}
50% {
    transform: rotate(-15deg);
}
75% {
    transform: rotate(5deg);
}
85% {
    transform: rotate(-5deg);
}
}
/* ===== افکت هاور ===== */
.catitem:hover .catimages div,
.catitem:hover .catimages img.moo {
    transform: scale(1.05) rotate(2deg);
}

/* ===== عنوان ===== */
.titlecaty {
    position: absolute;
    z-index: 2;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    white-space: nowrap;
}

/* ===== گرید نامنظم (Spanها) ===== */
.cat1 { grid-column: span 6; grid-row: span 2; } /* بزرگ عمودی */
.cat2 { grid-column: span 6; grid-row: span 2; } /* بزرگ افقی */
.cat3 { grid-column: span 4; grid-row: span 2; } /* متوسط */
.cat4 { grid-column: span 4; grid-row: span 2; } /* بلند */
.cat5 { grid-column: span 4; grid-row: span 2; } /* متوسط */
.cat6 { grid-column: span 6; grid-row: span 2; } /* بزرگ افقی */
.cat7 { grid-column: span 6; grid-row: span 2; } /* بزرگ افقی */

/* ===== ریسپانسیو ===== */
@media (min-width: 1301px) {
    .cated {
        grid-auto-rows: 150px; /* 2 ردیف = 300px + gap */
    }
}

@media (max-width: 1024px) {
    .cated {
        grid-template-columns: repeat(6, 1fr);
    }
    .cat1, .cat2, .cat6, .cat7 { grid-column: span 6; }
    .cat3, .cat4, .cat5 { grid-column: span 3; }
    .cat1, .cat4 { grid-row: span 2; }
}

@media (max-width: 768px) {
    .cated {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .cat1, .cat2, .cat3, .cat4, .cat5, .cat6, .cat7 {
        grid-column: auto;
        grid-row: auto;
    }
}
.single-portfolio-header {
  padding: 60px 0 30px;
  text-align: center;
  background: #fafafa;
}

.single-portfolio-cat {
  display: inline-block;
  background: linear-gradient(135deg, #c29336, #a87d2e);
  color: #fff;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 18px;
  transition: transform .3s ease;
}
.single-portfolio-cat:hover {
  color: #fff;
  transform: translateY(-2px);
}

.single-portfolio-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #404041;
  margin: 0 auto;
  line-height: 1.5;
  max-width: 800px;
}

.single-portfolio-hero {
  padding: 30px 0;
  background: #fafafa;
}

.hero-image-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}

.single-portfolio-img {
  width: 100%;
  height: auto;
  display: block;
}

.single-portfolio-content { padding: 40px 0; }

.content-inner {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 2;
  color: #555;
}
.content-inner p { margin-bottom: 1.2em; }
.content-inner h2,
.content-inner h3 {
  color: #404041;
  margin-top: 1.8em;
  margin-bottom: .8em;
}
.content-inner img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.single-portfolio-meta {
  padding: 30px 0;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.meta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  gap: 8px;
  font-size: .95rem;
  color: #666;
}
.meta-label { font-weight: 600; color: #404041; }

.meta-actions { text-align: center; }

.btn-back {
  display: inline-block;
  padding: 12px 32px;
  background: transparent;
  border: 2px solid #c29336;
  color: #c29336;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all .3s ease;
}
.btn-back:hover {
  background: #c29336;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(194,147,54,.3);
}

/* ═══ بخش نمونه‌کارهای مرتبط ═══ */
.related-portfolio {
  background: #fff;
  padding: 70px 0 80px;
}

.related-header {
  text-align: center;
  margin-bottom: 50px;
}

.related-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #404041;
  margin: 0 0 8px;
}

.related-subtitle {
  font-size: .9rem;
  color: #999;
  margin: 0 0 15px;
}

.related-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #c29336, #a87d2e);
  margin: 0 auto;
  border-radius: 3px;
}

/* کارت‌ها — بدون حرکت کارت */
.related-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-card {
  /* هیچ ترنزیشن یا ترنسفورم روی کل کارت اعمال نمی‌شود */
}

.related-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
  transition: box-shadow .35s ease;
  will-change: box-shadow;
  transform: translateZ(0);
}

.related-card:hover .related-card-img-wrap {
  box-shadow: 0 20px 45px rgba(194,147,54,.25);
}

.related-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .5s cubic-bezier(.25,.8,.25,1);
  will-change: transform;
  backface-visibility: hidden;
}

.related-card:hover .related-card-img {
  transform: scale(1.08);
}

.related-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(194,147,54,.85), rgba(168,125,46,.85));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.related-card:hover .related-card-overlay {
  opacity: 1;
}

.related-card-plus {
  color: #fff;
  font-size: 3rem;
  font-weight: 200;
  line-height: 1;
  transform: scale(.5);
  transition: transform .4s cubic-bezier(.25,.8,.25,1);
}

.related-card:hover .related-card-plus {
  transform: scale(1);
}

.related-card-title {
  margin: 15px 0 0;
  font-size: .95rem;
  font-weight: 700;
  color: #404041;
  text-align: center;
  line-height: 1.6;
  transition: color .3s ease;
}

.related-card:hover .related-card-title {
  color: #c29336;
}

/* ═══ ریسپانسیو ═══ */
@media (max-width: 768px) {
  .single-portfolio-header { padding: 40px 0 20px; }
  .single-portfolio-title { font-size: 1.5rem; }
  .single-portfolio-hero { padding: 20px 0; }
  .hero-image-wrap { border-radius: 12px; }
  .related-portfolio { padding: 50px 0 60px; }
  .related-title { font-size: 1.3rem; }
  .meta-inner { flex-direction: column; gap: 10px; text-align: center; }
}
:root {
  --process-primary: #003c71;
  --process-secondary: #ffffff;
  --process-muted: #8c8c8c;
  --process-hover-bg: #f2f2f2;
}

/* ---------- Process Block ---------- */
.process {
  width: 100%;
  padding: 0 15px;
  text-align: center;
  list-style: none;
  margin: 0;
}

.process__item {
  user-select: none;
  text-align: center;
  position: relative;
  padding: 15px 32px;
  transition: 0.4s ease-in-out;
}

.process__item:hover {
  background: var(--process-hover-bg);
}

.process__item:hover .process__number {
  transform: translateY(5px);
  color: var(--process-primary);
  -webkit-text-stroke-color: var(--process-primary);
}

.process__number {
  font-size: 90px;
  -webkit-text-stroke: 1px var(--process-primary);
  display: block;
  color: transparent;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  transition: 0.4s ease-in-out;
  line-height: 1;
}

.process__title {
  display: block;
  font-weight: 700;
  font-size: 17px;
  color: var(--process-primary);
  margin-top: 20px;
}

.process__subtitle {
  display: block;
  font-family: "Josefin Slab", serif;
  font-size: 20px;
  color: var(--process-muted);
  margin-top: 30px;
  line-height: 1.5;
}

/* ---------- Responsive (Tablet ≥768px) ---------- */
@media (min-width: 768px) {
  .process {
    display: inline-block;
    width: 100%;
  }
  .process__item {
    width: 49%;
    display: inline-block;
    vertical-align: top;
  }
}

/* ---------- Responsive (Desktop ≥1200px) ---------- */
@media (min-width: 1200px) {
  .process {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .process__item {
    flex: 1 1 0;
    width: auto;
  }
  .process__item:not(:last-of-type)::after {
    content: "";
    width: 1px;
    height: 75%;
    background: var(--process-muted);
    position: absolute;
    inset-inline-end: 0;      /* RTL/LTR safe */
    top: 50%;
    opacity: 0.2;
    transform: translateY(-50%);
  }
}
/* ══════════════════════════════════════════
   Timeline Layout
   ══════════════════════════════════════════ */

.timeline-section {
  padding: 40px 0;
  background: #fff;
}

.timeline-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── هدر ─── */
.timeline-header {
  text-align: center;
  margin-bottom: 50px;
}

.timeline-header h2 {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px;
  line-height: 1.3;
}

.timeline-header p {
  font-size: 17px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── کانتینر تایم‌لاین ─── */
.timeline {
  position: relative;
  margin: 40px 0;
}

.timeline-line {
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(45deg, transparent, #b2832f, transparent);
  transform: translateX(-50%);
  z-index: 0;
}

/* ─── آیتم تایم‌لاین (موبایل) ─── */
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
}

.timeline-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #d6bd8f;
    border: 1px solid #d7bf94;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: #ffffff;
    z-index: 2;
    flex-shrink: 0;
    position: relative;
}

.timeline-content {
  margin-right: 20px;
  margin-top: -40px;
  padding-top: 10px;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px;
}

.timeline-content p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 15px;
}

.timeline-image {
  width: calc(100% - 60px);
  height: 180px;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 60px;
  margin-top: 20px;
  flex-shrink: 0;
  overflow: hidden;
}

.timeline-image img,
.timeline-image svg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ─── دسکتاپ ─── */
@media (min-width: 769px) {
  .timeline-section {
    padding: 60px 0;
  }

  .timeline-header {
    margin-bottom: 60px;
  }

  .timeline-header h2 {
    font-size: 36px;
  }

  .timeline-header p {
    font-size: 18px;
  }

  .timeline {
    margin: 60px 0;
  }

  .timeline-line {
    right: 40px;
    transform: translateX(-50%);
  }

  .timeline-item {
    flex-direction: row;
    margin-bottom: 80px;
    align-items: flex-start;
  }

  .timeline-number {
    width: 40px;
    height: 40px;
    margin-right: 40px;
    transform: translateX(20px);
  }

  .timeline-content {
    flex: 1;
    margin-left: 0;
    margin-top: 0;
    padding-top: 0;
  }

  .timeline-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .timeline-content p {
    font-size: 16px;
    max-width: 500px;
    margin-bottom: 20px;
  }

  .timeline-image {
    width: 300px;
    height: 200px;
    margin-left: 40px;
    margin-top: 0;
  }

  .timeline-image img,
  .timeline-image svg {
    width: 120px;
    height: 120px;
  }
}
/* ===== کانتینر اصلی ===== */
.gtl-stage {
  margin: 0 auto;
  padding: 5rem 1.5rem 7rem;
  font-family: inherit;
}

/* ===== بخش مقدماتی ===== */
.gtl-intro {
  text-align: center;
  margin: 0 auto 4.5rem;
}
.gtl-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #d4af37; /* طلایی */
  margin-bottom: 1rem;
}
.gtl-intro h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
}
.gtl-lede {
  color: #64748b;
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ===== تایم‌لاین ===== */
.gtl-timeline {
  position: relative;
  padding: 1rem 0;
  margin: 0;
}

/* ===== خط مرکزی ===== */
.gtl-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #e2e8f0;
  transform: translateX(-50%);
  z-index: 0;
}

.gtl-timeline::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #d4af37, #b8952e); /* طلایی */
  transform-origin: top center;
  transform: translateX(-50%) scaleY(var(--gtl-progress, 0));
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.5); /* طلایی با شفافیت */
  z-index: 1;
  transition: transform 0.1s ease;
}
.post-item .image-cover {
    padding-top: 66% !important;
}
/* ===== هر آیتم ===== */
.gtl-item {
  position: relative;
  width: 50%;
  padding: 0;
  margin: 0 0 0.25rem 0;
  opacity: 0;
  transform: translateY(28px);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s;
  z-index: 2;
  box-sizing: border-box;
  min-height: 80px;
  list-style: none;
}

.gtl-item.gtl-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* ===== آیتم‌های سمت راست خط (در RTL یعنی سمت چپ) ===== */
.gtl-item[data-side="right"] {
  left: -50%;
  padding-right: 3.5rem;
  text-align: right;
}

/* ===== آیتم‌های سمت چپ خط (در RTL یعنی سمت راست) ===== */
.gtl-item[data-side="left"] {
  left: 0;
  padding-left: 3.5rem;
  text-align: left;
	
}

/* ===== گره (نقطه روی خط) ===== */
.gtl-node {
  position: absolute;
  top: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 3px solid #e2e8f0;
  border-radius: 50%;
  z-index: 3;
  transform: scale(0.4);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.5s,
              box-shadow 0.5s,
              background 0.5s;
}

.gtl-item.gtl-reveal .gtl-node {
  transform: scale(1);
  border-color: #d4af37; /* طلایی */
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.15); /* طلایی با شفافیت */
}

/* گره برای آیتم‌های سمت راست */
.gtl-item[data-side="right"] .gtl-node {
  right: -22px;
  left: auto;
}

/* گره برای آیتم‌های سمت چپ */
.gtl-item[data-side="left"] .gtl-node {
  right: auto;
  left: -22px;
}

.gtl-icon {
  color: #d4af37; /* طلایی */
  font-size: 1.1rem;
  line-height: 1;
  font-weight: bold;
}

/* ===== کارت محتوا ===== */
.gtl-card {
  display: inline-block;
background: #404041;
    border: 1px solid #404041;
  border-radius: 16px;
  padding: 1.5rem 1.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.gtl-item[data-side="right"] .gtl-card {
  text-align: right;
}

.gtl-item[data-side="left"] .gtl-card {
  text-align: right;
}

.gtl-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.gtl-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4af37; /* طلایی */
  background: rgba(212, 175, 55, 0.1); /* طلایی با شفافیت کم */
  border: 1px solid rgba(212, 175, 55, 0.25); /* طلایی با شفافیت */
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.gtl-card h2   {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #e7e7e7;
	line-height: 2;
}
.gtl-card a {
	 color: #e7e7e7 !important;
}
.gtl-card p {
  color: #999;
  margin: 0.4rem 0 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ===== واکنش‌گرایی موبایل ===== */
@media (max-width: 640px) {
  .gtl-stage {
    padding: 3rem 1rem 4rem;
  }

  .gtl-timeline::before,
  .gtl-timeline::after {
    left: 20px !important;
    transform: translateX(0) !important;
  }

  .gtl-item,
  .gtl-item[data-side="right"],
  .gtl-item[data-side="left"] {
    width: 100% !important;
    left: 0 !important;
    padding: 0 0 0 3.8rem !important;
    text-align: left !important;
    min-height: 60px;
		list-style: none;
  }

  .gtl-item[data-side="right"] .gtl-card,
  .gtl-item[data-side="left"] .gtl-card {
    text-align: left !important;
  }

  .gtl-item[data-side="right"] .gtl-node,
  .gtl-item[data-side="left"] .gtl-node {
    right: auto !important;
    left: -2px !important;
    width: 40px;
    height: 40px;
    top: 0;
  }

  .gtl-card {
    max-width: 100%;
    padding: 1rem 1.2rem;
  }
}

/* ===== در صورت عدم تمایل کاربر به انیمیشن ===== */
@media (prefers-reduced-motion: reduce) {
  .gtl-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .gtl-node {
    transform: scale(1) !important;
    transition: none !important;
  }
  .gtl-timeline::after {
    transition: none !important;
  }
}
/* ===== گره (نقطه روی خط) با شماره ===== */
.gtl-node {
  position: absolute;
  top: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 3px solid #e2e8f0;
  border-radius: 50%;
  z-index: 3;
  transform: scale(0.4);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              border-color 0.5s,
              box-shadow 0.5s,
              background 0.5s;
}

.gtl-item.gtl-reveal .gtl-node {
  transform: scale(1);
  border-color: #d4af37;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.15);
}

/* ===== استایل شماره داخل گره ===== */
.gtl-number {
  color: #d4af37;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  font-family: inherit;
}
/* ===== کارت ===== */
.gtl-card {
  transition: box-shadow 0.4s ease,
              transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: perspective(600px) rotateY(0deg) translateZ(0);
}

.gtl-item[data-side="right"] .gtl-card {
  transform: perspective(600px) rotateY(15deg) translateZ(-20px);
}
.gtl-item[data-side="right"].gtl-reveal .gtl-card {
  transform: perspective(600px) rotateY(0deg) translateZ(0);
}

.gtl-item[data-side="left"] .gtl-card {
  transform: perspective(600px) rotateY(-15deg) translateZ(-20px);
}
.gtl-item[data-side="left"].gtl-reveal .gtl-card {
  transform: perspective(600px) rotateY(0deg) translateZ(0);
}

/* ===== افکت هاور روی کارت ===== */
.gtl-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  transform: perspective(600px) rotateY(2deg) translateZ(10px);
}
/* ---------- Section Wrapper ---------- */
.services-section {
  min-height: 100vh;
  background-color: #111827; /* gray-900 */
  text-align: center;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1280px) {
  .services-section {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ---------- Subtitle ---------- */
.services-subtitle {
  color: #9ca3af; /* gray-400 */
  font-size: 1.125rem;
  line-height: 1.75rem;
  max-width: 32rem;
  margin: 0 auto 0.5rem;
  text-transform: capitalize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-subtitle svg {
  color: #4f46e5; /* indigo-600 */
  margin-left: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

/* ---------- Title ---------- */
.services-title {
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 1.375;
  font-weight: 600;
  max-width: 48rem;
  margin: 0 auto 4rem;
  line-height: 1.375;
}

@media (min-width: 768px) {
  .services-title {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (min-width: 1280px) {
  .services-title {
    font-size: 3.75rem;
    line-height: 1;
  }
}

/* ---------- Grid ---------- */
.services-grid {
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Card ---------- */
.services-grid .card {
  position: relative;
  background-color: #1f2937; /* gray-800 */
  padding: 2.5rem;
  overflow: hidden;
}

/* لایه رنگی که با hover باز می‌شود */
.services-grid .card::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 0.6s;
  z-index: 0;
  background-color: #4f46e5; /* indigo-600 */
}

.services-grid .card:hover {
  box-shadow: 0.063rem 0.063rem 1.25rem 0.375rem rgb(0 0 0 / 53%);
}

/* موقعیت دایره رنگی بر اساس هر کارت */
.services-grid .card:nth-child(1)::before {
  bottom: 0;
  right: 0;
  top: auto;
  left: auto;
  clip-path: circle(calc(6.25rem + 7.5vw) at 100% 100%);
}

.services-grid .card:nth-child(2)::before {
  bottom: 0;
  left: 0;
  top: auto;
  right: auto;
  clip-path: circle(calc(6.25rem + 7.5vw) at 0% 100%);
}

.services-grid .card:nth-child(3)::before {
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  clip-path: circle(calc(6.25rem + 7.5vw) at 100% 0%);
}

.services-grid .card:nth-child(4)::before {
  top: 0;
  left: 0;
  bottom: auto;
  right: auto;
  clip-path: circle(calc(6.25rem + 7.5vw) at 0% 0%);
}

/* باز شدن کامل رنگ با hover */
.services-grid .card:hover::before {
  clip-path: circle(110vw at 100% 100%);
}

/* ---------- متن داخل کارت ---------- */
.services-grid .card-content {
  position: relative;
  z-index: 1;
}

.services-grid .card-title {
  text-transform: capitalize;
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

@media (min-width: 1280px) {
  .services-grid .card-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

.services-grid .card-text {
  color: #9ca3af; /* gray-400 */
  transition: 0.8s;
}

.services-grid .card:hover .card-text {
  color: #ffffff;
}

/* ---------- Circle (عکس پس‌زمینه) ---------- */
.services-grid .circle {
  display: none;
}

@media (min-width: 62.5rem) {
  .services-grid .circle {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
  }

  .services-grid .card:nth-child(1) .circle {
    bottom: 0;
    right: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 100%);
  }

  .services-grid .card:nth-child(2) .circle {
    bottom: 0;
    left: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 100%);
  }

  .services-grid .card:nth-child(3) .circle {
    top: 0;
    right: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 100% 0%);
  }

  .services-grid .card:nth-child(4) .circle {
    top: 0;
    left: 0;
    clip-path: circle(calc(6.25rem + 7.5vw) at 0% 0%);
  }
}

/* ---------- Padding متن بر اساس موقعیت کارت (lg) ---------- */
@media (min-width: 1024px) {
  .services-grid .card:nth-child(1) .card-content {
    padding-right: 13rem;
  }
  .services-grid .card:nth-child(2) .card-content {
    padding-left: 12rem;
  }
  .services-grid .card:nth-child(3) .card-content {
    padding-right: 11rem;
  }
  .services-grid .card:nth-child(4) .card-content {
    padding-left: 12rem;
  }
}

/* ==============================================
   Individual Timeline Point
   ============================================== */
.timeline-point {
  transition-duration: 0.5s;
  background: #fff;
  box-shadow: 13.4px 13.4px 40.2px #1c1f2340, -13.4px -13.4px 40.2px #262b2f40;
  width: 154px;
  height: 154px;
  color: var(--color);
   margin: 8px;
}

.timeline-point::before {
  content: "";
  width: 188px;
  height: 188px;
  z-index: -1;
  border-radius: 50%;
  position: absolute;
  background: conic-gradient(
    var(--color) var(--angle),
    transparent 0deg 360deg
  );
  animation: rotateBorder 1s linear var(--delay) forwards;
}
img.timeline-icon {
    width: 70px;
}
.timeline-point:nth-child(odd)::before {
  transform: rotate(-90deg);
}

.timeline-point:nth-child(even)::before {
  transform: rotate(90deg) scaleY(-1);
}

/* Custom property for angle */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/* Hover effect */
.timeline-point:hover {
  background: #fcfcfc;
  color: #fff;
}

/* ==============================================
   Popup
   ============================================== */
.popup {
  width: 321.6px;
  height: auto;
  max-height: 0;
  background-color: var(--color);
  grid-template-columns: 16% 84%;
  color: #fff;
  border-radius: 30px;
  box-shadow: 6.7px 6.7px 21.4px #17191d40, -6.7px -6.7px 21.4px #21252940;
  transform-origin: bottom center;
  animation: expandPopup 0.5s linear calc(var(--delay) + 0.5s) forwards;
}

.timeline-point:nth-child(odd) .popup {
  bottom: 221.1px;
}

.timeline-point:nth-child(even) .popup {
  top: 221.1px;
}

.popup::before {
  content: "";
  width: 6.7px;
  height: 0;
  border-radius: 20px;
  background-color: var(--color);
  position: absolute;
  left: 50%;
  top: -41.9px;
  animation: drawLine 0.5s linear var(--delay) forwards;
}

.timeline-point:nth-child(odd) .popup::before {
  top: calc(100% + 47px);
  transform: rotateX(180deg);
  transform-origin: top;
}

/* ==============================================
   Popup Number
   ============================================== */
.popup-number {
  grid-row: span 2;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: bold;
  cursor: auto;
  opacity: 0;
  height: 100%;
  animation: fadeIn 0.5s linear calc(var(--delay) + 0.7s) forwards;
}

/* ==============================================
   Popup Title
   ============================================== */
.popup-title {
  color: var(--color);
  padding-bottom: 6.7px;
  font-size: 20.1px;
  font-weight: 900;
}

/* ==============================================
   Popup Details
   ============================================== */
.popup-details {
  padding: 20.1px;
  border-radius: 30px;
  opacity: 0;
  font-weight: 500;
  user-select: none;
  cursor: auto;
  overflow: hidden;
  font-size: 0.8rem;
  text-align: justify;
  background: linear-gradient(145deg, #16181b, #22262b);
  margin: 3.35px;
  animation: fadeIn 0.5s linear calc(var(--delay) + 0.7s) forwards;
}

/* ==============================================
   Animations
   ============================================== */
@keyframes rotateBorder {
  from { --angle: 0deg; }
  to   { --angle: 180deg; }
}

@keyframes expandPopup {
  0%   { max-height: 0; }
  100% { max-height: 200px; }
}

@keyframes drawLine {
  0%   { height: 0%; opacity: 0; }
  100% { height: 33.5px; opacity: 1; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ==============================================
   Responsive (max-width: 1050px)
   ============================================== */
@media (max-width: 1050px) {
  .timeline-wrapper {
    min-height: auto;
    display: block;
  }

  .timeline-container {
    flex-direction: column;
    height: auto;
    width: 100%;
    padding: 100px 0;
  }

  .timeline-point {
    height: 134px;
    flex-shrink: 0;
    left: calc(-321px / 2);
    margin: 0 auto;
    position: relative;
  }

  .timeline-point:nth-child(odd)::before {
    transform: rotate(0deg);
  }

  .timeline-point:nth-child(even)::before {
    transform: rotate(0deg) scaleX(-1);
  }

  .timeline-point .popup::before {
    display: none;
  }

  .timeline-point:nth-child(odd) .popup {
    bottom: auto;
    right: -370.1px;
  }

  .timeline-point:nth-child(even) .popup {
    top: auto;
    right: -370.1px;
  }
}
.services-section .card h2 {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

/* ---------- کارت ---------- */
.services-section .card {
  position: relative;
}

.services-section .card::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: 0.6s;
  z-index: 0;
  background-color: #4f46e5;
}

.services-section .card:hover {
  box-shadow: 0.063rem 0.063rem 1.25rem 0.375rem rgb(0 0 0 / 53%);
}

/* موقعیت دایره رنگ بر اساس هر کارت */
.services-section .card:nth-child(1)::before {
  bottom: 0;
  right: 0;
  top: auto;
  left: auto;
  clip-path: circle(calc(6.25rem + 7.5vw) at 100% 100%);
}

.services-section .card:nth-child(2)::before {
  bottom: 0;
  left: 0;
  top: auto;
  right: auto;
  clip-path: circle(calc(6.25rem + 7.5vw) at 0% 100%);
}

.services-section .card:nth-child(3)::before {
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  clip-path: circle(calc(6.25rem + 7.5vw) at 100% 0%);
}

.services-section .card:nth-child(4)::before {
  top: 0;
  left: 0;
  bottom: auto;
  right: auto;
  clip-path: circle(calc(6.25rem + 7.5vw) at 0% 0%);
}

.services-section .card p {
  transition: 0.8s;
}

.services-section .card:hover::before {
  clip-path: circle(110vw at 100% 100%);
}

.services-section .card:hover p {
  color: #fff;
}

/* ---------- دایره (تصویر پس‌زمینه) ---------- */
@media screen and (min-width: 62.5rem) {
  .services-section .circle {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
}

/* ---------- تصاویر پیش‌فرض کارت‌ها ---------- */
.services-section .card:nth-child(1) .circle {
  background: url("https://images.unsplash.com/photo-1587440871875-191322ee64b0?q=80&w=2071&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    no-repeat 50% 50% / cover;
  bottom: 0;
  right: 0;
  clip-path: circle(calc(6.25rem + 7.5vw) at 100% 100%);
}

.services-section .card:nth-child(2) .circle {
  background: url("https://images.unsplash.com/photo-1499951360447-b19be8fe80f5?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    no-repeat 50% 50% / cover;
  bottom: 0;
  left: 0;
  clip-path: circle(calc(6.25rem + 7.5vw) at 0% 100%);
}

.services-section .card:nth-child(3) .circle {
  background: url("https://images.unsplash.com/photo-1557804506-669a67965ba0?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    no-repeat 50% 50% / cover;
  top: 0;
  right: 0;
  clip-path: circle(calc(6.25rem + 7.5vw) at 100% 0%);
}

.services-section .card:nth-child(4) .circle {
  background: url("https://images.unsplash.com/photo-1600880292203-757bb62b4baf?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D")
    no-repeat 50% 50% / cover;
  top: 0;
  left: 0;
  clip-path: circle(calc(6.25rem + 7.5vw) at 0% 0%);
}
/* ===============================
   Gallery – Drop-in Full Styles
   =============================== */
/* کانتینر بوت‌استرپ: هرچی بیرون بزنه، قیچی کن */
.coworkers-carousel .col-12 { overflow: hidden; }

/* خود اسلایدر عرضش از col-12 بیشتر نشه */
#gallery.swiper{
  width: 100%;
  max-width: 100%;
  margin: 0; padding: 0;
  background: transparent !important;
}

/* اجازه بده افکت‌های داخلی کار کنند، اما بیرون col دیده نشه */
#gallery .swiper-wrapper,
#gallery .swiper-slide { overflow: visible; }

/* ارتفاع/پس‌زمینه کارت‌ها (مثل قبل) */
#gallery .imgWrap{
  height: 27rem;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform .7s ease, box-shadow .7s ease, opacity .7s ease;
}
@media (max-width:768px){
  #gallery .imgWrap{ height: 22rem; }
}

/* حذف هر زمینه سفیدی از عناصر داخلی Swiper */
#gallery .swiper-wrapper,
#gallery .swiper-slide { background: transparent !important; }

/* هاور خودت (گرادینت/کپشن) همان قبلی */
.gallery .imgWrap::after{ /* کد گرادینت قبلی‌ات */ }
.gallery .imgWrap:hover::after{ opacity: 0; }
.gallery .imgWrap > a{ position: relative; z-index: 2; display:block; width:100%; height:100%; }
.gallery .imgWrap .caption{ right:-100%; /* ... */ }
.gallery .imgWrap:hover .caption{ right:0; }
/* گرادینت کندتر */
.gallery .imgWrap::after{
  transition: opacity .55s ease;         /* قبلاً .3s بود */
}

/* کپشن خیلی نرم‌تر وارد شود */
.gallery .imgWrap .caption{
  transition: right .95s cubic-bezier(0.22,0.61,0.36,1);  /* قبلاً .75s بود */
}

/* حرکت کارت نرم‌تر */
.gallery .imgWrap{
  transition: transform .5s ease, box-shadow .5s ease;    /* قبلاً .3s بود */
}

/* اگر تغییرِ عرضِ اسلایدها با JS داری (افکت گسترشی) */
#gallery .swiper-slide{
  transition: width .9s cubic-bezier(0.22,0.61,0.36,1);   /* قبلاً .6s بود */
}
.gallery .imgWrap::after{ content:""; position:absolute; inset:0; z-index: 1; /* بالاتر از تصویر بک‌گراند، پایین‌تر از لینک/کپشن */ background: linear-gradient(90deg, rgb(74 74 74 / 85%) 0%, rgb(39 54 52 / 25%) 30%, rgb(0 0 0 / 0%) 55%, rgb(40 40 40 / 0%) 100%); /* حالت اولیه: گرادینت کامل روی عکس */ clip-path: inset(0 0 0 0); transition: clip-path .6s cubic-bezier(0.22, 0.61, 0.36, 1), opacity .3s ease; will-change: clip-path; pointer-events: none; /* مزاحم کلیک نشه */ } /* هاور/فوکوس/حالت باز: گرادینت از راست جمع شود (RTL) */ .gallery .imgWrap:hover::after, .gallery .imgWrap:focus-within::after, .gallery .imgWrap.is-open::after{ opacity: 0; } /* اگر خواستی از چپ جمع شود: کلاس .from-left روی آیتم بگذار */ .gallery .imgWrap.from-left::after{ background: linear-gradient(90deg, rgb(74 74 74 / 85%) 0%, rgb(39 54 52 / 25%) 30%, rgb(0 0 0 / 0%) 55%, rgb(40 40 40 / 0%) 100%); } .gallery .imgWrap.from-left:hover::after, .gallery .imgWrap.from-left:focus-within::after, .gallery .imgWrap.from-left.is-open::after{ clip-path: inset(0 0 0 100%); }
/* =========================
   Fullscreen (چک‌باکس‌محور)
   ========================= */
.gallery .full-toggle:checked + .imgWrap {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    z-index: 5;
    transform: none;
    animation: zoomIn 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
/* وقتی تمام‌صفحه شد، گرادینت را کنار ببر تا عکس واضح باشد */
.gallery .full-toggle:checked + .imgWrap::after{
    clip-path: inset(0 100% 0 0) !important;
}
.gallery .full-toggle:checked + .imgWrap .caption { right: 0; }

/* دکمه بستن تمام‌صفحه */
.gallery .close {
    display: none;
    position: fixed;
    right: 1rem;
    top: 50%;
    width: 50px; height: 50px;
    line-height: 50px; text-align: center;
    background-color: #18514a;
    color: #fff; cursor: pointer;
    z-index: 9;
    transition: opacity 0.75s ease, background-color 0.3s ease;
    transform: translateY(-50%);
    opacity: 0; border-radius: 50%;
}
.gallery .full-toggle[id="img1-full"]:checked ~ .close[for="img1-full"],
.gallery .full-toggle[id="img2-full"]:checked ~ .close[for="img2-full"],
.gallery .full-toggle[id="img3-full"]:checked ~ .close[for="img3-full"],
.gallery .full-toggle[id="img4-full"]:checked ~ .close[for="img4-full"],
.gallery .full-toggle[id="img5-full"]:checked ~ .close[for="img5-full"] {
    display: block; opacity: 1;
}
.gallery .close:hover { background-color: #d64b31; }

/* وقتی یکی تمام‌صفحه است، بقیه صفر شوند */
.gallery .full-toggle:checked ~ .imgWrap:not(:checked + .imgWrap) {
    width: 0; opacity: 0;
}

/* بک‌دراپ تیره‌ی تمام‌صفحه */
.gallery .full-toggle:checked::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    transition: background 0.75s ease-in-out;
    animation: fadeIn 0.75s ease-in-out forwards;
}

/* انیمیشن‌ها */
@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.gallery .full-toggle:not(:checked) + .imgWrap.fullscreen-exit {
    animation: zoomOut 0.75s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes zoomOut {
    from { transform: scale(1);   opacity: 1; }
    to   { transform: scale(0.9); opacity: 0; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* دسترس‌پذیری: کاهش حرکت */
@media (prefers-reduced-motion: reduce){
    .gallery .imgWrap,
    .gallery .imgWrap::after,
    .gallery .imgWrap .caption { transition: none !important; }
}
 .my-swiper-coverflow {
        padding: 30px 0 50px;
        overflow: hidden;
        max-width: 1200px;
        margin: 0 auto;
    }
    .my-swiper-coverflow .swiper-slide {
        width: 300px;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.08);
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .my-swiper-coverflow .swiper-slide .picture img {
        width: 100%;
        height: 535px;
        object-fit: cover;
        display: block;
    }

    .my-swiper-coverflow .swiper-slide .detail {
        padding: 18px 20px 22px;
        text-align: center;
    }

    .my-swiper-coverflow .swiper-slide .detail h3 {
        font-size: 20px;
        font-weight: 700;
        color: #1e2a3a;
        margin-bottom: 4px;
    }

    .my-swiper-coverflow .swiper-slide .detail p {
        color: #7f8c8d;
        font-size: 14px;
        margin: 0;
    }

    .my-swiper-coverflow .swiper-pagination-bullet-active {
        background: #c29336;
    }

    /* تنظیم اسلاید فعال */
    .my-swiper-coverflow .swiper-slide-active {
        opacity: 1;
        transform: scale(1.05);
    }

    .my-swiper-coverflow .swiper-slide:not(.swiper-slide-active) {
        opacity: 0.5;
        transform: scale(0.85);
    }
    /* ===== کانتینر اصلی سوییپر ===== */
    .gs-video-swiper {
        width: 100%;
        max-width: 1300px;
        margin: 40px auto;
        padding: 30px 0 70px;
        overflow: hidden;
        position: relative;
    }

    /* ===== هر اسلاید ===== */
    .gs-video-swiper .swiper-slide {
        width: 380px;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0.4;
        transform: scale(0.85);
        transition: all 0.4s ease;
    }

    .gs-video-swiper .swiper-slide-active {
        opacity: 1;
        transform: scale(1);
        z-index: 10;
    }

    .gs-video-swiper .swiper-slide-prev,
    .gs-video-swiper .swiper-slide-next {
        opacity: 0.7;
        transform: scale(0.92);
    }

    /* ===== کارت ویدیو ===== */
    .gs-video-card {
        background: #ffffff;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
        border: 2px solid #f0ebe5;
        transition: 0.4s ease;
        width: 100%;
        max-width: 380px;
    }

    .gs-video-swiper .swiper-slide-active .gs-video-card {
        border-color: #c29336;
        box-shadow: 0 16px 50px rgba(194, 147, 54, 0.15);
    }

    /* ===== باکس ویدیو ===== */
    .gs-video-box {
        width: 100%;
        aspect-ratio: 16 / 9;
        background: #1a1a2e;
        overflow: hidden;
        position: relative;
    }

    .gs-video-box iframe {
        width: 100% !important;
        height: 100% !important;
        border: none;
        display: block;
    }

    .gs-video-box div[id] {
        width: 100%;
        height: 100%;
    }

    .gs-video-box div[id] iframe {
        width: 100% !important;
        height: 100% !important;
    }

    /* ===== اطلاعات ویدیو ===== */
    .gs-video-info {
        padding: 14px 20px 18px;
        text-align: center;
        background: #ffffff;
    }

    .gs-video-info h3 {
        font-size: 17px;
        font-weight: 700;
        color: #1e2a3a;
        margin-bottom: 2px;
    }

    .gs-video-info p {
        font-size: 13px;
        color: #4a5a6a;
        margin: 0;
    }

    /* ===== Pagination ===== */
    .gs-video-pagination {
        position: absolute;
        bottom: 10px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 8px;
        z-index: 20;
    }

    .gs-video-pagination .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background: #ddd6cc;
        opacity: 1;
        border-radius: 50%;
        transition: 0.3s ease;
        border: 2px solid transparent;
    }

    .gs-video-pagination .swiper-pagination-bullet-active {
        background: #c29336;
        border-color: #c29336;
        transform: scale(1.3);
        box-shadow: 0 0 16px rgba(194, 147, 54, 0.3);
    }

    /* ===== Navigation ===== */
    .gs-video-next,
    .gs-video-prev {
        color: #c29336;
        background: #ffffff;
        width: 44px;
        height: 44px;
        border-radius: 50%;

        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        border: 1px solid #eee7df;
        transition: 0.3s ease;
        top: 45%;
        z-index: 30;
    }

    .gs-video-next::after,
    .gs-video-prev::after {
        font-size: 15px;
        font-weight: 700;
    }
    .gs-video-next svg,
.gs-video-prev svg {
				width: 10px;
}
    .gs-video-next:hover,
    .gs-video-prev:hover {
        background: #c29336;
        color: #ffffff;
        border-color: #c29336;
        box-shadow: 0 8px 24px rgba(194, 147, 54, 0.25);
    }

    .gs-video-next {
        right: -10px;
    }

    .gs-video-prev {
        left: -10px;
    }

    /* ============================================ */
    /* ===== ریسپانسیو ===== */
    /* ============================================ */

    @media (max-width: 1023px) {
        .gs-video-swiper .swiper-slide {
            width: 320px;
        }
        .gs-video-info h3 {
            font-size: 15px;
        }
        .gs-video-info p {
            font-size: 12px;
        }
        .gs-video-next,
        .gs-video-prev {
            width: 36px;
            height: 36px;
        }
        .gs-video-next::after,
        .gs-video-prev::after {
            font-size: 14px;
        }
        .gs-video-next {
            right: -4px;
        }
        .gs-video-prev {
            left: -4px;
        }
    }

    @media (max-width: 767px) {
        .gs-video-swiper {
            padding: 15px 0 60px;
            margin: 20px auto;
        }
        .gs-video-swiper .swiper-slide {
            width: 280px;
        }
        .gs-video-box {
            aspect-ratio: 16 / 9;
        }
        .gs-video-info {
            padding: 12px 16px 14px;
        }
        .gs-video-info h3 {
            font-size: 14px;
        }
        .gs-video-info p {
            font-size: 11px;
        }
        .gs-video-pagination .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
        }
        .gs-video-next,
        .gs-video-prev {
            display: none;
        }
    }

    @media (max-width: 499px) {
        .gs-video-swiper .swiper-slide {
            width: 240px;
        }
        .gs-video-info h3 {
            font-size: 13px;
        }
        .gs-video-info p {
            font-size: 11px;
        }
        .gs-video-pagination .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
        }
    }
   /* ===== تنظیمات ویدیو در کارت ===== */
    .gs-video-wrapper {
        width: 100%;
        aspect-ratio: 16 / 9;
        background: #1a1a2e;
        overflow: hidden;
        position: relative;
    }

    .gs-video-wrapper iframe {
        width: 100% !important;
        height: 100% !important;
        border: none;
        display: block;
    }

    .gs-video-wrapper div[id] {
        width: 100%;
        height: 100%;
    }

    .gs-video-wrapper div[id] iframe {
        width: 100% !important;
        height: 100% !important;
    }

    /* ===== ریسپانسیو برای ویدیو ===== */
    @media (max-width: 767px) {
        .gs-video-wrapper {
            aspect-ratio: 16 / 9;
        }
    }
        .stats-section *,
        .stats-section {
            box-sizing: border-box;
        }

        .stats-section {
            background: #f5f5f5;
            padding: 0;
            margin: 0;
        }

        .stats-section h2 {
            font-size: 36px;
        }






        .stats-section .bgcolor-gray {
            background-color: #f5f5f5;
        }

        .stats-section section {
            overflow: hidden;
            position: relative;
            background-position: center center;
            background-size: cover;
        }

        .stats-section .m-t-120 {
            margin-top: 30px;
        }

        .stats-section .section-common-space {
            padding: 20px 0;
        }

        .stats-section .section-header {
            margin-bottom: 60px;
        }

        .stats-section .section-title {
            color: #404041;
            margin-bottom: 60px;
            text-transform: uppercase;
        }

        .stats-section .section-title span {
            position: relative;
        }

        .stats-section .section-title span::before {
            content: "";
            position: absolute;
            bottom: -30px;
            right: 0;
            width: 100%;
            height: 1px;
            background-color: #404041;
        }

        .stats-section .ft-wt-bold {
            font-weight: 700;
        }

        .stats-section .section-subtitle {
            font-size: 17px;
            color: #666666;
        }

        /* ===== آیتم‌ها ===== */
        .stats-section .features-item {
            background-color: #fff;
            margin-bottom: 110px;
            padding: 90px 50px 40px;
            position: relative;
            transition: 0.3s;
            border-radius: 32px;
            text-align: center;
        }

        .stats-section .features-item:hover {
            box-shadow: 0 40px 70px 0 rgba(0, 0, 0, 0.22);
            cursor: pointer;
        }

        .stats-section .features-item:hover .features-icon {
color: #cd9e46;
    border-color: #cd9e46;
    background: #f5f5f5;
        }

        .stats-section .features-item:hover .features-info .counter-number {
            color: #cd9e46;
        }

        .stats-section .features-item:hover .features-info .title {
            color: #cd9e46;
        }

        /* ===== آیکون دایره‌ای ===== */
        .stats-section .features-icon {
    font-size: 36px;
    width: 96px;
    height: 96px;
    line-height: 96px;
    text-align: center;
    background: #ffffff;
    border-radius: 60px;
    border: 2px dashed #c29336;
    box-shadow: 0 0 0 10px #f5f5f5;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #c29336;
    transition: 0.3s;
        }

        /* ===== شمارنده (بالا) ===== */
        .stats-section .counter-number {
            font-family: 'Montserrat', sans-serif;
            font-size: 3.2rem;
            font-weight: 700;
            color: #404041;
            transition: 0.3s;
            direction: ltr;
            line-height: 1.2;
            letter-spacing: 2px;
            margin-bottom: 10px; /* فاصله از عنوان */
        }

        /* ===== عنوان (پایین) ===== */
        .stats-section .features-info .title {
            color: #404041;
            font-weight: 700;
            margin-top: 0;
            margin-bottom: 0;
            font-size: 1.2rem;
        }

        /* ===== کلاس‌های کمکی ===== */
        .stats-section .clear-problem > div:nth-child(3n + 1) {
            clear: left;
        }

        .stats-section .m-0 {
            margin: 0;
        }

        .stats-section .res-m-b-100 {
            margin-bottom: 100px;
        }

        /* ===== کانتینر و سیستم گرید ===== */
        .stats-section .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .stats-section .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }

        .stats-section .col-sm-6 {
            flex: 0 0 50%;
            max-width: 50%;
            padding: 0 15px;
        }

        .stats-section .col-md-4 {
            flex: 0 0 33.3333%;
            max-width: 33.3333%;
        }

        .stats-section .text-center {
            text-align: center;
        }

        /* ===== ریسپانسیو ===== */
        @media only screen and (max-width: 992px) {
            .stats-section .clear-problem > div:nth-child(3n + 1) {
                clear: none;
            }
        }

        @media only screen and (max-width: 768px) {
            .stats-section .section-common-space {
                padding: 50px 0;
            }
            .stats-section h4 {
                font-size: 17px;
            }
            .stats-section h2 {
                font-size: 21px;
            }
            .stats-section .section-title {
                margin-bottom: 20px;
            }
            .stats-section .section-title span::before {
                bottom: -10px;
            }
            .stats-section .counter-number {
                font-size: 2.4rem;
            }
            .stats-section .features-item {
                padding: 70px 20px 30px;
                margin-bottom: 80px;
            }
            .stats-section .features-icon {
                width: 76px;
                height: 76px;
                line-height: 76px;
                font-size: 28px;
                top: -40px;
				display: flex;
				align-items: center;
				justify-content: center;
            }
            .stats-section .res-m-b-100 {
                margin-bottom: 50px;
            }
            .stats-section .col-sm-6 {
                flex: 0 0 50%;
                max-width: 50%;
            }
        }

        @media only screen and (max-width: 480px) {
            .stats-section .counter-number {
                font-size: 2rem;
            }
            .stats-section .features-item {
                padding: 60px 15px 20px;
                margin-bottom: 60px;
            }
            .stats-section .col-sm-6 {
                flex: 0 0 100%;
                max-width: 100%;
            }
        }
.btn1 {
    background: linear-gradient(135deg, #c29336, #a67c2e);
    border-radius: 16px 10px;
    color: #fff;
	  font-size: 0.79rem !important
}
.btn1:hover {
  background: linear-gradient(135deg, #a67c2e, #c29336);
  transform: translateY(-3px);
}
.hidden {
    visibility: hidden !important;
}
img.stats-icon {
    width: 40px;
}
/* ==============================================
   Items Section — Bootstrap 5.3 Compatible
   ============================================== */

.container-heading {
  text-align: center;
  color: #262f68;
  font-size: 25px;
  margin: 50px 0;
  font-weight: 600;
}

.items-container {
  /* اگه از Bootstrap row استفاده می‌کنی، این کلاس لازم نیست.
     ولی اگه می‌خوای flex خالص باشه، اینطور تنظیم کن: */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.item:hover .item-icon {
	    animation: mymove 800ms infinite linear;
    cursor: pointer;
}
@keyframes mymove {
	

0%, 100% {
    transform: rotate(0deg);
}
25% {
    transform: rotate(15deg);
}
50% {
    transform: rotate(-15deg);
}
75% {
    transform: rotate(5deg);
}
85% {
    transform: rotate(-5deg);
}
}
.item-icon {
    width: 60px;
    height: 60px;
    padding: 10px;
    border-radius: 25px;
    object-fit: contain;
    display: block;
    background: #f7f1e5;
}

/* رنگ‌های پاستلی برای هر آیکون — با id اختصاصی */
#map-icon        { background-color: #ffe6df; }
#coin-icon       { background-color: #dff0fe; }
#comparison-icon { background-color: #fcf3df; }
#laptop-icon     { background-color: #eff2ff; }
#check-icon      { background-color: #e6f7ea; } /* رنگ جدید برای آیتم پنجم */

.item-details {
  font-size: 14px;
  text-align: center;
  color: #7980a3;
  line-height: 1.6;
  margin-top: 15px;
  margin-bottom: 0;
}
.item-title {
	  font-size: 15px;
  text-align: center;
	font-weight: bold;
  color: #404041;
  line-height: 1.6;
  margin-top: 15px;
  margin-bottom: 0;
}
/* ==============================================
   Responsive
   ============================================== */
@media (max-width: 575px) {
  .item {
    width: 100%;
    max-width: 260px;
    height: auto;
    padding: 15px 0;
  }

  .container-heading {
    font-size: 20px;
    margin: 30px 0;
  }

  .item-details {
    font-size: 15px;
  }
}
@media (min-width: 992px) {
  .col-lg-2-5 {
    flex: 0 0 auto;
    width: 20%; /* 100 ÷ 5 = 20% */
  }
}
/* ==============================================
   Bento Grid Section
   ============================================== */

.bento-heading {
  color: #060633;
  margin-bottom: 3rem;
  font-weight: 700;
  font-size: 2.5rem;
}

.grid-features {
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
  grid-template-rows: 1fr;
  grid-template-columns: 4fr 3fr 3fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.bento-card {
  border-radius: 2.5rem;
  flex-direction: column;
  align-items: flex-start;
  min-height: 15rem;
  padding: 2rem;
  display: flex;
  position: relative;
  background-color: #fff;
  color: #060633;
  box-shadow: 0 20px 30px -10px rgb(16 16 39 / 7%);
  text-wrap: balance;
  overflow: hidden;
}

/* ---------- Variants ---------- */

.bento-card.cloud {
  grid-area: 1 / 1 / 3 / 2;
  padding: 3rem;
}

.bento-card.logo {
  grid-area: 1 / 2 / 2 / 4;
  background-image: linear-gradient(-225deg, #fffeff 0%, #d7fffe 100%);
}

.bento-card.logo h2 {
  color: #38a5a2;
}

.bento-card.inbox {
  background-image: linear-gradient(-225deg, #ffffff 0%, #dacceb 100%);
}

.bento-card.inbox h3 {
  color: #8b5cca;
}

.bento-card.device {
  background-image: url("https://emilandersson.com/storage/blog-thumbnails/01JP9N86ZWBRV57ZVZBSA243R9.jpg");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.bento-card.device-2 {
  background-image: url("https://emilandersson.com/storage/works/thumbnails/01JPXM5JG84REHYA3GQYGA3SSM.webp");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.bento-card.ai-gen {
  grid-area: 3 / 2 / 4 / 4;
}

.bento-card.ai-gen h2 {
  font-size: 4rem;
  text-wrap: balance;
}

/* ---------- محتوای کارت ---------- */

.bento-card-description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bento-card h2 {
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 0.9;
  margin: 0;
}

.bento-card h3 {
  font-weight: 600;
  font-size: 2rem;
  margin: 0;
}

.bento-card h4 {
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0;
}

.bento-card p {
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0;
}

/* ---------- Credit ---------- */

.credit {
  margin-top: 5rem;
  text-align: center;
}

.credit a {
  color: #fff;
  background-color: var(--link-color, #4f46e5);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

/* ==============================================
   Responsive
   ============================================== */
@media (max-width: 991px) {
  .grid-features {
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
  }

  .bento-card.cloud,
  .bento-card.logo,
  .bento-card.ai-gen {
    grid-area: auto;
  }

  .bento-card h2 {
    font-size: 1.8rem;
  }

  .bento-card h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 575px) {
  .grid-features {
    grid-template-columns: 1fr;
  }

  .bento-heading {
    font-size: 1.35rem;
  }
}
/* ══════════════════════════════════════════
   Departments — 12-Col Bento Grid
   ══════════════════════════════════════════ */

.departments-boxes-section { background: #f8f8f6; }

/* ─── گرید بیرونی ۱۲ ستونه ─── */
.departments-boxes-section .boxes {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  grid-auto-flow: dense;
  align-items: stretch;
}

/* ─── Span ها ─── */
.box-subcat.span-4 { grid-column: span 4; }
.box-subcat.span-6 { grid-column: span 6; }

/* ─── خود باکس ─── */
.box-subcat {
  background: #ededede0;
  border-radius: 18px;
  border: 1px solid rgba(255, 238, 217, 0.63);
  padding: 24px 22px;
  transition: 0.35s ease;
  min-width: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
}
.box-subcat:hover {
  background: #fff;
  box-shadow: 0 15px 35px rgba(45, 67, 86, 0.12);
  transform: translateY(-4px);
}

/* ─── هدر باکس ─── */
.box-subcat .box-head {
  display: block;
  text-decoration: none;
  color: inherit;
}
.box-subcat p {
  font-weight: bold;
  color: #2D4356;
  font-size: 1.2rem;
  margin-bottom: 8px;
  line-height: 1.6;
}
.box-subcat svg { fill: #2D4356; }

/* ─── گرید داخلی ─── */
.box-subcat .products {
  margin-top: 22px;
  flex: 1;
  display: flex;
  align-items: center;
}
.box-subcat .products ul.dept-grid {
  display: grid;
  grid-template-columns: repeat(var(--dept-cols, 2), 1fr);
  gap: 18px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* ─── آیتم دپارتمان ─── */
.box-subcat .products ul li {
  text-align: center;
  display: flex;
  flex-direction: column;
}
.box-subcat .products ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #2D4356;
  transition: .3s ease;
  padding: 12px 8px;
  border-radius: 14px;
  height: 100%;
  justify-content: flex-start;
  background: rgba(255,255,255,.5);
}
.box-subcat .products ul li a:hover {
  background: #fff;
  box-shadow: 0 8px 20px rgb(239 239 238);
  transform: translateY(-3px);
}
.box-subcat .products ul li img {
  max-width: 70px;
  height: auto;
  margin-bottom: 12px;
  transition: transform .35s ease;
  object-fit: contain;
}
.box-subcat .products ul li:hover img {
  transform: translateY(-4px) scale(1.08);
}
.box-subcat .products ul li .title {
  font-size: .88rem;
  font-weight: 600;
  color: #2D4356;
  line-height: 1.55;
  transition: color .3s ease;
}
.box-subcat .products ul li:hover .title {
  color: #c19f62;
}

/* ─── تنظیم اندازه برای هر حالت ─── */
/* ۱ دپارتمان → بزرگ */
.box-subcat[data-count="1"] .products ul li img { max-width: 70px; }
.box-subcat[data-count="1"] .products ul li .title { font-size: 1rem; }

/* ۲ دپارتمان */
.box-subcat[data-count="2"] .products ul li img { max-width: 70px; }
.box-subcat[data-count="2"] .products ul li .title { font-size: .95rem; }

/* ۳ دپارتمان */
.box-subcat[data-count="3"] .products ul li img { max-width: 70px; }
.box-subcat[data-count="3"] .products ul li .title { font-size: .82rem; }

/* ۴ دپارتمان */
.box-subcat[data-count="4"] .products ul li img { max-width: 70px; }
.box-subcat[data-count="4"] .products ul li .title { font-size: .85rem; }

/* ─── ریسپانسیو ─── */
@media (max-width: 992px) {
  .box-subcat.span-4 { grid-column: span 6; }
  .box-subcat.span-6 { grid-column: span 12; }
}
@media (max-width: 768px) {
  .departments-boxes-section .boxes {
    grid-template-columns: 1fr;
  }
  .box-subcat.span-4,
  .box-subcat.span-6 {
    grid-column: span 1;
  }
  .box-subcat[data-count="3"] .products ul.dept-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 576px) {
  .box-subcat { padding: 18px 16px; }
  .box-subcat p { font-size: 1.05rem; }
  .box-subcat .products ul.dept-grid {
    gap: 14px 10px;
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .box-subcat .products ul li img { max-width: 55px !important; }
  .box-subcat .products ul li .title { font-size: .78rem !important; }
}