


/*    صفحه مطبوعات    */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  direction: rtl;
  overflow-x: hidden;

}


* {
  box-sizing: border-box;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  margin: 0;
  background-color: #000;
 
}


                                       /* هدر */
.header-mat{

  height: 100px;
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  gap: 50px;
}
.menu-mat{

width: 70%;
height: 80px;
margin-top: 10px;

}
.btn1-mat{
 
  width: 25%;
  height: 80px;
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.neon-btn {
  background: #000;
  color: #fff;
  font-size: 15px;
  padding: 14px 60px;
  border-radius: 35px;
  border: 2px solid #7fdcff;
  cursor: pointer;
  position: relative;
  font-weight: 400;
  letter-spacing: 1px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  padding-top: 10px;
  margin-top: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  text-align: center;
  
  /* glow */
  box-shadow:
    0 0 10px rgba(127, 220, 255, 0.6),
    0 0 25px rgba(127, 220, 255, 0.4),
    inset 0 0 10px rgba(127, 220, 255, 0.3);

  transition: all 0.3s ease;
}
.btn1-mat a{
  text-decoration: none;
 
}
/* افکت هاور */
.neon-btn:hover {
  box-shadow:
    0 0 15px rgba(127, 220, 255, 0.9),
    0 0 40px rgba(127, 220, 255, 0.7),
    inset 0 0 15px rgba(127, 220, 255, 0.5);
  transform: scale(1.03);
}

/* افکت کلیک */
.neon-btn:active {
  transform: scale(0.97);
}

.khatezir{
  position: relative;
  height: 10px;
  width: 70%;
  margin: 0 auto;
  border-bottom: 1px solid red;
  opacity: 0.5;
  overflow: hidden; /* مهم */
}

/* نور متحرک */
.khatezir{
  position: relative;
  height: 10px;
  width: 70%;
  margin: 0 auto;
  border-bottom: 1px solid rgba(127, 220, 255, 0.35);
  overflow: hidden;
}

/* نور یخی متحرک */
.khatezir::after{
  content: "";
  position: absolute;
  bottom: -1px;
  left: -40%;
  width: 40%;
  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(127, 220, 255, 0.9),
    rgba(200, 245, 255, 1),
    rgba(127, 220, 255, 0.9),
    transparent
  );

  box-shadow:
    0 0 10px rgba(127, 220, 255, 0.9),
    0 0 22px rgba(127, 220, 255, 0.45);

  filter: blur(0.4px);
  animation: light-move 3.2s ease-in-out infinite;
}

@keyframes light-move {
  0% {
    left: -40%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}


/* منو */ 
/* =========================
   Hamburger Menu
========================= */

.hamburger {
  display: none;
  width: 35px;
  height: 30px;
  cursor: pointer;
  margin: 30px 20px;
  z-index: 10001;
}

.hamburger span {
  display: block;
  height: 4px;
  margin: 6px 0;
  background: linear-gradient(90deg, #7fdcff, #c8f5ff);
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(127, 220, 255, 0.8);
  transition: 0.4s;
}

/* انیمیشن X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}


.menu-mat ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 25px 40px;
  font-size: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.menu-mat ul li {
  position: relative;
  color: white;
}

.menu-mat ul a {
  position: relative;
  text-decoration: none;
  color: inherit;
  padding: 6px 2px;
}
.menu-mat ul a:hover {
  font-size: 22px;
}

/* خط نوری مخفی */
.menu-mat ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    #ffd36a,
    #fff2b0,
    #ffd36a,
    transparent
  );

  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
}

/* hover */
.menu-mat ul a:hover::after {
  animation: goldLine 0.9s ease-out forwards;
}

@keyframes goldLine {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  40% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}



/* متن بالای اسلایدر */

.matn-slider{
  color: white;
  margin-top: 60px;
  margin-right: 40px;

   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   font-size: 1.5rem;
   
}

