/* =========================================================
   index.css
   فایل استایل صفحه اصلی سایت آموزش عربی
   مربوط به فایل: index.php

   نسخه اصلاح‌شده:
   - رفع تداخل h1 سئویی با هدر
   - پشتیبانی همزمان از .visually-hidden و .seo-title
   - پشتیبانی همزمان از .seo-content و .seo-content-area
   - حفظ ظاهر شیشه‌ای/نئونی قبلی
   - حفظ نام کلاس‌ها و IDهای موجود
   ========================================================= */


/* =========================================================
   1. فونت اختصاصی
   اگر فایل فونت در مسیر /fonts وجود دارد، فعال می‌شود.
   در غیر این صورت مرورگر از فونت‌های جایگزین استفاده می‌کند.
   ========================================================= */

@font-face {
  font-family: 'Moalla';
  src:
    url('/fonts/moalla-regular.woff2') format('woff2'),
    url('/fonts/moalla-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/* =========================================================
   2. ریست عمومی صفحه
   حذف فاصله‌های پیش‌فرض مرورگر و جلوگیری از اسکرول افقی
   ========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  overflow-x: hidden;
  direction: rtl;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top, rgba(19, 49, 64, 0.95), rgba(5, 8, 11, 1) 58%),
    #05080b;
  color: #eafcff;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}


/* =========================================================
   3. تیتر مخفی سئو
   مربوط به:
   <h1 class="visually-hidden">...</h1>
   یا:
   <h1 class="seo-title">...</h1>

   نکته مهم:
   در بعضی نسخه‌های index.php کلاس h1 سئو به‌جای visually-hidden
   با نام seo-title آمده بود. برای جلوگیری از خراب شدن هدر، هر دو کلاس
   با یک قانون استاندارد مخفی می‌شوند.
   ========================================================= */

.visually-hidden,
.seo-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  outline: 0 !important;
}


/* =========================================================
   4. پس‌زمینه ستاره‌ای
   مربوط به:
   <div class="stars" aria-hidden="true"></div>
   
   اگر در فایل index.js داخل .stars ستاره‌ها با span ساخته می‌شوند،
   این بخش ظاهر آن‌ها را کنترل می‌کند.
   ========================================================= */

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #eaeef0;
  border-radius: 100%;
  opacity: 0.2;
  box-shadow:
    0 0 4px rgba(154, 223, 255, 0.6),
    0 0 8px rgba(154, 223, 255, 0.35),
    0 0 14px rgba(154, 223, 255, 0.15);
  animation: twinkleGlow 3.5s infinite ease-in-out;
  will-change: opacity, box-shadow;
}

@keyframes twinkleGlow {
  0% {
    opacity: 0.15;
    box-shadow:
      0 0 3px rgba(154, 223, 255, 0.3),
      0 0 6px rgba(154, 223, 255, 0.2),
      0 0 10px rgba(154, 223, 255, 0.1);
  }

  50% {
    opacity: 0.95;
    box-shadow:
      0 0 6px rgba(154, 223, 255, 0.9),
      0 0 14px rgba(154, 223, 255, 0.6),
      0 0 26px rgba(154, 223, 255, 0.35);
  }

  100% {
    opacity: 0.15;
    box-shadow:
      0 0 3px rgba(154, 223, 255, 0.3),
      0 0 6px rgba(154, 223, 255, 0.2),
      0 0 10px rgba(154, 223, 255, 0.1);
  }
}


/* =========================================================
   5. ظرف اصلی صفحه
   مربوط به:
   <main class="app">
   
   این بخش کل صفحه اصلی را وسط‌چین و منظم می‌کند.
   ========================================================= */

.app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  padding: 40px 0 60px;
  isolation: isolate;
}


/* =========================================================
   6. لوگو و شعار سایت
   مربوط به:
   <header class="logo">
     <a> <img> </a>
     <span>...</span>
   </header>

   نکته:
   اگر لوگو در خروجی شکسته دیده شود، مسیر img در index.php باید بررسی شود.
   این CSS چیدمان لوگو را پایدار می‌کند، اما مسیر فایل تصویر باید در HTML صحیح باشد.
   ========================================================= */

