@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700&display=swap');
  body {
    margin: 0;
    font-family: 'Vazirmatn', sans-serif;
    background-color: #0d0d0d;
    color: #fff;
    overflow-x: hidden;
  }

  header {
    position: sticky;
    top: 0;
    background-color: #0d0d0d;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 255, 255, 0.2);
  }
a{
  text-decoration: none;
}
  header h1 {
    color: #00f0ff;
    font-weight: 700;
    font-size: 1.6rem;
    text-shadow: 0 0 10px #00f0ff;
  }

  .menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #00f0ff;
    cursor: pointer;
  }

  nav {
    position: relative;
  }

  .menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }

  .menu li {
    position: relative;
  }

  .menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    transition: all 0.5s ease;
    position: relative;
    display: inline-block;
  }

  .menu li a::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    transition: all 0.5s ease;
    border-radius: 8px;
    pointer-events: none;
  }

  .menu li a:hover {
    color: #00f0ff;
    text-shadow: 0 0 5px #00f0ff;
  }

  .menu li a:hover::before {
    border-color: #00f0ff;
    box-shadow: 0 0 8px #00f0ff;
  }

  /* زیرمنو */
  .has-submenu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #0d0d0d;
    border: 1px solid #00f0ff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    z-index: 1000;
    min-width: 300px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .has-submenu:hover .submenu {
    display: block;
  }

  .submenu li a {
    display: block;
    padding: 10px 15px;
    transition: all 0.5s ease;
    border-radius: 6px;
  }

  .submenu li a:hover {
    padding-right: 25px;
    background-color: rgba(0, 255, 255, 0.1);
    color: #00f0ff;
    text-shadow: 0 0 5px #00f0ff;
  }

  /* فلش کنار زیرمنو در همه حالات */
  .has-submenu > a {
    position: relative;
    padding-left: 20px; /* جا برای فلش سمت چپ (rtl) */
  }
  .has-submenu > a .arrow {
    position: absolute;
    /* left: 5px;
    right: 80px; */
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #00f0ff;
    transition: transform 0.5s ease;
    pointer-events: none;
    user-select: none;
  }

  /* وقتی زیرمنو بازه، فلش بچرخه */
  .has-submenu:hover > a .arrow,
  .has-submenu.open > a .arrow {
    transform: translateY(-50%) rotate(180deg);
  }

  /* پارالاکس */
  .parallax-section {
    height: 400px;
    background-image: url('img/net.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin: 60px 0;
    box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.5);
  }

  .hero {
    height: 100vh;
    background: linear-gradient(rgba(13, 13, 13, 0.7), rgba(13, 13, 13, 0.7)), url('img/motion.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hero h2 {
    font-size: 3rem;
    color: #00f0ff;
    text-shadow: 0 0 15px #00f0ff;

  }
  @media (max-width: 768px) {
    .hero h2 {
      font-size: 1.5rem;
    }}



  .parallax-section h2 {
    font-size: 3rem;
    color: #00f0ff;
    text-shadow: 0 0 15px #00f0ff;
   margin-top: 80px;

  }
  @media (max-width: 768px) {
    .parallax-section h2 {
      font-size: 1.5rem;
    }}

  section {
    padding: 80px 40px;
  }

  .about, .services, .contact {
    max-width: 900px;
    margin: auto;
    text-align: center;
  }

  /* h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #00f0ff;
    text-shadow: 0 0 10px #00f0ff;
  } */

  .service-item {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #00f0ff;
    border-radius: 10px;
    background-color: rgba(0, 255, 255, 0.05);
    transition: transform 0.3s;
  }

  .service-item:hover {
    transform: scale(1.05);
  }

  footer {
    background-color: #111;
    padding: 30px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #00f0ff;
  }

  /* موبایل */
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }

    nav {
      position: relative;
      z-index: 1001;
    }

    .menu {
      flex-direction: column;
      position: fixed;
      top: 0;
      right: -280px; /* کاملا خارج از صفحه */
      width: 280px;
      height: 100vh;
      background-color: #0d0d0d;
      padding: 60px 20px 20px;
      transition: right 0.4s ease;
      overflow-y: auto;
    }

    .menu.active {
      right: 0;
    }

    .menu li {
      margin-bottom: 15px;
    }

    /* زیرمنوهای موبایل: موقع hover نمایش نمیده، فقط با کلیک */
    .has-submenu:hover .submenu {
      display: none;
    }

    .has-submenu .submenu {
      display: none;
      position: static;
      background: none;
      border: none;
      padding: 0;
      margin: 0;
      list-style: none;
    }

    .has-submenu.open .submenu {
      display: block;
    }

    /* فلش در موبایل هم با چرخش هنگام باز بودن */
    .has-submenu > a::after {
      content: none; /* حذف فلش پیش‌فرض */
    }
    /* فلش سفارشی در موبایل قبلاً تعریف شده */

    /* دکمه بستن منو */
    .close-btn {
      position: fixed;
      top: 10px;
      right: 280px; /* سمت راست داخل منو */
      font-size: 1.8rem;
      background: none;
      border: none;
      color: #00f0ff;
      cursor: pointer;
      display: none;
      z-index: 1100;
    }

    .menu.active + .close-btn {
      display: block;
    }
  }

  /* دسکتاپ: دکمه بستن منو نباشه */
  @media (min-width: 769px) {
    .close-btn {
      display: none !important;
    }
  }
  @media (max-width: 768px) {
  .menu {
    right: -100%; /* منو کاملاً بیرون صفحه باشه وقتی بسته است */
  }

  .has-submenu > a .arrow {
    position: relative;
    right: 10px !important; 
    font-size: 1rem;
    transform: none !important;
    pointer-events: none;
    user-select: none;
  }
 
}


