/* Lightweight, local, image-free homepage banner matching the ZD MIS theme. */
/* Header is deliberately full-width: logo stays left and navigation stays right
   even when browser zoom changes the apparent viewport width. */
header .container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-left: clamp(16px, 5vw, 72px) !important;
    padding-right: clamp(16px, 5vw, 72px) !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
}

header .logo,
header nav {
    flex: 0 0 auto;
}

header nav {
    margin-left: auto;
}

header .logo img {
    width: clamp(110px, 11vw, 150px);
    max-width: 150px;
}

header nav ul {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: clamp(8px, 1.3vw, 20px);
}

header nav ul li a {
    font-size: clamp(12px, 1.15vw, 16px);
}

.hero {
    background:
        radial-gradient(circle at 84% 18%, rgba(83, 204, 223, .34) 0, rgba(83, 204, 223, 0) 25%),
        radial-gradient(circle at 12% 92%, rgba(0, 184, 204, .26) 0, rgba(0, 184, 204, 0) 30%),
        linear-gradient(125deg, #004a87 0%, #005e9f 48%, #007eac 100%);
    min-height: 420px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero h1,
.hero p {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 36, 76, .26);
}

/* Explicit rules prevent older deployed stylesheet rules from left-aligning
   the hero content. */
.hero > .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center !important;
}

.hero > .container h1,
.hero > .container p,
.hero > .container .btn {
    text-align: center;
}

.hero > .container .btn {
    display: inline-block;
}

.hero .btn {
    background-color: #fff;
    color: #005e9f;
    box-shadow: 0 6px 16px rgba(0, 32, 68, .18);
}

.hero .btn:hover {
    background-color: #dff7fb;
    color: #004a87;
}

@media (max-width: 768px) {
    .hero {
        min-height: 360px;
        padding: 70px 0;
    }

    .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
}
