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

:root {
  --primary-color: #0077cc;
  --primary-dark: #005fa3;
  --primary-light: #e6f3ff;
  --secondary-color: #00aced;
  --accent-color: #ff6b6b;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #f5f7fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* ===================================
   هدر
   =================================== */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

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

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

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

.btn-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* ===================================
   ردیف آیکون‌ها
   =================================== */
.icon-row {
  background: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.icons-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px;
  transition: var(--transition);
}

.icon-item:hover {
  transform: translateY(-5px);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.icon-item:hover .icon-circle {
  box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.icon-mba,
.icon-dba {
  font-weight: 700;
  font-size: 16px;
}

.icon-item span:last-child {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

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

.slider-container {
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}

.slide.active {
  opacity: 1;
  display: block;
}

.slide-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 80px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 500px;
}

.slide-text {
  max-width: 400px;
}

.slide-text h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.slide-subtitle {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.slide-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #27ae60;
  color: var(--white);
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 500;
}

.slide-phone:hover {
  background: #219a52;
}

/* شکل‌های شش‌ضلعی */
.hexagon-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hex-row {
  display: flex;
  gap: 5px;
}

.hexagon {
  width: 140px;
  height: 160px;
  background: var(--primary-color);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  transition: var(--transition);
}

.hexagon:hover {
  transform: scale(1.05);
}

.hex-blue {
  background: linear-gradient(135deg, #0077cc 0%, #005fa3 100%);
}

.hex-red {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.hex-image {
  padding: 0;
  overflow: hidden;
}

.hex-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* اسلاید تمام تصویر */
.slide-full-image {
  position: relative;
  width: 100%;
  height: 500px;
}

.slide-full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.85) 0%, rgba(0, 95, 163, 0.85) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 40px;
}

.slide-overlay h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 15px;
}

.slide-overlay p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-primary {
  background: var(--white);
  color: var(--primary-color);
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

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

/* ناوبری اسلایدر */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 10;
}

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

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

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

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--white);
  width: 30px;
  border-radius: 10px;
}

/* ===================================
   بخش‌های دوره MBA و DBA
   =================================== */
.course-section {
  padding: 80px 0;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.section-header.center {
  flex-direction: column;
  text-align: center;
}

.section-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.section-title-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 5px;
}

.section-title-wrapper p {
  color: var(--text-light);
  font-size: 15px;
}

.course-content {
  display: flex;
  gap: 50px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.course-content.reverse {
  flex-direction: row-reverse;
}

.course-image {
  flex: 0 0 350px;
  position: relative;
}

.course-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.course-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 18px;
}

.course-badge.dba {
  background: #8b5cf6;
}

.image-watermark {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
}

.image-watermark span {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

.image-watermark strong {
  font-size: 24px;
  color: var(--primary-color);
}

.course-details {
  flex: 1;
}

.course-description {
  font-size: 15px;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 25px;
  text-align: justify;
}

.course-info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  padding: 15px 20px;
  border-radius: var(--radius);
  margin-bottom: 25px;
}

.course-info-box svg {
  color: #f59e0b;
  flex-shrink: 0;
}

.course-info-box span {
  font-size: 14px;
  color: #92400e;
}

.btn-course {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-course:hover {
  background: var(--primary-dark);
  transform: translateX(-5px);
}

/* ===================================
   بخش مشاوره
   =================================== */
.consultation-section {
  padding: 80px 0;
  background: var(--white);
}

.consultation-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.consultation-image {
  flex: 0 0 400px;
}

.consultation-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.consultation-content {
  flex: 1;
}

.consultation-content h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
}

.consultation-phone {
  display: inline-block;
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 20px;
  direction: ltr;
}

.consultation-phone:hover {
  color: var(--primary-dark);
}

.consultation-content p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 25px;
}

.btn-consultation {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-consultation:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 119, 204, 0.3);
}

/* ===================================
   مراحل اخذ گواهینامه
   =================================== */
.steps-section {
  padding: 80px 0;
}

.section-header.center h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.english-subtitle {
  font-size: 16px;
  color: var(--text-light);
  font-style: italic;
}

.steps-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.step-icon {
  width: 120px;
  height: 120px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.step-icon:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.step-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.step-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
}

.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
}

.step-connector::after {
  content: "";
  position: absolute;
  left: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
}

/* ===================================
   بخش گواهینامه
   =================================== */
.certificate-section {
  padding: 80px 0;
  background: var(--white);
}

.certificate-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.certificate-text {
  flex: 1;
}

.certificate-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px;
}

.certificate-intro {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 20px;
}

