body {
    background: #f5f7fb;
    font-family: "Inter", sans-serif;
}

.postcode-input {
    height: 58px;
    border-radius: 14px;
    border: 1px solid #dbe1ea;
    font-size: 16px;
    padding-left: 20px;
}

.btn-search {
    height: 58px;
    border-radius: 14px;
    background: #082b6f;
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 16px;
}

.btn-search:hover {
    background: #041d4d;
    color: #fff;
}

.hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.hero-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.hero-overlay {
    /* background: #07245f; */
    padding: 25px 35px;
}

.hero-postcode {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.hero-postcode i {
    font-size: 38px;
}

.hero-postcode h2 {
    margin: 0;
    font-size: 38px;
    font-weight: 700;
}

.hero-postcode p {
    margin: 0;
    opacity: 0.9;
}

.category-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-icon {
    font-size: 28px;
}

.category-header h4 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.category-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.category-list {
    margin: 0;
    padding-left: 18px;
}

.category-list li {
    position: relative;
    margin-bottom: 12px;
    line-height: 1.5;
    color: #2c3e50;
}

/* BULLET COLORS */

.category-card.health .category-list li::marker,
.category-card.health .category-distance,
.category-card.health .category-header {
    color: #e53935;
}

.category-card.education .category-list li::marker,
.category-card.education .category-distance,
.category-card.education .category-header {
    color: #1e8e3e;
}

.category-card.transport .category-list li::marker,
.category-card.transport .category-distance,
.category-card.transport .category-header {
    color: #1565c0;
}

.category-card.shopping .category-list li::marker,
.category-card.shopping .category-distance,
.category-card.shopping .category-header {
    color: #8e24aa;
}

.category-card.food .category-list li::marker,
.category-card.food .category-distance,
.category-card.food .category-header {
    color: #ef6c00;
}

.category-card.safety .category-list li::marker,
.category-card.safety .category-distance,
.category-card.safety .category-header {
    color: #00838f;
}

.category-card.recreation .category-list li::marker,
.category-card.recreation .category-distance,
.category-card.recreation .category-header {
    color: #6d4c41;
}

.category-card.highvalue .category-list li::marker,
.category-card.highvalue .category-distance,
.category-card.highvalue .category-header {
    color: #5e35b1;
}

.list-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.place-name {
    color: #1e293b;
}

.distance {
    font-weight: 700;
    white-space: nowrap;
}

.empty-item {
    color: #94a3b8;
    list-style: none;
}

.map-wrapper {
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

#map {
    width: 100%;
    height: 300px;
    border-radius: 18px;
}

.loader-wrapper {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.loader-spinner {
    width: 70px;
    height: 70px;
    border: 6px solid #dbeafe;
    border-top-color: #082b6f;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media(max-width: 768px) {
    .hero-image {
        height: 220px;
    }

    .hero-postcode h2 {
        font-size: 28px;
    }

    .category-header h4 {
        font-size: 18px;
    }
}

.container {
    max-width: 100%;
}

.info-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #eef3ff;
    border-radius: 16px;
    padding: 18px 22px;
    margin-top: 12px;
    color: #1e3a8a;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 18px rgba(0,0,0,0.05);
}

.info-icon {
    font-size: 25px;
    margin-top: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-text {
    line-height: 1.7;
}

.hero-section{
    position:relative;
    overflow:hidden;
    border-radius:26px;
    margin-bottom:30px;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #f5f8fc 55%,
            #edf3fb 100%
        );

    border:1px solid #e5e7eb;

    box-shadow:
        0 4px 18px rgba(0,0,0,0.05);
}

.hero-overlay{
    padding:22px 22px 20px;
}

/* ========================================
TOP AREA
======================================== */

.hero-top{
    position:relative;
    display:flex;
    align-items:center;
    min-height:180px;
}

.hero-title-wrap{
    position:relative;
    z-index:2;

    display:flex;
    align-items:center;
    gap:14px;

    width:100%;
    padding-right:320px;
}

.hero-google-icon{
    width:42px;
    height:42px;
    object-fit:contain;
    flex-shrink:0;
}

.hero-title{
    margin:0;
    color:#0f172a;

    font-size:20px;
    font-weight:700;
    line-height:1.4;

    white-space:nowrap;
}

.hero-title span{
    font-size:15px;
    font-weight:500;
    color:#334155;
}

/* ========================================
IMAGE
======================================== */

.hero-image{
    position:absolute;
    /* top:0; */
    /* right:0; */
    right: -25px;
    width:700px;
    height:100%;
    z-index:1;
    height: 270px;
}

.hero-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.hero-image::before{
    content:'';
    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(245,248,252,1) 0%,
        rgba(245,248,252,0.95) 10%,
        rgba(245,248,252,0.75) 25%,
        rgba(245,248,252,0.50) 50%,
        rgba(245,248,252,0.20) 75%,
        rgba(245,248,252,0) 100%
    );

    z-index:2;
}

/* ========================================
BOTTOM BAR
======================================== */

.hero-info-bar{
    margin-top:18px;

    background:
        linear-gradient(
            90deg,
            #001b52 0%,
            #002766 100%
        );

    border-radius:18px;
    padding:16px 22px;
    z-index: 2;
    position: relative;
    margin-left: 20px;
    margin-right: 20px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.hero-info-item{
    display:flex;
    align-items:center;
    gap:14px;
    flex:1;
    min-width:0;
}

.hero-divider{
    width:1px;
    align-self:stretch;
    background:rgba(255,255,255,0.4);
    margin-right: 10%;
}

/* ========================================
WHITE ICONS
======================================== */

.hero-info-icon{
    width:34px;
    height:34px;
    object-fit:contain;

    filter:
        brightness(0)
        invert(1);
}

.hero-info-value{
    color:#ffffff;
    font-size:16px;
    font-weight:700;
    line-height:1.2;
}

.hero-info-label{
    color:#ffffff;
    opacity:0.9;
    font-size:13px;
    margin-top:2px;
}

/* ========================================
RESPONSIVE
======================================== */

@media (max-width:991px){

    .hero-top{
        min-height:auto;
        flex-direction:column;
        align-items:flex-start;
    }

    .hero-title-wrap{
        padding-right:0;
        width:100%;
    }

    .hero-title{
        white-space:normal;
    }

    .hero-image{
        position:relative;
        top:auto;
        right:auto;

        width:100%;
        height:auto;

        margin-top:10px;
    }

    .hero-image img{
        height:auto;
    }

    .hero-image::before{
        display:none;
    }
}
