/* =========================================================
   پایه‌ی طراحی سایت کریمان – نسخه بازسازی‌شده
   تمرکز روی: سادگی، خوانایی، ریسپانسیو قوی موبایل/تبلت
   ========================================================= */

/* ================= انیمیشن‌های کلیدی ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.8);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

:root {
  --green-dark: #064e3b;
  --green: #10b981;
  --green-soft: #86efac;
  --mint: #ecfdf5;
  --night: #0f172a;
  --gold: #ca8a04;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f0fdf4;
  color: var(--night);
  line-height: 1.7;
}

img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= هدر و ناوبری ================= */

header { 
  position: sticky; 
  top: 0; 
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.navbar { 
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 900;
  color: var(--green-dark);
  font-size: 1.5rem;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-links { 
  display: flex; 
  align-items: center;
  gap: 1.75rem;
  font-weight: 600; 
  color: var(--green-dark);
}

.nav-links a { 
  position: relative;
  padding: 0.3rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center; 
  gap: 0.25rem;
}

.dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #051c14;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  padding: 0.6rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 30;
}

.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: #d1fae5;
  font-size: 0.95rem;
}

.dropdown-menu a:hover {
  background: rgba(16,185,129,0.15);
}

@media (min-width: 901px) {
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* نمایش dropdown در حالت موبایل وقتی active است */
@media (max-width: 900px) {
  .nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: static;
    margin-top: 0.5rem;
    margin-right: 0;
    box-shadow: none;
    background: rgba(5, 28, 20, 0.05);
    border-radius: 12px;
  }
  
  .nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
    transition: transform 0.25s ease;
    color: #000000;
  }
  
  /* رنگ مشکی برای متن dropdown-toggle در موبایل */
  .nav-dropdown .dropdown-toggle {
    color: #000000;
  }
  
  /* رنگ مشکی برای لینک‌های dropdown-menu در موبایل */
  .nav-dropdown.active .dropdown-menu a {
    color: #000000;
  }
  
  .nav-dropdown.active .dropdown-menu a:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #000000;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  border-radius: 999px;
}

/* ================= دکمه‌ها ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), #34d399);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 118, 110, 0.18);
  color: var(--green-dark);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
}

.btn-outline:hover {
  background: var(--green-dark);
  color: #ffffff;
}

/* ================= سکشن‌ها و چیدمان عمومی ================= */

.section {
  padding: 5rem 6vw;
}

.simple-hero {
  max-width: 1200px;
  margin: 0 auto;
}

.page-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.content-stack {
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 2.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid #d1fae5;
}

.content-stack h1,
.content-stack h2 {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--green-dark);
}

.content-stack p {
  margin: 0 0 0.9rem;
  color: #4b5563;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-list li {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--green-dark);
  font-weight: 600;
}

/* ================= کارت‌های آموزشگاه (courses.html) ================= */

.academy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.academy-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: 2.2rem 2rem;
  border: 1px solid #d1fae5;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.academy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(16,185,129,0.15), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.academy-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.14);
  border-color: rgba(16,185,129,0.4);
}

.academy-card:hover::before {
  opacity: 1;
}

.academy-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: #ecfdf5;
  color: var(--green-dark);
  display: flex; 
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 12px 30px rgba(16,185,129,0.25);
}

.academy-meta h3 {
  margin: 0.6rem 0 0.5rem;
  color: var(--green-dark);
  font-size: 1.4rem;
}

.academy-meta p {
  margin: 0 0 0.75rem;
  color: #475569;
  line-height: 1.8;
}

.academy-tag {
  display: inline-flex;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 700;
}

.academy-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #065f46;
  font-weight: 600;
}

.academy-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.academy-link::after {
  content: '↗';
  font-size: 1rem;
}

.academy-link:hover {
  color: var(--green);
  transform: translateX(-4px);
}

/* ================= هِرو صفحه اصلی ================= */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  padding: 5rem 6vw 4rem;
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.2), transparent 55%), #f0fdf4;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 4rem;
  align-items: center;
}

