body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 40px auto;
    flex: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
}

.section-header p {
    color: #64748b;
    font-size: 18px;
}

.section-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 60px 0;
}

.webinar-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

@media (max-width: 1024px) {
    .webinar-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .webinar-list {
        grid-template-columns: 1fr;
    }
}

.webinar-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.webinar-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
}

.card-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: #f1f5f9;
    overflow: hidden;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.webinar-card:hover .card-image::after {
    opacity: 0.3;
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

.badge-upcoming {
    background: rgba(255, 255, 255, 0.95);
    color: #007bff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.badge-completed {
    background: rgba(30, 41, 59, 0.9);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
}

.card-content h3 {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.date {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 8px;
}

.desc {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.btn-link {
    color: #ffffff;
    background: #007bff;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
    width: 100%;
    text-align: center;
}

.webinar-card:hover .btn-link {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.webinar-card.completed .btn-link {
    background: #f1f5f9;
    color: #64748b;
    box-shadow: none;
}

.webinar-card.completed:hover .btn-link {
    background: #e2e8f0;
    color: #475569;
}