/* Hero Section */
.hero-section {
    background-image: url("/gainforchrist/images/4.jpg");
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #ffcb70;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.5rem;
    color: white;
}

/* Category Buttons */
.category-buttons {
    text-align: center;
    margin: 20px auto;
}

.category-buttons button {
    padding: 10px 15px;
    margin: 5px;
    background-color: #ffcb70;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category-buttons button:hover {
    background-color: #ffa500;
}

/* Selected Category Title */
#selected-category {
    text-align: center;
    font-size: 1.8rem;
    margin: 15px 0;
    color: #333;
}

/* Courses Container */
.courses-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.course-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.course-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.course-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.course-category {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 15px;
}

.course-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: #ffcb70;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.course-link:hover {
    background-color: #ffa500;
}

/* No Results */
.no-results {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
}