.hero-title .title-main {
  display: block;
  font-size: clamp(2.4rem, 4.5vw, 3.3rem);
  font-weight: 900;
  color: var(--green-dark);
  margin: 0 0 1.5rem;
}

.title-green {
  background: linear-gradient(135deg, #047857, #10b981);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: 1.15rem;
  color: #36574d;
  font-weight: 600;
  margin: 1.5rem 0 2rem;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.8rem 1.4rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
  border: 1px solid #d1fae5;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
  border-color: #86efac;
}

.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--green-dark);
}

.feature-desc {
  margin: 0;
  font-size: 0.95rem;
  color: #64748b;
}

.hero-logo-section {
  display: flex; 
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: 260px;
  max-width: 70vw;
}

.logo-golden-line {
  width: 160px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  margin: 1.6rem auto 0.7rem;
}

.logo-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
  text-align: center;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(16, 185, 129, 0.1);
  letter-spacing: 0.02em;
  white-space: nowrap; /* همیشه در یک خط */
}

.partner-logos {
  display: flex; 
  align-items: center; 
  justify-content: center;
  gap: 2.5rem;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #022c22, #051c14);
  padding: 1.7rem 2.5rem;
  border-radius: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
}

.partner-logo {
  width: auto;
  height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-logo:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(134, 239, 172, 0.7));
}

/* ================= Glassmorphism Section ================= */

.glassmorphism-section {
  background: linear-gradient(135deg, #051c14 0%, #0a2e1f 60%, #051c14 100%);
  color: #ecfdf5;
  padding: 6rem 6vw;
}

.glassmorphism-container {
  max-width: 1200px;
  margin: 0 auto;
}

.glassmorphism-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

.glassmorphism-main-title {
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  font-family: 'Vazirmatn', sans-serif;
  margin: 0 0 1.5rem;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

.glassmorphism-subtitle {
  color: #86efac;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 600;
  margin: 0;
}

.glassmorphism-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.glassmorphism-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  border: 1px solid rgba(134, 239, 172, 0.4);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.glassmorphism-card h3 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  color: #ecfdf5;
}

.glassmorphism-skill-list {
  margin: 0 0 0.6rem;
  color: #a7f3d0;
  font-weight: 600;
}

.glassmorphism-detail {
  margin: 0;
  color: #86efac;
  font-size: 0.98rem;
}

.glassmorphism-card:hover {
  transform: translateY(-8px);
  border-color: #ca8a04;
  box-shadow: 0 20px 50px rgba(202, 138, 4, 0.25);
}

.glassmorphism-cta-wrapper {
  text-align: center;
  margin-top: 3.5rem;
}

.glassmorphism-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), #eab308);
  color: #051c14;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 1.4rem 3.5rem;
  border-radius: 999px;
  box-shadow: 0 12px 35px rgba(202, 138, 4, 0.6);
}

 /* ================= نقشه راه شخصی کریمان ================= */

.program-grid .section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.roadmap-step {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem 1.6rem;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
  border: 1px solid #d1fae5;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.roadmap-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.25);
  border-color: #86efac;
}

.step-number {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--green-dark);
  font-weight: 800;
    display: flex;
  align-items: center;
  justify-content: center;
}

.roadmap-step h3 {
  margin: 0 0 0.8rem;
  padding-top: 1.5rem;
  font-size: 1.2rem;
  color: var(--green-dark);
}

.roadmap-step p {
  margin: 0;
    font-size: 0.95rem;
  color: #4b5563;
  }

.roadmap-cta {
  margin-top: 2.5rem;
    text-align: center;
  }

 /* ================= چرا تجربه کریمان فرق دارد ================= */

.reasons-section {
  background: linear-gradient(135deg, #ecfdf5, #ffffff);
}

.reasons-carousel-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.reason-card { 
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid #d1fae5;
}

.reason-icon {
    font-size: 3rem;
  margin-bottom: 0.9rem;
}

.reason-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 0 0.7rem;
  color: var(--green-dark);
}

