body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #000000;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header {
    background-color: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
    transition: transform 0.2s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav a {
    color: #000000;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: #007bff;
}

.main {
    padding: 3rem 0;
}

.card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin: 0;
    color: #000000;
}

.card-text {
    margin: 1rem 0;
}

.footer {
    background-color: #ffffff;
    color: #000000;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.search-bar {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    color: #000000;
    margin-bottom: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.course-single {
    display: block;
}

.course-img-single {
    width: 100%;
    border-radius: 0.5rem;
}

.course-content {
    line-height: 1.6;
}

.back-btn {
    display: inline-block;
    margin-bottom: 2rem;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.back-btn:hover {
    text-decoration: underline;
}

.course-sidebar {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.download-section {
    text-align: center;
}

.download-title {
    font-size: 1.8rem;
    margin-top: 0;
    color: #000000;
}

.download-description {
    margin: 1rem 0;
}

.download-button {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: bold;
    transition: background-color 0.2s;
}

.download-button:hover {
    background-color: #0056b3;
}

.course-info {
    margin-top: 2rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-label {
    font-weight: bold;
}

/* Mobile-first responsive styles */
.download-section-mobile {
    display: block;
    margin-bottom: 2rem;
}

.download-section-desktop {
    display: none;
}

@media (min-width: 768px) {
    .course-single {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .download-section-mobile {
        display: none;
    }

    .download-section-desktop {
        display: block;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.page-description {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: #6c757d;
}

.category-section {
    text-align: center;
    margin-bottom: 2rem;
}

.category-tag {
    display: inline-block;
    background-color: #f8f9fa;
    color: #000000;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    margin: 0.25rem;
    transition: background-color 0.2s;
}

.category-tag:hover {
    background-color: #e9ecef;
}

/* Override for category tags on the single course page */
.course-info .category-tag {
    background-color: transparent;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.course-info .category-tag:hover {
    background-color: #007bff;
    color: #ffffff;
} 