
:root {
    --primary: #0d6efd;
    --primary-dark: #084298;
    --dark: #102033;
    --text: #536273;
    --muted: #7c8996;
    --light-bg: #f5f8fc;
    --border: #e3e9ef;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: #fff;
}

a {
    text-decoration: none;
}

/* TOPBAR */
.topbar {
    background: #071521;
    color: #cbd8e5;
    padding: 9px 0;
    font-size: 12px;
}

.topbar-right {
    opacity: .85;
}

/* NAVBAR */
.main-navbar {
    padding: 12px 0;
    background: var(--dark);
    box-shadow: 0 5px 25px rgba(0,0,0,.08);
}

.navbar-brand {
    color: #fff !important;
    gap: 10px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
}

.brand-text strong,
.footer-brand strong {
    display: block;
    line-height: 1.1;
    font-size: 17px;
}

.brand-text small,
.footer-brand small {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    opacity: .65;
}

.navbar .nav-link {
    color: #d6e0ea;
    font-size: 13px;
    font-weight: 500;
    margin: 0 3px;
    padding-left: 9px !important;
    padding-right: 9px !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #fff;
}

/* HERO */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 700px;
    color: #fff;
    background:
        linear-gradient(105deg, rgba(5,22,38,.98) 0%, rgba(6,44,78,.92) 48%, rgba(8,68,119,.78) 100%),
        url("images/masjid.png")
        center/cover no-repeat;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    right: -320px;
    top: -250px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow:
        0 0 0 80px rgba(255,255,255,.025),
        0 0 0 160px rgba(255,255,255,.018);
}

.min-vh-75 {
    min-height: 700px;
}

.hero-title {
    max-width: 760px;
    margin: 15px 0 22px;
    font-size: clamp(43px, 5vw, 68px);
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -2.5px;
}

.hero-title span {
    display: block;
    color: #82c2ff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 50px;
    background: rgba(255,255,255,.07);
    color: #d9ebff;
    font-size: 12px;
    font-weight: 600;
}

.hero-text {
    max-width: 650px;
    color: #d4e0ec;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 28px;
}

.hero-mini-info {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #cfe3f6;
    font-size: 11px;
}

.hero-mini-info i {
    color: #74baff;
    margin-right: 5px;
}

.hero-info-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 70px rgba(0,0,0,.24);
}

.hero-card-image {
    height: 230px;
    overflow: hidden;
}

.hero-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-content {
    padding: 27px;
}

.hero-card-content h3 {
    margin: 5px 0 10px;
    font-size: 30px;
    font-weight: 800;
}

.hero-card-content p {
    color: #d1dfea;
    font-size: 13px;
    line-height: 1.75;
}

.small-label {
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.small-label.light {
    color: #cfe7ff;
}

.text-link {
    display: inline-block;
    margin-top: 7px;
    color: #8ecaff;
    font-size: 13px;
    font-weight: 700;
}

.text-link i {
    margin-left: 5px;
}

/* QUICK */
.quick-section {
    position: relative;
    z-index: 5;
    margin-top: -50px;
}

.quick-card {
    min-height: 100px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    color: var(--dark);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 14px 40px rgba(25,55,85,.09);
    transition: .25s ease;
}

.quick-card:hover {
    color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(25,55,85,.13);
}

.quick-icon {
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--primary);
    background: #eaf3ff;
    font-size: 19px;
}

.quick-card strong {
    display: block;
    font-size: 13px;
}

.quick-card small {
    display: block;
    margin-top: 4px;
    color: #82909d;
    font-size: 10px;
}

/* COMMON */
.section-padding {
    padding: 100px 0;
}

.section-label {
    margin-bottom: 11px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-title {
    margin-bottom: 19px;
    color: var(--dark);
    font-size: clamp(31px, 4vw, 45px);
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -1.2px;
}

.section-text {
    font-size: 14px;
    line-height: 1.9;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 50px;
}

.section-subtitle {
    max-width: 650px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.8;
}

/* ABOUT IMAGE */
.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 22px 55px rgba(20,50,80,.13);
}

.about-image {
    width: 100%;
    height: 470px;
    object-fit: cover;
    display: block;
}

.image-caption {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 12px 15px;
    border-radius: 10px;
    color: #fff;
    background: rgba(7,21,34,.78);
    backdrop-filter: blur(8px);
    font-size: 11px;
}

