/* General Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

header {
    background: #0056b3;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .btn {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 2px solid #fff;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

header .btn:hover {
    background: #fff;
    color: #0056b3;
}

main {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
}

#course-details {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#course-details h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #333;
}

#course-details img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#course-details p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #555;
}

#course-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #444;
}

#course-details ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

#course-details ul li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    color: #fff;
    background: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.enroll-btn {
    background: #28a745;
}

.enroll-btn:hover {
    background: #218838;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: #fff;
    position: relative;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}