.public-body {
    background: #f6fbfc;
    color: #173B63;
}

.top-contact-bar {
    background: #0d5c9c;
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 7px 0;
}

.hospital-navbar {
    background: white;
    padding: 18px 0;
    box-shadow: 0 3px 18px rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.hospital-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0d5c9c !important;
}

    .hospital-brand img {
        width: 75px;
        height: 75px;
        object-fit: contain;
    }

    .hospital-brand strong {
        display: block;
        font-size: 26px;
        font-weight: 900;
        line-height: 1;
    }

    .hospital-brand small {
        display: block;
        font-size: 13px;
        color: #087E73;
        font-weight: 700;
    }

.hospital-navbar .nav-link {
    color: #0d5c9c !important;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1px;
    margin-left: 18px;
}

    .hospital-navbar .nav-link:hover {
        color: #087E73 !important;
    }

.hospital-dropdown {
    border: 0;
    border-radius: 0;
    padding: 18px;
    min-width: 260px;
    box-shadow: 0 12px 35px rgba(0,0,0,.15);
}

    .hospital-dropdown .dropdown-item {
        padding: 13px 15px;
        font-weight: 700;
        letter-spacing: 1px;
    }

        .hospital-dropdown .dropdown-item:hover {
            background: #e8f8f5;
            color: #087E73;
        }

.patient-portal-btn {
    background: #e91b2f;
    color: white !important;
    border-radius: 0;
    padding: 14px 28px;
    font-weight: 900;
    letter-spacing: 1px;
}

    .patient-portal-btn:hover {
        background: #c91527;
    }

/* HOME HERO */

