/* ===== Page Banner ===== */
.page-banner {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../images/vist_gunagzhou/expatservices/bg.jpg");
}

.page-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding-left: 35px;
}

.page-banner-bg::after {
    content: '';
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.55);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.page-banner-content h1 {
    font-size: 48px;
    line-height: 1.1;
    margin: 0;
}

.page-banner-content h1 em {
    display: block;
    font-style: italic;
    font-weight: normal;
    color: #333;
}

.page-banner-content h1 strong {
    display: block;
    font-weight: bold;
    color: #0073dd;
}

/* ===== I Want To Cards ===== */
.iwantto-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.iwantto-card {
    height: 260px;
    border-radius: 8px;
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.iwantto-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.iwantto-card.work {
    background: #4b8203;
}

.iwantto-card.travel {
    background: #9dc513;
}

.iwantto-card.study {
    background: #0aadf8;
}

.iwantto-card.shop {
    background: #0375dd;
}

.iwantto-card.business {
    background: #6e55c0;
}

.iwantto-card-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 6px;
}

.iwantto-card-content p {
    font-size: 16px;
    opacity: 0.9;
}

.iwantto-card-icon {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.iwantto-card-icon svg {
    width: 60px;
    height: 60px;
    opacity: 0.4;
}

/* ===== Dynamic Loading States ===== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.empty-state.active {
    display: block;
}

.empty-text {
    font-size: 16px;
    color: #999;
}

.loading-spinner {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.loading-spinner.active {
    display: block;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073dd;
    border-radius: 50%;
    animation: spinner-rotate 1s linear infinite;
}

@keyframes spinner-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-more {
    text-align: center;
    padding: 32px 20px;
    color: #999;
    font-size: 14px;
    display: none;
}

.no-more.active {
    display: block;
}

.load-more {
    text-align: center;
    padding: 40px 20px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .page-banner {
        height: 220px;
    }

    .page-banner-bg {
        background-image: url('../../images/vist_gunagzhou/expatservices/expatservices-banner2.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .page-banner-bg img {
        display: none;
    }

    .page-banner-content h1 {
        font-size: 36px;
    }

    .iwantto-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .iwantto-card {
        height: 200px;
        padding: 15px;
    }

    .iwantto-card-content h3 {
        font-size: 20px;
    }

    .iwantto-card-content p {
        font-size: 14px;
    }

    .iwantto-card-icon svg {
        width: 48px;
        height: 48px;
    }

}

@media (max-width: 480px) {
    .page-banner {
        height: 180px;
    }

    .page-banner-content h1 {
        font-size: 28px;
    }

    .iwantto-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .iwantto-card {
        height: 180px;
        padding: 12px;
    }

    .iwantto-card-content h3 {
        font-size: 18px;
    }

    .iwantto-card-icon svg {
        width: 40px;
        height: 40px;
    }

}
