﻿/* Common CSS */
:root {
    --primary-color: #4848ff;
    --secondary-color: #E9BB71;
    --primary-black-color: #0C1C18;
    --gray-color: #FEFCF8;
}

@font-face {
    font-family: 'IranSans';
    src: url('../../fonts/iransansweb.woff') format('woff2'), url('../../fonts/iransansweb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url('../../fonts/vazir-bold.woff') format('woff2'), url('../../fonts/vazir-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'anic';
    src: url('../../fonts/anic.woff') format('woff2'), url('../../fonts/anic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
.main-menu a {
    font-family: 'IranSans';
    font-size: 16px;
}

.text-en {
    font-family: 'anic', anic;
}
.text-bold {
    font-family: 'Vazir',Vazir;
}
.sub-heading {
    border-radius: 8px;
    border: 1px solid rgba(35, 37, 39, 0.1);
    background: var(--white-color);
    font-size: 16px;
    font-weight: 600;
}

.rtl {
    direction: rtl;
    text-align: right;
    font-family: 'IranSans';
}
.nav-right-item .theme-btn.style-one {
  padding: 13px 20px;
  font-weight: 600;
  font-size: 14px;
}

.text-uniq {
    display: block !important; /* یا inline-block */
    white-space: normal !important;
    word-spacing: normal !important;
    letter-spacing: 0 !important;
    font-family: 'Vazir', 'IranSans', sans-serif !important;
    unicode-bidi: plaintext;
}

.text-uniq span {
  display: inline !important; /* برای قسمت رنگی */
}

.text-white .sub-heading {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #295C51;
  color: var(--white-color);
}

.theme-btn {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.theme-btn.style-one {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 16px;
}
.theme-btn.style-one:hover {
  background-color: var(--secondary-color);
  color: var(--heading-color);
}

.section-title h2 span {
  color: var(--primary-color);
}

.gray-bg {
  background-color: var(--gray-color);
}

/* Hero Section */
.hero-seo .hero-wrapper {
  position: relative;
  z-index: 1;
  padding: 220px 0 130px;
  background-color: rgba(233, 187, 113, 0.05);
  overflow: hidden;
}
@media (max-width: 767px) {
  .hero-seo .hero-wrapper {
    padding: 150px 0 70px;
  }
}
.hero-seo .hero-wrapper .shape {
  position: absolute;
  z-index: -1;
}
.hero-seo .hero-wrapper .shape.blur-shape-one {
  background: conic-gradient(from 105deg at -78.01% 65.75%, rgba(41, 92, 81, 0.7) 0deg, rgba(86, 194, 171, 0.7) 360deg);
  -webkit-filter: blur(150px);
          filter: blur(150px);
  position: absolute;
  top: -20%;
  left: -5%;
}
.hero-seo .hero-wrapper .shape.blur-shape-one span {
  width: 185px;
  height: 555px;
}
.hero-seo .hero-wrapper .shape.blur-shape-two {
  background: conic-gradient(from 105deg at -78.01% 65.75%, rgba(41, 92, 81, 0.7) 0deg, rgba(86, 194, 171, 0.7) 360deg);
  -webkit-filter: blur(150px);
          filter: blur(150px);
  position: absolute;
  bottom: -20%;
  right: -5%;
}
.hero-seo .hero-wrapper .shape.blur-shape-two span {
  width: 185px;
  height: 555px;
}
.hero-seo .hero-wrapper .shape.circle-shape-one {
  left: -20%;
  bottom: -50%;
}
.hero-seo .hero-wrapper .shape.circle-shape-one span {
  width: 830px;
  height: 830px;
  border-radius: 50%;
  background: linear-gradient(147deg, rgba(41, 92, 81, 0.05) 19.79%, rgba(41, 92, 81, 0) 69.2%);
}
.hero-seo .hero-wrapper .shape.circle-shape-two {
  right: -18%;
  top: -50%;
}
.hero-seo .hero-wrapper .shape.circle-shape-two span {
  width: 830px;
  height: 830px;
  border-radius: 50%;
  background: linear-gradient(49deg, rgba(233, 187, 113, 0.05) 13.98%, rgba(233, 187, 113, 0) 73.6%);
}
.hero-seo .hero-wrapper .hero-content {
  position: relative;
}
.hero-seo .hero-wrapper .hero-content .element {
  position: absolute;
  right: 0;
  top: 15px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-seo .hero-wrapper .hero-content .element {
    right: 60px;
  }
}
.hero-seo .hero-wrapper .hero-content h1 {
  font-size: 80px;
  font-weight: 500;
  margin-bottom: 12px;
}
.hero-seo .hero-wrapper .hero-content h1 span {
  font-weight: 800;
  color: var(--primary-color);
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .hero-seo .hero-wrapper .hero-content h1 {
    font-size: 72px;
    line-height: 85px;
  }
}
@media screen and (max-width: 991px) {
  .hero-seo .hero-wrapper .hero-content h1 {
    font-size: 72px;
    line-height: 85px;
  }
}
@media (max-width: 767px) {
  .hero-seo .hero-wrapper .hero-content h1 {
    font-size: 44px;
    line-height: 60px;
  }
}
.hero-seo .hero-wrapper .hero-content p {
  margin-bottom: 35px;
  font-size: 15px;
  font-weight: 500;
}
@media (max-width: 767px) {
  .hero-seo .hero-wrapper .hero-content p {
    font-size: 16px;
  }
}
.hero-seo .hero-wrapper .hero-content .hero-button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
@media (max-width: 767px) {
  .hero-seo .hero-wrapper .hero-content .hero-button {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.hero-seo .hero-wrapper .hero-content .hero-button .theme-btn {
  margin-bottom: 10px;
  margin-right: 30px;
}
.hero-seo .hero-wrapper .hero-content .author-box .author-list li span {
  background-color: var(--secondary-color);
  border: 2px solid var(--white-color);
}
.hero-seo .hero-wrapper .hero-image-box {
  position: relative;
  padding-left: 55px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .hero-seo .hero-wrapper .hero-image-box {
    max-width: 575px;
    margin: 0 auto;
    margin-top: 50px;
  }
}
@media screen and (max-width: 991px) {
  .hero-seo .hero-wrapper .hero-image-box {
    margin-top: 60px;
  }
}
.hero-seo .hero-wrapper .hero-image-box .hero-sm-image {
  position: absolute;
}
.hero-seo .hero-wrapper .hero-image-box .hero-sm-image img {
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 30px 0px rgba(41, 92, 81, 0.05);
          box-shadow: 0px 0px 30px 0px rgba(41, 92, 81, 0.05);
}
@media (max-width: 767px) {
  .hero-seo .hero-wrapper .hero-image-box .hero-sm-image img {
    width: 150px;
    height: 120px;
  }
}
.hero-seo .hero-wrapper .hero-image-box .hero-sm-image.image-one {
  left: 0;
  top: 0;
}
.hero-seo .hero-wrapper .hero-image-box .hero-sm-image.image-two {
  bottom: 0;
  right: 0;
}
.hero-seo .hero-wrapper .hero-image-box .element {
  position: absolute;
  top: 0;
  right: 0;
}

/* About Section */
.about-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.about-wrapper .sasly-image-box {
  width: 25%;
}
@media screen and (max-width: 991px) {
  .about-wrapper .sasly-image-box {
    width: 50%;
    padding: 0 10px;
  }
}
.about-wrapper .sasly-image-box.box-one {
  margin-top: -90px;
}
@media screen and (max-width: 991px) {
  .about-wrapper .sasly-image-box.box-one {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
}
.about-wrapper .sasly-image-box.box-two {
  position: relative;
}
.about-wrapper .sasly-image-box.box-two .shape {
  position: absolute;
  top: -90px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
@media (max-width: 767px) {
  .about-wrapper .sasly-image-box.box-two .shape {
    top: -50px;
  }
}
@media screen and (max-width: 991px) {
  .about-wrapper .sasly-image-box.box-two {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
}
.about-wrapper .section-content-box {
  width: 50%;
  padding: 0 70px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .about-wrapper .section-content-box {
    padding: 0 50px;
  }
}
@media screen and (max-width: 991px) {
  .about-wrapper .section-content-box {
    width: 100%;
    padding: 0 15px;
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
}

/* Team Testimonial */
.seo-testimonial .testimonial-slider {
  margin-left: -15px;
  margin-right: -15px;
  padding-left: 17%;
}
@media (min-width: 1200px) and (max-width: 1450px) {
  .seo-testimonial .testimonial-slider {
    padding-left: 10%;
  }
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .seo-testimonial .testimonial-slider {
    padding-left: 5%;
  }
}
@media screen and (max-width: 991px) {
  .seo-testimonial .testimonial-slider {
    padding-left: 0;
  }
}
.seo-testimonial .testimonial-slider .slick-slide {
  margin-left: 15px;
  margin-right: 15px;
  max-width: 550px;
}
@media screen and (max-width: 991px) {
  .seo-testimonial .testimonial-slider .slick-slide {
    max-width: 100%;
  }
}

/* Seo Footer */
.seo-footer {
    background-color: #231F20;
    color: rgba(255, 255, 255, 0.7);
}
.seo-footer .footer-copyright {
  background-color: rgba(255, 255, 255, 0.04);
}

.footer-widget .widget-title {
  color: var(--white-color);
}

/* Page Hero CSS */
.page-hero-ss {
  position: relative;
  z-index: 1;
  padding: 220px 0 130px;
  background-color: rgba(233, 187, 113, 0.05);
  overflow: hidden;
}
@media (max-width: 767px) {
  .page-hero-ss {
    padding: 150px 0 70px;
  }
}
.page-hero-ss .shape {
  position: absolute;
  z-index: -1;
}
.page-hero-ss .shape.blur-shape {
  top: -25%;
  left: -5%;
}
.page-hero-ss .shape.blur-shape span {
  width: 185px;
  height: 555px;
  -webkit-transform: rotate(-37.493deg);
          transform: rotate(-37.493deg);
  background: conic-gradient(from 105deg at -78.01% 65.75%, rgba(41, 92, 81, 0.7) 0deg, rgba(86, 194, 171, 0.7) 360deg);
  -webkit-filter: blur(150px);
          filter: blur(150px);
}
.page-hero-ss .shape.circle-shape {
  right: -18%;
  top: -50%;
}
.page-hero-ss .shape.circle-shape span {
  width: 830px;
  height: 830px;
  border-radius: 50%;
  background: linear-gradient(49deg, rgba(233, 187, 113, 0.05) 13.98%, rgba(233, 187, 113, 0) 73.6%);
}

.seo-about-sec .sasly-image-box.style-one {
  padding-left: 80px;
}
@media screen and (max-width: 991px) {
  .seo-about-sec .sasly-image-box.style-one {
    padding-left: 0;
  }
}
.seo-about-sec .sasly-image-box.style-one .image-one {
  position: relative;
  padding-top: 100px;
}
.seo-about-sec .sasly-image-box.style-one .image-one .circle-shape {
  position: absolute;
  top: 0;
  left: -80px;
}
@media screen and (max-width: 991px) {
  .seo-about-sec .sasly-image-box.style-one .image-one .circle-shape {
    left: -30px;
  }
}
@media (max-width: 767px) {
  .seo-about-sec .sasly-image-box.style-one .image-one .circle-shape {
    left: auto;
    right: 0;
  }
}
.seo-about-sec .sasly-image-box.style-one .text-box {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.seo-about-sec .sasly-image-box.style-one .text-box span {
  margin-left: 40px;
  padding-left: 40px;
  border-left: 1px solid var(--border-color);
  max-width: 100px;
  line-height: 27px;
}

.seo-company {
  background-color: #0C1C18;
}
.seo-company .text-box h5 {
  color: var(--white-color);
}

.seo-service .sasly-image-box.style-one {
  position: relative;
  max-width: 660px;
  min-height: 480px;
}
.seo-service .sasly-image-box.style-one .sasly-image img {
  border-radius: 10px;
}
.seo-service .sasly-image-box.style-one .element-image {
  position: absolute;
  bottom: 50px;
  right: 0;
  max-width: 220px;
}
.seo-service .sasly-image-box.style-one .element-image img {
  border-radius: 10px;
}
.seo-service .sasly-image-box.style-one .shape {
  position: absolute;
  top: 50px;
  right: 25px;
}
.seo-service .section-content-box {
  padding-left: 50px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .seo-service .section-content-box {
    padding-left: 0;
  }
}
@media screen and (max-width: 991px) {
  .seo-service .section-content-box {
    padding-left: 0;
  }
}
.seo-service .sasly-iconic-box.style-nine {
  text-align: left;
}
.seo-service .sasly-iconic-box.style-nine .content p {
  margin-bottom: 20px;
}
.seo-service .sasly-iconic-box.style-nine .content .read-more {
  color: var(--heading-color);
  font-weight: 500;
  text-decoration: underline;
}
.seo-service .sasly-iconic-box.box-one {
  background-color: #F3F4F0;
}
.seo-service .sasly-iconic-box.box-one .icon {
  background-color: #295C51;
}
.seo-service .sasly-iconic-box.box-two {
  background-color: #FCF6EB;
}
.seo-service .sasly-iconic-box.box-two .icon {
  background-color: #E9BB71;
}
.seo-service .sasly-iconic-box.box-three {
  background-color: #F9F8FE;
}
.seo-service .sasly-iconic-box.box-three .icon {
  background-color: #AF9FFF;
}

/* Service Details CSS */
.service-details-wrapper .service-item .content h2 {
  margin-bottom: 25px;
  font-size: 48px;
}
@media screen and (max-width: 991px) {
  .service-details-wrapper .service-item .content h2 {
    font-size: 32px;
    line-height: 1;
  }
}
.service-details-wrapper .service-item .content h4 {
  margin-bottom: 15px;
}
.service-details-wrapper .service-item .content p {
  margin-bottom: 30px;
}

/* Project Details Page */
.project-details-ss .project-thumbnail .thumbnail {
  position: relative;
}
.project-details-ss .project-thumbnail .thumbnail img {
  border-radius: 7px;
  min-height: 550px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .project-details-ss .project-thumbnail .thumbnail img {
    min-height: 500px;
  }
}
@media (max-width: 767px) {
  .project-details-ss .project-thumbnail .thumbnail img {
    min-height: 20px;
  }
}
.project-details-ss .project-thumbnail .thumbnail .project-info-box {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  max-width: 400px;
  width: 100%;
  padding: 40px 50px;
  border-radius: 15px;
}
@media (max-width: 767px) {
  .project-details-ss .project-thumbnail .thumbnail .project-info-box {
    padding: 20px 30px;
    position: relative;
    bottom: 0;
    right: 0;
    margin-top: 40px;
  }
}
.project-details-ss .project-thumbnail .thumbnail .project-info-box h4.title {
  letter-spacing: -0.48px;
  color: var(--white-color);
  margin-bottom: 20px;
}
.project-details-ss .project-thumbnail .thumbnail .project-info-box ul li {
  display: block;
}
.project-details-ss .project-thumbnail .thumbnail .project-info-box ul li:not(:last-child) {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.project-details-ss .project-thumbnail .thumbnail .project-info-box ul li span {
  font: 500 16px var(--heading-font);
  color: var(--white-color);
}
.project-details-ss .project-thumbnail .thumbnail .project-info-box ul li span.title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.36px;
}
.project-details-ss .project-thumbnail .thumbnail .project-info-box ul li span.info {
  float: right;
}
.project-details-ss .project-content .content h3.title {
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -1.04px;
  margin-bottom: 33px;
}
@media screen and (min-width: 992px) and (max-width: 1200px) {
  .project-details-ss .project-content .content h3.title {
    font-size: 22px;
    margin-bottom: 25px;
    line-height: 40px;
  }
}
@media screen and (max-width: 991px) {
  .project-details-ss .project-content .content h3.title {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 40px;
  }
}
.project-details-ss .project-content .content p {
  margin-bottom: 40px;
}
.project-details-ss .project-content .content ul {
  margin-bottom: 60px;
}
@media (max-width: 767px) {
  .project-details-ss .project-content .content ul {
    margin-bottom: 30px;
  }
}
.project-details-ss .project-content .content h5 {
  margin-bottom: 10px;
}
.project-details-ss .project-content .content .block-image img {
  border-radius: 7px;
}

/* Faqs Page */
.faqs-page-ss .sasly-image-box img {
  border-radius: 7px;
}

.sasly-nav-tabs .nav-tabs {
  border-bottom: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.sasly-nav-tabs li {
  display: block;
}
.sasly-nav-tabs .nav-link {
  display: block;
  border: 1px solid var(--border-color);
  border-radius: 7px;
  padding: 8px 25px;
  letter-spacing: -0.36px;
  font: 600 18px var(--heading-font);
  color: var(--heading-color);
  margin-bottom: 10px;
}
.sasly-nav-tabs .nav-link.active {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* Blog Standard CSS */
.blog-standard-ss .blog-quote-post-item {
  background-color: rgba(41, 92, 81, 0.122);
}

/* Contact Page CSS */
.contact-ss .sasly-iconic-box.style-twelve {
  padding: 50px 50px 40px;
  background-color: rgba(41, 92, 81, 0.122);
  border-radius: 10px;
}

/* موقعیت دهی درست زیرمنوها در حالت RTL */
html[dir="rtl"] .main-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0; /* فاصله دادن به سمت راست */
    left: auto;
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
    text-align: right;
    direction: rtl;
    background-color: #fff; /* رنگ پس‌زمینه برای زیرمنو */
}

/* وقتی روی منو با موس هاور می‌کنی، زیرمنو به سمت چپ می‌افتد */
html[dir="rtl"] .main-menu .menu-item:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    display: block; /* نمایش زیرمنو */
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* برای حالت موبایل (ریسپانسیو) */
@media (max-width: 991px) {
    html[dir="rtl"] .main-menu .sub-menu {
        position: static; /* برای حالت موبایل زیرمنو به صورت افقی نمایش داده شود */
        visibility: visible;
        opacity: 1;
        top: auto;
        right: auto;
        left: 0;
        background-color: #fff;
    }

    /* اگر زیرمنو روی صفحه موبایل باز شد */
    html[dir="rtl"] .main-menu .menu-item.has-children {
        position: relative;
    }
}
/* استایل‌های نوار جستجو */
.search-box {
    position: relative;
    width: 250px;
    margin-left: 20px;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
    transition: all 0.3s ease;
    font-size: 14px;
    background-color: #f5f5f5;
}

    .search-input:focus {
        border-color: #007bff;
        box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
        background-color: #fff;
    }

.search-button {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 16px;
}

    .search-button:hover {
        color: #007bff;
    }

/* نسخه موبایل */
@media (max-width: 767px) {
    .search-box {
        width: 100%;
        margin: 15px 0;
        padding: 0 15px;
    }

    .sasly-nav-button {
        margin-top: 10px;
    }
}