/* اسلایدر */ 



    * { box-sizing: border-box; margin: 0; padding: 0; }

    body { direction: rtl; background: #0f0f0f; font-family: sans-serif; }

    .slider-container {
      width: 100%;
      overflow: hidden;
      position: relative;
      margin: 20px auto;
      height: 400px;
    }

    .slider-track {
      display: flex;
      direction: ltr; /* ضروری برای کارکرد درست در RTL */
      transition: transform 0.4s ease;
    }

    .slide {
      flex: 0 0 calc(100% / 6);
      padding: 10px;
      cursor: pointer;
    }

    .slide img {
      width: 100%;
      height: 350px;
      object-fit: cover;
      border-radius: 8px;
      transition: transform 0.3s ease;
    }

    .slide:hover img {
      transform: scale(1.05);
    }

    .slider-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      padding: 12px 18px;
      background: rgb(238, 216, 216);
      color: rgb(14, 0, 0);
      border: none;
      cursor: pointer;
      z-index: 9999;
      font-size: 40px;
      opacity: 0.6;
    }
  

    .slider-btn.left { left: 10px; }

    .slider-btn.right { right: 10px; display: none; }
    /* ===== PATCH RESPONSIVE SLIDER ===== */

/* تبلت */
@media (max-width: 1024px) {
  .slide {
    flex: 0 0 calc(% / 3);
  }
}

/* موبایل */
@media (max-width: 768px) {
  .slide {
    flex: 0 0 100%;
  }

.matn-slider{
  color: white;
  margin-top: 60px;
  margin-right: 20px;
  margin-bottom: -10px;

   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   font-size: 15px;
   
}

  .slider-container {
    height: auto;
  }

  .slide img {
    height: 260px;
  }
 
  
}

    /* دکمه‌ها داخل منوی موبایل */
.mobile-auth {
  display: none;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.mobile-auth a {
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-size: 16px;
  color: #7fdcff;
  border: 1px solid rgba(127, 220, 255, 0.6);
  box-shadow: 0 0 12px rgba(127, 220, 255, 0.4);
}
@media (max-width: 992px) {

  .btn1-mat {
    display: none; /* دکمه‌های هدر */
  }

  .mobile-auth {
    display: flex;
  }
}



/* =========================
   Responsive Menu
========================= */

@media (max-width: 992px) {

  .hamburger {
    display: block;
  }

  .menu-mat {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    transition: 0.5s ease;
    z-index: 10000;
    padding-top: 120px;
  }

  .menu-mat.active {
    right: 0;
  }

  .menu-mat ul {
    flex-direction: column;
    gap: 25px;
    padding: 0 30px;
  }

  .menu-mat ul a {
    font-size: 18px;
  }

  .btn1-mat {
    display: none; /* ورود/ثبت‌نام در موبایل مخفی */
  }
}
/* =========================
   Slider Responsive Fix
========================= */

.slider,
.swiper,
.swiper-container {
  width: 100%;
  overflow: hidden;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* موبایل */
@media (max-width: 576px) {
  .swiper-slide {
    transform: scale(0.92);
  }
 

}


/* تبلت */
@media (max-width: 992px) {
  .swiper-slide {
    transform: scale(0.95);
  }
}




 

 




                              /*  اسلایدر سیاست   */ 






















                              /* صفحه عربی مدارس   */








.title-school {
  width: 70%;
  margin: 60px auto 20px;
  font-size: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  text-align: center;

  /* متن اصلی */
  color: #ffffff;
  position: relative;
}

/* لایه نور (کپی متن) */
.title-school::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  text-align: center;

  /* نور طلایی */
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 215, 100, 0) 35%,
    rgba(255, 215, 100, 0.9) 48%,
    rgba(255, 245, 180, 1) 50%,
    rgba(255, 215, 100, 0.9) 52%,
    rgba(255, 215, 100, 0) 65%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: 200% center;

  /* ماسک نور داخل متن */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: goldSweepText 2.8s ease-in-out infinite;
  pointer-events: none;
}

/* حرکت نور: از آخر → اول */
@keyframes goldSweepText {
  from {
    background-position: 200% center;
  }
  to {
    background-position: -200% center;
  }
}
                    

.school-book {
  width: 70%;
  height: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  background: transparent;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-bottom: 50px;
}

/* لایه نور چرخان */
.school-book::before {
  content: "";
  position: absolute;
  inset: -2px;
 z-index: 1;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    #7ffcff 60deg,
    #b8ffff 90deg,
    #7ffcff 120deg,
    transparent 180deg,
    transparent 360deg
  );

  animation: iceRotate 4s linear infinite;
  filter: blur(1px);
}

