@import url('style.css');
@import url('utilities.css');
/* Courses Page Styles */
.courses-header {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/sahara-college-main.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}


.course-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--accent-color);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.course-header {
    padding: 20px;
    background-color: var(--primary-navy);
    color: var(--primary-white);
    position: relative;
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.course-category {
    font-size: 0.9rem;
    opacity: 0.8;
}

.course-body {
    padding: 20px;
}

.course-description{
    color: var(--text-black);
    margin-bottom: 20px;
    text-align: inherit;
}

.course-description strong {
    font-weight: 700;
}

.course-description em {
    font-style: italic;
}

.course-description u {
    text-decoration: underline;
}

.course-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--accent-gold);
}

.detail-label {
    font-weight: 600;
}

.detail-value {
    color: var(--text-black);
}

.course-footer {
    padding: 0 20px 20px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.course-footer .btn {
    flex: 1;
    padding: 8px 10px;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .course-card {
        margin-bottom: 30px;
    }
    
    .course-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .courses-header {
        padding: 60px 0;
    }
    
    .course-footer {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .courses-header {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .course-card {
        margin-bottom: 20px;
    }
}