.reason-text {
  margin: 0;
  font-size: 0.98rem;
  color: #4b5563;
}

 /* ================= بخش والدین + آمار ================= */

.feedback-section {
  background: #f9fafb;
}

.feedback-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}
.feedback-grid > * {
  min-width: 0;
}

.testimonial-pane {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 2.2rem;
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
  border: 1px solid #d1fae5;
}

.testimonial-text {
  font-size: 1.05rem;
  color: #374151;
  margin-bottom: 1.2rem;
  line-height: 1.9;
}

.testimonial-pane h2 {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--green-dark);
}

.stats-elegant {
  border-radius: 24px;
  padding: 2.8rem 2.2rem;
  background: linear-gradient(135deg, #0a2e1f, #051c14);
  color: #ecfdf5;
  box-shadow: 0 18px 40px rgba(15,23,42,0.45);
}

.stats-top {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: #86efac;
}

.stat-plus {
  font-size: 2rem;
  font-weight: 400;
  color: #86efac;
  margin-top: -0.5rem;
}

.stat-label {
    font-size: 1rem;
  color: #bbf7d0;
}

.stats-bottom {
  margin-top: 2rem;
  text-align: center;
}

.location-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ecfdf5;
}

.location-sub {
    font-size: 1.1rem;
  color: #86efac;
}

/* ================= فوتر ================= */

footer {
  background: linear-gradient(135deg, #051c14 0%, #0a2e1f 100%);
  color: #d1fae5;
  padding: 4rem 6vw 2rem;
}

.footer-top-text {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #86efac;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.footer-top-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ca8a04, transparent);
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(202, 138, 4, 0.5);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
  }
  
.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #ecfdf5;
}

.footer-grid p {
  margin: 0 0 0.75rem;
  color: #d1fae5;
}

.social-badges { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-link { 
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center; 
  justify-content: center;
  background: rgba(15, 23, 42, 0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}

.social-link:hover { 
  transform: translateY(-3px);
  background: rgba(22, 163, 74, 0.8);
}

.social-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.map-frame {
  width: 100%;
  min-height: 220px;
  border-radius: 18px;
  border: 0;
}

/* ================= Coming Soon / Store ================= */

.coming-soon-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.coming-soon-content {
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid #d1fae5;
}

.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: cartFloat 3s ease-in-out infinite;
  transform-origin: center;
  filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.3));
  transition: all 0.3s ease;
}

.coming-soon-icon:hover {
  animation: cartFloatHover 3s ease-in-out infinite;
  transform: scale(1.15);
  filter: drop-shadow(0 6px 20px rgba(16, 185, 129, 0.5));
}

@keyframes cartFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    transform: translateY(-10px) rotate(-3deg) scale(1.03);
  }
  50% {
    transform: translateY(-15px) rotate(0deg) scale(1.05);
  }
  75% {
    transform: translateY(-10px) rotate(3deg) scale(1.03);
  }
}

@keyframes cartFloatHover {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1.15);
  }
  25% {
    transform: translateY(-12px) rotate(-5deg) scale(1.18);
  }
  50% {
    transform: translateY(-18px) rotate(0deg) scale(1.2);
  }
  75% {
    transform: translateY(-12px) rotate(5deg) scale(1.18);
  }
}

/* ================= صفحه آموزشگاه رسانه ================= */

.media-hero {
  background: linear-gradient(135deg, #051c14 0%, #0a2e1f 50%, #051c14 100%);
  color: #ecfdf5;
  padding: 6rem 6vw;
    position: relative;
  overflow: hidden;
}

.media-hero::before {
  content: '';
  position: absolute;
    top: 0;
  left: 0;
    right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(134, 239, 172, 0.08), transparent 60%);
  pointer-events: none;
}

