@font-face {
  font-family: "yekan";
  src: url("../fonts/Yekan-Bakh-FaNum-04-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
*:not(.fas) {
  font-family: yekan !important;
}
:root {
  --navy: #1b2a4a; /* سرمه‌ای اصلی */
  --navy-light: #2c3e6b;
  --gold: #e6b12e; /* رنگ تاکیدی (اختیاری) */
}
body {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22120%22 height=%22120%22 viewBox=%220 0 120 120%22%3E%3Cdefs%3E%3Cstyle%3E.ln%7Bstroke:%23d4d0c8;stroke-width:0.7;stroke-opacity:0.3%7D.f%7Bfill:%23d4d0c8;fill-opacity:0.25%7D%3C/style%3E%3C/defs%3E%3Cpath d=%22M0 30h120M0 60h120M0 90h120%22 class=%22ln%22/%3E%3Cg transform=%22translate(20,12)%22%3E%3Crect class=%22f%22 x=%220%22 y=%220%22 width=%225%22 height=%2230%22 rx=%221%22/%3E%3Cpolygon class=%22f%22 points=%220,30 5,30 2.5,38%22/%3E%3C/g%3E%3Cg transform=%22translate(80,55)%22%3E%3Cpath class=%22f%22 d=%22M2 0h18a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z%22/%3E%3Cpath class=%22ln%22 d=%22M5 5h12M5 10h8%22/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 10px 10px;
}

/* Notification bar */
@keyframes pulse-glow {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

@keyframes slide-in {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes countdown-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

/* Header */
/* استایل برای Glassmorphism */
.glass-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.glass-header-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

/* انیمیشن هدر */
@keyframes header-scroll {
  from {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }
  to {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
  }
}

/* Transition برای هاور */
.nav-link {
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: #fb923c; /* نارنجی کم رنگ */
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.interview-section {
  background: linear-gradient(135deg, #f0f4f8 0%, #e6ecf2 100%);
  padding: 4rem 1rem;
}
.swiper {
  width: 100%;
  padding-bottom: 3rem;
}
.swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
}
.interview-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(27, 42, 74, 0.08);
  max-width: 380px;
  width: 100%;
  padding: 1.8rem 1.5rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid rgba(27, 42, 74, 0.05);
}
.interview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(27, 42, 74, 0.12);
}

/* تصویر دانش‌آموز */
.student-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e6b12e40;
  margin: 0 auto 0.8rem;
}

/* نقل‌قول */
.quote-icon {
  color: #1b2a4a;
  opacity: 0.1;
  font-size: 2rem;
}
.quote-text {
  color: #2d3748;
  line-height: 1.8;
  font-weight: 400;
}

/* رتبه / نمره */
.rank-badge {
  background: #1b2a4a0c;
  color: #1b2a4a;
  font-weight: 700;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  display: inline-block;
}

/* pagination سفارشی */
.swiper-pagination-bullet {
  background: #1b2a4a !important;
  opacity: 0.2;
  width: 12px;
  height: 12px;
}
.swiper-pagination-bullet-active {
  background: #1b2a4a !important;
  opacity: 1;
  width: 30px;
  border-radius: 10px;
}

/* responsive */
@media (max-width: 640px) {
  .interview-card {
    max-width: 300px;
    padding: 1.2rem;
  }
}

.section-plans {
  background-color: #ffffff;
  padding: 5rem 1rem;
}

.plan-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(27, 42, 74, 0.03);
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.plan-card:hover {
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.1);
}

.plan-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* بخش ویدیو */
.video-section {
  background: #f8fafc;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #e2e8f0;
}

.video-container {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #1b2a4a, #3b4d7a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  position: relative;
}

.play-btn {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fb923c;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
}

.play-btn:hover {
  background: white;
  transform: scale(1.1);
}

/* بخش توضیحات */
.info-section {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan-header {
  margin-bottom: 1.5rem;
}

.plan-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1b2a4a;
  margin-bottom: 0.5rem;
}

.plan-subtitle {
  color: #64748b;
  font-size: 0.95rem;
}

/* بخش مشاور */
.advisor-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
}

.advisor-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fb923c40;
}

.advisor-info h4 {
  font-weight: 700;
  color: #1b2a4a;
  margin-bottom: 0.2rem;
}

.advisor-info p {
  color: #64748b;
  font-size: 0.85rem;
}

/* لیست ویژگی‌ها */
.features-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.features-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #334155;
}

.features-list li:last-child {
  border-bottom: none;
}

.feature-icon {
  color: #10b981;
  font-size: 1.1rem;
}

/* قیمت و دکمه */
.price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: #1b2a4a;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: #64748b;
}

.btn-buy {
  background: #fb923c;
  color: white;
  font-weight: 700;
  padding: 0.85rem 2.5rem;
  border-radius: 50px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(251, 146, 60, 0.3);
  border: none;
  cursor: pointer;
}

.btn-buy:hover {
  background: #f97316;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(251, 146, 60, 0.4);
}

/* واکنش‌گرا */
@media (max-width: 768px) {
  .plan-content {
    grid-template-columns: 1fr;
  }
  .video-section {
    border-left: none;
    border-bottom: 1px solid #e2e8f0;
  }
  .info-section {
    padding: 1.5rem;
  }
  .price-section {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

/* استایل تب فعال */
.tab-btn.active-tab {
  background-color: #f97316;
  color: white;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}
.tab-btn.active-tab::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #f97316;
}

/* فقط استایل ضروری برای Swiper (خود Swiper لازم دارد) و یک کلاس کوچک برای نمایش/عدم نمایش تب‌ها */
.tab-content {
  display: none;
}
.tab-content.active-content {
  display: block;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  #desktopMenu {
    gap: 10px;
  }
}
