:root {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'yekan';
    src: url('../fonts/IranSans/eot/IRANSansWeb(FaNum).eot');
    src: url('../fonts/IranSans/eot/IRANSansWeb(FaNum).eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('../fonts/IranSans/woff2/IRANSansWeb(FaNum).woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('../fonts/IranSans/woff/IRANSansWeb(FaNum).woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('../fonts/IranSans/ttf/IRANSansWeb(FaNum).ttf') format('truetype');
}
body {
    font-family: 'yekan' !important;
}

/********** Template CSS **********/

#aboutPage {
    margin-right: 30px;
}

#servicesDropdown {
    font-size: 10.5pt;
}

#servicesDropdown .dropdown-item {
    padding: .5rem 1rem;
}

.back-to-top {
    position: fixed;
    display: none;
    left: 30px;
    bottom: 90px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.fw-light {
    font-weight: 400;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}

/*** VideoBanner ***/
.video-header {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.video-header video {
    /*position: absolute;*/
    /*top: 50%;*/
    /*left: 50%;*/
    width: 100%;
    height: auto;
    /*transform: translate(-50%, -50%);*/
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.video-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 3;
}

.video-controls button {
    background: transparent;
    border: 2px solid #fff;
    padding: 10px;
    border-radius: 0; /* مربع */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: background 0.3s, opacity 0.3s;
    opacity: 1;
}

.video-controls button:hover {
    background: #ccc;
    border: 2px solid #ccc;
}

.video-controls svg {
    fill: #fff;
    width: 24px;
    height: 24px;
}

.video-text {
    position: absolute;
    bottom: 15%;
    right: 50px;
    z-index: 3;
    color: #fff;
    text-align: right;
}

@media (max-width: 767.98px) {
    .video-text {
        right: 80px;
    }

    .video-text h3 {
        font-size: 16pt;
    }
}
/*** VideoBanner ***/

/*Button*/
/* From Uiverse.io by alexmaracinaru */
.cta {
    border: none;
    background: none;
    cursor: pointer;
}

.cta span {
    padding-bottom: 7px;
    font-size: 18px;
    /*padding-left: 15px;*/
    text-transform: uppercase;
}

.cta svg {
    transform: translateX(8px);
    transition: all 0.3s ease;
}

.cta:hover svg {
    transform: translateX(0);
}

.cta:active svg {
    transform: scale(0.9);
}

.hover-underline-animation {
    position: relative;
    color: black;
    padding-bottom: 20px;
}

.hover-underline-animation:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    right: 0; /* تغییر جهت */
    background-color: var(--company-color);
    transform-origin: bottom left; /* تنظیم نقطه‌ی آغاز */
    transition: transform 0.25s ease-out;

}

.cta:hover .hover-underline-animation:after {
    transform: scaleX(1);
    transform-origin: bottom right;
}
/*Button*/

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

#topHeader .part1 {
    margin-left: auto !important;
}

#topHeader .socialMedia {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    align-items: center;
    display: grid;
}

.socialMedia:hover {
    transition: 0.5s;
    /*box-shadow: 0 0 10px #878787;*/
}

#topHeader .socialMedia i {
    font-size: 15pt;
    color: white;
    transition: 0.5s;
}

#topHeader .socialMedia:hover i {
    color: black;
}

#topHeader #langDropdown {
    color: white;
}

#topHeader #langDropdown:hover , #topHeader #langDropdown:active , #topHeader #langDropdown:focus {
    color: black;
}

#topHeader #languageList {
    z-index: 10000;
    text-align: right;
    min-width: 7rem;
    font-size: 10pt;
}

.mobileLang {
    display: none;
}

@media (max-width: 991.98px) {
    .mobileLang {
        display: inline-block;
    }
    .dropdown-menu[data-bs-popper] {
        margin-top: -0.5rem !important;
        min-width: 7rem;
        font-size: 10pt;
        text-align: right;
        top: 75%;
    }
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
    border-bottom: 1px solid rgb(221, 221, 221);
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0 0 10px 0;
    color: var(--bs-dark);
    font-size: 16px;
    /*text-transform: uppercase;*/
    font-weight: 400;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav {
    /*color: var(--bs-primary);*/
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-right: 8px;
    margin-left: 0;
}

@media (max-width: 991.98px) {
    .navbar {
        position: relative;
    }
    .navbar .part2 {
        position: absolute;
        left: 0;
    }
    .navbar .navbar-nav .nav-link  {
        margin-right: 15px;
        padding: 10px 0;
    }
    .navbar .navbar-nav {
        background-color: white;
        box-shadow: 0 0 2px #ccc;
        width: auto;
        min-width: 200px;
    }
    #navbarCollapse {
        position: absolute;
        top: 70%;
        right: 70px;
        z-index: 100;
    }
    #navbarCollapse .nav-item.active {
        color: var(--company-color);
    }
    #navbarCollapse .nav-item {
        margin-right: 15px;
        margin-left: 35px;
    }
    #navbarCollapse #servicesPage {
        margin: 0 15px !important;
    }
}

