.course-detail-page {
  background: #fff;
  margin-top: 80px;
}

/* HEADER */
.course-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}


.university {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #374151;
  font-size: 20px;
  font-weight: 400;
  margin-top: 6px;
}

/* ACTIONS */
.course-actions {
  display: flex;
  gap: 12px;
}
.course-actions img {
  width: 36px;
  height: 36px;
}

.apply-btn {
  background: linear-gradient(90.49deg, #0088FF 2.97%, #603CFF 99.75%);
  color: #fff;
  border-radius: 8px;
  padding: 12px clamp(16px, 10vw, 64px);
  font-size: 16px;
  font-weight: 600;
  border: none;
  width: fit-content !important;
  display: flex;
  text-align: center;
  align-content: center;
  justify-content: center;
}

/* GRID */
.course-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
}

/* LEFT */
.card {
  /* padding-bottom: 40px; */
  max-width: 800px;
}
.card h3 {
  color: #111827;
  font-size: 21px;
  font-weight: 500;
}
.highlight-list li {
  margin-bottom: 20px;
  line-height: 24px;
  font-size: 16px;
  font-weight: 400;
  color: #374151;
}

/* ===== SIDEBAR ===== */
.course-sidebar {
  position: sticky;
  top: 96px;
}

/* ================= COMMON CARD ================= */
.sidebar-card {
}

/* ================= FEE CARD ================= */
.fee-card .fee-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F3F4F6;
  padding: 15px;
  border-radius: 14px 14px 0 0;
}

.fee-header img {
  width: 32px;
}

.fee {
  font-size: 20px;
  font-weight: 700;
  color: #059669;
}

.label {
  font-size: 14px;
  font-weight: 400;
  color: #4B5563;
}

/* DIVIDERS */
.sidebar-card hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

/* ================= INFO LIST ================= */
.info-list {
  padding: 10px 12px;
  margin: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 14px;
}

.info-list li span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4B5563;
}

.info-list li img {
  width: 14px;
}

/* ================= NOTE ================= */
.note {
  display: flex;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.5;
  padding: 0px 12px;
}

.note img {
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

/* ================= COMPARE CARD ================= */
.compare-card {
  background: linear-gradient(90deg, #D0E8FF 0%, #FFFFFF 100%);
  box-shadow: 0px 1px 2px 0px #4B55631A;
  box-shadow: 0px 2px 2px 0px #4B556314;
  padding: 10px;
  margin: clamp(10px, 5vw, 40px) 0 !important ;
}

.compare-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.compare-top img {
  width: 100px;
}

.compare-top h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

.compare-top p {
  font-size: 14px;
  font-weight: 400;
  color: #4b5563;
  margin-bottom: 12px;
}

/* COMPARE BUTTON */
.compare-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 18px;
  border: 1px solid #ffffff;
  background: #fff;
  color: #4B5563;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.compare-btn img {
  width: 18px;
}

.simple-card {
  padding: 16px;
}

.simple-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.simple-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.simple-top img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.simple-top h4 {
  font-size: 14px;
  color: #4B5563;
  font-weight: 600;
  margin: 0;
}


.simple-item p {
  font-size: 14px;
  font-weight: 400;
  color: #4b5563;
  margin: 0;
  padding-left: 26px; 
  line-height: 1.4;
}

/* DIVIDER */
.simple-card hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 14px 0;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .course-sidebar {
    position: static;
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: #9CA3AF;
  margin-bottom: 16px;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #9CA3AF;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.breadcrumb-item:hover {
  color: #2563eb;
}

.breadcrumb img {
  width: 24px;
  height: 24px;
  display: block;
}

.separator {
  color: #9ca3af;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.breadcrumb-current {
  color: #9CA3AF;
  font-weight: 500;
  font-size: 14px;
}

/* MOBILE */
/* @media (max-width: 640px) {
  .breadcrumb {
    display: none;
  }
}

@media (max-width: 1024px) {
  .course-layout {
    grid-template-columns: 1fr;
  }
  .course-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .course-header {
    flex-direction: column;
    gap: 16px;
  }
  .course-actions {
    width: 100%;
    justify-content: space-between;
  }
  .apply-btn {
    width: 100%;
  }
} */
/* ===== REQUIREMENTS SECTION ===== */
.requirements-section {
  margin-bottom: 32px;
}

/* HEADER */
.requirements-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  color: #1F2937;
  font-weight: 600;
  margin-bottom: 6px;
}

.requirements-header img {
  width: 18px;
}

.requirements-note {
  font-size: 16px;
  font-weight: 400;
  color:#4B5563;
  margin-bottom: 16px;
}

/* TABS */
.requirements-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.tab {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #1F2937;
  cursor: pointer;
}

.tab.active {
  background: #D1E9FF;
  border-color: #D1E9FF;
}