.logo {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1;
}

.logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  display: block;
  width: 80px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.logo img {
    animation: logoBlink 3s ease-in-out infinite;
}

@keyframes logoBlink {
    0% {
        opacity: 0.28;
        filter: brightness(0.55);
    }
    50% {
        opacity: 1;
        filter: brightness(1.08);
    }
    100% {
        opacity: 0.28;
        filter: brightness(0.55);
    }
}

.logo span {
  display: block;
  margin-top: 10px;
  padding: 0 16px;
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.72;
  transform: translateY(20px);
}


/* =========================================================
   7. بخش متن تایپی و راهنمای انتخاب
   مربوط به:
   <section class="texts">
     <div id="typingText"></div>
     <p class="blink">...</p>
   </section>
   ========================================================= */

.texts {
  width: 100%;
  text-align: center;
  min-height: 90px;
  padding: 0 16px;
}

#typingText {
  min-height: 40px;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.8;
}

.blink {
  margin-top: 30px;
  font-size: 25px;
  line-height: 1.7;
  opacity: 1;
  animation: blink 1.8s infinite;
  transition: color 0.6s ease;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }

  100% {
    opacity: 1;
  }
}


/* =========================================================
   8. منوی اصلی صفحه
   مربوط به:
   <nav class="menu">
     <a class="btn">...</a>
   </nav>
   ========================================================= */

.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 22px;
  width: 90%;
  max-width: 1100px;
}


/* =========================================================
   9. دکمه‌های منو و دکمه درباره ما
   مربوط به:
   <a class="btn">...</a>
   
   این کلاس هم در منوی اصلی استفاده شده
   هم در بخش درباره ما.
   ========================================================= */

.btn {
  position: relative;
  width: 160px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  border-radius: 14px;
  text-decoration: none;
  color: #eafcff;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.085),
      rgba(255, 255, 255, 0.035)
    );
  border: 1px solid rgba(127, 220, 255, 0.12);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.45),
    inset 0 0 18px rgba(127, 220, 255, 0.025);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0, 255, 255, 0.25),
    transparent
  );
  opacity: 0;
  transform: translateX(30%);
  transition:
    opacity 0.35s ease,
    transform 0.55s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at top,
      rgba(255, 255, 255, 0.07),
      transparent 55%
    );
  opacity: 0.75;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 255, 0.28);
  box-shadow:
    0 16px 35px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(0, 255, 255, 0.4),
    inset 0 0 18px rgba(0, 255, 255, 0.06);
}

.btn:hover::before {
  opacity: 1;
  transform: translateX(-30%);
}

.btn:focus-visible {
  outline: 2px solid rgba(0, 255, 255, 0.75);
  outline-offset: 4px;
}

.btn span {
  position: relative;
  z-index: 2;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}


/* =========================================================
   10. بخش محتوای سئو
   مربوط به:
   <section class="seo-content">
   یا:
   <section class="seo-content-area">

   نکته مهم:
   در این نسخه، seo-content-area فقط برای سئو نگه داشته شده
   و از دید کاربر مخفی شده است.
   ========================================================= */

.seo-content {
  width: min(92%, 900px);
  margin: 10px auto 0;
  padding: 28px 24px;
  text-align: right;
  line-height: 2.15;
  font-size: 15px;
  color: rgba(234, 252, 255, 0.82);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.022)
    );
  border: 1px solid rgba(127, 220, 255, 0.12);
  border-radius: 22px;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.28),
    inset 0 0 30px rgba(127, 220, 255, 0.025);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.seo-content h2 {
  margin: 24px 0 12px;
  font-size: 21px;
  line-height: 1.8;
  color: #eafcff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-content h2:first-child {
  margin-top: 0;
}

