[lang=en] body{
    font-family: "Funnel Sans",sans-serif !important;
}

body nav {
    color: white;
    position: absolute;
    top: 0;
    background: transparent;
    border-color: #ffffff30;
    padding: 0 12px;
}
.btn-home-second:hover {
    color: white;
}
.scrolling-text {
  overflow: hidden;
  width: 100%;
  max-width: 200px;
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-just-black);
}
.scrolling-text .rail {
  display: flex;
}
.scrolling-text .rail h4 {
  white-space: nowrap;
  font-size: 100px;
  font-weight: 900;
  letter-spacing: ls(120);
  line-height: 1em;
  margin: 0 30px 0 0;
  color: var(--color-surface-white);
}
.viewport-box{
  top: -300px;
  width: 900px;
  max-width: 900px;
  height: 900px;
  display:flex;
  align-items:center;
  justify-content:center;
  position: absolute;
  border-radius:50%;
  border: 10px dashed #ffffff;
  right: -300px;
}
div.small-circle {
    width: 500px;
    height: 500px;
}
.main-circle{
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: linear-gradient(180deg, hsla(218, 42%, 10%, 0.588), hsla(218, 90%, 19%, 0.271));
  box-shadow: 0 0 50px rgb(0 0 0 / 25%);
}  
.main-circle-1{
    background: linear-gradient(180deg, #0a172b, #0d439b);
}

.small-viewport-box {
    width: 700px;
    height: 700px;
    top: -250px;
    right: -160px;
}
    .container-gsap {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: flex-start;
	  flex-direction:row-reverse;
      flex-direction: row-reverse;
        flex-wrap: nowrap;
    }
    
    .box-gsap {
      position: absolute;
      flex: 0 0 auto;
      width: 23.5%;
      height: 65vh;
      top: 25%;
      transform: translateY(-50%);
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      font-weight: bold;
      opacity: 0;
      overflow: hidden;
      cursor: pointer;
      margin: 0 0.75%;
    }
    .box-gsap video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border-radius: 20px;
      object-position: bottom;
    }

.modal {
  display: none;
  position: fixed;
  z-index: 999999 !important;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  background: #000;
  padding: 10px;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
}

.modal-content video {
    height: auto;
    max-height: 100%;
    height: 80vh;
    border-radius: 25px;
}

.box-gsap span {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 70px;
    height: 70px;
    z-index: 22;
    background: #ffffff80;
    padding: 10px;
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 25px #f6a71e6e;
}

.box-gsap span svg {
    width: 22px;
    height: 22px;
    fill: #0c5c48;
}
.header-section-gsap {
    position: absolute;
    top: 15%;
    right: 10%;
}
.header-section-gsap h3 {
    font-size: 30px;
    color: #0c5c48;
}

@media(min-width: 768px){
    #menuModal{
            color: white;
            position: absolute;
            top: 0;
            background: transparent;
            border-color: #ffffff30;
            z-index: 9999;
            backdrop-filter: blur(19px);
            border-bottom: 1px solid #ffffff30;
            padding: 0 12px;
    }
}

@media (max-width: 768px) {
    div.marquee__item {
    width: 320px;
    height: 280px;
}
    body nav{
        padding:5px 12px;
    }
    div.header-section-gsap {
        right: 30px;
    }
  .container-gsap {
    width: 320vw; /* 4 باکس × 80vw = 320vw */
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
  }
  
  .box-gsap {
    position: relative;
    width: 75vw; /* 75% عرض صفحه */
    height: 65vh;
    margin-right: 5vw; /* فاصله بین باکس‌ها */
    flex-shrink: 0;
    transform: none;
    top: 8%;
    opacity: 1; /* همه باکس‌ها از ابتدا نمایش داده شوند */
  }
  
}