.media-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.media-hero-content {
    text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.media-hero-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: rgba(134, 239, 172, 0.15);
  border: 1px solid rgba(134, 239, 172, 0.3);
  border-radius: 999px;
  color: #86efac;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.media-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 1.2rem;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.media-hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #a7f3d0;
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.media-hero-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(134, 239, 172, 0.2);
  border-radius: 50px;
  color: #d1fae5;
  font-weight: 600;
    font-size: 0.95rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-feature-item:hover {
  background: rgba(134, 239, 172, 0.12);
  border-color: rgba(134, 239, 172, 0.4);
  transform: translateY(-2px);
}

.hero-feature-icon {
  font-size: 1.3rem;
}

.btn-large {
  padding: 1.2rem 3rem;
    font-size: 1.1rem;
  font-weight: 800;
}

/* ================= کارت‌های مهارت ================= */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.skill-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  border: 1px solid #d1fae5;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* Scroll animation initial state */
    opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

.skill-card.scroll-animate {
    opacity: 1;
    transform: translateY(0);
  }

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #86efac);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.2);
  border-color: #86efac;
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-icon {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
  transform: scale(1.1) rotate(5deg);
}

.skill-card h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.3;
}

.skill-description {
  margin: 0;
  color: #475569;
  line-height: 1.8;
  font-size: 0.98rem;
  flex-grow: 1;
}

.golden-message {
  max-width: 900px;
  margin: 4rem auto 0;
  padding: 2.5rem 2.5rem;
  background: linear-gradient(135deg, rgba(202, 138, 4, 0.12), rgba(234, 179, 8, 0.08));
  border: 2px solid rgba(202, 138, 4, 0.3);
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(202, 138, 4, 0.15);
}

.golden-message p {
  margin: 0 0 1rem;
  color: var(--green-dark);
  font-size: 1.05rem;
  line-height: 1.8;
}

.golden-message p:last-child {
  margin-bottom: 0;
}

.golden-message strong {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.15rem;
}

/* ================= بخش ویژگی‌های آموزشگاه رسانه ================= */

.media-features-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.media-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.media-feature-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  border: 1px solid #d1fae5;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  /* Scroll animation initial state */
    opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

.media-feature-card.scroll-animate {
    opacity: 1;
  transform: translateY(0);
}

.media-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #86efac);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.media-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
  border-color: #86efac;
}

.media-feature-card:hover::before {
  transform: scaleX(1);
}

.media-feature-icon {
    font-size: 3.5rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.media-feature-card:hover .media-feature-icon {
  transform: scale(1.15) rotate(-5deg);
}

.media-feature-card h3 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
}

.media-feature-card p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
  font-size: 0.98rem;
}

/* ================= بخش CTA پایانی ================= */