#navbarCollapse .nav-item {
    position: relative;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        right: 0;
        left: unset;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar-nav {
        position: absolute;
        bottom: 9px;
    }

    .navbar-nav .nav-item {
        position: relative;
    }

    .navbar-nav .nav-item::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 2.5px;
        width: 100%;
        background-color: var(--company-color);
        border-radius: 4px;
        opacity: 0;
        transition: opacity 0.3s ease-in-out; /* افکت نرم و زمان‌دار */
    }

    .navbar-nav .nav-item:hover::before,
    .navbar-nav .nav-item.active::before {
        opacity: 1;
    }

    /*#navbarCollapse .nav-item.active::after {*/
    /*    content: "";*/
    /*    position: absolute;*/
    /*    left: 0;*/
    /*    bottom: 0;*/
    /*    height: 2.5px;*/
    /*    width: 100%;*/
    /*    background-color: var(--company-color);*/
    /*    border-radius: 4px; !* گردی دو سر خط *!*/
    /*}*/
}

.navbar-toggler {
    position: absolute;
    right: 70px;
    top: 12px;
}


/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: end;
    text-align: right;
    background: rgba(0, 0, 0, .4);
    padding: 3rem;
    /*padding-left: 11rem;*/
    z-index: 1;
}

.carousel .carousel-caption h3 {
    bottom: 15%;
    position: absolute;
}

@media (max-width: 767.98px) {
    .carousel .carousel-caption h3 {
        font-size: 16pt;
    }
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    #headerSlider {
        margin-bottom: 0 !important;
    }

    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }

    .carousel .carousel-item img {
        /*position: absolute;*/
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    /*.carousel .carousel-caption {*/
    /*    padding-left: 10rem;*/
    /*}*/
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 3rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

/*.page-header {*/
/*    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/contact1.webp) center center no-repeat;*/
/*    background-size: cover;*/
/*}*/


/*** About ***/
.about-img {
    position: relative;
    /*padding-left: 45px;*/
}

/*.about-img::before {*/
/*    position: absolute;*/
/*    content: "";*/
/*    width: 200px;*/
/*    height: 300px;*/
/*    top: 0;*/
/*    left: 0;*/
/*    border: 5px solid rgb(143, 143, 143);*/
/*    animation: animateUpDown 3s ease-in-out infinite;*/
/*    z-index: -1;*/
/*}*/

@keyframes animateUpDown {
    0% {
        top: -25px;
    }
    50% {
        top: -45px;
    }
    100% {
        top: -25px;
    }
}

.notice {
    margin-left: 1rem;
}


/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/carousel-1.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-right: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
    cursor: pointer;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 0.5s;
    background: rgb(216, 216, 216);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    /*color: var(--bs-white);*/
}

.service .service-item:hover a {
    padding-right: 45px !important;
}

.serviceTitle {
    color: #636363;
    position: relative;
    display: inline-block; /* مهم */
    text-decoration: none;
}

.serviceTitle::before {
    position: relative;
    content: "\f104";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 10px;
}

.serviceTitle::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0; /* چون راست‌چینه */
    height: 2px;
    background-color: var(--company-color);
    width: 0;
    transition: width 0.7s ease;
    /* لازم نیست direction بدهیم، فقط نمایش درستش مهمه */
}

.serviceTitle:hover {
    color: #636363;
}

.serviceTitle:hover::after {
    width: 100%;
}

/*** ProjectsIndex ***/
.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.project-card img {
    transition: transform 0.7s ease-in-out;
    object-fit: cover;
    transform-origin: top right; /* جهت زوم */
}

.project-card:hover img {
    transform: scale(1.07);
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* افکت دودی */
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: 1;
}

.project-card:hover::after {
    opacity: 1;
}

.overlay-text {
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    font-size: 1.25rem;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.5s ease-in-out;
    z-index: 2;
}

.project-card:hover .overlay-text {
    transform: translateY(85%);
    opacity: 1;
}
/*** ProjectsIndex ***/

/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*!*** Testimonial ***!*/
/*.testimonial-img {*/
/*    position: relative;*/
/*    min-height: 400px;*/
/*    overflow: hidden;*/
/*}*/

/*.testimonial-img div {*/
/*    position: absolute;*/
/*    width: 100px;*/
/*    height: 100px;*/
/*    animation-duration: 5s;*/
/*}*/

/*.testimonial-img div:nth-child(1) {*/
/*    top: 10%;*/
/*    left: 10%;*/
/*    animation-delay: .1s;*/
/*}*/