.seo-content p {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-content strong {
  color: #ffffff;
  font-weight: 600;
}

.seo-content section {
  margin-top: 22px;
}

.seo-content section[lang="en"] {
  direction: ltr;
  text-align: left;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.seo-content section[lang="ar"] {
  direction: rtl;
  text-align: right;
}

/* مخفی‌سازی کامل محتوای سئو از دید کاربر */
.seo-content-area {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-width: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  outline: 0 !important;
}


/* =========================================================
   11. بخش درباره ما در صفحه اصلی
   مربوط به:
   <div class="about">
     <a class="btn">درباره ما</a>
   </div>
   ========================================================= */

.about {
  display: flex;
  justify-content: center;
  align-items: center;
}


/* =========================================================
   12. خط نئونی پایین صفحه
   مربوط به:
   <footer class="neon-line">
     <span></span><span></span><span></span><span></span>
   </footer>
   ========================================================= */

.neon-line {
  position: relative;
  width: 100%;
  height: 60px;
  margin-top: auto;
  overflow: hidden;
}

.neon-line::before {
  content: "";
  position: absolute;
  bottom: 20px;
  left: -10%;
  width: 120%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #00ffe1,
    transparent
  );
  transform: rotate(-2deg);
  box-shadow:
    0 0 15px #00ffe1,
    0 0 32px rgba(0, 255, 225, 0.45);
}

.neon-line span {
  position: absolute;
  bottom: 18px;
  width: 10px;
  height: 10px;
  background: #00ffe1;
  border-radius: 50%;
  box-shadow:
    0 0 10px rgba(0, 255, 225, 0.9),
    0 0 22px rgba(0, 255, 225, 0.55);
  animation: float 4s infinite;
}

.neon-line span:nth-child(1) {
  left: 30%;
  animation-delay: 0s;
}

.neon-line span:nth-child(2) {
  left: 55%;
  animation-delay: 1.5s;
}

.neon-line span:nth-child(3) {
  left: 75%;
  animation-delay: 3s;
}

.neon-line span:nth-child(4) {
  left: 12%;
  animation-delay: 2.2s;
}

@keyframes float {
  0% {
    transform: translateY(0);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-10px);
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0.3;
  }
}


/* =========================================================
   13. ریسپانسیو موبایل
   نمایش مناسب برای گوشی‌های کوچک تا عرض 600px
   ========================================================= */

@media (max-width: 600px) {
  .app {
    gap: 30px;
    padding: 30px 0 45px;
  }

  
  
.logo img {
  display: block;
  width: 60px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.logo img {
    animation: logoBlink 3s ease-in-out infinite;
}

@keyframes logoBlink {
    0% {
        opacity: 0.28;
        filter: brightness(0.55);
    }
    50% {
        opacity: 1;
        filter: brightness(1.08);
    }
    100% {
        opacity: 0.28;
        filter: brightness(0.55);
    }
}


  .logo span {
    font-size: 12px;
    padding: 0 12px;
  }

  .texts {
    min-height: 80px;
  }

  #typingText {
    font-size: 18px;
    line-height: 1.7;
  }

  .blink {
    margin-top: 14px;
    font-size: 15px;
  }

  .menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 85%;
    padding: 0 16px;
  }

  .btn {
    width: 100%;
    height: 48px;
  }

  .btn span {
    font-size: 12px;
  }

  .seo-content,
  .seo-content-area {
    width: 90%;
    padding: 22px 18px;
    font-size: 13.5px;
    line-height: 2;
    border-radius: 18px;
  }

  .seo-content h2,
  .seo-content-area h2 {
    font-size: 17px;
  }

  .about {
    width: 60%;
  }

  .about .btn {
    width: 100%;
  }

  .neon-line {
    height: 50px;
  }
}


/* =========================================================
   14. ریسپانسیو تبلت
   نمایش مناسب برای عرض 601px تا 992px
   ========================================================= */

@media (min-width: 601px) and (max-width: 992px) {

.logo img {
  display: block;
  width: 60px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.logo img {
    animation: logoBlink 3s ease-in-out infinite;
}

@keyframes logoBlink {
    0% {
        opacity: 0.28;
        filter: brightness(0.55);
    }
    50% {
        opacity: 1;
        filter: brightness(1.08);
    }
    100% {
        opacity: 0.28;
        filter: brightness(0.55);
    }
}


  #typingText {
    font-size: 22px;
  }

  .blink {
    margin-top: 16px;
    font-size: 16px;
  }

  .menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 88%;
    padding: 0 30px;
  }

  .btn {
    width: 100%;
    height: 52px;
  }

  .about {
    width: 140px;
  }

  .seo-content,
  .seo-content-area {
    width: 88%;
    font-size: 14.5px;
  }
}


