body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #0f1115;
    color: #e5e5e5;
}

.hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay h1 {
    font-size: 42px;
    margin: 0;
    font-weight: 600;
}

.overlay p {
    color: #bbb;
    font-size: 16px;
    margin-top: 10px;
}

main {
    padding: 40px 20px 60px;
    max-width: 1100px;
    margin: auto;
}

h2 {
    font-size: 20px;
    margin: 40px 0 20px;
    border-left: 3px solid #c0392b;
    padding-left: 10px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.doc-card {
    background: #1a1d24;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.25s;

    display: flex;
    flex-direction: column;
    height: 100%;
}

.doc-card:hover {
    transform: translateY(-5px);
    background: #202531;
}

.doc-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.doc-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.doc-content h3 {
    font-size: 15px;
    margin: 0 0 8px;
}

.doc-content p {
    font-size: 13px;
    color: #aaa;
    margin: 0 0 12px;
    line-height: 1.4;
    flex: 1;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 18px;
    background: #c0392b;
    color: white;
    text-decoration: none;
    font-size: 13px;
    text-align: center;
    margin-top: auto;
    transition: 0.2s;
}

.btn:hover {
    background: #e74c3c;
}

footer {
    text-align: center;
    padding: 25px;
    font-size: 13px;
    color: #888;
    border-top: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 768px) {
    .hero {
        height: 40vh;
    }

    .overlay h1 {
        font-size: 26px;
    }

    .overlay p {
        font-size: 14px;
        padding: 0 10px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}