/* ===== متغیرهای CSS ===== */
:root {
  --primary: #1e3a5f;
  --primary-dark: #0f2744;
  --secondary: #2e7d32;
  --secondary-light: #4caf50;
  --accent: #f4a100;
  --accent-light: #ffc107;
  --background: #ffffff;
  --background-alt: #f8fafc;
  --foreground: #1a1a2e;
  --foreground-muted: #64748b;
  --border: #e2e8f0;
  --card: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --radius: 12px;
}

/* ===== ریست و پایه ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  direction: rtl;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.7;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

/* ===== هدر ===== */
.header {
  background: var(--background);
  box-shadow: 0 2px 20px var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-top {
  background: var(--primary);
  color: white;
  padding: 8px 0;
  font-size: 0.85rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.header-top-left,
.header-top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-top a {
  color: white;
  transition: color 0.3s;
}

.header-top a:hover {
  color: var(--accent);
}

.header-main {
  padding: 15px 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 60px;
  height: 60px;
}

.logo-text h1 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--foreground-muted);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 5px;
}

.nav-menu a {
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.3s;
  color: var(--foreground);
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--primary);
  color: white;
}

.header-cta {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--foreground);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

/* ===== اسلایدر اصلی ===== */
.hero-slider {
  margin-top: 130px;
  position: relative;
  overflow: hidden;
}

.slider-container {
  position: relative;
  height: 600px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

/* استایل 1 - تمام عرض با گرادیانت */
.slide-style-1 {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  align-items: center;
}

.slide-style-1 .slide-content {
  color: white;
  max-width: 600px;
  padding: 40px;
}

.slide-style-1 .slide-image {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* استایل 2 - تقسیم شده */
.slide-style-2 {
  display: flex;
}

.slide-style-2 .slide-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  background: var(--background-alt);
}

.slide-style-2 .slide-image-container {
  flex: 1;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.slide-style-2 .slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

/* استایل 3 - مینیمال */
.slide-style-3 {
  background: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.slide-style-3 .slide-content {
  color: white;
  max-width: 800px;
  padding: 40px;
}

.slide-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}

.slide-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.8;
}

.slide-style-2 .slide-title {
  color: var(--primary);
}

.slide-style-2 .slide-subtitle {
  color: var(--foreground-muted);
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid white;
}

.slider-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--primary);
  transition: all 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: var(--accent);
  color: var(--foreground);
}

.slider-arrow.prev {
  right: 20px;
}

.slider-arrow.next {
  left: 20px;
}

/* ===== درباره ما ===== */
.about-section {
  padding: 100px 0;
  background: var(--background);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--foreground-muted);
  max-width: 600px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--foreground-muted);
  margin-bottom: 20px;
  text-align: justify;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: var(--background-alt);
  border-radius: var(--radius);
}

.about-feature-icon {
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 60px var(--shadow);
}

.about-stats {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--accent);
  padding: 25px 35px;
  border-radius: var(--radius);
  text-align: center;
}

.about-stats-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--foreground);
}

.about-stats-text {
  font-size: 0.9rem;
  color: var(--foreground);
}

/* ===== دوره‌ها ===== */
.courses-section {
  padding: 100px 0;
  background: var(--background-alt);
}

.courses-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.course-tab {
  padding: 15px 35px;
  border: 2px solid var(--border);
  background: var(--background);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.course-tab:hover,
.course-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.course-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
  transition: all 0.4s;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px var(--shadow);
}

.course-card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent);
  color: var(--foreground);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

.course-card-body {
  padding: 30px;
}

.course-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 15px;
}

.course-card-desc {
  color: var(--foreground-muted);
  margin-bottom: 20px;
  line-height: 1.8;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--foreground-muted);
}

/* ===== کال تو اکشن اول ===== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
  animation: pulse 15s infinite;
}

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

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-highlight {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
}

.cta-highlight-item {
  text-align: center;
}

.cta-highlight-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
}

.cta-highlight-text {
  font-size: 1rem;
  opacity: 0.9;
}

/* ===== مراحل گواهینامه ===== */
.certificate-section {
  padding: 100px 0;
  background: var(--background);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.step-card {
  text-align: center;
  padding: 40px 25px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px var(--shadow);
  position: relative;
  transition: all 0.3s;
}

.step-card:hover {
  transform: translateY(-10px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step-card h4 {
  font-size: 1.2rem;
  color: var(--foreground);
  margin-bottom: 12px;
}

.step-card p {
  color: var(--foreground-muted);
  font-size: 0.95rem;
}

.step-arrow {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.certificate-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
  transition: all 0.4s;
}

.certificate-card:hover {
  transform: scale(1.05);
}

.certificate-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.certificate-card-body {
  padding: 25px;
  text-align: center;
}

.certificate-card h4 {
  font-size: 1.1rem;
  color: var(--foreground);
  margin-bottom: 10px;
}

.certificate-card p {
  color: var(--foreground-muted);
  font-size: 0.9rem;
}

/* ===== اسلایدر دوره‌های جدید ===== */
.new-courses-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--background-alt) 0%, var(--background) 100%);
}

