* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  background: #0f172a;
  color: #fff;
  overflow-x: hidden;
  --sb-track-color: #1d1d1d;
  --sb-thumb-color: #4516e8;
  --sb-size: 8px;
}

body::-webkit-scrollbar {
  width: var(--sb-size)
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 14px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 14px;

}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}

.G_blue {
  background: linear-gradient(265deg, #1A075C, #050033);
  display: flex;
  align-items: center;
  padding: 60px;
  position: relative;
}

.G_white {
  position: relative;
  /* ← اضافه شد */
  background: #fff;
  display: flex;
  align-items: center;
  padding: 60px;
  z-index: 1;
  /* الان کار می‌کنه */
  padding-top: 80px;
}


.hero {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  /* وسط عمودی هر ستون */
  justify-items: center;
  /* وسط افقی هر ستون */
  height: 650px;
}

/* Canvas */
.canvas-wrap {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: visible;
  z-index: 8;
  /* مهم */
}

#scene {
  position: absolute;
  inset: -20%;
  /* اجازه بده بیرون بزنه */
  width: 140%;
  height: 140%;
  pointer-events: none;
  /* موس فقط برای صفحه */
}

.floating-image-1 {
  position: absolute;
  /* bottom: -90px; */
  /* left: 50%; */
  transform: translate3d(-60px, 188px, 0);
  /* width: 120px; */
  /* height: auto; */
  z-index: 0;
}

.floating-image-2 {
  position: absolute;
  left: calc(100vw - 300px);
  /* 120px را متناسب با عرض المان تنظیم کنید */
  transform: translateY(-295px);
  z-index: 0;
}


/* Content */
.wave-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* شروع از بالا */
  height: 100%;
  padding-top: 10%;
  /* همون مقدار برای هماهنگی با متن */
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* شروع از بالا */
  align-items: flex-end;
  height: 100%;
  padding-top: 18%;
  /* مثلا 25% پایین‌تر از بالای ستون */
}

.content h1 {
  opacity: 60%;
  text-align: right;
  font-size: 80px;
  position: relative;
  margin-right: 35px;
}

@font-face {
  font-family: 'AbarHighFaNum';
  src: url('../fonts/AbarFaNum-VF.ttf') format('truetype');
  font-style: normal;
}


.content p.subtitle {
  font-size: 40px;
  margin-top: -50px;
  position: relative;
  z-index: 2;
  text-align: right;
  font-weight: 700;
  /* Semi20 */
  font-family: 'AbarHighFaNum', sans-serif;

}

.G_white p.subtitle {
  font-size: 40px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
  text-align: right;
  font-weight: 700;
  font-family: 'AbarHighFaNum', sans-serif;
  color: #1D1D1D;
  text-align: center;
}


.widgets {
  margin-top: 25px;
  text-align: right;
  font-family: 'AbarHighFaNum', sans-serif;
  font-weight: 400;
  /* Semi20 */
}

.widget-item {
  display: flex;
  flex-direction: row-reverse;
  /* آیکن سمت راست متن */
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.9;
}

.widget-item img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.G_white .widgets {
  margin-top: 25px;
  text-align: right;
  font-family: 'AbarHighFaNum', sans-serif;
  font-weight: 500;
  color: #1D1D1D;
}




.hero-section {
  position: relative;
  /* پایه برای قرار دادن هدر روی سکشن */
}

.section-content {
  padding-top: 80px;
  /* فاصله برای هدر که روی محتوا قرار گرفته */
}



canvas {
  display: block;
}

/*  Header  */
.header-oval {
  position: fixed;
  /* ثابت روی صفحه */
  top: 20px;
  /* کمی از بالا فاصله */
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  /* طول تقریبی 60٪ */
  height: 80px;
  /* ارتفاع هدر */
  background: #fff;
  border-radius: 50px / 50px;
  /* بیضی کشیده */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
  width: 95%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1D1D1D;
  font-family: 'AbarHighFaNum', sans-serif;
}

/* لینک‌ها در وسط */
.nav-links a {
  color: #1D1D1D;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* دکمه تماس با ما */
.contact-btn .btn {
  background: #1D1D1D;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-btn .btn:hover {
  background: #DF684C;
  color: #fff;
}

/* ریسپانسیو */
@media (max-width: 11000px) {
  .header-oval {
    width: 70%;
    height: 70px;
  }

  .nav-links a {
    margin: 0 10px;
    font-size: 14px;
  }

  .contact-btn .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .logo img {
    height: 40px;
  }
}

#softWaves1 {
  position: absolute;
  bottom: -215px;
  /* left: -3px; */
  /* width: 90%; */
  transform: rotate(180deg);
  /* transform-origin: left bottom; */
  pointer-events: none;
  z-index: 2;
}