/* GLANCE */
.glance-section {
    padding: 95px 0;
    color: #d2e0ed;
    background:
        linear-gradient(110deg, #071a2c, #0b477f);
}

.light-heading .section-label {
    color: #80c2ff;
}

.light-heading p {
    color: #adc1d3;
    font-size: 13px;
    line-height: 1.7;
}

.glance-card {
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 17px;
    background: rgba(255,255,255,.07);
}

.glance-card i {
    display: block;
    margin-bottom: 12px;
    color: #82c2ff;
    font-size: 24px;
}

.glance-card strong {
    display: block;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
}

.glance-card span {
    display: block;
    margin-top: 4px;
    color: #b5c9db;
    font-size: 11px;
}

.glance-note {
    margin-top: 22px;
    color: #9fb4c8;
    font-size: 10px;
}

/* PRIORITIES */
.priority-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
    transition: .25s ease;
}

.priority-card:hover {
    transform: translateY(-5px);
    border-color: #cfe2ff;
    box-shadow: 0 18px 45px rgba(20,50,80,.09);
}

.priority-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 14px;
    color: var(--primary);
    background: #edf5ff;
    font-size: 21px;
}

.priority-card h4 {
    margin-bottom: 11px;
    color: var(--dark);
    font-size: 19px;
    font-weight: 700;
}

.priority-card p {
    min-height: 75px;
    font-size: 13px;
    line-height: 1.75;
}

.priority-card a,
.project-content a,
.update-card a {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

/* PROJECT */
.project-feature {
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20,50,80,.06);
}