/* ایکون های هدر */
.brand{
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-icons{
  /* border: 1px solid #00f0ff; */
  margin-left: 10px;
  padding: 10px;
}
.auth-icons a {
  margin: 0 10px;
  color: #00e0ff;
  text-shadow: 0 0 5px #00e0ff;
  text-decoration: none;
  margin: 0 8px;
  font-size: 1.4rem;
  transition: transform 0.3s, color 0.3s;
  
}

.auth-icons a:hover {
  color: #ffffff;
  transform: scale(1.2);
}
.auth-icons a i {
  margin-left: 5px;
}

.auth-icons a::title{
 border-radius: 10px;
}


.tooltip {
  position: relative;
  cursor: pointer;
}

.tooltip::after {
  content: attr(data-title);
  position: absolute;
  left: 25px;
  transform: translateX(-50%);
  background-color: #00e0ff;
  color: black;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s;
  font-size: 0.9rem;
  transition: 0.5s;
}

.tooltip:hover::after {
  opacity: 1;
}








/*  انیمیشن راه های خلاقانه  */
  .neon-heading {
  font-size: 2rem;
  color: #00f0ff;
  text-shadow: 0 0 15px #00f0ff;
  
  animation: neonPulse 2.5s ease-in-out infinite alternate;
  text-align: center;
  margin-bottom: 40px;
}


  /* بخش خدمات */

 /* بخش کلی */
 .carousel {
  perspective: 700px;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
  text-align: center;
  scrollbar-color: #00f0ff rgba(255,255,255,0.1);
}

.carousel h3{ 
  font-size: 2.5rem;
  margin: 2rem 0;
  color: #00f5ff;
  text-shadow: 0 0 20px #00f5ff;
}

/* کانتینر 3D */
.carousel__container {
  width: 100%;
  height: 340px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* هر آیتم */
.carousel__item {
  position: absolute;
  width: 240px;
  height: 300px;
  left: 50%;
  top: 0;
  margin-left: -120px;
  border-radius: 15px;
  overflow: hidden;
  background: #111;
  color: #00f0ff;
  font-weight: bold;
  text-shadow: 0 0 8px #00f0ff;
  backface-visibility: hidden;
  box-shadow: 0 6px 12px rgba(0, 255, 255, 0.1), 0 0 15px rgba(0, 255, 255, 0.2);
  filter: brightness(0.6) grayscale(40%);
  transition: filter 0.3s, box-shadow 0.3s;
  z-index: 1;
}

.carousel__item.highlighted {
  box-shadow: 0 12px 25px rgba(0, 255, 255, 0.3), 0 0 40px rgba(0, 255, 255, 0.5);
  filter: brightness(1.2) grayscale(0%);
  z-index: 10;
}

.carousel__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.8);
  transition: filter 0.3s;
}

.carousel__item:hover img {
  filter: grayscale(0%) brightness(1.1);
}

