/* General styles */
body {
    background: linear-gradient(
        rgba(0, 0, 0, 0.5), 
        rgba(0, 0, 0, 0.5)
    ), url('https://images.unsplash.com/photo-1506748686214-e9df14d4d9d0');
    background-size: cover;
    background-attachment: fixed;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    min-height: 100vh;
}

.navbar {
    display: flex;
    margin: 10px;
}

.logo {
    width: 100px;
}

.home-link {
    text-decoration: none;
}

.navbar p {
    color: rgb(3, 150, 3);
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 35px;
    margin-left: 20px;
    margin-top: 15px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: auto;
    margin-right: 20px;
    margin-top: 10px;
}

.nav-links li {
    padding: 10px 18px;
}

.nav-links li a {
    text-decoration: none;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 18px;
    color: white;
    padding: 12px 18px;
    border-radius: 5px;
    transition: 0.2s;
}

.nav-links li a:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(13, 160, 0);
    transition: 0.2s;
}

/* Main content */
main {
    max-width: 900px;
    margin: 40px auto 0 auto;
    background: rgba(44, 62, 80, 0.85);
    border-radius: 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 40px 40px 60px 40px;
}

.course-header {
    text-align: center;
    margin-bottom: 30px;
}

#course-title {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #7fd8d8;
}

#country {
    font-size: 1.5rem;
    font-weight: 400;
    color: #b2e0e0;
    margin-bottom: 10px;
}

.course-description-section {
    margin-bottom: 35px;
}

.course-description {
    font-size: 1.25rem;
    background: linear-gradient(120deg, #4e7c7a 0%, #355e7c 60%, #22334a 100%);
    color: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 4px 4px 18px rgba(0,0,0,0.15);
    line-height: 1.7;
    margin: 0;
}

.learning-outcomes {
    margin-bottom: 35px;
}

.learning-outcomes h3 {
    font-size: 2rem;
    color: #72b1ae;
    margin-bottom: 18px;
    text-align: center;
    font-weight: 500;
}

#learning-points {
    list-style: disc inside;
    padding-left: 0;
    margin: 0 auto;
    max-width: 700px;
}

#learning-points li {
    font-size: 1.15rem;
    margin-bottom: 12px;
    background: rgba(116, 177, 174, 0.13);
    border-radius: 10px;
    padding: 12px 18px;
    color: #eafafa;
}

.course-schedule {
    margin-bottom: 40px;
}

.course-schedule h3 {
    font-size: 2rem;
    color: #72b1ae;
    margin-bottom: 18px;
    text-align: center;
    font-weight: 500;
}

.schedule-table-container {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(116, 177, 174, 0.13);
    border-radius: 18px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.10);
}

.schedule-table th, .schedule-table td {
    padding: 18px 14px;
    text-align: left;
    font-size: 1.1rem;
}

.schedule-table th {
    background: #4e7c7a;
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid #355e7c;
}

.schedule-table tr:nth-child(even) {
    background: rgba(46, 64, 83, 0.18);
}

.schedule-table tr:nth-child(odd) {
    background: rgba(116, 177, 174, 0.10);
}

.schedule-table td {
    color: #eafafa;
}

.enroll-btn-container {
    text-align: center;
    margin-top: 40px;
}

.enroll-btn {
    background: linear-gradient(120deg, #4e7c7a 0%, #355e7c 60%, #22334a 100%);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 18px 48px;
    font-size: 1.3rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.13);
    transition: background 0.2s, transform 0.2s;
}

.enroll-btn:hover {
    background: linear-gradient(120deg, #355e7c 0%, #4e7c7a 100%);
    transform: scale(1.03);
}

/* Responsive styles */
@media (max-width: 1000px) {
    .nav-links li {
        padding: 5px;
    }
    main {
        padding: 20px 8px 40px 8px;
    }
    .course-description {
        padding: 18px;
        font-size: 1.1rem;
    }
    #course-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 700px) {
    .nav-links {
        margin-right: -10px;
    }
    .nav-links li a {
        font-size: 13px;
        padding-left: 6px;
        padding-right: 6px;
    }
    main {
        padding: 10px 2vw 30px 2vw;
    }
    .navbar p {
        font-size: 20px;
    }
    .logo {
        width: 50px;
    }
    #course-title {
        font-size: 1.5rem;
    }
    #country {
        font-size: 1.1rem;
    }
    .course-description {
        font-size: 1rem;
        padding: 10px;
    }
    .learning-outcomes h3,
    .course-schedule h3 {
        font-size: 1.2rem;
    }
    .enroll-btn {
        font-size: 1rem;
        padding: 12px 24px;
    }
    .schedule-table th, .schedule-table td {
        padding: 10px 6px;
        font-size: 0.95rem;
    }
}
