/* سکشن اصلی */
#about {
  background: linear-gradient(180deg, #0b0f1a, #1a2238);
  padding: 2.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.6);
  font-family: "Vazirmatn", "Segoe UI", sans-serif;
  color: #eaf6ff;
}

/* عنوان اصلی */
.panel-head {
  text-align: center;
  margin-bottom: 2rem;
}
.panel-title {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0,200,255,0.8);
  letter-spacing: 1px;
}

/* گرید کارت‌ها */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.about-card {
  background: linear-gradient(180deg, #1c253b, #0f1628);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,200,255,0.25);
}
.about-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: #00e0ff;
  text-shadow: 0 0 8px rgba(0,224,255,0.6);
}
.about-card p {
  font-size: 1rem;
  line-height: 1.9;
  color: #dbeafe;
}

/* لینک برند */
.brand-link {
  color: #00e07a;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.brand-link:hover {
  color: #00ffae;
  text-shadow: 0 0 12px rgba(0,255,174,0.8);
}

/* بخش معرفی شرکت */
.company-hero {
  background: linear-gradient(180deg, #141a2e, #0b0f1a);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.05);
}
.company-hero h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #00e0ff;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(0,224,255,0.7);
}
.company-hero p {
  font-size: 1rem;
  line-height: 1.9;
  color: #eaf6ff;
  margin-bottom: 1rem;
}

/* فوتر درباره ما */
.about-footer {
  margin-top: 2rem;
  text-align: center;
  padding: 1.2rem;
  background: linear-gradient(90deg, #0f1628, #1c253b);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}




.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.6));
}

.social-link {
  font-size: 2.2rem;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

/* واتساپ: سبز با داخل سفید */
.social-whatsapp i {
  color: #25D366; /* سبز برند واتساپ */
  background: #fff;
  border-radius: 50%;
  padding: 0.2rem;
}

/* تلگرام: آبی با فلش سفید */
.social-telegram i {
  color: #0088cc; /* آبی برند تلگرام */
  background: #fff;
  border-radius: 50%;
  padding: 0.2rem;
}

/* اینستاگرام: گرادیان صورتی/قرمز */
.social-instagram i {
  background: radial-gradient(circle at 30% 30%, #fd5949, #d6249f, #285AEB);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* لینکدین: آبی برند */
.social-linkedin i {
  color: #0077b5;
}

/* افکت هاور */
.social-link:hover {
  transform: scale(1.2);
  text-shadow: 0 0 12px rgba(255,255,255,0.6);
}




/* متن پایانی شرکت */
.company-note {
  font-size: 0.9rem;
  color: #9fcfff;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(159,207,255,0.6);
}

/* ریسپانسیو */
@media (min-width: 640px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .about-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .panel-title {
    font-size: 2.2rem;
  }
  .company-hero h3 {
    font-size: 1.8rem;
  }
}

















/* مودال گالری */
.laliga-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  flex-direction: column;
  padding: 1rem;
  background: linear-gradient(135deg, #f0f8ff 0%, #bbdefb 50%, #e3f2fd 100%);
  animation: laligaFadeIn 0.5s ease forwards;
  overflow-y: auto;
  direction: rtl;
}

/* هدر گالری */
.laliga-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  background: linear-gradient(90deg, #2196f3, #64b5f6);
  padding: 1rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  position: sticky;
  top: 0;
}

.laliga-header-right {
  flex: 1;
  text-align: right;
}

.laliga-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.laliga-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.laliga-back {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 800;
  color: #f44336;
  font-size: 1.1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}
.laliga-back:hover {
  transform: translateX(-4px);
  color: #d32f2f;
}
.laliga-back-arrow {
  font-size: 1.6rem;
}
.laliga-back-text {
  font-size: 1rem;
}

.laliga-link {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #1565c0;
  padding: 6px 12px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: all 0.3s ease;
}
.laliga-link:hover {
  background: #0d47a1;
  color: #ffeb3b;
  transform: translateY(-2px);
}

/* بدنه گالری */
.laliga-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

/* پلیر */
.laliga-player-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  background: #000;
}
#laligaPlayer {
  width: 100%;
  height: auto;
  display: block;
}

/* گرید کارت‌ها */
.laliga-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 1rem;
}

