body {
    margin: 0;
    font-family: 'Segoe UI', 'Poppins', sans-serif;

    /* 🔥 background with overlay */
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url('bg.site.png') no-repeat center center/cover;

    min-height: 100vh;
}

/* container */
.container {
    width: 90%;
    max-width: 420px;
    margin: 60px auto 20px; /* 🔥 added top spacing */
    text-align: center;
}

/* titles */
h1 {
    color: white;
    font-size: 24px;
    margin-bottom: 5px;
}

h2 {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 20px;
}

/* glass card */
.card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding: 18px;
    border-radius: 14px;
    margin-bottom: 15px;
    color: white;

    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

/* hospital cards */
.hospital-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 16px;
    padding: 15px;
    margin-bottom: 15px;
    text-align: left;
    color: white;

    box-shadow: 0 5px 25px rgba(0,0,0,0.35);
}

/* highlight */
.top {
    border-left: 5px solid #2ecc71;
}

/* text */
.hospital-card h3 {
    margin: 0;
    font-size: 17px;
}

.hospital-card p {
    margin: 5px 0;
    font-size: 13px;
    color: #f1f1f1;
}

/* badge */
.badge {
    display: inline-block;
    background: #2ecc71;
    color: white;
    padding: 4px 9px;
    font-size: 11px;
    border-radius: 6px;
    margin-bottom: 6px;
}

/* map */
.map {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    margin-top: 8px;
    border: none;
}

/* buttons */
button {
    width: 100%;
    padding: 12px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;

    transition: 0.3s;
}

button:hover {
    background: #27ae60;
    transform: scale(1.03);
}

/* input */
input, select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border-radius: 10px;
    border: none;
    font-size: 14px;

    background: rgba(255,255,255,0.9);
    outline: none;
}

/* back button */
.back {
    display: block;
    width: 100%;
    padding: 12px;
    background: white;
    color: #2ecc71;
    text-align: center;
    border-radius: 10px;
    margin-top: 12px;
    text-decoration: none;
    font-weight: bold;

    transition: 0.3s;
}

.back:hover {
    background: #f2f2f2;
}

/* footer */
.footer {
    color: #ccc;
    font-size: 12px;
    margin-top: 15px;
}

/* mobile optimization */
@media (max-width: 480px) {
    h1 { font-size: 20px; }
    h2 { font-size: 12px; }

    .container {
        margin: 40px auto 15px;
    }
}