* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f7fb;
    color: #172033;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 7%;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 10;
}
.brand {
    font-size: 24px;
    font-weight: 800;
    color: #3157d5;
    text-decoration: none;
}
.navbar a {
    margin-left: 18px;
    color: #172033;
    text-decoration: none;
    font-weight: 600;
}
.btn-small {
    background: #3157d5;
    color: white !important;
    padding: 8px 14px;
    border-radius: 20px;
}
.container {
    width: 86%;
    margin: 35px auto;
    min-height: 70vh;
}
.hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: center;
    background: linear-gradient(135deg, #3157d5, #6d8cff);
    color: white;
    padding: 50px;
    border-radius: 28px;
}
.hero h1 { font-size: 44px; margin: 10px 0; }
.tag { letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }
.hero-card {
    background: rgba(255,255,255,0.18);
    padding: 28px;
    border-radius: 22px;
    backdrop-filter: blur(6px);
}
.actions { margin-top: 24px; }
.btn {
    display: inline-block;
    background: #3157d5;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}
.hero .btn { background: white; color: #3157d5; }
.btn.secondary { background: transparent; color: white; border: 1px solid white; margin-left: 10px; }
.grid { display: grid; gap: 22px; margin-top: 24px; }
.two { grid-template-columns: repeat(2, 1fr); }
.three { grid-template-columns: repeat(3, 1fr); }
.four { grid-template-columns: repeat(4, 1fr); }
.card, .form-card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(24, 39, 75, 0.08);
}
.link-card { color: inherit; text-decoration: none; transition: transform .2s; }
.link-card:hover { transform: translateY(-4px); }
.form-card { max-width: 560px; margin: auto; }
label { display: block; margin-top: 14px; font-weight: 700; }
input, textarea, select {
    width: 100%;
    padding: 12px;
    margin-top: 7px;
    border: 1px solid #d9dfec;
    border-radius: 12px;
    font-size: 15px;
}
button { margin-top: 18px; }
.alert {
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 18px;
}
.success { background: #e7f8ee; color: #126b37; }
.error { background: #ffe8e8; color: #9b1c1c; }
.muted { color: #68748a; font-size: 14px; }
.big { font-size: 34px; font-weight: 800; color: #3157d5; }
.entry { border-bottom: 1px solid #eef1f6; padding-bottom: 10px; }
.emergency { border-left: 8px solid #e63946; }
table { width: 100%; border-collapse: collapse; margin-top: 15px; }
th, td { text-align: left; padding: 12px; border-bottom: 1px solid #eef1f6; vertical-align: top; }
th { background: #f8faff; }
footer { text-align: center; padding: 24px; color: #68748a; }
@media(max-width: 850px) {
    .hero, .two, .three, .four { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .navbar { flex-direction: column; gap: 12px; }
}