/* کارت ویدیو */
.laliga-item {
  background: #fff;
  border: 1px solid #90caf9;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.laliga-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  background: linear-gradient(180deg, #e3f2fd, #bbdefb);
}
.laliga-thumb::after {
  content: "🎬";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #0d47a1;
}
.laliga-caption {
  padding: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #0d47a1;
  text-align: center;
}
.laliga-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  border-color: #64b5f6;
}

/* آیکن گالری */
.laliga-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2rem auto;
  cursor: pointer;
  user-select: none;
  animation: laligaPulse 2.4s infinite;
}
.laliga-icon {
  font-size: 4rem;
  transition: transform 220ms ease;
}
.laliga-icon-wrap:hover .laliga-icon {
  transform: scale(1.06);
}
.laliga-hint {
  margin-top: 0.4rem;
  font-size: 1rem;
  color: #003b5c;
  font-weight: 700;
  text-align: center;
}

/* انیمیشن‌ها */
@keyframes laligaFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes laligaPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ریسپانسیو */
@media (min-width: 640px) {
  .laliga-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
@media (min-width: 980px) {
  .laliga-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .laliga-title { font-size: 1.7rem; }
}





















.gallery-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 3rem auto;
  cursor: pointer;
  user-select: none;
  animation: pulse 2s infinite;
}

.gallery-icon {
  font-size: 4.5rem;
  transition: transform 0.3s ease;
}

.gallery-icon-wrap:hover .gallery-icon {
  transform: scale(1.1);
}

.gallery-hint {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #003b5c; /* آبی نفتی تیره */
  font-family: 'Vazirmatn', sans-serif;
  text-align: center;
  animation: fadeIn 2s infinite;
}

@keyframes fadeIn {
  0%   { opacity: 0.3; }
  50%  { opacity: 1; }
  100% { opacity: 0.3; }
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}















@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;600;700;900&display=swap');

