/* ✅ GLOBAL */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7f7;
}

/* ✅ PAGE CONTAINER */
.container {
    max-width: 1100px; /* slightly wider so 5 columns fit comfortably */
    margin: auto;
    padding: 30px;
}

/* ✅ HEADER */
header {
    background-color: #001f3f;
    color: white;
    padding: 20px;
    text-align: center;
}

/* ✅ NAVIGATION */
nav {
    background-color: #008080;
    padding: 10px;
    text-align: center;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

/* ✅ PROGRAMME GRID (FORCE 5 ACROSS) */
#lessonList {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  /* ✅ FIXED 5 columns */
    gap: 20px;
    margin-top: 30px;
}

/* ✅ COURSE CARD */
.lesson-card {
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #001f3f;
}

/* ✅ THUMBNAIL */
.course-thumb {
    width: 150px;               /* reduced slightly so 5 fit cleanly */
    height: 150px;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 8px;
}

/* ✅ TEXT UNDER IMAGE (CENTRED — AS YOU WANT) */
.lesson-card strong {
    display: block;
    margin-bottom: 6px;
    text-align: center;
}

.lesson-card div,
.lesson-card .status {
    text-align: center;
}

/* ✅ STATUS */
.lesson-card .status {
    font-size: 14px;
    margin-top: 6px;
}

/* ✅ DISABLED CARD */
.lesson-card.disabled {
    opacity: 0.6;
}

/* ✅ LESSON PAGE THUMBNAIL */

.lesson-thumb {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* ✅ LESSON PAGE STRUCTURE */
.lesson-page {
    max-width: 800px;
    margin: auto;
    padding: 30px;
}

/* ✅ HEADINGS */
.lesson-page h2,
.lesson-page h3 {
    text-align: center;
}

.lesson-title {
    text-align: center;
}

/* ✅ STATUS */
.lesson-status {
    text-align: center !important;
    font-weight: bold;
}

/* ✅ PARAGRAPHS */
.lesson-page p {
    text-align: left;
    line-height: 1.6;
}

/* ✅ BULLETS */
.lesson-list {
    max-width: 520px;
    margin: 0 auto 20px auto;
    padding-left: 40px;
    text-align: left;
}

/* ✅ PRICE BOX */
.price-box {
    background: #eaf7f7;
    border: 2px solid #008080;
    padding: 25px 20px;
    margin: 40px auto;
    border-radius: 10px;
    max-width: 320px;
    text-align: center;
}

.duration {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
    text-align: center;
}

.price {
    font-size: 34px;
    font-weight: bold;
    color: #008080;
    margin-bottom: 18px;
    text-align: center;
}

/* ✅ BUTTONS */
button,
.btn {
    margin: 10px;
    padding: 12px 20px;
    background-color: #008080;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

button:hover,
.btn:hover {
    background-color: #006666;
}

/* ✅ BUTTON GROUP */
.button-group {
    text-align: center;
}

/* ✅ FOOTER */
footer {
    background-color: #001f3f;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 40px;
}

footer a {
    color: #66ffff;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}