.media-cta-section {
  background: linear-gradient(135deg, #051c14 0%, #0a2e1f 100%);
  color: #ecfdf5;
  text-align: center;
}

.media-cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.media-cta-container h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.media-cta-container p {
    font-size: 1.2rem;
  color: #a7f3d0;
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

/* ================= ریسپانسیو ================= */

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1rem;
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.25);
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links.nav-open {
    right: 0;
  }

  .nav-shell.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .hero-container { 
    grid-template-columns: 1fr; 
    text-align: center;
  }

  .hero-logo-section {
    order: -1;
  }

  .hero-features-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .glassmorphism-cards-grid {
    grid-template-columns: 1fr;
  }

  .glassmorphism-cta-btn {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 1.5rem;
  }

  .navbar {
    padding-inline: 1rem;
  }

  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .partner-logos {
    padding: 1.3rem 1.75rem;
    gap: 1.75rem;
  }

  .partner-logo {
    height: 48px;
  }

  .roadmap {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .feedback-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 3rem 1rem;
  }

  .content-stack {
    padding: 2rem 1.5rem;
  }

  .glassmorphism-main-title {
    font-size: 2.3rem;
  }

  .glassmorphism-cards-grid {
  gap: 1.5rem;
  }

  .glassmorphism-card {
    padding: 2rem 1.5rem;
  }

  .hero-features-grid {
    grid-template-columns: 1fr;
  }

  .roadmap {
    grid-template-columns: 1fr;
  }

  .stats-top {
    gap: 1.8rem;
  }

  footer {
    padding: 3rem 1.5rem 1.5rem;
  }

  .media-hero {
    padding: 4rem 1.5rem;
  }

  .media-hero-title {
    font-size: 2.2rem;
  }

  .media-hero-features {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-feature-item {
    justify-content: center;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .media-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .golden-message {
    padding: 2rem 1.5rem;
  }
}

/* ================= صفحه تماس ================= */

.contact-hero-section {
  background: linear-gradient(135deg, #051c14 0%, #0a2e1f 50%, #051c14 100%);
  color: #ecfdf5;
  padding: 6rem 6vw 4rem;
  position: relative;
  overflow: hidden;
    text-align: center;
  }

.contact-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-hero-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: rgba(134, 239, 172, 0.15);
  border: 1px solid rgba(134, 239, 172, 0.3);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #86efac;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.contact-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 1.5rem;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #a7f3d0;
  line-height: 1.8;
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* کارت‌های اطلاعات تماس */
.contact-cards-section {
  background: #f0fdf4;
  padding: 4rem 6vw;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  border: 1px solid #d1fae5;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  /* Scroll animation initial state */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card.scroll-animate {
  opacity: 1;
  transform: translateY(0);
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #86efac);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.contact-info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
  border-color: #86efac;
}

.contact-info-card:hover::before {
  transform: scaleX(1);
}

.contact-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-card-icon {
  transform: scale(1.15) rotate(5deg);
}

.contact-info-card h3 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
}

.contact-phone-link {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.contact-phone-link:hover {
  color: var(--green-dark);
}

.contact-card-desc,
.contact-card-address {
  margin: 0;
  color: #475569;
  line-height: 1.8;
  font-size: 0.98rem;
}

.contact-social-badges {
  display: flex;
    flex-wrap: wrap;
  gap: 0.75rem;
    justify-content: center;
  margin-top: 1rem;
}

.contact-social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-social-link:hover {
  transform: translateY(-3px);
  background: rgba(16, 185, 129, 0.2);
}

.contact-social-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* بخش فرم تماس */
.contact-form-section {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  padding: 4rem 6vw;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  border: 1px solid #d1fae5;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  transition: all 0.4s ease;
}

.contact-form:hover {
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
}

.contact-form-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.contact-form-header h2 {
    font-size: 2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0 0 0.75rem;
  position: relative;
  padding-bottom: 1rem;
}

.contact-form-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #ca8a04;
  border-radius: 1px;
}

.contact-form-header p {
  margin: 0;
  color: #64748b;
    font-size: 1rem;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1rem;
  color: var(--night);
  background: #ffffff;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1.25rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(202, 138, 4, 0.3);
}

.btn-icon {
    font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
  transform: translateX(-4px);
}

.contact-map-container {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid #d1fae5;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
  transition: all 0.4s ease;
}

.contact-map-container:hover {
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.15);
}

.contact-map-container h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0 0 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.contact-map-container h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #ca8a04;
  border-radius: 1px;
}

.contact-map-frame {
  width: 100%;
  min-height: 400px;
  border-radius: 18px;
  border: 0;
}

/* ریسپانسیو صفحه تماس */
@media (max-width: 900px) {
  .contact-hero-section {
    padding: 4rem 1.5rem 3rem;
  }

  .contact-cards-section {
    padding: 3rem 1.5rem;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form-section {
    padding: 3rem 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form {
    padding: 2.5rem 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  }

@media (max-width: 480px) {
  .contact-hero-title {
    font-size: 2rem;
  }
  
  .contact-hero-subtitle {
    font-size: 0.95rem;
  }

  .contact-info-card {
    padding: 2rem 1.5rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .contact-form-header h2 {
    font-size: 1.6rem;
  }

  .contact-map-container {
    padding: 1.5rem;
  }

  .contact-map-frame {
    min-height: 300px;
  }
}

/* ================= صفحه لودینگ حرفه‌ای ================= */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #051c14 0%, #064e3b 50%, #0a2e1f 100%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
  overflow: hidden;
}

#loading-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(202, 138, 4, 0.1) 0%, transparent 50%);
  animation: loadingPulse 4s ease-in-out infinite;
}

#loading-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(134,239,172,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  animation: loadingMove 20s linear infinite;
}

@keyframes loadingPulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@keyframes loadingMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}

