body {
    margin: 0;
    font-family: Arial, sans-serif;
    background:
        radial-gradient(circle at top, rgba(30, 107, 133, 0.14), transparent 28%),
        #f4f8fb;
    color: #10212a;
}

.navbar {
    background: #0b2c3d;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    color: white;
    align-items: center;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.catalog-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    padding: 48px 40px 24px;
}

.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(11, 61, 74, 0.08);
    color: #0b3d4a;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-copy h1 {
    margin: 12px 0 18px;
    font-size: 52px;
    line-height: 1.08;
    color: #10212a;
    max-width: 760px;
}

.catalog-copy p {
    max-width: 620px;
    color: #536974;
    font-size: 18px;
    line-height: 1.7;
}

.catalog-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
}

.hero-btn.primary {
    background: #0b3d4a;
    color: white;
}

.hero-btn.secondary {
    background: white;
    color: #0b3d4a;
    border: 1px solid rgba(11, 61, 74, 0.12);
}

.catalog-stats {
    display: grid;
    gap: 16px;
}

.stat-box {
    background: white;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(11, 61, 74, 0.08);
    border: 1px solid rgba(11, 61, 74, 0.06);
}

.stat-box h2 {
    margin: 0 0 8px;
    color: #0b3d4a;
    font-size: 30px;
}

.stat-box p {
    margin: 0;
    color: #5d7078;
    line-height: 1.5;
}

.search-section {
    padding: 8px 40px 0;
}

.search-section h2 {
    margin: 0 0 8px;
    font-size: 34px;
}

.search-section p {
    margin: 0;
    color: #5b6f78;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 32px 40px 48px;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(11, 61, 74, 0.08);
    border: 1px solid rgba(11, 61, 74, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 46px rgba(11, 61, 74, 0.14);
}

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

.course-card-body {
    padding: 22px;
}

.course-top,
.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.course-top {
    margin-bottom: 12px;
}

.meta-row {
    margin-bottom: 12px;
    color: #60737c;
    font-size: 14px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef3f6;
    color: #0b3d4a;
    font-size: 12px;
    font-weight: bold;
}

.percent {
    color: #0b3d4a;
    font-weight: bold;
}

.course-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.course-description {
    margin: 0 0 14px;
    color: #5b6f78;
    line-height: 1.6;
}

.progress {
    height: 10px;
    background: #e5edf2;
    margin-bottom: 18px;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0b2c3d, #1e6b85);
}

.course-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    background: #0b3d4a;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
}

.empty-state {
    background: white;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    color: #5b6f78;
}

@media (max-width: 1024px) {
    .catalog-hero {
        grid-template-columns: 1fr;
    }

    .catalog-copy h1 {
        font-size: 42px;
    }
}

@media (max-width: 640px) {
    .navbar,
    .catalog-hero,
    .search-section,
    .courses-grid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .catalog-actions {
        flex-direction: column;
    }

    .hero-btn,
    .course-btn {
        width: 100%;
    }

    .catalog-copy h1 {
        font-size: 34px;
    }
}
