﻿body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
}

header {
    background-color: #1abc9c;
    color: white;
    padding: 1rem;
    text-align: center;
}

nav {
    background-color: #16a085;
    padding: 0.5rem;
}

    nav ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: center;
    }

        nav ul li {
            margin: 0 1rem;
        }

            nav ul li a {
                color: white;
                text-decoration: none;
            }

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.education-hub {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.course-card {
    background-color: #ecf0f1;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .course-card:hover {
        transform: translateY(-5px);
    }

.course-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-details {
    padding: 1rem;
}

.course-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.course-description {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.course-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #34495e;
}

.ai-tutor {
    background-color: #3498db;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    margin-top: 0.5rem;
}

.cta-button {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

    .cta-button:hover {
        background-color: #c0392b;
    }

footer {
    background-color: #34495e;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}