/* GRID */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* CARD */
.requirement-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0px 1px 2px 0px #0000000D;

}

.requirement-card h4 {
  font-size: 14px;
  color: #1F2937;
  font-weight: 500;
  margin-bottom: 4px;
}

.requirement-card span {
  font-size: 12px;
  color: #4B5563;
  font-weight: 400;
}

/* PLUS BUTTON */
.add-btn {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  border: none;
  background: #F3F4F6;
  color: #5B21B6;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .requirements-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== NEED HELP ===== */
.help-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #D0E8FF 0%, #FFFFFF 100%);
  box-shadow: 0px 1px 2px 0px #4B55631A; 
  box-shadow: 0px 2px 2px 0px #4B556314;
  border-radius: 14px;
  padding: 18px 20px;
  gap: 20px;
}

.help-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.help-left img {
  width: 100px;
  height: 80px;
}

.help-section h4 {
  font-size: 16px;
  color: #1F2937;
 font-weight: 600;
  margin-bottom: 4px;
}

.help-section p {
  font-size: 14px;
  color: #4B5563;
  font-weight: 400;
  max-width: 420px;
}

.help-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  background: #fff;
  color: #374151;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #D1D5DB
}

/* ===== RELATED SECTIONS ===== */
.related-section {
  padding-top: 40px;
}

.related-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  margin-bottom: 16px;
}

/* ===== RELATED COURSES ===== */
.related-courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.course-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 16px;
}

.course-card h4 {
  font-size: 16px;
  color: #1F2937;
  font-weight: 500;
  margin-bottom: 8px;
  text-align: start;
  margin-top: 10px;
  min-height: 40px;
}

.course-card p {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-card img {
  width: 14px;
}

/* VIEW ALL */
.related-center {
  text-align: center;
}

.view-all-btn {
  display: inline-flex;   /* REQUIRED */
  align-items: center;
  gap: 6px;
}


/* ===== RELATED ARTICLES ===== */
/* GRID */
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* CARD */
.article-card {
  display: flex;                 /* ✅ key fix */
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0px 1px 3px 0px #D1D5DB4D;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
}


/* LEFT ICON */
.article-icon {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  background: #FFFFFF01;
box-shadow: 0px 2px 2px 0px #4B556314;
box-shadow: 0px 1px 2px 0px #4B55631A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-icon img {
  width: 80px;
  height:95px;
}

/* CONTENT */
.article-content h4 {
  font-size: 17px;
  font-weight: 500;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 6px;
  margin-top: 0;
  min-height: 65px;
}

.article-content span {
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .tuition {
    display: none !important;
  }

}
@media (min-width: 900px) {
  .tuition1 {
    display: none !important;
  }

}
@media (max-width: 768px) {
  .help-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .related-courses-grid,
  .related-articles-grid {
    grid-template-columns: 1fr;
  }

  .help-btn {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .course-header {
    align-items: flex-start;
  }

  .course-header h1 {
    font-size: 20px;
    line-height: 1.3;
  }

  .university {
    font-size: 14px;
  }
}

/* BASE */
.course-detail-page {
  background: #fff;
  padding: 24px 0 64px;
}

@media (max-width: 768px) {
  .course-detail-page {
    padding-top: 80px; 
  }
}

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  gap: 6px;
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .breadcrumb {
    display: none;
  }
}

.course-header h1 {
  font-size: 24px;
  color: #374151;
  word-break: break-word;
  margin-bottom: 0;
}

.university {
  font-size: 20px;
  color: #374151;
}

/* ACTIONS */
.course-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}



/* GRID */
.course-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
}

/* LEFT */
.card {
  margin-bottom: 28px;
  max-width: 800px;
}

.card h3 {
  font-size: 22px;
  font-weight: 500;
}

.card p {
  font-size: 16px;
  color: #374151;
  line-height: 1.6;
}

.highlight-list li {
  font-size: 16px;
  margin-bottom: 16px;
}

/* SIDEBAR */
.course-sidebar {
  position: sticky;
  top: 96px;
}

.sidebar-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  margin-bottom: 16px;
}

.fee {
  font-size: 20px;
  font-weight: 700;
  color: #059669;
}

/* SIMPLE ITEMS */
.simple-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.simple-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.simple-item p {
  font-size: 14px;
  color: #4b5563;
  padding-left: 26px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .course-layout {
    grid-template-columns: 1fr;
  }

  .course-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .course-header {
    flex-direction: column;
    gap: 16px;
  }

  .course-actions {
    width: 100%;
    justify-content: center
  }

  .apply-btn {
    width: 100%;
  }

  .course-header h1 {
    font-size: 20px;
  }

  .university {
    font-size: 14px;
  }
  .course-detail-page{
    margin-top: 10px;
  }
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}