.public-hero-section {
    min-height: calc(100vh - 120px);
    background: linear-gradient( rgba(13, 92, 156, .78), rgba(8, 126, 115, .70) ), url('/images/clinic-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 20px;
    text-align: center;
}

.hero-full-content {
    max-width: 1200px;
    margin: auto;
    color: white;
}

.hero-logo {
    width: 150px !important;
    height: 150px !important;
    object-fit: contain;
    margin-bottom: 25px;
    background: rgba(255,255,255,.95);
    padding: 10px;
    border-radius: 50%;
}

.hero-full-content h1 {
    color: white;
    font-weight: 900;
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 20px;
    text-shadow: 0 8px 25px rgba(0,0,0,.30);
}

.hero-subtitle {
    color: white;
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-tagline {
    color: rgba(255,255,255,.95);
    font-size: 1.2rem;
    margin-bottom: 35px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

    .hero-actions .btn {
        border-radius: 12px;
        padding: 14px 30px;
        font-weight: 900;
    }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
    margin-top: 45px;
}

    .hero-stats h3 {
        color: white;
        font-weight: 900;
        margin-bottom: 0;
        font-size: 2rem;
    }

    .hero-stats p {
        color: rgba(255,255,255,.95);
        margin-bottom: 0;
        font-weight: 700;
    }

/* ANNOUNCEMENTS */

.announcement-card {
    background: white;
    padding: 45px;
    max-width: 1100px;
    margin: auto;
    box-shadow: 0 14px 35px rgba(23,59,99,.12);
    border-left: 6px solid #e91b2f;
}

    .announcement-card h2 {
        color: #173B63;
        font-weight: 900;
        text-align: center;
        margin-bottom: 30px;
    }

.announcement-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.announcement-item {
    background: #f8fcff;
    padding: 25px;
    text-align: center;
    border: 1px solid #dfeef4;
}

    .announcement-item strong {
        color: #087E73;
        font-size: 18px;
    }

/* REMINDER */

.public-reminder {
    background: #0d5c9c;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

    .public-reminder h3 {
        font-weight: 900;
    }

/* RABIES EDUCATION */

.rabies-header {
    padding: 120px 20px 80px;
    background: linear-gradient(135deg,#EAF5FF,#E8F8F5);
    text-align: center;
}

    .rabies-header h1 {
        color: #173B63;
        font-weight: 900;
    }

.edu-card {
    background: white;
    padding: 30px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    border-top: 5px solid #0d5c9c;
}

    .edu-card h3 {
        color: #173B63;
        margin-bottom: 15px;
    }

/* FLOAT CHAT */

/* FACEBOOK / MESSENGER */

.facebook-link {
    color: white;
    text-decoration: none;
    font-weight: 700;
}

    .facebook-link:hover {
        color: #cfe8ff;
    }

.messenger-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #0d6efd;
    color: white;
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(13,110,253,.35);
    z-index: 9999;
}

    .messenger-float:hover {
        color: white;
        background: #0b5ed7;
        transform: translateY(-3px);
    }

/* FOOTER */

.public-footer {
    background: #173B63;
    padding: 35px 20px;
    text-align: center;
    color: white;
}

/* MOBILE */

@media (max-width: 768px) {
    .top-contact-bar {
        text-align: center;
        font-size: 12px;
    }
    .hero-layout {
        grid-template-columns: 1fr;
    }
    .hero-full-content h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-logo {
        width: 110px !important;
        height: 110px !important;
    }

    .hero-actions a,
    .hero-actions button {
        width: 100%;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-content {
        padding: 35px 25px;
    }

        .hero-content h1 {
            font-size: 2rem;
        }

    .hero-logo {
        width: 100px !important;
        height: 100px !important;
    }

    .hero-side-card {
        padding: 30px 25px;
    }

    .hospital-brand img {
        width: 55px;
        height: 55px;
    }

    .hospital-brand strong {
        font-size: 18px;
    }

    .hospital-brand small {
        font-size: 11px;
    }

    .hospital-navbar .nav-link {
        margin-left: 0;
    }

    .public-hero-card {
        padding: 35px 22px;
    }

        .public-hero-card h1 {
            font-size: 1.8rem;
        }

    .hero-actions a {
        width: 100%;
    }

    .announcement-list {
        grid-template-columns: 1fr;
    }

    .public-wide-card {
        padding: 30px 20px;
    }
    /* STAFF LOGIN MODAL */

    .staff-login-modal {
        border: 0;
        border-radius: 18px;
        overflow: hidden;
        box-shadow: 0 25px 70px rgba(0,0,0,.30);
    }

        .staff-login-modal .modal-header {
            background: linear-gradient(135deg, #0d5c9c, #087E73);
            color: white;
            border: 0;
        }

        .staff-login-modal .modal-title {
            font-weight: 900;
            letter-spacing: 1px;
        }

        .staff-login-modal .btn-close {
            filter: brightness(0) invert(1);
        }

    .staff-login-logo {
        width: 95px;
        height: 95px;
        object-fit: contain;
        margin-bottom: 10px;
    }

    .staff-login-modal h4 {
        color: #0d5c9c;
        font-weight: 900;
        margin-bottom: 0;
    }

    .staff-login-modal p {
        color: #526174;
        font-weight: 600;
    }

    .staff-login-modal .form-label {
        color: #173B63;
        font-weight: 800;
    }

    .staff-login-modal .form-control {
        border-radius: 12px;
        padding: 12px 14px;
        border: 1px solid #d7e8ef;
    }

        .staff-login-modal .form-control:focus {
            border-color: #087E73;
            box-shadow: 0 0 0 .2rem rgba(8,126,115,.15);
        }

    .staff-login-logo {
        width: 90px !important;
        height: 90px !important;
        max-width: 90px !important;
        max-height: 90px !important;
        object-fit: contain;
        display: block;
        margin: 0 auto 15px auto;
    }

    .staff-login-modal .btn-light {
        border-radius: 12px;
        padding: 10px 25px;
        font-weight: 800;
    }
    html {
        scroll-behavior: smooth;
    }
    .staff-login-modal {
        max-width: 500px;
        margin: auto;
    }

        .staff-login-modal .modal-body {
            overflow: hidden;
        }
}
