.align-items-center {
    align-items: top !important;
}

 /* Basic page setup */
#videoOverlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Centered 400x400 video frame */
#videoContainer {
  position: relative;
  width: 600px;
  height: 400px;
  background: #000;
  border-radius: 0px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* make video fill the frame */
  border-radius: 10px;
}

/* Close button */
.closeBtn {
  position: absolute;
  top: 0px;
  right: 3px;
  background: #fff;
  color: #000;
  border: none;
  font-size: 22px;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* --- Hero redesign (ABAP LEARNER) --- */

.hero-section {
  position: relative;
  background: radial-gradient(circle at top left, #111827, #020617);
  color: #f9fafb;
  overflow: hidden;
}

.hero-overlay {
  position: relative;
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.25), transparent 55%),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.95));
  opacity: 0.95;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat .text-muted {
  color: rgba(209, 213, 219, 0.8) !important;
}

.hero-main-image {
  max-width: 420px;
  border-radius: 18px;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 22px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  opacity: 0.4;
}

/* Fix old negative margin on features after removing carousel */
.features {
  margin-top: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section .display-5 {
    font-size: 1.9rem;
  }
  .hero-main-image {
    max-width: 330px;
  }
}






/* === TIMELINE TABLE STYLING === */

.timeline-table {
    font-family: 'Tahoma', 'Helvetica', Times New Roman, sans-serif !important;
    font-size: 13px !important;
    color: #333 !important;
}

.timeline-table th,
.timeline-table td {
    padding: 10px 15px !important;
    font-weight: 400 !important;
}

.timeline-table th {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #111 !important;
    background-color: #f8f9fa !important;
}

.timeline-table tbody tr td:first-child {
    font-weight: 500; /* Day numbers */
}

.timeline-table a {
    color: #0070c9 !important;       /* Link color */
    text-decoration: none;
    font-weight: 500;
}

.timeline-table a:hover {
    text-decoration: underline;
}










/* ==============================
   Syllabus (Udemy-style)
   ============================== */

#abapSyllabus {
    font-family: 'Heebo', 'Nunito', system-ui, -apple-system, BlinkMacSystemFont,
                 'Segoe UI', sans-serif;
    font-size: 8px;          /* smaller text like Udemy */
    color: #2d2f31;           /* dark grey, not pure black */
}

/* each module card */
#abapSyllabus .accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-bottom: 8px;
    background: #f8fafc;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
}

/* module title bar */
#abapSyllabus .accordion-button {
    background: #f8fafc !important;
    color: #111827 !important;
    font-weight: 600;
    font-size: 0.95rem;       /* slightly smaller than default */
    padding: 12px 16px;
    box-shadow: none !important;
    border: none;
}

/* open state */
#abapSyllabus .accordion-button:not(.collapsed) {
    background: #e5f0ff !important;
}

/* body text */
#abapSyllabus .accordion-body {
    background: #ffffff;
    padding: 10px 15px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* nested lists */
#abapSyllabus .accordion-body ul {
    list-style: disc;
    padding-left: 18px;
    margin-bottom: 6px;
}

#abapSyllabus .accordion-body li {
    margin-bottom: 4px;
}

/* blue sub-headings inside body */
#abapSyllabus .accordion-body > ul > li > b > span {
    color: #0e82ed;
    font-weight: 600;
}

/* link style (e.g. What is ERP?) */
#abapSyllabus .accordion-body a {
    color: #0e82ed;
    text-decoration: none;
    font-weight: 500;
}

#abapSyllabus .accordion-body a:hover {
    text-decoration: underline;
}

/* optional: duration on the right if you add <span class="lecture-duration"> */
#abapSyllabus .lecture-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#abapSyllabus .lecture-duration {
    font-size: 0.8rem;
    color: #6b7280;
}