/* ماسک برای اینکه فقط دور border دیده بشه */
.school-book::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #000; /* یا رنگ بک‌گراند صفحه */
  border-radius: 10px;
   z-index: 1;
  pointer-events: none;
}

/* انیمیشن چرخش نور */
@keyframes iceRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.school-book > * {
  position: relative;
  z-index: 5;
}

.school-book {
  display: flex;
  justify-content: space-around; /* یا space-between */
  align-items: center;
}

.part-1 {
  height: 90%;
  width: 350px;
  
 

}
.part-1 img{
   height: 90%;
  width: 350px;
}


/* منوی زیره عکس */


.part-1 {
  position: relative;
}

/* پاپ‌آپ روی عکس */
.chapters-popup {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  border: 1px solid #7ffcff;
  border-radius: 15px;
  box-shadow: 0 0 25px #7ffcff;
  display: none;

  padding: 20px;
  text-align: center;
  z-index: 10;

  animation: popupIn 0.3s ease;
}

.chapters-popup h3 {
  color: #7ffcff;
  margin-bottom: 15px;
}

.chapters-popup ul {
  list-style: none;
  padding: 0;
}

.chapters-popup ul li {
  color: #fff;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(127,252,255,0.3);
}

/* دکمه ضربدر */
.close-popup {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  color: #7ffcff;
  cursor: pointer;
}

.close-popup:hover {
  color: #fff;
  text-shadow: 0 0 10px #7ffcff;
}
.chapters-btn {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);

  padding: 6px 18px;
  font-size: 13px;
  font-family: inherit;

  color: #7ffcff;
  background: rgba(0, 0, 0, 0.55);

  border: 1px solid rgba(127, 252, 255, 0.8);
  border-radius: 25px;

  cursor: pointer;
  z-index: 5;

  box-shadow:
    0 0 6px rgba(127, 252, 255, 0.4),
    inset 0 0 6px rgba(127, 252, 255, 0.25);

  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.chapters-btn:hover {
  color: #000;
  background: #7ffcff;

  box-shadow:
    0 0 12px #7ffcff,
    0 0 25px rgba(127, 252, 255, 0.8);

  transform: translateX(-50%) scale(1.05);
}

.chapters-btn:active {
  transform: translateX(-50%) scale(0.95);
}






/* footer */



.footer{
  position: relative;
  height: 10px;
  width: 70%;
  margin: 0 auto;
  border-bottom: 1px solid red;
  opacity: 0.5;
  overflow: hidden; /* مهم */
 
}

/* نور متحرک */
.footer{
  position: relative;
  height: 10px;
  width: 70%;
  margin: 0 auto;
  border-bottom: 1px solid rgba(127, 220, 255, 0.35);
  overflow: hidden;
}

/* نور یخی متحرک */
.footer::after{
  content: "";
  position: absolute;
  bottom: -1px;
  left: -40%;
  width: 40%;
  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(127, 220, 255, 0.9),
    rgba(200, 245, 255, 1),
    rgba(127, 220, 255, 0.9),
    transparent
  );

  box-shadow:
    0 0 10px rgba(127, 220, 255, 0.9),
    0 0 22px rgba(127, 220, 255, 0.45);

  filter: blur(0.4px);
  animation: light-move 3.2s ease-in-out infinite;
}

@keyframes light-move {
  0% {
    left: -40%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}


.apps{
  position: relative;
  width: 15%;
  height: 80px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0b;
  border-radius: 18px;
  margin-bottom: 50px;
}

/* قاب اصلی */
.apps::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
}