.loading-core {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

/* لوگوی لودینگ */
.loading-logo {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(202, 138, 4, 0.4));
  opacity: 0;
  animation: loadingLogoAppear 1s ease 0.3s forwards, loadingLogoFloat 3s ease-in-out 1.3s infinite;
  position: relative;
}

.loading-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(202, 138, 4, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: loadingGlow 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes loadingGlow {
  0%, 100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@keyframes loadingLogoAppear {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes loadingLogoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-15px) scale(1.05);
  }
}

/* Spinner حرفه‌ای */
.loading-spinner {
  width: 80px;
  height: 80px;
  position: relative;
  margin: 0 auto;
  background: radial-gradient(circle, rgba(134, 239, 172, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.loading-spinner::before,
.loading-spinner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.loading-spinner::before {
  border: 4px solid transparent;
  border-top: 4px solid #ca8a04;
  border-right: 4px solid #ca8a04;
  animation: loadingSpin 1s linear infinite;
  filter: drop-shadow(0 0 8px rgba(202, 138, 4, 0.6));
}

.loading-spinner::after {
  border: 4px solid transparent;
  border-bottom: 4px solid #86efac;
  border-left: 4px solid #86efac;
  animation: loadingSpin 1s linear infinite reverse;
  filter: drop-shadow(0 0 8px rgba(134, 239, 172, 0.6));
}

@keyframes loadingSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* متن لودینگ */
.loading-core p {
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #86efac;
  margin: 0;
  opacity: 0;
  animation: loadingTextFade 0.8s ease 0.6s forwards;
  text-shadow: 0 2px 10px rgba(134, 239, 172, 0.3);
  letter-spacing: 0.02em;
}

@keyframes loadingTextFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress Bar */
.loading-progress {
  width: 280px;
  height: 4px;
  background: rgba(134, 239, 172, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-top: 1rem;
  opacity: 0;
  animation: loadingTextFade 0.8s ease 0.9s forwards;
}

.loading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #86efac 0%, #ca8a04 50%, #86efac 100%);
  background-size: 200% 100%;
  border-radius: 10px;
  width: 0%;
  animation: loadingProgress 2s ease-in-out forwards, loadingShimmer 2s linear infinite;
  box-shadow: 0 0 20px rgba(134, 239, 172, 0.6), 0 0 40px rgba(202, 138, 4, 0.4);
}

@keyframes loadingProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes loadingShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* دات‌های لودینگ */
.loading-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  opacity: 0;
  animation: loadingTextFade 0.8s ease 1.2s forwards;
}

.loading-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #86efac;
  animation: loadingDotBounce 1.4s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(134, 239, 172, 0.6);
}

.loading-dot:nth-child(1) {
  animation-delay: 0s;
}

.loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingDotBounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* حالت fade-out */
#loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loading-screen.fade-out .loading-core {
  transform: scale(0.95);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ریسپانسیو لودینگ */
@media (max-width: 768px) {
  .loading-logo {
    width: 140px;
  }

  .loading-spinner {
    width: 60px;
    height: 60px;
  }

  .loading-spinner::before,
  .loading-spinner::after {
    border-width: 3px;
  }

  .loading-core p {
    font-size: 1rem;
  }

  .loading-progress {
    width: 240px;
  }
}

@media (max-width: 480px) {
  .loading-logo {
    width: 120px;
  }

  .loading-spinner {
    width: 50px;
    height: 50px;
  }

  .loading-core p {
    font-size: 0.95rem;
  }

  .loading-progress {
    width: 200px;
  }
}