/*.testimonial-img div:nth-child(2) {*/
/*    top: 60%;*/
/*    left: 20%;*/
/*    animation-delay: .4s;*/
/*}*/

/*.testimonial-img div:nth-child(3) {*/
/*    top: 20%;*/
/*    left: 60%;*/
/*    animation-delay: .7s;*/
/*}*/

/*.testimonial-img div:nth-child(4) {*/
/*    bottom: 10%;*/
/*    right: 10%;*/
/*    animation-delay: 1s;*/
/*}*/

/*.testimonial-img div::after {*/
/*    position: absolute;*/
/*    content: "";*/
/*    top: -1px;*/
/*    right: -1px;*/
/*    bottom: -1px;*/
/*    left: -1px;*/
/*    box-shadow: 0 0 10px 10px var(--bs-white) inset;*/
/*    z-index: 1;*/
/*}*/

/*.testimonial-carousel .owl-item img {*/
/*    width: 100px;*/
/*    height: 100px;*/
/*}*/

/*.testimonial-carousel .owl-nav {*/
/*    margin-top: 15px;*/
/*    display: flex;*/
/*}*/

/*.testimonial-carousel .owl-nav .owl-prev,*/
/*.testimonial-carousel .owl-nav .owl-next {*/
/*    margin-right: 15px;*/
/*    color: var(--bs-primary);*/
/*    font-size: 45px;*/
/*    transition: .5s;*/
/*}*/

/*.testimonial-carousel .owl-nav .owl-prev:hover,*/
/*.testimonial-carousel .owl-nav .owl-next:hover {*/
/*    color: var(--bs-dark);*/
/*}*/


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: right;
    color: var(--bs-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .firstCol .tel {
    color: var(--bs-secondary);
}

.footer .socialMedia {
    background-color: #fff;
    transition: background-color 0.5s ease-in-out;
    font-size: 13pt;
}

.footer #whatsapp:hover {
    background-color: var(--company-color);
    transition-delay: 0s;
}

.footer #telegram:hover {
    background-color: var(--company-color);
    transition-delay: 0s;
}

.footer #instagram:hover {
    background-color: var(--company-color);
    transition-delay: 0s;
}

.footer #linkedin:hover {
    background-color: var(--company-color);
    transition-delay: 0s;
}

.footer .socialMedia {
    margin-left: 0.5rem;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f104";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-left: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

#note {
    display: inline;
    font-size: 9pt;
}

/*** Brands ***/
#Brands {
    background-color: #f3f3f3;
}

#Brands .item {
    /*height: 220px;*/
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
    background-color: white;
    box-shadow: 0px 0 20px rgba(0, 0, 0, 0.1);
    box-sizing: content-box;
    padding: 30px;
    margin: 40px 30px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: 0.3s;
}

.testimonials .testimonial-item .stars {
    margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
    color: #ffc107;
    margin: 0 1px;
}

.testimonials .testimonial-item .testimonial-img {
    width: 75%;
    /*border-radius: 50%;*/
    border: 4px solid white;
    margin: 0 auto;
}

.testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
    font-size: 14px;
    color: color-mix(in srgb, #1b2f45, transparent 40%);
    margin: 0;
}

.testimonials .testimonial-item p {
    font-style: italic;
    margin: 0 auto 15px auto;
    font-size: 10.5pt;
}

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: color-mix(in srgb, #2b180d, transparent 85%);
    opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--company-color);
}

.testimonials .swiper-slide {
    opacity: 0.3;
}

@media (max-width: 1199px) {
    .testimonials .swiper-slide-active {
        opacity: 1;
    }

    .testimonials .swiper-pagination {
        margin-top: 0;
    }

    .testimonials .testimonial-item {
        margin: 40px 20px;
    }

    .testimonials .testimonial-item img {
        max-width: 40% !important;
    }
}

@media (min-width: 1200px) {
    .testimonials .swiper-slide-next {
        opacity: 1;
        transform: scale(1.12) !important;
    }
}

.testimonial-item .profile {
    cursor: pointer;
}

.testimonial-item .profile .bi-play-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40pt;
    color: white;
    transition: all 0.3s ease;
    pointer-events: none;
}

.testimonial-item:hover .bi-play-circle {
    color: var(--company-color);
}

.section-title-1 h3 {
    position: relative;
    margin-bottom: 1.5rem;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-title-1 h3:before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    background: color-mix(in srgb, #444, transparent 60%);
    left: 0;
    right: 0;
    bottom: 1px;
    margin: auto;
}

.section-title-1 h3::after {
    content: "";
    position: absolute;
    display: block;
    width: 60px;
    height: 3px;
    background: var(--company-color);
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
