/* ریست */
@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;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
 
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #0d1b24, #05080b);
  color: #eafcff;
}

/* کل صفحه */
html, body {
  height: 100%;
}




.app {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0 30px;
}

/* لوگو */
.logo {
  text-align: center;
}

.logo img {
  width: 160px;
}

.logo span {
  display: block;
  font-size: 13px;
  opacity: 0.7;
  margin-top: 6px;
}

/* متن‌ها */
.texts {
  text-align: center;
  


}

#typingText {
  font-size: 24px;
  margin-bottom: 10px;
}

/* ✅ متن چشمک‌زن */
.blink {
  margin-top: 6px;
  font-size: 25px;
  margin-top: 30px;
  opacity: 1;
  animation: blink 1.8s infinite;
  transition: color 0.6s ease;
}

@keyframes blink {
  0%   { opacity: 1; }
  50%  { opacity: 0.35; }
  100% { opacity: 1; }
}

/* منو */
.menu {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: nowrap;
 
}

/* دکمه‌ها */
.btn {
  width: 160px;
  height: 52px;
  border-radius: 14px;
  text-decoration: none;
  color: #eafcff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  box-shadow:
    0 8px 20px rgba(0,0,0,0.45),
    inset 0 0 0 rgba(255,255,255,0);
  transition: 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;
  transition: 0.35s;
}

.btn:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 35px rgba(0,0,0,0.6),
    0 0 25px rgba(0,255,255,0.4);
}

.btn:hover::before {
  opacity: 1;
}

.btn span {
  position: relative;
  z-index: 2;
  font-size: 15px;
}

/* خط خفن پایین */
.neon-line {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
}

.neon-line::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00ffe1, transparent);
  bottom: 20px;
  left: -10%;
  transform: rotate(-2deg);
  box-shadow: 0 0 15px #00ffe1;
}

.neon-line span {
  position: absolute;
  bottom: 18px;
  width: 10px;
  height: 10px;
  background: #00ffe1;
  border-radius: 50%;
  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; }
}


/*  رسپانیو  موبایل (تا 600px) */
@media (max-width: 600px) {

  .logo img {
    width: 120px;
  }

  #typingText {
    font-size: 18px;
    line-height: 1.6;
  }

  .blink {
    font-size: 15px;
    margin-top: 14px;
  }

  .menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 16px;
    width: 85%;
   
  }

  .btn {
    width: 100%;
    height: 48px;
   
  }

  .btn span {
    font-size: 12px;
  }

  .neon-line {
    height: 50px;
  }
  .about{
    width: 60%;
    
  }
}

/*  تبلت (600px تا 992px) */
@media (min-width: 601px) and (max-width: 992px) {

  .logo img {
    width: 140px;
  }

  #typingText {
    font-size: 22px;
  }

  .blink {
    font-size: 16px;
    margin-top: 16px;
  }

  .menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 0 30px;
  }

  .btn {
    width: 100%;
    height: 52px;
  }
  .about{
    width: 120px;
  }

}

/*  مانیتورهای بزرگ (بالای 1400px) */
@media (min-width: 1400px) {

  #typingText {
    font-size: 30px;
  }

  .blink {
    font-size: 19px;
    margin-top: 20px;
  }

  .menu {
    gap: 26px;
  }

  .btn {
    width: 180px;
    height: 58px;
  }

  .btn span {
    font-size: 16px;
  }

  .logo img {
    width: 180px;
  }

}


/* ستاره */
/* ===== STAR BACKGROUND ===== */
.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%;

  /* نور پخش‌شده */
  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);

  opacity: 0.2;
  animation: twinkleGlow 3.5s infinite ease-in-out;
}


@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);
  }
}




/* درباره ما    */ 


* {
  box-sizing: border-box;
  font-family: IRANSans, sans-serif;
 
}

body {
  margin: 0;
  background: #0a0a0a;
  color: #fff;
}

.about-header{

  height: 650px;
  width: 90%;
  display: flex;
  margin: 0 auto;
  flex-direction: row;
  gap: 20px;
  margin-top: 10px;
}
.about-pic{
  
  height: 600px;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
}
.about-pic img{
  width: 450px;
  height: 600px;
  opacity: 0.9;
  border-radius: 20px;
}

.name img{
  width:400px ;
}