.carousel__item h4 {
  padding: 15px 10px;
  font-size: 1rem;
}


/* حالت موبایل - اسکرول افقی با فلکس و حذف فضای خالی */
@media (max-width: 768px) {
  .carousel__container {
    position: static !important;
    height: auto !important;
    transform: none !important;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
    margin: 0;
    -webkit-overflow-scrolling: touch;
  }

  .carousel {
    padding: 0 10px !important;
    margin: 0;
  }

  .carousel__item {
    position: relative !important;
    left: auto !important;
    margin-left: 0 !important;
    flex: 0 0 80%;
    height: auto !important;
    margin: 0 !important;
    scroll-snap-align: center;
    filter: none !important;
    box-shadow: none !important;
    z-index: auto !important;
  }

  .carousel__item img {
    height: 160px;
  }
}






  /*  بخش چرا فنا کد  */
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 2rem 0;
    color: #00f5ff;
    text-shadow: 0 0 20px #00f5ff;
  }

  .features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 2rem;
  }

  .card {
    background: rgba(0, 255, 255, 0.08);
    border: 2px solid #00f5ff55;
    border-radius: 20px;
    width: 220px;
    padding: 1.5rem;
    text-align: center;
    transition: 0.4s ease;
    opacity: 0;
    transform: translateY(50px);
    box-shadow: 0 0 20px #00f5ff22;
  }

  .card:hover {
    box-shadow: 0 0 25px #00f5ff, 0 0 45px #00f5ff66;
    transform: scale(1.05);
  }

  .card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
    color: #00f5ff;
    text-shadow: 0 0 10px #00f5ff;
  }

  .card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #00f5ff;
  }

  .card-desc {
    font-size: 0.95rem;
    color: #ccc;
  }

  .cta-button {
    display: block;
    margin: 3rem auto 2rem;
    background: transparent;
    border: 1px solid #00f5ff;
    color: #00f5ff;
    border-radius: 8px;

    padding: 0.8rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 0 15px #00f5ff44;
    transition: 0.3s ease-in-out;
  }

  .cta-button:hover {
    background-color: #00f5ff;
    color: #000;
    box-shadow: 0 0 10px #00f5ff;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
      text-shadow: 0 0 10px #00f5ff;
    }
    50% {
      transform: scale(1.15);
      text-shadow: 0 0 25px #00f5ff;
    }
    100% {
      transform: scale(1);
      text-shadow: 0 0 10px #00f5ff;
    }
  }

  @media (max-width: 600px) {
    .card {
      width: 90%;
    }
  }





/* بخش درباره ما */

.about-preview {
  max-width: 100%;
  margin: 40px auto;
  padding: 24px;
  background-color: #0d0d0d;
  text-align: center;
  /* border: 1px solid #21262d; */
  border-radius: 12px;
  position: relative;
  
  /* box-shadow: 0 0 12px rgba(0, 247, 255, 0.3); */
  /* direction: rtl; */
}

.about-preview h2 {
  margin-bottom: 12px;

  font-size: 2.5rem;
    /* margin: 2rem 0; */
    color: #00f5ff;
    text-shadow: 0 0 20px #00f5ff;
}

.about-text {
  max-height: 100px;
  overflow: hidden;
  position: relative;
  line-height: 1.8;
}

.about-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  height: 2.5em;
  width: 100%;
  background: linear-gradient(to top, #0d0d0d, transparent);
}