/* =========================================================
   15. مانیتورهای بزرگ
   نمایش بهتر برای صفحه‌های بالای 1400px
   ========================================================= */

@media (min-width: 1400px) {
  .app {
    gap: 44px;
  }

  .logo img {
    width: 100px;
  }

.logo img {
    animation: logoBlink 3s ease-in-out infinite;
}

@keyframes logoBlink {
    0% {
        opacity: 0.28;
        filter: brightness(0.55);
    }
    50% {
        opacity: 1;
        filter: brightness(1.08);
    }
    100% {
        opacity: 0.28;
        filter: brightness(0.55);
    }
}


  #typingText {
    font-size: 30px;
  }

  .blink {
    margin-top: 20px;
    font-size: 19px;
  }

  .menu {
    gap: 26px;
  }

  .btn {
    width: 180px;
    height: 58px;
  }

  .btn span {
    font-size: 16px;
  }

  .seo-content,
  .seo-content-area {
    max-width: 980px;
    font-size: 16px;
  }
}


/* =========================================================
   16. کاهش حرکت برای کاربرانی که motion را غیرفعال کرده‌اند
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .stars span,
  .blink,
  .neon-line span {
    animation: none;
  }

  .btn,
  .btn::before {
    transition: none;
  }
}


/* =========================================================
   پایان فایل index.css
   ========================================================= */


   /*    اسلایدر */
   

   /* === Hero Slider Styles (Professional Version) === */

.hero-slider {
  width: 100%;
  max-width: 1100px; /* کمی محدودتر برای حس حرفه ای */
  height: 55vh; /* ارتفاع متوسط، نه خیلی بلند */
  position: relative;
  overflow: hidden;
  margin: 30px auto; /* فاصله بیشتر از بالا و پایین */
  border-radius: 10px; /* گوشه های کمی گرد */
  /* حذف شد: box-shadow, border نئونی شدید */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(10, 15, 25, 0.8); /* پس زمینه تیره و کمی شفاف */
  box-shadow: inset 0 0 50px rgba(0, 30, 60, 0.5); /* سایه داخلی برای عمق */
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
 
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* محتوا به سمت چپ متمایل می شود */
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 0.8, 0.25, 1); /* انیمیشن fade با کمی مکث */
  border-radius: 8px;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* گرادینت ملایم تر و تیره تر */
  background: linear-gradient(90deg, rgba(5, 15, 25, 0.28) 0%, rgba(5, 15, 25, 0.08) 50%, rgba(5, 15, 25, 0.28) 100%);
  z-index: 1;
  border-radius: 8px;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #e0f0ff; /* رنگ متن کمی روشن و آبی */
  text-align: right; /* راست چین کردن متن */
  padding: 30px 50px; /* فضای بیشتر */
  max-width: 55%; /* محتوا فضای کمتری اشغال کند */
  animation: slideInContent 1s ease-out forwards; /* انیمیشن ورود محتوا */
  opacity: 0; /* شروع با مخفی بودن */
}

@keyframes slideInContent {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide.active .slide-content {
  animation: slideInContent 1s ease-out forwards;
}

.slide-title {
  font-size: 2.2rem; /* سایز عنوان کمی کوچکتر */
  margin-bottom: 15px;
  color: #ffffff; /* سفید خالص برای عنوان */
  font-weight: 600; /* وزن فونت */
  text-shadow: 0 2px 10px rgba(0, 100, 150, 0.5); /* سایه ملایم آبی */
}

.slide-description {
  font-size: 1rem; /* سایز توضیحات */
  margin-bottom: 30px;
  line-height: 1.7;
  color: rgba(220, 230, 255, 0.9); /* رنگ متن توضیحات */
  font-weight: 300; /* وزن فونت سبک */
}

.slide-button {
  display: inline-block;
  padding: 12px 30px;
  background: none; /* بدون پس زمینه پیش فرض */
  color: #00cfff !important; /* رنگ آبی نئونی برای متن دکمه */
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px; /* گردتر */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid #00cfff; /* حاشیه آبی نئونی */
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
  font-size: 0.95rem;
}

.slide-button:hover {
  background: #00cfff; /* پس زمینه آبی در هاور */
  color: #0a0f19 !important; /* متن تیره در هاور */
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.9);
  transform: translateY(-3px);
}

