* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

.slide-up {
  transform: translateY(30px);
  opacity: 0;
  animation: slideUp 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.5s;
}

.delay-2 {
  animation-delay: 1s;
}

.delay-3 {
  animation-delay: 1.5s;
}

.delay-4 {
  animation-delay: 2s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}




body {
  font-family: satoshi, sans-serif;
  background-color: #f4f4f4;
  background-image: url('images/noise.png'), url('images/Line.svg');
  background-repeat: repeat, repeat-y;
  background-position: center top, center top;
  background-size: cover, auto;
  color: black;
  overflow-x: hidden;
}


#follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(99, 85, 255, 0.486);
  border: 2px solid rgba(99, 85, 255, 0.703);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: background 0.3s;
  z-index: 9999;
}

my-header {
  display: block;
  width: 100%;
}


/* هدر */
header {
  padding: 16px 28px;
  background-color: #f5f5f5;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 95%;
  max-width: 1220px;
  left: 50%;
  transform: translateX(-50%);
  top: 16px;
  z-index: 100;
  border-radius: 20px;
}

/* ناوبری */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}


.menu {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.menu li a {
  color: black;
  text-decoration: none;
  font-weight: 500;
}

.menu .home {
  font-weight: 700;
  color: #3D79F0;
}

.menu li a:hover {
  color: #ff3838;
}

/* قسمت راست هدر */
.right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* سوشال مدیا */
.social-media {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-media img {
  width: 24px;
  height: 24px;
}

/* اکشن‌ها */
.actions {
  display: flex;
  gap: 8px;
}

button.Lang,
button.download-cv {
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

button.Lang {
    background: transparent;
    border: 1px solid #BCBCBC;
    color: black;
  }

button.download-cv {
  background: transparent;
  border: 1px solid #ff3838;
  color: black;
  height: 100%;
}

button.Lang:hover {
  background-color: rgb(239, 239, 239);
}

button.download-cv:hover {
  background-color: rgb(255, 198, 198);
}

/* هیرو */
.hero {
  position: relative;
  width: 90%;
  max-width: 1220px;
  margin: 0 auto;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 100px 0 0;
  flex-wrap: wrap;
}

.image {
  display: flex;
  height: 400px;
  margin-bottom: 250px;
  border: 1.5px dashed #9f9f9f;
  border-radius: 40px;
  padding: 8px;
  flex-shrink: 0;
}

img.my-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}

/* محتوا */
.content {
  margin-top: -70px;
  font-family: 'Noto Serif', serif;
  width: 100%;
  max-width: 600px;
}

h1.hi-txt,
h1.name-txt,
h1.uiux-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

h1.hi-txt {
  font-size: 32px;
  color: #828282;
}


h1.name-txt {
  margin-top: 16px;
  font-size: 36px;
  color: black;
}

h1.uiux-text {
  margin-top: 16px;
  font-size: 28px;
  color: #2D2D2D;
}

p.description {
  color: #343434;
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.6;
  font-family: satoshi;
}

/* دکمه‌ها */
.btn {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

button.about-btn,
button.avaible {
  height: 48px;
  padding: 0 20px;
  border: none;
  border-radius: 30px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

button.about-btn {
  background-color: #151313;
  color: white;
}

.btn a {
  text-decoration: none;
}

button.avaible {
  background-image: linear-gradient(to right, #E42424, #3D79F0, #7F178F);
  color: white;
}


button.avaible:hover {
  box-shadow: 0 2px 13px rgba(80, 98, 214, 0.226);
  background-image: linear-gradient(to right, #dc1d1d, #2868e8, #721681);

}

button.about-btn:hover {
  box-shadow: 0 2px 13px rgba(80, 98, 214, 0.226);
  background-color: #1a1818;
}

/* بخش آماری */
.state-box {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 24px 24px 24px 24px;
  background-color: #f2f2f2;
  border-radius: 26px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-left: 50px;
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.stat h3 {
  font-family: satoshi;
  font-size: 20px;
  color: #3D79F0;
}

.stat p {
  font-family: satoshi;
  font-size: 14px;
  color: #666;
}

.divider {
  width: 1px;
  height: 40px;
  background-color: #D3D3D3;
}

/* اسکرول به پایین */
.scroll-down {
  margin-top: 30px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s-d a {
  text-decoration: none;
}

.mouse {
  width: 50px;
  height: 50px;
  background: #f2f2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: movedown 2s ease-in-out infinite;
}

.mouse:hover {
  box-shadow: 0 4px 10px rgba(164, 139, 248, 0.16);
}

@keyframes movedown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.wheel {
  width: 6px;
  height: 10px;
  background: #111112;
  border-radius: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: wheelMove 1.5s infinite ease-in-out;
}

.mouse::before {
  content: '';
  width: 16px;
  height: 24px;
  border: 2px solid #3D79F0;
  border-radius: 50px;
}


.scroll-down p {
  font-size: 14px;
  color: #000;
  margin-top: 8px;
  font-family: satoshi;
}

/* ------------------- */
/*      MEDIA QUERY    */
/* ------------------- */

@media (max-width: 896px) {
  .image {
    margin-bottom: -30px;
  }

  .menu a {
    display: none;
  }

  .menu a.home {
    display: inline-block;
  }

}


@media (max-width: 768px) {
  header {
    justify-content: space-between;
    align-items: center;
    top: 8px;
    padding: 16px 16px;
    flex-wrap: wrap;
  }

  .social-media {
    display: none;
  }


  .menu a {
    display: none;
  }

  .menu a.home {
    display: inline-block;
  }

  .hero {
    flex-direction: column;
    gap: 40px;
    padding-top: 100px;
  }

  .image {
    height: 300px;
    border-radius: 30px;
    margin-bottom: -10px;
  }

  .content {
    margin-top: 20px;
    text-align: center;
  }

  h1.hi-txt {
    font-size: 28px;
    text-align: left;
  }

  h1.name-txt {
    font-size: 32px;
    text-align: left;
  }

  h1.uiux-text {
    font-size: 24px;
    text-align: left;
  }

  p.description {
    font-size: 15px;
    text-align: left;
  }

  .btn {
    justify-content: start;
  }

  .box-mouse {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 45px;
  }

  .state-box {
    width: 220px;
    flex-direction: column;
    align-items: center;
  }
}



@keyframes waveHand {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(15deg);
  }

  40% {
    transform: rotate(-10deg);
  }

  60% {
    transform: rotate(10deg);
  }

  80% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.hi-imoji {
  display: inline-block;
  animation: waveHand 3s ease-in-out 1;
  transform-origin: bottom center;
}

/* موبایل کوچیک تر */
@media (max-width: 480px) {
  #follower {
    display: none;
  }

  .menu {
    gap: 16px;
  }

  .social-media {
    gap: 8px;
  }

  button.Lang,
  button.download-cv {
    font-size: 12px;
    padding: 6px 10px;
  }
}


@media (max-width: 360px) {

  .social-media {
    display: none;
  }

  .menu {
    gap: 16px;
  }

  .social-media {
    gap: 8px;
  }

  button.Lang,
  button.download-cv {
    font-size: 12px;
    padding: 6px 10px;
  }



  #follower {
        display: none !important;
    }
}