.read-more {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: #0d1117;
  border: 1px solid #00f5ff;
  color: #00f5ff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.read-more:hover {
  background: #00f5ff;
  color: #0d1117;
  box-shadow: 0 0 10px #00f5ff;
}





















 /*  بخش   نظرات  */

  .slider-container {
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
    background: #000000;
    border-radius: 15px;
    box-shadow: 0 0 15px #00e0ff, 0 0 40px #00e0ff;
    overflow: hidden;
    position: relative;
    padding: 20px 60px;
    box-sizing: border-box;
    text-align: right;
  }

  .slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
    direction: ltr;
  }

  .slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 30px 20px;
    text-align: right;
    color: #00dfff;
  }

  .comment-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-shadow: 0 0 5px #00e0ff, 0 0 15px #00e0ff;
    text-align: center;
  }

  .customer-info {
    text-align: center;
  }

  .avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #00e0ff;
    box-shadow: 0 0 10px #00e0ff, 0 0 20px #00e0ff;
    object-fit: cover;
  }

  .customer-details {
    text-align: center;
  }

  .customer-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #00b8cc;
    text-shadow: 0 0 5px #00b8cc, 0 0 12px #00b8cc;
    margin-bottom: 5px;
  }

  .stars {
    color: #fffb00;
    text-shadow: 0 0 3px #fffb00, 0 0 10px #fffb00;
    font-size: 1.1rem;
  }

  .stars span {
    filter: drop-shadow(0 0 3px #fffb00);
  }

  .btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 2px solid #00e0ff;
    color: #00e0ff;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 0 10px #00e0ff, 0 0 30px #00e0ff;
    transition: all 0.3s ease;
    user-select: none;
  }

  .btn:hover {
    background: #00e0ff;
    color: #111133;
    box-shadow: 0 0 20px #00e0ff, 0 0 40px #00e0ff;
  }

  .btn.prev {
    left: 15px;
  }

  .btn.next {
    right: 15px;
  }

  @media (max-width: 768px) {
    .slider-container {
      padding: 20px;
    }

    .comment-text {
      font-size: 1.1rem;
    }

    .avatar {
      width: 60px;
      height: 60px;
    }

    .customer-name {
      font-size: 1.1rem;
    }

    .stars {
      font-size: 1rem;
    }

    .btn {
      padding: 8px 12px;
      font-size: 1.2rem;
    }
  }

  @media (max-width: 480px) {
    .slider-container {
      padding: 15px;
      border-radius: 10px;
    }

    .comment-text {
      font-size: 1rem;
    }

    .avatar {
      width: 50px;
      height: 50px;
    }

    .customer-name {
      font-size: 1rem;
    }

    .btn {
      padding: 6px 10px;
      font-size: 1rem;
    }

    .btn.prev {
      left: 10px;
    }

    .btn.next {
      right: 10px;
    }
  }












  /* بخش  فوتر وب سایت */
  footer {
    background: #000;
    padding: 40px 20px;
    box-shadow: 0 -1px 25px #00e0ff;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    flex-direction: row-reverse;
  }
  
  .footer-col {
    flex: 1 1 280px;
    min-width: 250px;
    text-align: center;
  min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 0 10px #00e0ff;
    margin-bottom: 10px;
  }
  
  .footer-logo h2 {
    font-size: 1.4rem;
    color: #00e0ff;
    text-shadow: 0 0 5px #00e0ff;
    margin: 0;
  }
  
  .social-icons {
    margin-top: 10px;
    text-align: center;
    padding-right: 0;
  }
  
  .social-icons a {
    margin: 0 8px;
    font-size: 1.6rem;
    color: #00e0ff;
    text-shadow: 0 0 5px #00e0ff;
    transition: transform 0.3s, color 0.3s;
  }
  
  .social-icons a:hover {
    color: #ffffff;
    transform: scale(1.2);
  }
  
  .address {
    line-height: 1.8;
    font-size: 1rem;
    color: #00c0e0;
  }
  
  .map-container {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px #00e0ff, 0 0 20px #00e0ff;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-bottom {
    margin-top: 30px;
    text-align: center;
    color: #00aabb;
    font-size: 0.9rem;
    text-shadow: 0 0 3px #00aabb;
  }
  
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 20px; /* فاصله بین ستون‌ها در موبایل کمتر شده */
    }
  

    .footer-col {
      flex: 1 1 100%;
      min-width: auto;
      margin-bottom: 20px;

    }
  
    .footer-logo img {
      width: 70px;
      height: 70px;
    }
  
    .footer-logo h2 {
      font-size: 1.2rem;
    }
  
    .social-icons a {
      font-size: 1.4rem;
      margin: 0 6px;
    }
  
    .address {
      font-size: 0.95rem;
    }
  
    .map-container {
      max-width: 100%;
      height: auto;
    }
  }
  











  /* بخش دکمه پشتیبانی */
 
  .chat-button {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #00e5ff67;
    border-radius: 50%;
    box-shadow:
      0 0 6px #00e5ffb3,
      0 0 12px #00e5ffb3,
      0 0 18px #00e5ffb3;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #001f3f;
    font-size: 28px;
    transition: transform 0.2s ease;
    z-index: 1001;
  }
  .chat-button:hover {
    transform: scale(1.1);
    box-shadow:
      0 0 8px #00e5ffce,
      0 0 18px #00e5ffce,
      0 0 24px #00e5ffce;
    color: #00e5ffce;
  }

  /* فرم پشتیبانی */
  .chat-form {
    position: fixed;
    bottom: 110px;
    right: 40px;
    width: 320px;
    max-width: 90vw;
    background: #111126;
    border-radius: 12px;
    padding: 40px; 
    padding-right: 20px;
    box-sizing: border-box;
    box-shadow:
      0 0 6px #00e5ff,
      0 0 18px #00e5ff;
    border: 3px solid transparent;
    animation: borderGlow 3s linear infinite;
    display: none;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
  }

  @keyframes borderGlow {
    0% {
      border-color: #00e5ff;
      box-shadow:
        0 0 6px #00e5ff,
        0 0 18px #00e5ff;
    }
    50% {
      border-color: #00ffff;
      box-shadow:
        0 0 10px #00ffff,
        0 0 30px #00ffff;
    }
    100% {
      border-color: #00e5ff;
      box-shadow:
        0 0 6px #00e5ff,
        0 0 18px #00e5ff;
    }
  }

  /* ورودی ها */
  .chat-form label {
    color: #00e5ff;
    font-weight: bold;
    font-size: 14px;
  }

  .chat-form input,
  .chat-form textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #00e5ff;
    background: #0a0a1a;
    color: #00e5ff;
    resize: vertical;
    font-size: 14px;
  }

  .chat-form textarea {
    min-height: 80px;
  }

  .chat-form button.submit-btn {
    background: #00e5ff;
    border: none;
    border-radius: 8px;
    color: #001f3f;
    font-weight: bold;
    padding: 10px;
    cursor: pointer;
    box-shadow:
      0 0 6px #00e5ff,
      0 0 18px #00e5ff;
    transition: background 0.3s ease;
  }
  .chat-form button.submit-btn:hover {
    background: #00ffff;
  }



  @media (max-width: 768px) {
   
    .chat-form {
      width: 90vw;          /* عرض فرم تا 90 درصد عرض صفحه */
      max-width: 320px;     /* حداکثر عرض ثابت */
      padding: 20px 15px;   /* کاهش padding */
    }

    .chat-form label {
      font-size: 13px;      /* کمی کوچکتر */
    }

    .chat-form input,
  .chat-form textarea {
    font-size: 13px;      /* کمی کوچکتر */
    padding: 6px 8px;     /* کاهش padding ورودی‌ها */
  }

  .chat-form textarea {
    min-height: 60px;     /* کاهش ارتفاع textarea */
  }



.chat-form button.submit-btn {
    padding: 8px;
    font-size: 14px;
  }








    .chat-button{
      width: 50px;
      height: 50px;
      bottom: 20px;
    }
  
    .chat-button {
      right: 20px;
      font-size: 22px;
    }
  
    
  
    .chat-form {
      right: 20px;
      width: 90vw;
      padding: 25px 20px;
    }
  
    
  }





  /* بخش دکمه بالابر */
  .scroll-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: #00e5ff67;
    border-radius: 50%;
    box-shadow:
      0 0 6px #00e5ffb3,
      0 0 12px #00e5ffb3,
      0 0 18px #00e5ffb3;
    border: 2px solid #00e5ffb3;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, opacity 0.4s ease;
    opacity: 0;
    visibility: hidden;
  }
  .scroll-top.show {
    opacity: 1;
    visibility: visible;
  }
  .scroll-top:hover {
    transform: scale(1.1);
    box-shadow:
      0 0 12px #00e5ffb3,
      0 0 20px #00e5ffb3,
      0 0 30px #00e5ffb3;
  }

  /* مثلث سفید  وسط */
  .scroll-top::before {
    content: '';
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 18px solid white;
    position: relative;
    top: 2px;
    filter: drop-shadow(0 0 3px #00e5ff);
  }


  @media (max-width: 768px) {
    .scroll-top {
      width: 50px;
      height: 50px;
      bottom: 20px;
    }
    .scroll-top {
      left: 40px;
    }
  .scroll-top::before {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 14px solid white;
  }
 
}
 
  