/* دکمه های ناوبری */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 3;
  padding: 0 30px; /* کمی فضای بیشتر */
  box-sizing: border-box;
}

.nav-prev, .nav-next {
  background: rgba(0, 150, 200, 0.15); /* شفافیت بیشتر */
  color: #fff;
  border: none;
  font-size: 2.2rem; /* سایز کمی کوچکتر */
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-shadow: 0 0 8px rgba(0, 150, 200, 0.7);
  box-shadow: 0 0 10px rgba(0, 150, 200, 0.4);
}

.nav-prev:hover, .nav-next:hover {
  background: rgba(0, 180, 230, 0.3);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.6);
}

/* نشانگرهای اسلاید (dots) */
.slider-dots {
  position: absolute;
  bottom: 25px; /* کمی پایین تر */
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px; /* فاصله بین دات ها */
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(150, 180, 200, 0.5); /* رنگ دات غیرفعال ملایم تر */
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(0, 150, 200, 0.5); /* حاشیه ظریف */
}

.dot.active {
  background-color: #00cfff; /* رنگ آبی نئونی فعال */
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.7);
  transform: scale(1.1);
}

/* === Responsive Design (Professional) === */

/* موبایل های کوچک */
@media (max-width: 767px) {
  .hero-slider {
    height: 40vh;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: inset 0 0 30px rgba(0, 30, 60, 0.4);
    
  }
  .slide-content {
    max-width: 90%;
    padding: 20px 25px;
    transform: translateX(0); /* خاموش کردن انیمیشن افقی در موبایل */
  }
  @keyframes slideInContent { /* بازتعریف انیمیشن برای موبایل */
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .slide-title {
    font-size: 1.6rem;
  }
  .slide-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .slide-button {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .nav-prev, .nav-next {
    font-size: 1.8rem;
    width: 35px;
    height: 35px;
    margin: 0 5px; /* فاصله کم */
  }
  .slider-dots {
    bottom: 15px;
    gap: 8px;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
}

/* تبلت ها */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-slider {
    height: 50vh;
    margin: 25px auto;
    border-radius: 8px;
  }
  .slide-content {
    max-width: 70%;
    padding: 25px 40px;
  }
  .slide-title {
    font-size: 2rem;
  }
  .slide-description {
    font-size: 0.95rem;
  }
  .nav-prev, .nav-next {
    font-size: 2.2rem;
    width: 45px;
    height: 45px;
  }
}

/* حالت عمودی */
@media (orientation: portrait) {
  .hero-slider {
    height: 50vh; /* کمی کوتاه تر در حالت عمودی */
  }
   .slide-content {
    max-width: 85%; /* فضای بیشتر برای متن */
    padding-top: 15px;
    padding-bottom: 15px;
  }
   .slide-title {
    font-size: 1.9rem;
  }
}

/* حالت افقی */
@media (orientation: landscape) {
  .hero-slider {
    height: 45vh; /* کمتر در حالت افقی */
  }
   .slide-content {
    max-width: 50%; /* محتوا باریک تر */
  }
}


/* === Hero Slider Styles (Professional Version) === */

.hero-slider {
  width: 100%;
  max-width: 1100px;
  height: 55vh;
  position: relative;
  overflow: hidden;
  margin: 30px auto;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(10, 15, 25, 0.8);
  box-shadow: inset 0 0 50px rgba(0, 30, 60, 0.5);
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 8px;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(5, 15, 25, 0.28) 0%,
    rgba(5, 15, 25, 0.08) 50%,
    rgba(5, 15, 25, 0.28) 100%
  );
  z-index: 1;
  border-radius: 8px;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: #e0f0ff;
  text-align: right;
  padding: 30px 50px;
  max-width: 55%;
  animation: slideInContent 1s ease-out forwards;
  opacity: 0;
}

@keyframes slideInContent {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

.slide.active .slide-content {
  animation: slideInContent 1s ease-out forwards;
}

.slide-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 100, 150, 0.5);
}