.certificate-subtitle {
  font-weight: 600;
  margin-bottom: 15px;
}

.certificate-features {
  margin-bottom: 30px;
}

.certificate-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.certificate-features li:last-child {
  border-bottom: none;
}

.certificate-features svg {
  color: #10b981;
  flex-shrink: 0;
}

.btn-certificate {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-certificate:hover {
  background: var(--primary-dark);
}

.certificate-images {
  display: flex;
  gap: 20px;
}

.cert-image {
  flex: 1;
  max-width: 250px;
}

.cert-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.cert-image img:hover {
  transform: scale(1.05);
}

/* ===================================
   جدیدترین دوره‌ها
   =================================== */
.latest-courses-section {
  padding: 80px 0;
}

.section-header.with-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-header.with-link h2 {
  font-size: 28px;
  font-weight: 700;
}

.view-all {
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.view-all:hover {
  color: var(--primary-dark);
}

.courses-carousel {
  position: relative;
  overflow: hidden;
}

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

.course-card {
  flex: 0 0 calc(25% - 19px);
  min-width: 280px;
}

.card-image {
  position: relative;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: var(--white);
  opacity: 0;
  transition: var(--transition);
}

.card-image:hover .card-overlay {
  opacity: 1;
}

.card-overlay h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-overlay p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  opacity: 0.9;
}

.card-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  opacity: 0.8;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  width: fit-content;
}

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

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 10;
}

.carousel-nav:hover {
  background: var(--primary-color);
  color: var(--white);
}

.carousel-nav.prev-btn {
  right: 10px;
}

.carousel-nav.next-btn {
  left: 10px;
}

/* ===================================
   CTA - هم اکنون ثبت نام کنید
   =================================== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0891b2 100%);
}

.cta-content {
  text-align: center;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 30px;
}

.btn-cta {
  display: inline-block;
  background: var(--white);
  color: var(--primary-color);
  padding: 16px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  transition: var(--transition);
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ===================================
   فوتر
   =================================== */
.footer {
  background: #1a202c;
  color: var(--white);
  padding: 60px 0 0;
}

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

.footer-column h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info svg {
  flex-shrink: 0;
  margin-top: 3px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: var(--transition);
}

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

.newsletter-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}

.newsletter-form button {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo img {
  max-width: 150px;
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   پاپ‌آپ خبرنامه
   =================================== */
.newsletter-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.newsletter-popup.active {
  display: flex;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.popup-content {
  position: relative;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: popupSlide 0.3s ease;
}

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

.popup-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.popup-close:hover {
  color: var(--text-color);
}

.popup-logo {
  margin-bottom: 20px;
}

.popup-logo img {
  height: 60px;
}

.popup-content h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 25px;
}

.popup-form {
  display: flex;
  gap: 10px;
}

.popup-form input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  transition: var(--transition);
}

.popup-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.popup-form button {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 14px 25px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.popup-form button:hover {
  background: var(--primary-dark);
}

/* ===================================
   ریسپانسیو
   =================================== */
@media (max-width: 1024px) {
  .course-content {
    flex-direction: column;
  }

  .course-content.reverse {
    flex-direction: column;
  }

  .course-image {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .consultation-wrapper {
    flex-direction: column;
  }

  .consultation-image {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .certificate-content {
    flex-direction: column;
  }

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

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

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

  .btn-phone .phone-number {
    display: none;
  }

  .icons-wrapper {
    gap: 10px;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
  }

  .icon-item span:last-child {
    font-size: 11px;
  }

  .slide-content {
    flex-direction: column;
    padding: 40px 20px;
    min-height: 600px;
  }

  .slide-text {
    text-align: center;
    margin-bottom: 30px;
  }

  .slide-text h1 {
    font-size: 32px;
  }

  .hexagon {
    width: 100px;
    height: 115px;
    font-size: 11px;
  }

  .steps-wrapper {
    flex-direction: column;
  }

  .step-connector {
    width: 2px;
    height: 40px;
  }

  .step-connector::after {
    left: -4px;
    top: auto;
    bottom: -5px;
  }

  .course-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 250px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-info p {
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .course-section,
  .consultation-section,
  .steps-section,
  .certificate-section,
  .latest-courses-section,
  .cta-section {
    padding: 50px 0;
  }

  .course-content {
    padding: 25px;
  }

  .section-header h2,
  .section-title-wrapper h2 {
    font-size: 22px;
  }

  .cta-content h2 {
    font-size: 26px;
  }

  .certificate-images {
    flex-direction: column;
    align-items: center;
  }

  .popup-form {
    flex-direction: column;
  }
}
