/* Home Redesign — aligns visuals to almobtakron.com/ar/welcome */

/* ==========================================
   Tabs Navigation Style - التبويبات
   ========================================== */

.tabs-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 4px 8px;
  background: transparent;
  border-radius: 0;
  max-width: 80%;
  margin: 0;
  box-shadow: none;
}

.tabs-navigation:hover::before {
  opacity: 0.7;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: auto;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* تأثير الموجات */
.tab-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.tab-btn:active::after {
  width: 300px;
  height: 300px;
}

/* تأثير لامع */
.tab-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -150%;
  width: 100%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
  transform: skewX(-20deg);
}

.tab-btn:hover::before {
  left: 150%;
}

.tab-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.25),
    0 0 25px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

/* تأثيرات hover لكل تاب بألوانه الخاصة */
.tab-btn[data-category="programming"]:hover:not(.active) {
  background: rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.4);
  box-shadow: 
    0 12px 35px rgba(102, 126, 234, 0.25),
    0 0 25px rgba(102, 126, 234, 0.3);
}

.tab-btn[data-category="robotics"]:hover:not(.active) {
  background: rgba(240, 147, 251, 0.2);
  border-color: rgba(240, 147, 251, 0.4);
  box-shadow: 
    0 12px 35px rgba(240, 147, 251, 0.25),
    0 0 25px rgba(240, 147, 251, 0.3);
}

.tab-btn[data-category="science"]:hover:not(.active) {
  background: rgba(79, 172, 254, 0.2);
  border-color: rgba(79, 172, 254, 0.4);
  box-shadow: 
    0 12px 35px rgba(79, 172, 254, 0.25),
    0 0 25px rgba(79, 172, 254, 0.3);
}

.tab-btn[data-category="all"]:hover:not(.active) {
  background: rgba(255, 217, 61, 0.2);
  border-color: rgba(255, 217, 61, 0.4);
  box-shadow: 
    0 12px 35px rgba(255, 217, 61, 0.25),
    0 0 25px rgba(255, 217, 61, 0.3);
}

.tab-btn.active {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  border: 3px solid #fff;
  box-shadow: 
    0 15px 45px rgba(0, 0, 0, 0.3),
    0 0 35px rgba(255, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 0 4px rgba(255, 255, 255, 0.2);
  transform: translateY(-8px) scale(1.08);
  animation: tabPulse 2s ease-in-out infinite;
}

/* ألوان مختلفة لكل تاب حسب الفئة */

/* تاب البرمجة - أزرق وبنفسجي */
.tab-btn[data-category="programming"].active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  box-shadow: 
    0 10px 35px rgba(102, 126, 234, 0.4),
    0 0 30px rgba(118, 75, 162, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 3px rgba(102, 126, 234, 0.3);
}

.tab-btn[data-category="programming"].active .tab-label {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.tab-btn[data-category="programming"].active .tab-icon {
  filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.7));
}