.slide-description {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.7;
  color: rgba(220, 230, 255, 0.9);
  font-weight: 300;
}

.slide-button {
  display: inline-block;
  padding: 12px 30px;
  background: none;
  color: #00cfff !important;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid #00cfff;
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
  font-size: 0.95rem;
}

.slide-button:hover {
  background: #00cfff;
  color: #0a0f19 !important;
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.9);
  transform: translateY(-3px);
}

/* دکمه های ناوبری */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 3;
  padding: 0 30px;
  box-sizing: border-box;
}

.nav-prev, .nav-next {
  background: rgba(0, 150, 200, 0.15);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-shadow: 0 0 8px rgba(0, 150, 200, 0.7);
  box-shadow: 0 0 10px rgba(0, 150, 200, 0.4);
}

.nav-prev:hover, .nav-next:hover {
  background: rgba(0, 180, 230, 0.3);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 200, 255, 0.6);
}

/* نشانگرهای اسلاید (dots) */
.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(150, 180, 200, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(0, 150, 200, 0.5);
}

.dot.active {
  background-color: #00cfff;
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.7);
  transform: scale(1.1);
}

/* === Responsive Design (Professional) === */

/* موبایل های کوچک */
@media (max-width: 767px) {
  .hero-slider {
    height: 40vh;
    margin: 20px auto;
    border-radius: 6px;
    box-shadow: inset 0 0 30px rgba(0, 30, 60, 0.4);
    padding: 0 15px; /* فاصله از طرفین */
    box-sizing: border-box;
  }
  .slide-content {
    max-width: 100%; /* استفاده از کل عرض موجود در موبایل */
    padding: 20px 25px;
    transform: translateX(0);
  }
  @keyframes slideInContent {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .slide-title {
    font-size: 1.6rem;
  }
  .slide-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .slide-button {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
  .nav-prev, .nav-next {
    font-size: 1.8rem;
    width: 35px;
    height: 35px;
    margin: 0 5px;
  }
  .slider-dots {
    bottom: 15px;
    gap: 8px;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
}

/* تبلت ها */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-slider {
    height: 50vh;
    margin: 25px auto;
    border-radius: 8px;
  }
  .slide-content {
    max-width: 70%;
    padding: 25px 40px;
  }
  .slide-title {
    font-size: 2rem;
  }
  .slide-description {
    font-size: 0.95rem;
  }
  .nav-prev, .nav-next {
    font-size: 2.2rem;
    width: 45px;
    height: 45px;
  }
}

/* حالت عمودی */
@media (orientation: portrait) {
  .hero-slider {
    height: 50vh;
  }
   .slide-content {
    max-width: 85%;
    padding-top: 15px;
    padding-bottom: 15px;
  }
   .slide-title {
    font-size: 1.9rem;
  }
}

/* حالت افقی */
@media (orientation: landscape) {
  .hero-slider {
    height: 45vh;
  }
   .slide-content {
    max-width: 50%;
  }
}


.shrkat {
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 10px;

  transform: translateY(-40px);
}




/* هماهنگ‌سازی حرفه‌ای لوگو با بک‌گراند سایت */

.logo {
  position: relative;
  isolation: auto;
}

.logo a {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.logo img {
  background: transparent;
  mix-blend-mode: screen;
  opacity: 0.2;
  filter:
    contrast(1.08)
    saturate(1.08)
    drop-shadow(0 0 8px rgba(0, 210, 255, 0.18));
  transition:
    opacity 0.35s ease,
    filter 0.35s ease,
    transform 0.35s ease;
}

.logo img:hover {
  opacity: 1;
  filter:
    contrast(1.1)
    saturate(1.12)
    drop-shadow(0 0 12px rgba(0, 220, 255, 0.3));
}
