@charset "UTF-8";
:root {
  --primary-color: #3b82f6; /* آبی روشن */
  --secondary-color: #1e40af; /* آبی تیره */
  --accent-color: #f59e0b; /* نارنجی برای تاکید */
  --bg-color: #f8fafc;
  --text-color: #1e293b;
  --card-bg: #ffffff;
  --font-main: 'Vazirmatn', sans-serif;
}

@font-face {
  font-family: "base-font";
  font-weight: 700;
  font-style: normal;
  src: url("../_font/Bodoni_Moda/BodoniModa-VariableFont_opsz,wght.ttf");
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* هدر و ناوبری */
header {
  background-color: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

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

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  height: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.cta-button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.2s;
}

.cta-button2 {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s, background-color 0.2s;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* بخش قهرمان (Hero Section) */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--secondary-color);
}

.hero p {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

/* انیمیشن ساده با CSS */
.math-shape {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  font-weight: bold;
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
}
/* بخش دوره‌ها */
.courses {
  background-color: white;
  padding: 5rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

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

.card {
  background: var(--bg-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card p {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e2e8f0;
  padding-top: 1rem;
}

.price {
  font-weight: bold;
  color: var(--secondary-color);
}

/* بخش آمار (نمایش تعاملی) */
.stats {
  background-color: var(--secondary-color);
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

/* فوتر */
footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 3rem 2rem;
  text-align: center;
}

/* واکنش‌گرا (Responsive) */
@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }
  .nav-links {
    display: none; /* منوی موبایل نیاز به JS بیشتر دارد */
  }
  .hero h1 {
    font-size: 2rem;
  }
}
.title_item {
  cursor: pointer;
  position: relative;
  left: 10rem;
}

.item_title {
  background-color: rgba(128, 128, 128, 0.339);
  display: block;
  opacity: 0;
  border: none;
  padding: 20px;
  border-radius: 10px;
  font-size: 30px;
  position: relative;
  top: 20px;
  left: 5.5rem;
}

.list__item:has(#popup-toggle:checked) .item_title {
  display: block;
  opacity: 1;
  position: relative;
  left: 8.5rem;
}

.list label:hover {
  color: var(--primary-color);
}

.my_class_list {
  cursor: pointer;
}

.menu-list {
  background-color: rgba(128, 128, 128, 0.339);
  display: block;
  opacity: 0;
  border: none;
  padding: 20px;
  border-radius: 10px;
  font-size: 30px;
  position: relative;
  top: 20px;
  left: 1.5rem;
}

.title_menu {
  cursor: pointer;
  position: relative;
  left: 5rem;
}

.item-nav_list:has(#toggle:checked) .menu-list {
  display: block;
  opacity: 1;
  position: relative;
  left: 7rem;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.05);
  transition: 2s ease-in-out;
  transform: scale(1);
  background-color: rgba(186, 85, 211, 0.396);
}

.nav_list label:hover {
  color: var(--primary-color);
}

.menu_mylist {
  background-color: rgba(128, 128, 128, 0.339);
  display: block;
  opacity: 0;
  border: none;
  padding: 20px;
  border-radius: 10px;
  font-size: 30px;
  position: relative;
  top: 20px;
  left: 1.5rem;
}

.menu {
  cursor: pointer;
}

.list_my-nav:has(#toggle_input:checked) .menu_mylist {
  transform: scale(1);
  transition: 3s ease;
  display: block;
  opacity: 1;
  position: relative;
  bottom: 10em;
  box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.05);
  transition: 2s ease-in-out;
  transform: scale(1);
  background-color: rgba(186, 85, 211, 0.396);
}

.list_my-nav label:hover {
  color: var(--primary-color);
}

.naBar a {
  position: relative;
  left: 5rem;
}

.lego_shad {
  border-radius: 50%;
  object-fit: cover;
  height: 2.5rem;
  position: relative;
  right: 1.5rem;
}

.lego_eitaa {
  object-fit: cover;
  height: 3rem;
  border-radius: 100%;
  position: relative;
  right: 1.6rem;
}

.lego_telegram {
  object-fit: cover;
  height: 3rem;
  border-radius: 100%;
}

/* دکمه منوی موبایل */
.mobile-menu-btn {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

/* فقط در موبایل نمایش داده شود */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    color: var(--secondary-color);
    left: 23rem;
  }
  /* منو در حالت بسته */
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    background: white;
    padding: 1.5rem;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  /* وقتی checkbox فعال شد → منو باز شود */
  #mobile-menu:checked ~ .nav-links {
    display: list-item;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
body {
  font-family: "Vazirmatn", sans-serif;
  background-color: #f2f4f8;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  width: 90%;
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

h1 {
  text-align: center;
  color: #007BFF;
}

.intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 18px;
}

.question {
  margin-bottom: 20px;
}

label {
  margin-top: 10px;
  display: block;
  font-weight: bold;
  position: relative;
  bottom: 0.5rem;
}

input[type=text],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: border-color 0.3s;
}

input[type=text]:focus,
textarea:focus,
select:focus {
  border-color: #007BFF;
  outline: none;
}

.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
}

.link_survey {
  outline: none;
  color: white;
  position: relative;
  top: 1rem;
  text-decoration: none;
  font-family: label-font;
}

@font-face {
  font-family: label-font;
  font-weight: 800;
  font-style: normal;
  src: url("../_font/Vazirmatn/static/Vazirmatn-Regular.ttf");
}

/*# sourceMappingURL=style.css.map */