html, body{
    /* overflow-x: hidden !important; */
}
.ct-top-home {
    display: flex;
    flex-direction: row-reverse;
    max-width: 100%;
    margin: auto;
    height: 90vh;
    background: linear-gradient(270deg, #09367f, #102d5c, #0a172d);
    border-radius:0 0 55px 55px;
    overflow: hidden;
}

.top-home-1 {width: 50%;display: flex;justify-content: center;align-items: center;position: relative;overflow: hidden;}

.top-home-2 {
    padding: 15px;
    padding-left: 4%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.top-home-heading h1{color: white}
.top-home-heading {
    position: relative;
}
.main-circle img {
    width: auto;height: 140px;border-radius:20px;border:2px solid #38517a;
    background:linear-gradient(45deg, #ffffff08, #1562df1f, #ffffff12);
    backdrop-filter:blur(10px);
    padding:10px;
}
.small-circle img{
    border:unset;
    width: 100px;
    height: 100px;
    background:rgb(255 255 255 / 5%);
    padding:20px;
}
.ct-btn-tophome {
    width: 50%;
    max-width: 300px;
    margin: 0;
    margin-right: 30px;
}
.btn-tophome {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.btn-home-second {
    color: rgb(255 255 255 / 80%);
    display: block;
    padding: 2px;
    text-align: center;
    border-bottom: 1px solid rgb(255 255 255 / 80%);
    font-size: 17px;
}
.btn-tophome-s {
    padding: 10px 20px;
    font-size: 18px;
}

.counter-container {
    display: flex;
    color: white;
    flex-direction: column;
    margin-right: 10%;
    align-items: center;
    text-align: center;
}

.ct-number-counter {
    display: flex;
    font-size: 300%;
    font-weight: 900;
    direction: ltr;
    line-height: 50px;
}

.ct-all-counter {
    display: flex;
}

.counter-label {
    font-size: 110%;
}

.video-circle {
    position: absolute;
    top: 50%;
    transform: translate(50%, -50%);
    right: 50%;
    width: 400px;
    height: 400px;
}

.video-circle video {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 50%;
}

/* بهینه‌سازی GPU برای دایره‌ها - سازگار با همه مرورگرها */
.main-circle-1,
.main-circle-r,
.main-circle-h,
.main-circle-s,
.main-circle-b,
.main-circle-e,
.main-circle-t,
.main-circle-sh {
  /* Webkit (Chrome, Safari, Edge جدید) */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000px;
  
  /* Firefox */
  -moz-transform: translateZ(0);
  -moz-backface-visibility: hidden;
  -moz-perspective: 1000px;
  
  /* استاندارد */
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
  
  /* فقط برای کروم و فایرفاکس - سافاری مشکل داره */
  will-change: auto;
}

/* بهینه‌سازی برای تصاویر داخل دایره */
.main-circle-1 img,
.main-circle-r img,
.main-circle-h img,
.main-circle-s img,
.main-circle-b img,
.main-circle-e img,
.main-circle-t img,
.main-circle-sh img {
  /* Webkit */
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  
  /* Firefox */
  -moz-backface-visibility: hidden;
  -moz-transform: translateZ(0);
  
  /* استاندارد */
  backface-visibility: hidden;
  transform: translateZ(0);
  
  /* جلوگیری از blur در سافاری */
  -webkit-font-smoothing: antialiased;
  image-rendering: -webkit-optimize-contrast;
}

/* فقط برای کروم و Edge */
@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
  .main-circle-1,
  .main-circle-r,
  .main-circle-h,
  .main-circle-s,
  .main-circle-b,
  .main-circle-e,
  .main-circle-t,
  .main-circle-sh {
    will-change: transform;
  }
}
.mxd-services-cards__tags a {
    background-color: transparent;
    border-style: solid;
    border-color: var(--st-opp-bright);
    color: white !important;
    height: 3.2rem;
    line-height: 3.2rem;
    padding: 0 1.2rem;
    -moz-border-radius: 1.6rem;
    border-radius: 1.6rem;
    border-width: 1px;
}
.mxd-services-stack__controls svg {
    width: 25px;
    height: 25px;
    fill: white;
    color: #ffffff;
}
.marquee-text {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: rgb(255 255 255 / 50%);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    font-size: 17px;
    font-weight: 700;
    color: var(--black);
    border-radius: 15px;
}
.h-cat-menu {
    color: white;
}

.h-cat-menu svg {
    fill: white;
}

.d-search-icon svg {
    fill: white;
}

div.sign-menu svg , a.sign-menu svg {
    fill: white !important;
}

.sabt-asli {
    background: transparent;
    color: white !important;
    border-color: #ffffff3b;
}

.sign-menu.logined{
    background: transparent !important;
    border-color: #ffffff33;
    color: white !important;
}

.search-icon svg {
    fill: white;
}

.menu-icon svg path {
    fill: white !important;
    color: white;
}
@media(max-width: 1600px){
    div.viewport-box-top{
        width: 900px;
        height: 900px;
        right: -300px;
        top: -300px;
    }
    .main-circle-1 {
        width: 700px;
        height: 700px;
    }
}

@media (max-width:1200px) {
    .ct-top-home {
        flex-direction: column;
    }
    .top-home-2 {
        width: 100%;
    }
    div.viewport-box-top {
        top: -250px;
        right: -350px;
    }

    .top-home-1 {
        width: 100%;
        height: 500px;
    }
    .mxd-services-stack__title {
        margin-top: 220px;
        margin-bottom: 1.5rem;
        padding-right: 0;
    }
    .small-circle img {
        width: 100px;
        height: 100px;
    }
    div.small-circle {
        width: 400px;
        height: 400px;
    }
    .small-viewport-box {
        width: 550px;
        height: 550px;
        top: -200px;
        right: 50%;
        border-width: 7px;
    }

}



@media (max-width:980px) {
.mxd-services-stack__controls {
    position: absolute;
    top: 0; 
    right: 50%;
    z-index: 1; 
    transform: translate(50%, -40%);
}
.mxd-services-stack__controls svg {
    position: relative;
    top: 12px;
    width: 20px;
    height: 20px;
}
    .mxd-hero-01__marquee{
        right:50%;
        transform:translate(50%);
    }
.btn-tophome{
    justify-content: center;
}
.main-circle img{
    height: 100px;
}
.ct-number-counter {
    font-size: 250%;
    line-height: 1.2;
}

.counter-label {
    font-size: 80%;
}
.small-viewport-box {
    width: 400px;
    height: 400px;
    top: 0%;
    right: 50%;
    transform: translate(50%, -45%);
    border-width: 7px;
}

div.small-circle {
    width: 300px;
    height: 300px;
}
.btn-round-large {
    width: 7.6rem;
    height: 7.6rem;
}

.small-circle img {
    width: 80px;
    height: 80px;
}


.mxd-services-stack__title {
    margin-top: 220px;
    margin-bottom: 1.5rem;
    padding-right: 0;
}

.main-circle-1 {
    width: 600px;
    height: 600px;
}



    
.top-home-heading h1 {
    font-size: 4rem;
    text-align: center;
}
div.viewport-box-top{
    width: 800px;
    height: 800px;
    right: 50%;
    top: 0;
    transform: translate(50%, -50%);
}
}

@media (max-width:768px) {
    .top-home-heading h1 {
        font-size: 4rem;
    }
    .mxd-hero-01__marquee{
        width:300px;
        height: 60px;
        top: 7.2rem;
    }
    .mxd-hero-01__marquee .marquee-flex{
        font-size: 3.8rem;
    }
    
}

@media (max-width:480px) {
    .top-home-heading h1 {
        font-size: 2.8rem;
    }
    .mxd-hero-01__marquee{
        width:250px;
        height: 40px;
        top: 5.5rem;
    }
    .mxd-hero-01__marquee .marquee-flex{
        font-size: 2.5rem;
    }
    .btn-tophome-s{font-size:14px}
.main-circle-1 {
    width: 400px;
    height: 400px;
}
div.viewport-box-top{
    width: 500px;
    border-width: 7px;
    height: 500px;
    right: 50%;
    top: 0;
    transform: translate(50%, -45%);
}
}

@media (max-width:360px){
    .mxd-container.grid-container{
        padding: 0 8px;
    }
}