@font-face {
  font-family: "centary";
  src: url(../fonts/GOTHIC.TTF);
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*::selection {
}
:root {
}
ul,
li {
}
a {
}
body,
html {
}

body {
  background-image: 
    /* ۲. هاله آبی تکنولوژیک در بالا سمت چپ */
    radial-gradient(
      circle at 10% 15%,
      rgba(54, 118, 201, 0.625) 0%,
      transparent 50%
    ),
    /* ۳. هاله نارنجی ملایم در پایین سمت راست */
    radial-gradient(
        circle at 90% 85%,
        rgba(255, 242, 0, 0.364) 0%,
        transparent 50%
      );

  /* این خط باعث می‌شود با اسکرول کردن، بک‌گراند ثابت بماند و حس حرفه‌ای‌تری بدهد */
  background-attachment: fixed;

  /* تنظیمات تکرار برای گرید و گرادینت‌ها */
  background-repeat: no-repeat, no-repeat;

  /* برای اطمینان از نمایش صحیح در موبایل */
  background-size: auto, auto;
}

button,
textarea,
input {
}
h1,
h2,
h3,
h4,
h5,
h6 {
}
/* alamate hengam group ke aval har safhe hast */
/* logo */
.logo {
  position: absolute;
  letter-spacing: 5px;
  width: 350px;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 38px;
}

/* taghirat marbot be logo ha va 4 box roye dafhe asli */
/* boxes */
.gallary {
  height: 15.3vh;
  position: relative;
  left: 50%;
  top: 300px;
  transform: translate(-50%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 70px;
}

.mobile-text {
  display: none;
  font-size: 14px;
  margin-top: 28px;
  text-align: center;
}
.box {
  transition: opacity 0.1s;
}

.box > a > img {
  width: 70px;
  filter: grayscale(100%);
  transition: all 1s;
  cursor: pointer;
}
.box1 > :first-child {
  width: 75px;
  position: relative;
  top: 5px;
}
.box3 > :first-child {
  /* width: 66px; */
  transform: scale(0.92);
}
.box4 > :first-child {
  width: 79px;
  position: relative;
  top: 10px;
}
.box3 {
  opacity: 0.7;
  transform: scale(1.08);
}
.box > a > img:hover {
  filter: grayscale(0%);
  transform: scale(1.2);
}
.box3:hover {
  opacity: 1;
}
/* taghirat marbot be khat o neveshte haye balaye har logo */
/* اینجا */
.line-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* تا مانع کلیک روی المان‌های دیگر نشود */
  z-index: 10;
  display: none;
}

#bluePath {
  stroke-width: 1.5px;
  transition: stroke-dashoffset 0.5s ease;
}

/* استایل کانتینر متن تایپ شونده */
.typing-container {
  white-space: nowrap;
  position: absolute;
  z-index: 11;
  font-size: 20px;
  font-weight: bold;
  color: black; /* هماهنگ با رنگ انتخاب  */
  white-space: nowrap;
  pointer-events: none;
  direction: rtl; /* برای متون فارسی */
  overflow: visible;
}
#typing-text {
  font-family: centary;
  font-size: 15px;
}
/* footer */
.footer {
  width: auto;
  width: 330px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 1;
  transform: translate(-50%);
  font-size: 20px;
  gap: 35px;
}
.footer > div {
  will-change: transform;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased; /* برای متن */
  transition:
    transform 1s,
    opacity 1s;
}
.footer:hover > div {
  opacity: 0.4;
}
.footer > :first-child:hover {
  transform: scale(1.1);
  opacity: 1;
}
.footer > :nth-child(2):hover {
  transform: scale(1.1);
  opacity: 1;
}
.footer > :last-child:hover {
  transform: scale(1.1);
  opacity: 1;
}
@media (max-width: 1024px) {
  .logo {
    top: 220px;
  }
  .gallary {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    top: 600px;
  }
  .box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mobile-text {
    display: block;
  }

  .line-svg {
    display: none !important;
  }

  #typing-text {
    display: none;
  }
  .footer {
    height: 50px;
    line-height: 70px;
    position: absolute;
    top: 1000px;
  }
  .box > a > img {
    filter: grayscale(0%);
  }
  .box3 {
    opacity: 1;
  }
}