.courses-slider-container {
  position: relative;
  overflow: hidden;
}

.courses-slider {
  display: flex;
  gap: 25px;
  transition: transform 0.5s ease;
}

.course-slide-card {
  min-width: calc(25% - 20px);
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 50px var(--shadow);
  transition: all 0.4s;
  flex-shrink: 0;
}

.course-slide-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 70px var(--shadow);
}

.course-slide-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.course-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.course-slide-card:hover .course-slide-image img {
  transform: scale(1.1);
}

.course-slide-status {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary);
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-slide-status.registering {
  background: var(--accent);
  color: var(--foreground);
}

.course-slide-body {
  padding: 25px;
}

.course-slide-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 10px;
  line-height: 1.5;
}

.course-slide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: var(--foreground-muted);
}

.course-slide-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-slide-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
}

.course-slide-price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--foreground-muted);
}

.course-slide-buttons {
  display: flex;
  gap: 10px;
}

.course-slide-buttons .btn {
  flex: 1;
  padding: 12px 15px;
  font-size: 0.9rem;
  justify-content: center;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.slider-control-btn {
  width: 50px;
  height: 50px;
  border: 2px solid var(--primary);
  background: var(--background);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  transition: all 0.3s;
}

.slider-control-btn:hover {
  background: var(--primary);
  color: white;
}

.slider-indicators {
  display: flex;
  gap: 10px;
}

.slider-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-indicator.active {
  background: var(--primary);
  width: 35px;
  border-radius: 10px;
}

/* ===== کال تو اکشن دوم ===== */
.cta-section-2 {
  padding: 120px 0;
  background: var(--foreground);
  position: relative;
  overflow: hidden;
}

.cta-section-2::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--accent);
  border-radius: 50%;
  top: -250px;
  left: -250px;
  opacity: 0.1;
}

.cta-section-2::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--secondary);
  border-radius: 50%;
  bottom: -200px;
  right: -200px;
  opacity: 0.1;
}

.cta-2-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-2-text {
  color: white;
}

.cta-2-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.4;
}

.cta-2-text p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 30px;
}

.cta-2-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-2-form h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 25px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

.form-group select option {
  background: var(--foreground);
  color: white;
}

.cta-2-form .btn {
  width: 100%;
  justify-content: center;
}

/* ===== تماس با ما ===== */
.contact-section {
  padding: 100px 0;
  background: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.contact-info {
  background: var(--primary);
  color: white;
  padding: 40px;
  border-radius: var(--radius);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-item-text h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-item-text p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--accent);
  color: var(--foreground);
}

.contact-form {
  background: var(--card);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px var(--shadow);
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 25px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  background: var(--background-alt);
  border: 1px solid var(--border);
  color: var(--foreground);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: var(--foreground-muted);
}

.contact-form .form-group input:focus,
.contact-form .form-group select:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--primary);
}

/* ===== فوتر ===== */
.footer {
  background: var(--foreground);
  color: white;
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about .logo-text h1 {
  color: white;
}

.footer-about .logo-text span {
  color: rgba(255, 255, 255, 0.7);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.8;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
  padding-right: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ===== ریسپانسیو ===== */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .course-slide-card {
    min-width: calc(33.333% - 20px);
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .step-arrow {
    display: none;
  }

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

@media (max-width: 768px) {
  .header-top {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-slider {
    margin-top: 90px;
  }

  .slider-container {
    height: 500px;
  }

  .slide-title {
    font-size: 2rem;
  }

  .slide-style-2 {
    flex-direction: column;
  }

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

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

  .about-stats {
    position: static;
    margin-top: 20px;
  }

  .course-slide-card {
    min-width: calc(50% - 15px);
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

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

  .cta-2-content {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 480px) {
  .slider-container {
    height: 450px;
  }

  .slide-title {
    font-size: 1.6rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .course-slide-card {
    min-width: 100%;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-highlight {
    flex-direction: column;
    gap: 30px;
  }
}

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

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== اسکرول‌بار ===== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.trust-badges-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.badge-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.badge-item {
    text-align: center;
}

.badge-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.badge-link:hover {
    transform: scale(1.05);
}

.badge-link img {
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* استایل ریسپانسیو */
@media (max-width: 768px) {
    .trust-badges-container {
        flex-direction: column;
    }
    
    .badge-grid {
        justify-content: center;
    }
}