#softWaves2 {
  position: absolute;
  bottom: -220px;
  /* left: -3px; */
  /* width: 90%; */
  transform: rotate(180deg);
  /* transform-origin: left bottom; */
  pointer-events: none;
  z-index: 7;
}

#softWaves3 {
  position: absolute;
  bottom: -215px;
  /* left: -3px; */
  /* width: 90%; */
  transform: rotate(180deg);
  /* transform-origin: left bottom; */
  pointer-events: none;
  z-index: 2;
}

#softWaves4 {
  position: absolute;
  bottom: -200px;
  /* left: -3px; */
  /* width: 90%; */
  transform: rotate(180deg);
  /* transform-origin: left bottom; */
  pointer-events: none;
}

#softWaves5 {
  position: absolute;
  bottom: -215px;
  /* left: -3px; */
  /* width: 90%; */
  transform: rotate(180deg);
  /* transform-origin: left bottom; */
  pointer-events: none;
  z-index: 2;
}


.buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  direction: ltr;
  position: relative;
  z-index: 20;
}

.btn {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 20;
}

/* دکمه پر رنگ */
.btn.filled {
  background-color: #E66C53;
  color: #fff;
  border: 2px solid #E66C53;
}

.btn.filled:hover {
  background-color: transparent;
  color: #E66C53;
  border: 2px solid #E66C53;
}

/* دکمه شفاف */
.btn.outline {
  background-color: transparent;
  color: #E66C53;
  border: 2px solid #E66C53;
}

.btn.outline:hover {
  background-color: #E66C53;
  color: #fff;
  border: 2px solid #E66C53;
}






.circle-wrapper {
  position: relative;
  width: 440px;
  height: 440px;
  z-index: 7;
}

/* دایره بزرگ */
.circle-1 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 50% 50%;
  animation: rotateLeft 45s linear infinite;
}

/* دایره کوچکتر و وسط */
.circle-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82%;
  /* ← کوچکتر */
  height: 82%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  animation: rotateRight 30s linear infinite;
}

/* آیفون */
.phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  z-index: 5;
}





.questions-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  z-index: 5;
}

@keyframes rotateLeft {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes rotateRight {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}





/* بخش بالایی – وسط دقیق */
.hero-top {
  width: 100%;
  text-align: center;
  padding-top: 100px;
}

.hero-top-title {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(180deg, #150747, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 60%;
}

.hero-top-subtitle {
  line-height: 1.6;

  font-size: 40px;
  margin-top: -26px;
  font-weight: 700;
  font-family: 'AbarHighFaNum', sans-serif;
}

.hero-top-subtitle span {
  color: #E66C53;
}

.hero-image-item img {
  max-width: 100%;
  height: auto;

}

/* هدر بالا – کل عرض */
.hero-top {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
}

/* گرید عکس‌ها – کل عرض */
.hero-image-grid {
  grid-column: 1 / -1;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;

  max-width: 900px;
  width: 100%;
}

/* Slider Container */
.slider-container {
  position: relative;
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
}

/* Slide container */
.slider {
  display: flex;
  gap: 8px;
  /* فاصله ریز بین عکس‌ها */
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 calc((100% - 16px) / 3);
  /* جبران gap */
  box-sizing: border-box;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image */
.slide img {
  width: 100%;
  max-width: 400px;
  border-radius: 30px;
}


/* Dots */
.dots-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.dot {
  width: 20px;
  height: 20px;
  margin: 0 5px;
  background-color: #D9CFFF;
  border-radius: 20px;
  cursor: pointer;
  transition: width 0.3s ease;
}

.dot.active {
  background-color: #1A0660;
  width: 70px;
  /* Highlight active dot */
}


.contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  backdrop-filter: blur(8.7px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px 70px;
  font-size: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 20px 40px rgba(0, 0, 0, 0.15);
  color: #fff;
  width: 100%;
  max-width: 600px;
  z-index: 3;
}



/* Responsive */
@media (max-width: 1200px) {

  .G_blue h2.hero-top-title{
font-size: 50pt;
  }

  .G_blue p.hero-top-subtitle{
        font-size: 50px;
        margin-top: -36px;
  }
  .how-res {
    font-size: 40px !important; 
        margin-right: -3px !important;
  }

  .our-service-res{
            font-size: 23pt;
  }
  .G_white p.subtitle{
    margin-top: -20px !important;
  }
  .content h1 {
    font-size: 60px; 
  }

  .content p.subtitle {
    padding-right: 0;
    margin-top: -30px;
    font-family: 'AbarHighFaNum', sans-serif;
    font-size: 23pt;
  }


  .widgets {
    margin-top: 25px;
    text-align: right;
    font-family: 'AbarHighFaNum', sans-serif;
    font-weight: 400;
    font-size: 16pt;

  }
  .widget-item{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 12px;
    font-size: 23px;
    line-height: 1.9;
  }
}