/* تاب الروبوتكس - وردي وأحمر */
.tab-btn[data-category="robotics"].active {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-color: #f093fb;
  box-shadow: 
    0 10px 35px rgba(240, 147, 251, 0.4),
    0 0 30px rgba(245, 87, 108, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 3px rgba(240, 147, 251, 0.3);
}

.tab-btn[data-category="robotics"].active .tab-label {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.tab-btn[data-category="robotics"].active .tab-icon {
  filter: drop-shadow(0 4px 12px rgba(240, 147, 251, 0.7));
}

/* تاب العلوم - أزرق فاتح وسماوي */
.tab-btn[data-category="science"].active {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-color: #4facfe;
  box-shadow: 
    0 10px 35px rgba(79, 172, 254, 0.4),
    0 0 30px rgba(0, 242, 254, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 3px rgba(79, 172, 254, 0.3);
}

.tab-btn[data-category="science"].active .tab-label {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.tab-btn[data-category="science"].active .tab-icon {
  filter: drop-shadow(0 4px 12px rgba(79, 172, 254, 0.7));
}

/* تاب الكل - ذهبي وبرتقالي */
.tab-btn[data-category="all"].active {
  background: linear-gradient(135deg, #ffd93d 0%, #ff6b6b 100%);
  border-color: #ffd93d;
  box-shadow: 
    0 10px 35px rgba(255, 217, 61, 0.4),
    0 0 30px rgba(255, 107, 107, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 3px rgba(255, 217, 61, 0.3);
}

.tab-btn[data-category="all"].active .tab-label {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.tab-btn[data-category="all"].active .tab-icon {
  filter: drop-shadow(0 4px 12px rgba(255, 217, 61, 0.7));
}

@keyframes tabPulse {
  0%, 100% {
    box-shadow: 
      0 15px 45px rgba(0, 0, 0, 0.3),
      0 0 35px rgba(255, 255, 255, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 0 4px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 
      0 15px 45px rgba(0, 0, 0, 0.3),
      0 0 50px rgba(255, 255, 255, 0.7),
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 0 0 7px rgba(255, 255, 255, 0.3);
  }
}

.tab-btn.active .tab-icon {
  transform: scale(1.15) rotate(360deg);
  animation: iconFloat 3s ease-in-out infinite;
}

.tab-btn.active .tab-label {
  font-weight: 800;
}

.tab-icon {
  font-size: 1.7rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(0.4) brightness(1.2);
  position: relative;
  z-index: 1;
}

.tab-btn:hover .tab-icon {
  transform: scale(1.15) rotate(5deg);
  filter: grayscale(0) brightness(1.3);
}

@keyframes iconFloat {
  0%, 100% {
    transform: scale(1.15) translateY(0) rotate(0deg);
  }
  50% {
    transform: scale(1.2) translateY(-5px) rotate(5deg);
  }
}

.tab-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.4s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.tab-btn:hover .tab-label {
  transform: scale(1.05);
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
}

/* إزالة أي مسافات حول التابس داخل قسم الكويز */
.quiz-sectionxx .quiz-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.quiz-sectionxx .quiz-selection {
  margin: 0;
  padding: 0;
}

/* ==========================================
   Courses Screen Layout - شاشة الكورسات
   ========================================== */

#courses.courses-section {
  position: relative;
  padding: 40px 0 50px;
  background: 
    radial-gradient(circle at top left, #ffe6f7 0%, transparent 55%),
    radial-gradient(circle at bottom right, #e0f3ff 0%, transparent 55%),
    linear-gradient(180deg, #fdfbff 0%, #f5f9ff 100%);
  overflow: hidden;
}

#courses.courses-section::before,
#courses.courses-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  pointer-events: none;
}

#courses.courses-section::before {
  width: 260px;
  height: 260px;
  top: -80px;
  left: -60px;
  background: linear-gradient(135deg, #667eea, #f093fb);
}

#courses.courses-section::after {
  width: 220px;
  height: 220px;
  bottom: -70px;
  right: -40px;
  background: linear-gradient(135deg, #ffd93d, #ff6b6b);
}

.quiz-sectionxx {
  margin: 0;
}

.courses-hero-header {
  text-align: center;
  margin-bottom: 18px;
}

.courses-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: #ff6b6b;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 8px;
}

.courses-hero-badge span {
  font-size: 1.2rem;
}

.courses-hero-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 6px;
}

.courses-hero-subtitle {
  font-size: 1rem;
  color: #4a5568;
  max-width: 520px;
  margin: 0 auto;
}

.courses-slider-wrapper {
  margin-top: 16px;
  padding: 18px 20px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
}

.courses-slider {
  display: flex;
  align-items: stretch;
  gap: 24px;
  overflow: hidden;
  padding: 6px 4px;
}

.courses-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ffd93d, #ff6b6b);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  z-index: 3;
}

.courses-slider-btn.prev {
  right: -18px;
}

.courses-slider-btn.next {
  left: -18px;
}

.courses-slider-btn:hover {
  transform: translateY(-52%) scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  filter: brightness(1.05);
}

.courses-slider-btn:active {
  transform: translateY(-50%) scale(0.96);
}

@media (max-width: 768px) {
  #courses.courses-section {
    padding: 28px 0 32px;
  }

  .courses-hero-title {
    font-size: 1.4rem;
  }

  .courses-hero-subtitle {
    font-size: 0.9rem;
  }

  .courses-slider-wrapper {
    padding: 14px 12px 18px;
    border-radius: 18px;
  }

  .courses-slider {
    gap: 16px;
    padding: 4px 2px;
  }

  .courses-slider-btn {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    top: calc(50% - 4px);
  }

  .courses-slider-btn.prev {
    right: -10px;
  }

  .courses-slider-btn.next {
    left: -10px;
  }
}

/* ==========================================
   Combined Cards (Courses + Curriculum)
   ========================================== */

.combined-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.14);
  overflow: hidden;
  margin-top: 16px;
  margin-bottom: 26px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.combined-card .combined-header {
  background: linear-gradient(120deg, rgba(255, 217, 61, 0.9), rgba(102, 126, 234, 0.9));
  padding: 10px 14px !important;
  border-radius: 20px 20px 0 0;
  position: relative;
  overflow: hidden;
}

.combined-card .combined-header::after {
  content: '';
  position: absolute;
  inset-inline-end: -40px;
  inset-block-start: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 60%);
  opacity: 0.7;
}

.combined-card .combined-header .section-title {
  color: #1f2933;
  font-weight: 800;
  font-size: 1.2rem;
}

/* عنوان كورسات المبتكرون داخل الكارت المدمج */
.combined-card .courses-section-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.combined-card .courses-section-title .brand-logo-42 {
  width: 38px;
  height: 38px;
}

.combined-card .courses-section-title .fa-laptop-code {
  font-size: 1.4rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.combined-card .courses-section-title-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.combined-card .courses-section-title-label {
  font-size: 1.1rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, #ffe082, #ff6b6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

.combined-card .courses-section-title-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fef9c3;
  opacity: 0.96;
}

@media (max-width: 768px) {
  .combined-card .courses-section-title {
    gap: 4px 8px;
  }

  .combined-card .courses-section-title .brand-logo-42 {
    width: 32px;
    height: 32px;
  }

  .combined-card .courses-section-title-label {
    font-size: 1rem;
  }

  .combined-card .courses-section-title-sub {
    font-size: 0.75rem;
  }
}

.combined-card .combined-card-body {
  padding: 14px 12px !important;
}

.courses-projects-card,
.features-curriculum-card {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.courses-projects-card.is-active,
.features-curriculum-card.is-active {
  border-color: rgba(109, 191, 184, 0.9) !important;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22), 0 0 0 4px rgba(109, 191, 184, 0.22);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 768px) {
  .combined-card {
    border-radius: 18px;
    margin-top: 12px;
    margin-bottom: 20px;
  }

  .combined-card .combined-header {
    padding: 8px 10px !important;
  }

  .combined-card .combined-header .section-title {
    font-size: 1.05rem;
  }
}

/* Responsive للشاشات الكبيرة */
@media (min-width: 1400px) {
  .tabs-navigation {
    max-width: 1100px;
    gap: 8px;
    padding: 6px 6px;
  }
  
  .tab-btn {
    padding: 6px 16px;
    gap: 4px;
  }
  
  .tab-icon {
    font-size: 1.9rem;
  }
  
  .tab-label {
    font-size: 1rem;
  }
}

/* Responsive للتابلت */
@media (max-width: 992px) {
  .tabs-navigation {
    gap: 1px;
    padding: 3px 3px;
    border-radius: 40px;
    flex-wrap: wrap;
  }
  
  .tab-btn {
    padding: 8px 16px;
    gap: 4px;
    /* min-width: 140px; */
  }
  
  .tab-icon {
    font-size: 2.4rem;
  }
  
  .tab-label {
    font-size: 1rem;
  }
}

/* Responsive للموبايل */
@media (max-width: 768px) {
  .tabs-navigation {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    max-width: 80%;
  }
  
  .tab-btn {
    padding: 5px;
    gap: 3px;
    /* width: calc(50% - 8px); */
  }
  
  .tab-icon {
    font-size: 2rem;
  }
  
  .tab-label {
    font-size: 0.9rem;
  }
  
  .tab-btn.active {
    transform: translateY(-4px) scale(1.05);
  }
  
  .tab-btn:hover {
    transform: translateY(-4px) scale(1.05);
  }
}

@media (max-width: 480px) {
  .tabs-navigation {
    gap: 1px;
    padding: 0;
    border-radius: 0;
  }
  
  .tab-btn {
    padding: 0;
    gap: 3px;
  }
  
  .tab-icon {
    font-size: 1.8rem;
  }
  
  .tab-label {
    font-size: 0.85rem;
  }
}

/* ==========================================
   Course Cards - بطاقات الكورسات بتصميم التابات
   ========================================== */

/* تصميم الكورسات على شكل تابات */
.course-card-filter {
  position: relative;
  border: 4px solid transparent;
  border-radius: 25px;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 18px !important;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* إطار gradient ملون حسب الفئة */
.course-card-filter::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--card-color-1), var(--card-color-2));
  z-index: -1;
  opacity: 1;
  transition: all 0.4s ease;
}

/* خلفية ملونة خفيفة */
.course-card-filter::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--card-color-1), var(--card-color-2));
  opacity: 0.12;
  border-radius: 21px;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.course-card-filter:hover {
  transform: translateY(-10px) scale(1.03);
  background: rgba(255, 255, 255, 0.25);
}

