﻿/* Hidden by default; Blazor sets display:block only on a real unhandled error. */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.landing-page {
    min-height: 100vh;
    background: #ffffff;
    font-family: Arial, sans-serif;
    color: #1c4137;
}

.top-header {
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 55px;
    border-bottom: 5px solid #e8924b;
    background: #ffffff;
}

.logo {
    max-height: 70px;
}

.hero {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1c4137 0%, #1c4137 65%, #5c946d 65%, #ffffff 100%);
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.35;
    margin: 0;
    font-weight: 800;
}

.line {
    width: 120px;
    height: 4px;
    background: #e8924b;
    margin: 25px auto;
    border-radius: 20px;
}

.hero-content p {
    font-size: 24px;
    margin: 0;
}

.cards-section {
    max-width: 1250px;
    margin: 35px auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    min-height: 135px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    text-decoration: none;
    color: #1c4137;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #e8924b;
}

.icon {
    width: 58px;
    height: 58px;
    background: #5c946d;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.card:nth-child(3) .icon,
.card:nth-child(8) .icon {
    background: #e8924b;
}

.card h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.card p {
    margin: 0;
    font-size: 17px;
}

.videos-section {
    max-width: 1250px;
    margin: 25px auto 40px;
    padding: 0 25px;
    text-align: center;
}

.videos-section h2 {
    font-size: 30px;
    margin-bottom: 22px;
    color: #1c4137;
}

.video-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.video-card {
    min-height: 80px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #ffffff;
    text-decoration: none;
    color: #1c4137;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.10);
    transition: 0.25s ease;
}

.video-card span {
    width: 38px;
    height: 38px;
    background: #e8924b;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-card:hover {
    transform: translateY(-4px);
    border-color: #fdb166;
}

footer {
    background: #1c4137;
    color: #ffffff;
    text-align: center;
    padding: 22px;
    border-top: 5px solid #e8924b;
    font-size: 18px;
}

@media (max-width: 900px) {
    .cards-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-cards {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .cards-section {
        grid-template-columns: 1fr;
    }

    .top-header {
        justify-content: center;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 30px;
    }
}