.project-image {
    height: 245px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.project-feature:hover .project-image img {
    transform: scale(1.04);
}

.project-content {
    padding: 27px;
}

.project-content span {
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.project-content h3 {
    margin: 8px 0 10px;
    color: var(--dark);
    font-size: 21px;
    font-weight: 750;
}

.project-content p {
    font-size: 13px;
    line-height: 1.75;
}

/* UPDATES */
.updates-section {
    padding: 90px 0;
    background: var(--light-bg);
}

.update-card {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
}

.update-tag {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.update-card h4 {
    color: var(--dark);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.update-card p {
    font-size: 13px;
    line-height: 1.75;
}

/* CTA */
.cta-section {
    padding: 55px 0;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 45px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(110deg, #0d6efd, #084298);
    box-shadow: 0 20px 55px rgba(13,110,253,.18);
}

.cta-box h2 {
    margin: 7px 0;
    font-size: 30px;
    font-weight: 800;
}

.cta-box p {
    margin: 0;
    color: #d9eaff;
    font-size: 13px;
}

/* FOOTER */
.footer {
    padding: 65px 0 25px;
    color: #93a6b8;
    background: #071521;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 17px;
    color: #fff;
}

.footer p {
    max-width: 460px;
    font-size: 12px;
    line-height: 1.8;
}

.footer h6 {
    margin-bottom: 17px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.footer a {
    display: block;
    margin-bottom: 10px;
    color: #91a3b4;
    font-size: 12px;
}

.footer a:hover {
    color: #fff;
}

.footer hr {
    margin: 45px 0 20px;
    border-color: rgba(255,255,255,.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    color: #687e91;
    font-size: 10px;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {

    .min-vh-75 {
        min-height: auto;
        padding: 85px 0 115px;
    }

    .quick-section {
        margin-top: -35px;
    }

    .navbar .nav-link {
        margin: 2px 0;
    }

    .hero-info-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {

    .topbar {
        display: none;
    }

    .hero-title {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero-text {
        font-size: 14px;
    }

    .hero-card-image {
        height: 190px;
    }

    .quick-card {
        min-height: 88px;
        padding: 13px;
    }

    .quick-icon {
        width: 41px;
        height: 41px;
        flex-basis: 41px;
    }

    .section-padding {
        padding: 70px 0;
    }

    .about-image {
        height: 350px;
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
        padding: 30px;
    }

    .cta-box h2 {
        font-size: 25px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* BALIANTA LOGO */
.balianta-brand {
    display: inline-flex;
    align-items: center;
    padding: 0 !important;
    margin-right: 18px;
}

.balianta-logo {
    width: 150px;
    height: 62px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 8px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo {
    width: 190px;
    height: 100px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 8px;
}

@media (max-width: 991.98px) {
    .balianta-logo {
        width: 135px;
        height: 56px;
    }
}

@media (max-width: 575.98px) {
    .balianta-logo {
        width: 125px;
        height: 52px;
    }
}

/* =========================================================
   NEW PUBLIC-FACING HEADER + CITIZEN LOOKUP
   ========================================================= */
:root {
    --portal-navy: #062b49;
    --portal-navy-2: #073b61;
    --portal-green: #079447;
    --portal-green-dark: #067a3a;
    --portal-green-soft: #e9faf1;
    --portal-border: #dce8e4;
}

.portal-header {
    background: #fff;
    padding: 12px 0 14px;
    border-bottom: 1px solid #e8eef2;
}

.portal-header-row {
    display: flex;
    align-items: center;
    gap: 28px;
}

.portal-logo-link {
    flex: 0 0 255px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-logo {
    width: 235px;
    height: 132px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.citizen-lookup {
    flex: 1;
    position: relative;
    padding: 18px 24px 14px;
    border: 1px solid #cceee0;
    border-radius: 16px;
    background: linear-gradient(100deg, #eefcf6 0%, #f3fbff 100%);
    box-shadow: 0 10px 28px rgba(4, 65, 47, .07);
}

.lookup-intro {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 270px;
}

.lookup-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #bdf1ce;
    color: var(--portal-green-dark);
    font-size: 29px;
}

.lookup-intro h2 {
    margin: 0 0 5px;
    color: #102033;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.lookup-intro p {
    margin: 0;
    color: #526477;
    font-size: 12px;
}

.lookup-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -58px;
    margin-left: 43%;
}

.lookup-field {
    flex: 1 1 210px;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #d8e2e8;
    border-radius: 8px;
    transition: .2s ease;
}

.lookup-field:focus-within {
    border-color: #69c798;
    box-shadow: 0 0 0 3px rgba(7, 148, 71, .09);
}

.lookup-field i {
    color: #587087;
    font-size: 18px;
}

.lookup-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #16283a;
    font-size: 13px;
}

.lookup-field input::placeholder {
    color: #7a8a9a;
}

.lookup-or {
    flex: 0 0 auto;
    color: #596b7d;
    font-size: 11px;
    font-weight: 800;
}

.lookup-btn,
.report-btn {
    border: 0;
    background: var(--portal-green);
    color: #fff !important;
    font-weight: 700;
}

.lookup-btn {
    height: 48px;
    flex: 0 0 auto;
    padding: 0 20px;
    border-radius: 8px;
    white-space: nowrap;
}

.lookup-btn:hover,
.report-btn:hover {
    background: var(--portal-green-dark);
    color: #fff;
}

.lookup-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 9px 0 0 43%;
    color: #476175;
    font-size: 11px;
}

.lookup-note i {
    color: #087bd2;
}

.lookup-message {
    display: none;
    margin: 8px 0 0 43%;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 12px;
}

.lookup-message.show {
    display: block;
}

.lookup-message.info {
    color: #075985;
    background: #e0f2fe;
}

.lookup-message.error {
    color: #991b1b;
    background: #fee2e2;
}

.main-navbar {
    padding: 0;
    background: var(--portal-navy) !important;
    box-shadow: 0 7px 20px rgba(4, 31, 51, .13);
}

.main-navbar .navbar-nav {
    min-height: 62px;
}

.main-navbar .nav-item {
    height: 62px;
    display: flex;
    align-items: center;
}

.main-navbar .nav-link {
    height: 100%;
    display: flex;
    align-items: center;
    color: #eef7ff;
    font-size: 14px;
    font-weight: 600;
    padding: 0 17px !important;
    margin: 0 !important;
    transition: .2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active {
    background: var(--portal-green);
    color: #fff;
}

.main-navbar .nav-link i {
    font-size: 15px;
}

/* COMMUNITY NOTICE BAR */
.community-notice-bar {
    position: relative;
    z-index: 4;
    color: #dceaf5;
    background: #073b61;
}

.notice-bar-layout {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.notice-bar-label {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.notice-bar-label i { color: #83d9a7; }

.notice-ticker {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.notice-ticker-track {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    animation: notice-scroll 42s linear infinite;
    color: #d7e8f3;
    font-size: 12px;
}

.notice-ticker-track strong { color: #a9eac1; }
.ticker-divider { margin: 0 26px; color: #83d9a7; }
.notice-ticker:hover .notice-ticker-track { animation-play-state: paused; }

.notice-bar-link {
    flex: 0 0 auto;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.notice-bar-link:hover { color: #a9eac1; }

@keyframes notice-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-42%); }
}

@media (prefers-reduced-motion: reduce) {
    .notice-ticker { overflow-x: auto; }
    .notice-ticker-track { animation: none; }
}

/* Hero: brighter public-portal presentation */
.hero-section {
    min-height: 560px;
    color: var(--portal-navy);
    background:
        linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.91) 35%, rgba(255,255,255,.32) 67%, rgba(255,255,255,.04) 100%),
        url("../images/masjid.webp")
        center/cover no-repeat;
}

.hero-section::before {
    display: none;
}

.hero-overlay {
    display: none;
}

.min-vh-75 {
    min-height: 560px;
}

.hero-section .col-lg-5 {
    display: none;
}

.hero-section .col-lg-7 {
    width: 100%;
}

.hero-title {
    max-width: 650px;
    margin: 15px 0 18px;
    color: var(--portal-navy);
    font-size: clamp(42px, 5vw, 68px);
    letter-spacing: -2.5px;
}

.hero-title span {
    color: var(--portal-green);
}

.hero-text {
    max-width: 590px;
    color: #324a60;
    font-size: 16px;
    line-height: 1.7;
}

.hero-badge {
    color: #173b55;
    border-color: #cbdce8;
    background: rgba(255,255,255,.72);
    box-shadow: 0 5px 20px rgba(20, 55, 80, .06);
}

.hero-mini-info {
    color: #31536d;
}

.hero-mini-info i {
    color: var(--portal-green);
}

.hero-section .btn-primary {
    background: var(--portal-green);
    border-color: var(--portal-green);
}

.hero-section .btn-primary:hover {
    background: var(--portal-green-dark);
    border-color: var(--portal-green-dark);
}

.hero-section .btn-outline-light {
    color: #102d44;
    border-color: #9db4c4;
    background: rgba(255,255,255,.78);
}

.hero-section .btn-outline-light:hover {
    color: #fff;
    background: var(--portal-navy);
    border-color: var(--portal-navy);
}

/* ABOUT PAGE */
.about-header-copy {
    flex: 1;
    padding: 18px 24px;
    border-left: 3px solid var(--portal-green);
}

.about-header-copy .section-label {
    margin-bottom: 5px;
}

.about-header-copy p {
    margin: 0;
    color: #526477;
    font-size: 14px;
}

.about-page-hero {
    padding: 92px 0;
    color: #fff;
    background: linear-gradient(100deg, rgba(6, 43, 73, .94), rgba(7, 59, 97, .78)), url("../images/masjid.webp") center/cover no-repeat;
}

.about-page-hero-content {
    max-width: 730px;
}

.breadcrumb-text {
    display: flex;
    gap: 9px;
    margin-bottom: 23px;
    color: #c8dbe9;
    font-size: 12px;
}

.breadcrumb-text a { color: #fff; }

.about-page-hero h1 {
    margin: 15px 0 17px;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -2px;
}

.about-page-hero h1 span { color: #83d9a7; }

.about-page-hero p {
    max-width: 640px;
    margin: 0;
    color: #dfedf5;
    font-size: 16px;
    line-height: 1.75;
}

.about-facts-section {
    padding: 90px 0;
    background: #f3f8f6;
}

.about-fact-card,
.about-value-card {
    height: 100%;
    padding: 30px;
    text-align: center;
    border: 1px solid #dce8e4;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(7, 59, 97, .05);
}

.about-fact-card i {
    display: block;
    margin-bottom: 13px;
    color: var(--portal-green);
    font-size: 25px;
}

.about-fact-card strong {
    display: block;
    color: var(--portal-navy);
    font-size: 31px;
    font-weight: 800;
}

.about-fact-card span {
    display: block;
    margin-top: 5px;
    color: #667a8b;
    font-size: 12px;
}

.about-value-card { text-align: left; }

.about-value-card h3 {
    margin-bottom: 11px;
    color: var(--portal-navy);
    font-size: 20px;
    font-weight: 750;
}

.about-value-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
}

/* INTERIOR PAGES */
.page-header-copy { flex: 1; padding: 18px 24px; border-left: 3px solid var(--portal-green); }
.page-header-copy .section-label { margin-bottom: 5px; }
.page-header-copy p { margin: 0; color: #526477; font-size: 14px; }
.inner-page-hero { padding: 78px 0; color: #fff; background: linear-gradient(100deg, rgba(6, 43, 73, .95), rgba(7, 59, 97, .76)), url("../images/masjid.webp") center/cover no-repeat; }
.inner-page-hero h1 { margin: 12px 0 12px; font-size: clamp(38px, 5vw, 58px); font-weight: 800; letter-spacing: -1.8px; }
.inner-page-hero p { max-width: 650px; margin: 0; color: #deedf5; font-size: 16px; line-height: 1.7; }
.inner-page-hero .breadcrumb-text { margin-bottom: 18px; }
.content-card { height: 100%; padding: 29px; border: 1px solid var(--portal-border); border-radius: 17px; background: #fff; box-shadow: 0 10px 30px rgba(7, 59, 97, .05); }
.content-card h3 { margin: 15px 0 10px; color: var(--portal-navy); font-size: 20px; font-weight: 750; }
.content-card p { margin: 0; font-size: 13px; line-height: 1.75; }
.project-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 50px; color: #087a3b; background: #e8f8ef; font-size: 10px; font-weight: 800; letter-spacing: .7px; }
.notice-date { display: inline-block; margin-bottom: 12px; color: var(--portal-green-dark); font-size: 11px; font-weight: 800; }
.gallery-item { position: relative; overflow: hidden; min-height: 260px; border-radius: 17px; background: #dce8e4; }
.gallery-item img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 16px; color: #fff; background: linear-gradient(transparent, rgba(6, 43, 73, .86)); font-size: 13px; font-weight: 700; }
.contact-panel { height: 100%; padding: 32px; border-radius: 18px; color: #e1eef6; background: var(--portal-navy); }
.contact-panel h2 { margin-bottom: 14px; color: #fff; font-size: 27px; font-weight: 800; }
.contact-panel p { color: #c5d8e7; font-size: 13px; line-height: 1.75; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-top: 23px; }
.contact-detail i { color: #83d9a7; font-size: 20px; }
.contact-detail strong, .contact-detail span { display: block; }
.contact-detail span { margin-top: 3px; color: #c5d8e7; font-size: 12px; }
.report-form { padding: 31px; border: 1px solid var(--portal-border); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(7, 59, 97, .05); }
.report-form h2 { color: var(--portal-navy); font-size: 26px; font-weight: 800; }
.report-form .form-label { color: #26465d; font-size: 12px; font-weight: 700; }
.report-form .form-control, .report-form .form-select { padding: 12px 14px; border-color: #d6e3e8; font-size: 13px; }

/* CITIZEN INFORMATION PAGE */
.citizen-page-hero { padding: 65px 0; color: #fff; background: linear-gradient(105deg, var(--portal-navy), var(--portal-navy-2)); }
.citizen-page-hero h1 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 49px); font-weight: 800; letter-spacing: -1.5px; }
.citizen-page-hero p { margin: 0; color: #d3e4f0; font-size: 15px; }
.citizen-page-hero .breadcrumb-text { color: #c4dbe9; }
.static-notice { display: flex; gap: 10px; align-items: flex-start; padding: 15px 18px; border: 1px solid #b9def7; border-radius: 10px; color: #075985; background: #e0f2fe; font-size: 13px; }
.static-notice i { margin-top: 1px; color: #0284c7; }
.citizen-profile-card, .citizen-content-card { padding: 30px; border: 1px solid var(--portal-border); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(7, 59, 97, .05); }
.citizen-profile-card { text-align: center; }
.citizen-avatar { width: 86px; height: 86px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--portal-green), #0a7541); font-size: 37px; }
.profile-label { color: var(--portal-green-dark); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
.citizen-profile-card h2 { margin: 8px 0; color: var(--portal-navy); font-size: 24px; font-weight: 800; }
.profile-id { margin: 0; color: #228455; font-size: 12px; font-weight: 600; }
.citizen-profile-card hr { margin: 24px 0 15px; border-color: #e1ece8; }
.profile-detail { padding: 10px 0; text-align: left; border-bottom: 1px solid #edf3f0; }
.profile-detail:last-child { border-bottom: 0; }
.profile-detail span, .citizen-info-grid span { display: block; margin-bottom: 3px; color: #6a7e8d; font-size: 11px; }
.profile-detail strong, .citizen-info-grid strong { color: #193b54; font-size: 13px; }
.citizen-content-card h2 { margin: 0; color: var(--portal-navy); font-size: 25px; font-weight: 800; }
.citizen-info-grid { margin-top: 17px; }
.citizen-info-grid > div { padding: 15px; }
.citizen-info-grid > div:nth-child(odd) { background: #f6faf8; }
.benefit-card { display: flex; align-items: center; gap: 12px; min-height: 80px; padding: 14px; border: 1px solid #deebe5; border-radius: 12px; }
.benefit-card > i { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--portal-green-dark); background: #e4f8ec; font-size: 18px; }
.benefit-card div { flex: 1; }
.benefit-card strong, .benefit-card span { display: block; }
.benefit-card strong { color: #193b54; font-size: 12px; }
.benefit-card div span { margin-top: 3px; color: #6a7e8d; font-size: 10px; }
.benefit-status { color: var(--portal-green-dark); font-size: 11px; font-weight: 800; }

@media (max-width: 1199.98px) {
    .lookup-form {
        margin-left: 0;
        margin-top: 15px;
    }

    .lookup-note,
    .lookup-message {
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .portal-header-row {
        flex-direction: column;
        gap: 10px;
    }

    .portal-logo-link {
        flex-basis: auto;
    }

    .portal-logo {
        width: 210px;
        height: 105px;
    }

    .citizen-lookup {
        width: 100%;
    }

    .about-header-copy {
        width: 100%;
        text-align: center;
        border-left: 0;
        border-top: 3px solid var(--portal-green);
    }

    .page-header-copy { width: 100%; text-align: center; border-left: 0; border-top: 3px solid var(--portal-green); }

    .lookup-form {
        flex-wrap: wrap;
    }

    .lookup-field {
        flex: 1 1 220px;
    }

    .main-navbar .nav-item {
        height: auto;
    }

    .main-navbar .nav-link {
        min-height: 48px;
    }

    .notice-bar-layout { gap: 12px; }
}

@media (max-width: 575.98px) {
    .portal-header {
        padding: 6px 0 10px;
    }

    .notice-bar-layout { min-height: 42px; }
    .notice-bar-label span, .notice-bar-link { display: none; }
    .notice-bar-label { padding: 0 2px; }
    .notice-ticker-track { font-size: 11px; }

    .portal-logo {
        width: 180px;
        height: 90px;
    }

    .citizen-lookup {
        padding: 14px;
        border-radius: 12px;
    }

    .lookup-intro h2 {
        font-size: 18px;
    }

    .lookup-intro p {
        font-size: 11px;
    }

    .lookup-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .lookup-or {
        text-align: center;
    }

    .lookup-btn {
        width: 100%;
    }

    .lookup-note {
        align-items: flex-start;
        font-size: 10px;
    }

    .hero-section {
        min-height: 590px;
        background-position: 67% center;
    }

    .about-page-hero {
        padding: 68px 0;
    }

    .min-vh-75 {
        min-height: 590px;
    }

    .hero-title {
        font-size: 42px;
    }
}


/* =========================================================
   CITIZEN AJAX SEARCH / PUBLIC PROFILE
   ========================================================= */

.lookup-field {
    position: relative;
}

.citizen-suggestions {
    display: none;
    position: absolute;
    z-index: 1055;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    overflow: hidden;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(16, 38, 58, .16);
}

.citizen-suggestions.show {
    display: block;
}

.citizen-suggestion-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: background .15s ease;
}

.citizen-suggestion-item:last-child {
    border-bottom: 0;
}

.citizen-suggestion-item:hover,
.citizen-suggestion-item:focus {
    background: #f5f8fc;
    outline: 0;
}

.citizen-suggestion-item img,
.citizen-suggestion-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    object-fit: cover;
    background: #eaf1ff;
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.citizen-suggestion-text {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.citizen-suggestion-text strong {
    color: #15283d;
    font-size: 13px;
    font-weight: 700;
}

.citizen-suggestion-text small {
    overflow: hidden;
    color: #728397;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.citizen-suggestion-item > .bi {
    color: #9aa9b8;
}

.citizen-suggestion-loading,
.citizen-suggestion-empty {
    padding: 14px;
    color: #718096;
    font-size: 12px;
    text-align: center;
}

.citizen-photo {
    display: block;
    width: 112px;
    height: 112px;
    margin: 0 auto 18px;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(10, 45, 80, .16);
}

.citizen-avatar-wrap {
    min-height: 112px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.citizen-avatar-wrap .citizen-avatar {
    margin-bottom: 0;
}

.citizen-error-card {
    max-width: 620px;
    margin: 20px auto;
    padding: 50px 30px;
    border: 1px solid #e5eaf0;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 35px rgba(20, 50, 80, .06);
}

.citizen-error-card > i {
    display: block;
    margin-bottom: 16px;
    color: #dc3545;
    font-size: 42px;
}

.citizen-error-card h2 {
    margin-bottom: 8px;
    color: #172b42;
    font-size: 24px;
}

.citizen-error-card p {
    margin-bottom: 22px;
    color: #728397;
    font-size: 13px;
}