.about-name{
  height: 400px;
  width: 50%;
  margin: 100px auto 0;   /* وسط‌چین افقی */
  position: relative;     /* پایه‌ی ::after */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-top: 70px;
  overflow: visible;      /* مهم برای دیده شدن خط */
}
.about-name::after{
  content: "";
  position: absolute;

  /* وسط‌چین دقیق */
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 70%;
  height: 3px;
  border-radius: 10px;

  /* گرادیان با نقطه نور واضح */
  background: linear-gradient(
    90deg,
    transparent 0%,
    #c9a24d 40%,
    #fff2b0 50%,
    #c9a24d 60%,
    transparent 100%
  );

  background-size: 300% 100%;
  background-position: 0% 50%;

  box-shadow:
    0 0 6px rgba(255, 210, 120, 0.8),
    0 0 16px rgba(201, 162, 77, 0.6);

  animation: gold-line-move 2.5s linear infinite;
}
@keyframes gold-line-move{
  from{
    background-position: 0% 50%;
  }
  to{
    background-position: 300% 50%;
  }
}

.name{
  height: 200px;
  width: 70%;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

.name a{
  cursor: pointer;
  opacity: 0.8;
}
.name a img:hover{
  width: 500px;
  height: 150px;
  
}

.buto{
  height: 200px;
  width: 70%;
  display: flex;
  margin: 0 auto;
 
}
.buto a{
  width: 200px;
  height: 60px;

  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: #eafcff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.45),
    inset 0 0 0 rgba(255,255,255,0);

  position: relative;
  overflow: hidden;
  cursor: pointer;

  transition: 0.35s ease;
}

/* نور عبوری */
.buto a::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 215, 140, 0.35),
    transparent
  );

  opacity: 0;
  transform: translateX(-100%);
  transition: 0.6s ease;
}

/* افکت hover */
.buto a:hover{
  transform: translateY(-4px);
  border-color: rgba(255, 215, 140, 0.8);
  box-shadow:
    0 18px 45px rgba(0,0,0,0.6),
    0 0 20px rgba(255, 215, 140, 0.35);
}

.buto a:hover::before{
  opacity: 1;
  transform: translateX(100%);
}

/* افکت کلیک */
.buto a:active{
  transform: translateY(-1px) scale(0.98);
}

.about-name{
  position: relative;
  overflow: hidden;
}

/* لینک اسم */
.open-about{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.person-name{
  font-size: 16px;
  opacity: 0.85;
}

/* پنل درباره */
.about-panel{
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: 0.5s ease;
  z-index: 10;
}

/* فعال */
.about-panel.active{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* محتوای داخلی */
.about-panel-content{
  width: 80%;
  max-width: 600px;
  color: #f1f1f1;
  text-align: center;
  line-height: 2;
  position: relative;
  height: 350px;
}

.about-panel-content h2{
  
  color: #fcb527;
  border-bottom: 1px solid rgb(228, 178, 178);
  width: 60%;
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  margin-bottom: 90px;
  padding-bottom: 10px;

}

/* دکمه بستن */
.close-about{
  position: absolute;
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  border-radius: 25%;
  border: none;
  background: #8a8579;
  color: #000;
  font-size: 22px;
  cursor: pointer;
}


* {
  box-sizing: border-box;
  font-family: IRANSans, sans-serif;
}

body {
  margin: 0;
  background: #0a0a0a;
  color: #fff;
}

/* HERO */
.hero {
  height: 100vh;
  background: url("bg.jpg") center/cover no-repeat;
  position: relative;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.7), #000);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
}
.hero-content h1 img{
 
}

.hero-img {
  width: 300px;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 0 60px rgba(0,255,255,.25);
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 48px;
  margin: 10px 0;
 
}

.hero h2 {
  font-size: 20px;
  color: #8be9ff;
}

.hero p {
  max-width: 600px;
  margin: 30px auto;
  line-height: 2;
  color: #ddd;
}

.lux-btn {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 40px;
  background: linear-gradient(135deg, #00eaff, #0066ff);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 30px rgba(0,234,255,.5);
}

/* SECTIONS */
.section {
  max-width: 1100px;
  margin: 120px auto;
  padding: 0 20px;
  text-align: center;
}

.section h3 {
  font-size: 34px;
  margin-bottom: 30px;
  color: #00eaff;
 
}

.section p {
  line-height: 2;
  color: #ccc;
}

.section.dark {
  background: #111;
  padding: 80px 20px;
  border-radius: 30px;
}


/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 20px;
}

.card {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 20px;
  line-height: 1.8;
  box-shadow: 0 0 20px rgba(0,0,0,.5);
}

/* TRIPLE */
.triple {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 30px;
}

.triple h4 {
  color: #00eaff;
  margin-bottom: 10px;
}
/* ===== LUXURY UPGRADE (NO HTML CHANGE) ===== */

/* جان دادن به section.dark */
.section.dark {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(0,255,255,0.08), transparent 60%),
    #0b0b0b;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.7),
    inset 0 0 0 rgba(255,255,255,0);
  overflow: hidden;
}

/* نور تنفسی خیلی ظریف */
.section.dark::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(0,255,255,0.25),
    transparent 65%
  );
  opacity: 0.18;
  animation: darkGlow 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes darkGlow {
  0%   { opacity: 0.12; }
  50%  { opacity: 0.28; }
  100% { opacity: 0.12; }
}