.course-card-filter:hover::before {
  opacity: 1;
  filter: blur(0px);
  box-shadow: 
    0 0 40px var(--card-color-1),
    0 0 60px var(--card-color-2);
}

.course-card-filter:hover::after {
  opacity: 0.2;
}

/* ألوان البرمجة - أزرق وبنفسجي */
.course-card-filter[data-category="programming"] {
  --card-color-1: #667eea;
  --card-color-2: #764ba2;
}

.course-card-filter[data-category="programming"]:hover {
  box-shadow: 
    0 20px 50px rgba(102, 126, 234, 0.4),
    0 0 40px rgba(118, 75, 162, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ألوان الروبوتكس - وردي وأحمر */
.course-card-filter[data-category="robotics"] {
  --card-color-1: #f093fb;
  --card-color-2: #f5576c;
}

.course-card-filter[data-category="robotics"]:hover {
  box-shadow: 
    0 20px 50px rgba(240, 147, 251, 0.4),
    0 0 40px rgba(245, 87, 108, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ألوان العلوم - أزرق فاتح وسماوي */
.course-card-filter[data-category="science"] {
  --card-color-1: #4facfe;
  --card-color-2: #00f2fe;
}

.course-card-filter[data-category="science"]:hover {
  box-shadow: 
    0 20px 50px rgba(79, 172, 254, 0.4),
    0 0 40px rgba(0, 242, 254, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ألوان "الكل" - ذهبي وبرتقالي */
.course-card-filter[data-category="other"],
.course-card-filter[data-category="all"] {
  --card-color-1: #ffd93d;
  --card-color-2: #ff6b6b;
}

.course-card-filter[data-category="other"]:hover,
.course-card-filter[data-category="all"]:hover {
  box-shadow: 
    0 20px 50px rgba(255, 217, 61, 0.4),
    0 0 40px rgba(255, 107, 107, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* تأثير الأيقونة في العنوان */
.course-card-filter-title {
  font-size: 3.1rem;
  text-align: center;
  margin-bottom: 12px;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}

.course-card-filter:hover .course-card-filter-title {
  transform: scale(1.2) rotate(360deg);
  filter: drop-shadow(0 8px 20px var(--card-color-1));
}

/* تحسين النصوص داخل الكارت */
.course-card-filter .course-title {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 1.2rem;
  color: #2d3748;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.course-card-filter .course-desc {
  position: relative;
  z-index: 1;
  color: #4a5568;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
  margin: 10px;
  padding: 5px 5px;
}

.course-card-filter .course-meta {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  font-weight: 700;
  color: #2d3748;
}

.course-card-filter .course-meta span {
  background: rgba(255, 255, 255, 0.6);
  padding: 5px 12px;
  border-radius: 15px;
  display: inline-block;
  margin: 5px;
  backdrop-filter: blur(5px);
}

.course-card-filter .cta-button {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--card-color-1), var(--card-color-2));
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 100%;
  text-align: center;
  display: block;
}

.course-card-filter .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.3),
    0 0 20px var(--card-color-1);
  filter: brightness(1.1);
}

/* Animation عند الظهور */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.course-card-filter {
  animation: cardFadeIn 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .course-card-filter {
    border-width: 3px;
    padding: 16px !important;
  }
  
  .course-card-filter:hover {
    transform: translateY(-6px) scale(1.02);
  }
  
  .course-card-filter-title {
    font-size: 3rem;
  }
  
  .course-card-filter .course-title {
    font-size: 1.15rem;
  }
  
  .course-card-filter .course-desc {
    font-size: 0.95rem;
  }
}

/* ==========================================
   Trainee Projects Slider - مشاريع أولادنا
   ========================================== */

.trainee-trainee-slider-section {
  padding: 30px 0 36px;
  background: 
    radial-gradient(circle at top right, #ffe6f7 0%, transparent 55%),
    radial-gradient(circle at bottom left, #e0f3ff 0%, transparent 55%),
    linear-gradient(180deg, #fdfbff 0%, #f4f7ff 100%);
}

.trainee-trainee-slider-section .section-title-large {
  font-size: 1.7rem;
  font-weight: 800;
}

.trainee-trainee-slider-wrapper {
  margin-top: 10px;
  padding: 16px 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* شبكة مشاريع المتدربين بدل السلايدر */
.trainee-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ضبط بطاقات مشاريع المتدربين داخل الشبكة */
.trainee-projects-grid .trainee-project-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
}

/* زر مشاهدة المشروع داخل كارت المشاريع بعرض الكارت بالكامل */
.trainee-project-card .cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 6px;
}

/* Responsive: تقليل عدد الأعمدة على الشاشات الأصغر */
@media (max-width: 992px) {
  .trainee-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .trainee-projects-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.student-card {
  min-width: 260px;
  max-width: 260px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
}

.student-img-wrapper {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 8px;
}

.student-img {
  width: 100%;
  display: block;
}

.student-info.student-flex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.student-name {
  font-weight: 800;
  font-size: 1rem;
}

.student-meta .student-flex-column span {
  font-size: 0.86rem;
}

.show-video-btn {
  border: none;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: 0 6px 18px rgba(102, 126, 234, 0.4);
  cursor: pointer;
}

.traineeprojects-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ffd93d, #ff6b6b);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.traineeprojects-slider-btn.prev { right: -14px; }
.traineeprojects-slider-btn.next { left: -14px; }

@media (max-width: 768px) {
  .trainee-trainee-slider-section {
    padding: 24px 0 28px;
  }
  .trainee-trainee-slider-wrapper {
    padding: 12px 10px 16px;
  }
  .trainee-slider {
    gap: 18px;
  }
  .student-card {
    min-width: 230px;
    max-width: 230px;
  }
  .traineeprojects-slider-btn.prev { right: -8px; }
  .traineeprojects-slider-btn.next { left: -8px; }
}

/* ==========================================
   Curriculum & Stats & Partners Styling
   ========================================== */

.stages-slider-wrapper {
  padding: 12px 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
}

.stages-slider {
  display: flex;
  gap: 22px;
  overflow: hidden;
}

.curriculum-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.curriculum-slider-btn.prev { right: -14px; }
.curriculum-slider-btn.next { left: -14px; }

.stage-card .stage-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.stats-section {
  background: linear-gradient(135deg, #fdfbff 0%, #e3f8ff 100%);
}

.stat-box {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 16px 12px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

.stat-number {
  font-size: 1.7rem;
  font-weight: 800;
}

.stat-label {
  font-size: 0.9rem;
  margin-top: 4px;
}

.partners-card {
  margin-top: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.partners-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #ffd93d, #ff6b6b);
}

.partners-title {
  font-weight: 800;
  color: #1a202c;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  justify-content: center;
  justify-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.partners-card .partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.partner-logo-box {
  background: #f7fafc;
  border-radius: 16px;
  padding: 10px;
}

.partner-name {
  margin-top: 4px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .stages-slider-wrapper {
    padding: 10px 12px 14px;
  }
  .curriculum-slider-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .curriculum-slider-btn.prev { right: -8px; }
  .curriculum-slider-btn.next { left: -8px; }
}