/* default root */
:root {
  /* font family */
  --primary-font: "Noto Kufi Arabic", sans-serif;
  /* colors */
  --primary-color: #c42b29;
  --dark-color: #192335;
  --third-color: #041f8a;
  --header-color: #2d2d3f;
  --white-color: #ffffff;
  --text-color: #6b7385;
  --black-color: #000000;
  --transition_fast: 0.65s cubic-bezier(0.23, 1, 0.32, 1);
  --transition_slow: 3s ease;
  --box_shadow: -5px 18px 60px 0 rgba(210, 210, 234, 0.4);
  --color-border: #e6e3f1;
  --section-bg: #f8f9fa;
  --title-color: #333;
}


ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* ===== Course Details Banner Styles ===== */
.course-details-banner {
  position: relative;
  width: 100%;
  background: linear-gradient(120deg, #f7f7fa 70%, #fff 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}
.course-details-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(135deg, #f7f7fa 0 40px, #fff 40px 80px);
  opacity: 0.7;
  z-index: 1;
}
.course-details-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.course-details-circles .circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.13;
  background: var(--primary-color);
}
.course-details-circles .circle1 {
  width: 90px;
  height: 90px;
  top: 18%;
  left: 7%;
  background: var(--primary-color);
}
.course-details-circles .circle2 {
  width: 38px;
  height: 38px;
  bottom: 18%;
  right: 12%;
  background: var(--third-color);
  opacity: 0.09;
}
.course-details-content {
  position: relative;
  z-index: 3;
  color: var(--header-color);
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.course-details-svg svg {
  width: 64px;
  height: 64px;
  box-shadow: 0 4px 24px 0 rgba(4, 31, 138, 0.1);
  border-radius: 50%;
  background: #fff;
  padding: 4px;
}
.course-details-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, var(--primary-color), var(--third-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: none;
}
.course-details-badge {
  display: inline-block;
  background: var(--text-color);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 3px 18px;
  margin-bottom: 12px;
  margin-top: 2px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px 0 rgba(196, 43, 41, 0.1);
}
.course-details-desc {
  color: var(--header-color);
  font-size: 1.08rem;
  margin-bottom: 18px;
  min-height: 40px;
  text-align: center;
  font-weight: 500;
}
.btn-course-details {
  background: var(--primary-color);
  color: #fff;
  border-radius: 6px;
  font-size: 1.08rem;
  font-weight: 700;
  padding: 10px 32px;
  box-shadow: 0 2px 12px 0 rgba(31, 38, 135, 0.07);
  transition: background 0.2s, color 0.2s;
}
.btn-course-details:hover {
  background: var(--third-color);
  color: #fff;
}

/* ===== Course Details V3 - Professional & Asymmetrical Layout ===== */
.course-details-v3 {
  background-color: #f8f9fa;
}
.course-box-v3 {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}
.box-title-v3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--header-color);
  margin-bottom: 24px;
}
.learn-grid-v3 {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.learn-grid-v3 li {
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 500;
  display: flex;
  align-items: center;
}
.learn-grid-v3 i {
  color: var(--primary-color);
  margin-left: 10px;
}

/* Curriculum Accordion V3 */
.curriculum-accordion-v3 .card {
  border: none;
  background: transparent;
}
.curriculum-accordion-v3 .card-header {
  padding: 0;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  background-color: #fff;
  margin-bottom: 10px;
}
.btn-link-v3 {
  width: 100%;
  text-align: right;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--header-color);
  text-decoration: none !important;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #c2c2c2;
  border-radius: 5px;
  outline: none !important;
}
.btn-link-v3.btn:focus {
  outline: none;
  box-shadow: none;
}
.curriculum-accordion-v3 .card {
  margin-bottom: 1rem;
  border-radius: 5px;
  background-color: var(--white-color);
  box-shadow: 0px 0px 25px 0px #e9ecef;
}
.module-title-v3 {
  display: flex;
  align-items: center;
}
.module-number-v3 {
  background-color: #f8f9fa;
  color: var(--primary-color);
  font-weight: 700;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
}
.collapse-icon {
  transition: transform 0.3s ease;
  color: var(--primary-color);
  font-size: 13px;
}
.btn-link-v3.collapsed .collapse-icon {
  transform: rotate(-90deg);
}
.lesson-list-v3 {
  list-style: none;
  padding: 20px;
}
.lesson-list-v3 li {
  padding: 12px 0;
  border-bottom: 1px solid #f8f9fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color);
  font-weight: 500;
}
.lesson-list-v3 li i {
  color: var(--third-color);
  margin-left: 8px;
}
.lesson-duration {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* Instructor Box V3 */
.instructor-img-v3 {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  margin-left: 20px;
}
.instructor-name-v3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--header-color);
}
.instructor-bio-v3 {
  color: var(--text-color);
}

/* Summary Card V3 */
.course-summary-card-v3 {
  position: sticky;
  top: 120px;
  border-radius: 12px;
  background-color: #fff;
  border: 1px solid #e9ecef;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.video-preview-v3 {
  position: relative;
  cursor: pointer;
}
.video-preview-v3 img {
  width: 100%;
}
.play-button-overlay-v3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.video-preview-v3:hover .play-button-overlay-v3 {
  opacity: 1;
}
.summary-body-v3 {
  padding: 24px;
}
.price-tag-v3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--header-color);
  margin-bottom: 15px;
}
.btn-enroll-v3 {
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.1rem;
  padding: 12px;
  font-weight: 700;
  border-radius: 8px;
  transition: background-color 0.3s;
}
.btn-enroll-v3:hover {
  background-color: var(--third-color);
  color: #fff;
}
.course-meta-list-v3 {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.course-meta-list-v3 li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f8f9fa;
}
.course-meta-list-v3 li:last-child {
  border-bottom: none;
}
.course-meta-list-v3 strong {
  color: var(--header-color);
  font-weight: 600;
}
.course-meta-list-v3 span {
  color: var(--text-color);
}
.course-meta-list-v3 i {
  color: var(--primary-color);
  margin-left: 8px;
}
.btn-gift-v3 {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-weight: 700;
  border-radius: 8px;
  padding: 10px;
  transition: background-color 0.3s, color 0.3s;
}
.btn-gift-v3:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Vision, Mission, Values Section */
.vision-mission-section {
  background-color: #f8f9fa;
}

.vmv-card {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.vmv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.vmv-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.vmv-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--header-color);
  margin-bottom: 15px;
}

.vmv-text {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

/* Our Achievements Section */
.our-achievements-section {
  background-color: var(--white-color);
}

.achievement-card {
  background-color: var(--white-color);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #e9ecef;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  height: 100%;
}

.achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.achievement-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.achievement-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--header-color);
}

.achievement-label {
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 500;
}

.courses-header {
  background: var(--gradient-primary);
  color: white;
  padding: 8rem 0;
  text-align: center;
}