/* نقطه نور چرخان */
.apps::before{
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #ffd87a 30%, #c9a24d 60%, transparent 70%);
  border-radius: 50%;
  filter: drop-shadow(0 0 6px #ffd87a);
  offset-path: rect(0% 100% 100% 0% round 18px);
  offset-distance: 0%;
  animation: moveDot 4s linear infinite;
}

@keyframes moveDot{
  to{
    offset-distance: 100%;
  }
}

.apps a img{
  height: 40px;
  width: 70%;
  border-radius: 50%;
  opacity: 0.7;

}


/* حق سایت */
.site-footer{
  width: 100%;
  padding: 18px 10px;
  background: linear-gradient(180deg, #0a0a0a, #000);
  border-top: 1px solid rgba(255, 215, 130, 0.25);
  text-align: center;
  font-size: 14px;
  color: #d8d8d8;
  letter-spacing: 0.3px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.site-footer p{
  margin: 0;
  line-height: 1.9;
  opacity: 0.85;
}

/* افکت ظریف لاکچری */
.site-footer::before{
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin: 0 auto 10px;
  background: linear-gradient(
    90deg,
    transparent,
    #ffd87a,
    transparent
  );
  opacity: 0.6;
}



.pagemarbote{
  border: 1px solid white;
  width: 400px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 5px;
  
  
}
.pagemarbote a{
  color:  white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-decoration: none ;
  
}
.khat{
  border-bottom: 1px solid white;
  width: 95%;
  margin: 0 auto;
  margin-top: 20px;
}


@media (max-width: 768px){
  .pagemarbote{
    width: 80%;
    height: 46px;
  }
  .site-footer p{
  margin: 0;
  line-height: 1.9;
  opacity: 0.85;
  font-size: 10px;
}


  .pagemarbote a{
    font-size: 14px;
  }
}

@media (max-width: 480px){
  .pagemarbote{
    max-width: 95%;
    height: 42px;
    border-radius: 10px;
  }

  .pagemarbote a{
    font-size: 13px;
  }
}





.social-bar {
  background: #518291;
  border-radius: 45px;
  padding: 14px 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.3);
  width: fit-content;
  margin: 25px auto 10px;
  flex-wrap: wrap;
  transition: all .35s ease;
  margin-top: 40px;

}

.social-icon {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
  transition: .3s ease;
  cursor: pointer;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: .3s ease;
}

.social-icon i {
  color: white;
  font-size: 26px;
  transition: .3s;
}

.social-icon:hover {
  transform: scale(1.22);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 16px rgba(255,255,255,0.45);
}

/* رنگ‌های برند */
.social-icon.instagram:hover i { color: #ff34b3; }
.social-icon.youtube:hover i { color: #ff0000; }
.social-icon.whatsapp:hover i { color: #25d366; }

.footer-note {
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-bottom: 15px;
}

@media (max-width: 768px){
  .social-bar {
    gap: 16px;
    padding: 12px 18px;
    border-radius: 34px;
  }
  .social-icon { width: 32px; height: 32px; }
}

@media (max-width: 480px){
  .social-bar {
    width: 95%;
    border-radius: 25px;
    gap: 14px;
  }
  .social-icon { width: 30px; height: 30px; }
}



/* اسلایدر اول صفحه */

.hero-sliders {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  margin-top: 15px;
}

.hero-slider {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s ease, transform 1.4s ease;
}

.hero-slider.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.hero-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-content {
  position: absolute;
  bottom: 20%;
  right: 8%;
  color: #fff;
  max-width: 480px;
  animation: fadeUp 1.2s ease forwards;
}

.hero-content h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.hero-content p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 18px;
}

.hero-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  background: linear-gradient(120deg, #00ffe1, #008cff);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(0,255,255,0.5);
  transition: .3s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0,255,255,0.9);
}

/* dots */
.hero-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.hero-controls .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.hero-controls .dot.active {
  background: #00ffe1;
  box-shadow: 0 0 12px #00ffe1;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero-sliders { height: 380px; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 15px; }
}
/* ✅ Press slide full box without crop */
.hero-slider.press-slide {
  background: #000;
}

.hero-slider.press-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}

/* 🔥 بک‌گراند هوشمند (پرکننده فضا) */
.hero-slider.press-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("img/titrkhani.png");
  background-size: cover;
  background-position: center;
  filter: blur(30px) brightness(0.5);
  transform: scale(1.2);
  z-index: 1;
}

/* محتوا روی همه چیز */
.hero-slider.press-slide .hero-content {
  z-index: 3;
}



/* سئوی سایت * /
/* SEO H1 - hidden but crawlable */
/*
.seo-only {
    position: absolute;
    top: -10000px;
    right: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
}
*/

.seo-only {
    font-size: 0;
    line-height: 0;
    height: 0;
    overflow: hidden;
}