.rules-panel {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: linear-gradient(180deg, #05060a 0%, #07102a 45%, #0b254a 100%);
  color: #eaf6ff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none; /* نمایش با aria-hidden=false یا کلاس اضافه شود */
  padding: 36px 18px;
  box-sizing: border-box;
}

/* وقتی نمایش داده می‌شود */
.rules-panel[aria-hidden="false"] {
  display: block;
  animation: rulesFadeIn 420ms cubic-bezier(.2,.9,.3,1);
}

/* دکمه برگشت بزرگ بالا سمت چپ */
.rules-panel .back-btn {
  position: fixed;
  top: 18px;
  left: 18px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(180deg,#0b254a,#07305a);
  color: #fff;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(2,6,23,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  z-index: 2300;
}
.rules-panel .back-btn:hover {
  transform: translateY(-4px) rotate(-6deg);
  box-shadow: 0 20px 50px rgba(0,200,83,0.12);
  background: linear-gradient(180deg,#00c853,#007a3d);
}

/* محتوای داخلی */
.rules-content {
  max-width: 980px;
  margin: 80px auto 60px; /* فاصله از بالا برای دکمه برگشت */
  padding: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(2,6,23,0.6);
  border: 1px solid rgba(255,255,255,0.03);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  color: #eaf6ff;
  line-height: 1.9;
  overflow: hidden;
}

/* عنوان اصلی */
.rules-content h2 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.2px;
  text-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

/* پاراگراف لید */
.rules-content .lead {
  color: #dbeafe;
  font-size: 16px;
  margin: 12px 0 20px;
  opacity: 0;
  transform: translateY(-12px);
  animation: revealItem 520ms ease forwards;
  animation-delay: 120ms;
}

/* سرتیترهای داخلی */
.rules-content h3 {
  color: #bfe9ff;
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(-12px);
  animation: revealItem 520ms ease forwards;
}

/* متن‌ها و لیست‌ها */
.rules-content p,
.rules-content ul,
.rules-content li {
  color: #dbeafe;
  font-size: 15px;
  margin: 8px 0;
  opacity: 0;
  transform: translateY(-12px);
  animation: revealItem 520ms ease forwards;
}

/* لیست‌ها */
.rules-content ul {
  padding-right: 18px;
  margin: 8px 0 16px;
  list-style: disc;
}

/* تاکید روی کلمه کلاهبرداری */
.rules-content .emph {
  color: #fff;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 800;
}

/* مالک و حقوق */
.rules-content .owner {
  margin-top: 18px;
  color: #cfe8ff;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-12px);
  animation: revealItem 520ms ease forwards;
  animation-delay: 720ms;
}

/* تماس و لینک */
.rules-content .contact {
  margin-top: 10px;
  color: #9fcfff;
  opacity: 0;
  transform: translateY(-12px);
  animation: revealItem 520ms ease forwards;
  animation-delay: 760ms;
}
.rules-content .brand-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 800;
}
.rules-content .brand-link:hover {
  color: #00e07a;
  text-decoration: none;
  text-shadow: 0 6px 18px rgba(0,224,122,0.08);
}

/* staggered reveal for headings and paragraphs */
.rules-content h3:nth-of-type(1) { animation-delay: 180ms; }
.rules-content p:nth-of-type(1) { animation-delay: 220ms; }
.rules-content h3:nth-of-type(2) { animation-delay: 300ms; }
.rules-content p:nth-of-type(2) { animation-delay: 340ms; }
.rules-content h3:nth-of-type(3) { animation-delay: 420ms; }
.rules-content p:nth-of-type(3) { animation-delay: 460ms; }
.rules-content ul { animation-delay: 520ms; }

/* انیمیشن‌ها */
@keyframes rulesFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes revealItem {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ریسپانسیو */
@media (max-width: 900px) {
  .rules-content { margin: 70px 12px 40px; padding: 22px; border-radius: 12px; }
  .rules-content h2 { font-size: 22px; }
  .rules-content h3 { font-size: 16px; }
  .rules-content p, .rules-content li { font-size: 15px; }
  .rules-panel .back-btn { top: 12px; left: 12px; width: 52px; height: 52px; font-size: 24px; }
}

@media (max-width: 480px) {
  .rules-content { padding: 18px; margin: 64px 10px 30px; }
  .rules-content h2 { font-size: 20px; }
  .rules-content .lead { font-size: 14px; }
}

/* دسترس‌پذیری: فوکوس */
.rules-panel :focus { outline: none; box-shadow: 0 0 0 4px rgba(0,200,83,0.12); border-radius: 8px; }

/* اگر می‌خواهی نمایش با کلاس انجام شود (به جای aria-hidden) */
/* .rules-panel.open { display:block; } */















@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;600;700;900&display=swap');

:root{
  --bg-1: #f6fbff;
  --bg-2: #e9f6ff;
  --primary: #004aad;
  --accent: #00c853;
  --muted: #6b7280;
  --card: #ffffff;
  --glass: rgba(255,255,255,0.6);
  --danger: #c62828;
  --shadow: 0 8px 24px rgba(2,6,23,0.08);
  --radius: 12px;
  --glass-border: rgba(255,255,255,0.6);
  --focus: 0 0 0 4px rgba(0,200,83,0.12);
  --transition: 250ms cubic-bezier(.2,.9,.3,1);
  --max-width: 1100px;
}

/* ---------- تنظیمات پایه ---------- */
* { box-sizing: border-box; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
html,body { height:100%; }
body{
  margin:0;
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  background: linear-gradient(180deg,var(--bg-1),var(--bg-2));
  color:#1f2937;
  line-height:1.6;
  -webkit-text-size-adjust:100%;
  direction: rtl;
overflow-x: hidden;
}

/* ظرف مرکزی */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px;
}

/* ---------- هدر ---------- */
.edu-header {
  padding: 18px 12px;
  background: linear-gradient(90deg, rgba(0,74,173,0.95), rgba(0,120,255,0.9));
  color: #fff;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.18);
}
.edu-header-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.edu-logo { width:48px; height:auto; border-radius:8px; box-shadow: 0 6px 18px rgba(0,0,0,0.18); }
.edu-brand { display:flex; align-items:center; gap:10px; text-decoration:none; color:#fff; }
.edu-brand-text { font-weight:700; font-size:16px; text-shadow: 0 2px 8px rgba(0,0,0,0.18); }

.edu-cta { display:flex; gap:10px; align-items:center; }
.cta-primary, .cta-secondary {
  display:inline-block;
  padding:8px 12px;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  transition: var(--transition);
}
.cta-primary { background: #fff; color: var(--primary); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.cta-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.cta-secondary { background: transparent; color: rgba(255,255,255,0.95); border:1px solid rgba(255,255,255,0.12); }
.cta-secondary:hover { transform: translateY(-3px); color:#fff; }

/* عنوان صفحه */
.edu-title {
  margin: 14px 0 6px;
  font-size:20px;
  text-align:center;
  font-weight:700;
  letter-spacing:0.2px;
  text-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* ---------- تب‌ها (منوی داخلی) ---------- */
.edu-nav { margin-top:8px; display:flex; justify-content:center; }
.edu-tabs { display:flex; gap:8px; padding:0; margin:0; list-style:none; flex-wrap:wrap; justify-content:center; }
.tab-link {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: none;
  padding:8px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:600;
  transition: var(--transition);
  box-shadow: none;
}
.tab-link.is-active, .tab-link:hover {
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(2,6,23,0.12);
}

/* ---------- محتوای اصلی ---------- */
.edu-main { padding: 18px; margin-top: 12px; }
.panel-head { text-align:center; margin-bottom:18px; }
.panel-title { margin:0; font-size:18px; color:var(--primary); font-weight:800; }
.panel-sub { margin:6px 0 0; color:var(--muted); }

/* تب‌ها: فقط پنل فعال نمایش داده شود */
.tab-panel { display:none; opacity:0; transform: translateY(8px); transition: all 300ms ease; }
.tab-panel.is-visible { display:block; opacity:1; transform: translateY(0); }

/* ---------- پرومو لینک‌ها ---------- */
.promo-row { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:14px; }
.promo-pill {
  background: linear-gradient(90deg,#fff,#f3f9ff);
  color: var(--primary);
  padding:8px 12px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  box-shadow: 0 8px 20px rgba(2,6,23,0.06);
  transition: var(--transition);
}
.promo-pill:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,200,83,0.12); color:var(--accent); }

/* ---------- آلبوم ویدیو (گرید) ---------- */
.video-album {
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  align-items:start;
}

/* کارت ویدیو */
.video-card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 320ms cubic-bezier(.2,.9,.3,1), box-shadow 320ms;
  cursor: pointer;
  padding-bottom:12px;
  border: 1px solid rgba(2,6,23,0.04);
}
.video-card:focus { outline: none; box-shadow: var(--focus); transform: translateY(-6px); }
.video-card.is-hovered, .video-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(2,6,23,0.12); }

/* تصویر بندانگشتی */
.video-thumb { position:relative; display:block; width:100%; height:0; padding-bottom:56.25%; overflow:hidden; background:#000; }
.video-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition: transform 400ms ease; }
.video-card:hover .video-thumb img { transform: scale(1.06); }

/* مدت زمان و دکمه پخش روی تصویر */
.video-duration {
  position:absolute; left:10px; bottom:10px;
  background: rgba(0,0,0,0.6);
  color:#fff; padding:6px 8px; border-radius:8px; font-weight:700; font-size:13px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
}
.play-overlay {
  position:absolute; right:10px; bottom:10px;
  background: linear-gradient(180deg, rgba(0,200,83,0.95), rgba(0,150,60,0.95));
  color:#fff; border:none; width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:800;
  box-shadow: 0 10px 30px rgba(0,200,83,0.18);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.play-overlay:hover { transform: scale(1.06); box-shadow: 0 18px 40px rgba(0,200,83,0.22); }

/* عنوان و توضیحات کارت */
.video-title { margin:12px 14px 4px; font-size:16px; font-weight:800; color:#0b254a; }
.video-meta { margin:0 14px 8px; color:var(--muted); font-size:13px; }

/* ---------- مطالب آموزشی (کارت‌ها) ---------- */
.edu-cards { display:grid; grid-template-columns: 1fr; gap:12px; }
.edu-card {
  background: linear-gradient(180deg,#fff,#fbfdff);
  padding:14px;
  border-radius:12px;
  box-shadow: 0 8px 24px rgba(2,6,23,0.06);
  border:1px solid rgba(2,6,23,0.04);
}
.card-link { display:inline-block; margin-top:8px; color:var(--primary); font-weight:700; text-decoration:none; transition: var(--transition); }
.card-link:hover { color:var(--accent); transform: translateY(-3px); text-shadow: 0 0 8px rgba(0,200,83,0.08); }

/* ---------- مقاله و درباره ما ---------- */
.edu-article { background: #fff; padding:16px; border-radius:12px; box-shadow: var(--shadow); border:1px solid rgba(2,6,23,0.04); }

/* ---------- مودال ویدیو ---------- */
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}
.video-modal.is-open { display:flex; }
.video-backdrop {
  position:absolute; inset:0; background: rgba(2,6,23,0.6); backdrop-filter: blur(4px);
}
.video-modal-box {
  position:relative;
  width: 96%;
  max-width: 980px;
  margin: 20px;
  border-radius: 14px;
  overflow: hidden;
  z-index: 1210;
  transform: translateY(12px);
  transition: transform 260ms ease, opacity 260ms ease;
  box-shadow: 0 30px 80px rgba(2,6,23,0.4);
  background: linear-gradient(180deg,#07102a, #0b254a);
  color:#fff;
}

/* هدر مودال */
.video-modal-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 16px;
  gap:8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.video-modal-title { margin:0; font-size:16px; font-weight:800; color:#fff; }

/* دکمه‌های کنترل مودال */
.video-controls { display:flex; gap:8px; align-items:center; }
.video-menu-btn, .video-close-btn {
  background: transparent; border: none; color:#fff; font-size:18px; cursor:pointer;
  padding:8px; border-radius:8px; transition: var(--transition);
}
.video-menu-btn:hover, .video-close-btn:hover { background: rgba(255,255,255,0.04); transform: translateY(-2px); }

/* منوی سه نقطه */
.video-menu {
  position:absolute;
  right:16px;
  top:56px;
  background: #fff;
  color:#0b254a;
  border-radius:10px;
  box-shadow: 0 12px 40px rgba(2,6,23,0.18);
  overflow:hidden;
  display:none;
  z-index:1220;
}
.video-menu[aria-hidden="false"] { display:block; }
.video-menu ul { list-style:none; margin:0; padding:8px 0; }
.video-menu li a, .video-menu li button {
  display:block; padding:10px 18px; text-decoration:none; color:inherit; background:transparent; border:none; width:100%; text-align:right; font-weight:700;
}
.video-menu li a:hover, .video-menu li button:hover { background: rgba(0,200,83,0.06); color:var(--accent); }

/* پلیر */
.video-player-wrap { padding:12px; background: linear-gradient(180deg,#07102a, #071a3a); display:flex; justify-content:center; align-items:center; }
.edu-player {
  width:100%;
  max-width:920px;
  height: auto;
  border-radius:10px;
  background:#000;
  box-shadow: 0 18px 60px rgba(2,6,23,0.5);
  outline:none;
}

/* فوتر مودال */
.video-modal-footer { padding:10px 16px; display:flex; justify-content:space-between; align-items:center; gap:8px; border-top:1px solid rgba(255,255,255,0.04); color:#dbeafe; font-weight:700; }

/* ---------- فوتر صفحه ---------- */
.edu-footer {
  margin-top:28px;
  padding:18px;
  text-align:center;
  background: linear-gradient(90deg, rgba(0,74,173,0.06), rgba(0,120,255,0.04));
  border-radius:12px;
  color:var(--muted);
}
.footer-inner { display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap; max-width:var(--max-width); margin:0 auto; padding:6px; }
.brand-link { color:var(--primary); font-weight:800; text-decoration:none; transition: var(--transition); }
.brand-link:hover { color:var(--accent); text-shadow: 0 0 8px rgba(0,200,83,0.08); transform: translateY(-3px); }

/* ---------- دسترس‌پذیری و فوکوس ---------- */
a:focus, button:focus, .video-card:focus { outline: none; box-shadow: var(--focus); border-radius:8px; }

/* ---------- انیمیشن‌های کوچک ---------- */
@keyframes floatUp {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.promo-pill { animation: floatUp 6s ease-in-out infinite; }

/* ---------- ریسپانسیو ---------- */
/* تبلت */
@media (min-width: 640px) {
  .video-album { grid-template-columns: repeat(2, 1fr); }
  .edu-cards { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 22px; }
}

/* دسکتاپ */
@media (min-width: 980px) {
  .video-album { grid-template-columns: repeat(3, 1fr); gap:20px; }
  .edu-cards { grid-template-columns: repeat(3, 1fr); gap:18px; }
  .edu-header-inner { padding: 6px 0; }
  .edu-title { font-size:22px; }
  .floating-logo { width:110px; }
}

/* موبایل-اول: بهینه‌سازی لمس */
@media (hover: none) {
  .video-card:hover .video-thumb img { transform: none; }
  .play-overlay { transform: none; }
}

/* ---------- نکات نهایی ---------- */
/* اگر می‌خواهی رنگ‌ها یا اندازه‌ها را سریع تغییر دهی، از :root متغیرها را ویرایش کن. */
/* برای بهبود SEO و نمایش ویدیو در نتایج، می‌توانی VideoObject schema برای هر ویدیو اضافه کنی. */