/* تیتر سکشن با امضای نوری */
.section.dark h3 {
  position: relative;
  letter-spacing: 1px;
}

.section.dark h3::after {
  content: "";
  display: block;
  width: 65%;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    #00eaff,
    #7df9ff,
    #00eaff,
    transparent
  );
  background-size: 200% 100%;
  animation: lineFlow 3s linear infinite;
  box-shadow: 0 0 12px rgba(103, 141, 141, 0.5);
}

@keyframes lineFlow {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

/* جان دادن به کارت‌ها (رزومه / آیتم‌ها) */
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent),
    #141414;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.6s ease;
  margin-top: 40px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.7),
    0 0 35px rgba(0,255,255,0.25);
}

/* تیترهای داخل triple زنده‌تر */
.triple h4 {
  position: relative;
  text-shadow: 0 0 12px rgba(0,255,255,0.4);
}

/* پاراگراف‌ها کمی لوکس‌تر */
.section p {
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.3px;
}

/* موبایل – حفظ وقار */
@media (max-width: 600px) {
  .section.dark {
    padding: 60px 20px;
  }
 
}
.about-text {
  font-family: "IRANSans", "Sahel", sans-serif;
  font-size: 18px;
  line-height: 2.2;
  color: #e5e5e5;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 45px;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(255,255,255,0.06);
  backdrop-filter: blur(7px);
}
.about-text h2 {
  font-family: "Maeli", serif;
  font-size: 34px;
  color: #ffd700;
  text-shadow: 0 0 18px rgba(255, 210, 0, 0.35);
  margin-bottom: 30px;
}
.about-text p {
  margin-bottom: 28px;
}



@media (max-width: 768px) {

  /* کل هدر */
  .about-header {
    flex-direction: column;
    height: auto;
    width: 100%;
    margin-top: 40px;
  }

  /* عکس */
  .about-pic {
    width: 100%;
    height: auto;
    margin: 0;
  }

  .about-pic img {
    width: 90%;
    height: auto;
    max-height: 420px;
    
  }

  /* نام + امضا */
  .about-name {
    width: 100%;
    height: auto;
    margin-top: 40px;
    padding-top: 40px;
  }

  .name img {
    width: 260px;
    margin-top: -150px;
  }
  .name a img:hover{
  width: 300px;
  height: 100px;
  
}


  /* دکمه */
  .buto {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 20px;
    margin-top: -150px;
    margin-bottom: 20px;
  }
  

  .buto a {
    width: 90%;
    height: 56px;
  }
  .hero-content h1 img{
    width: 150px;
  }
  .site-footer p{
    font-size: 10px;
  }
  /* جلوگیری از اسکرول افقی */
  body {
    overflow-x: hidden;
  }

  /* hover غیر فعال در موبایل */
  .name a img:hover {
    width: 260px;
    }
   
}
 .about-panel {
    position: fixed;          /* مهم */
    inset: 0;
    padding: 20px;
    align-items: flex-start;  /* بالا بیاد */
    overflow-y: auto;         /* اسکرول عمودی */
  }

  .about-panel-content {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 25px 15px 40px;
    margin-top: 60px;
  }

  .about-panel-content h2 {
    width: 100%;
    font-size: 20px;
    margin-bottom: 40px;
  }

  .about-panel-content p {
    font-size: 14px;
    line-height: 2;
  }

  .close-about {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 20;
  }

@media (min-width: 769px) and (max-width: 1024px) {
    .about-panel-content {
    width: 90%;
    max-width: 500px;
    height: auto;
    padding: 30px;
  }

  .about-panel-content h2 {
    width: 80%;
  }
  .about-header {
    height: auto;
    width: 95%;
    gap: 30px;
  }

  .about-pic {
    width: 48%;
    height: auto;
  }

  .about-pic img {
    width: 100%;
    height: auto;
    max-height: 520px;
  }

  .about-name {
    width: 48%;
    height: auto;
    margin-top: 60px;
  }

  .name img {
    width: 320px;
  }
}
@media (min-width: 1400px) {

  .about-panel-content {
    max-width: 650px;
  }
  .about-header {
    max-width: 1400px;
  }

  .about-pic img {
    width: 520px;
    height: auto;
  }

  .about-name {
    max-width: 600px;
  }
}
















/* بخی که بریدم و به صفحه مطبوعات بردم   */




/*    صفحه مطبوعات    */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  direction: rtl;
  overflow-x: hidden;
}


* {
  box-sizing: border-box;
}

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: 10px;
  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;
}

/* افکت هاور */
.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(6px, 6px);
}
.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%;
  }


  .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;
}

/* H1 SEO FINAL-FORCE FIX */
h1.visually-hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
}

