* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: Georgia;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, li {
    list-style: none;
}

/* Top Navigation */
.top-nav {
    background-color: #1a1a1a;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20px;
    list-style: none;
}

.nav-item {
    color: #fff;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    position: relative;
}

.nav-item > a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.nav-item:hover,
.nav-item:hover > a {
    color: #ffd700;
}

.nav-item.active,
.nav-item.active > a {
    color: #ffd700;
}

.nav-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
    cursor: pointer;
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    z-index: 1000;
    padding: 8px 0;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    transition: background-color 0.2s;
    text-align: center;
}

.dropdown-item:hover {
    background-color: #ffd700;
}

.dropdown-item.highlight {
    background-color: #ffd700;
    color: #333;
}

.dropdown-item.highlight:hover {
    background-color: #ffcc00;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s;
}

/* Mobile Drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background-color: #1a1a1a;
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    border-bottom: 1px solid #333;
}

.drawer-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.drawer-menu {
    padding: 20px 0;
    list-style: none;
}

.drawer-item {
    border-bottom: 1px solid #333;
}

.drawer-item > a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.drawer-item.active,
.drawer-item.active > a {
    color: #ffd700;
}

.drawer-link {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.submenu {
    padding: 0 0 10px 15px;
    list-style: none;
}

.submenu li {
    display: block;
}

.submenu-item {
    display: block;
    padding: 10px 15px;
    color: #ccc;
    font-size: 13px;
    text-decoration: none;
}

.submenu-item:hover {
    color: #ffd700;
}

/* Drawer Overlay */
.drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s;
}

.drawer-overlay.show {
    display: block;
    opacity: 1;
}

/* Header */
.header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.logo-text span {
    font-style: italic;
    font-size: 20px;
    font-weight: normal;
    display: block;
    line-height: 1.2;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff6b6b, #ffd700);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 6px 15px;
    background-color: #fff;
}

.search-box input {
    border: none;
    outline: none;
    width: 180px;
    font-size: 14px;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

/* Banner */
.banner {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 98px;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    gap: 15px;
}

.banner-icon {
    font-size: 30px;
    color: #fff;
    opacity: 0.8;
}

.banner-text {
    color: #fff;
    font-size: 28px;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
    width: 100%;
}

@media (max-width: 768px) {
    .main-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 10px;
    }
}

/* Section Styles */
.section {
    margin-bottom: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    height: 6px;
    background: #ffd700;
    z-index: -1;
}

.more-link {
    font-size: 12px;
    color: #fff;
    background-color: #ffd700;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
}

/* What's New Section - SuperSlide Structure */
.whats-new-content {
    display: grid;
    grid-template-columns: 1fr 277.5px;
    gap: 20px;
    position: relative;
}

.main-carousel {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    height: 517px;
}

.main-carousel .bd {
    position: relative;
    height: 100%;
}

.main-carousel .bd ul {
    position: relative;
    height: 100%;
}

.main-carousel .bd li {
    position: relative;
    height: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    background: #201e1e85;
    color: #fff;
    height: 95px;
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent); */
}

.carousel-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    padding: 30px 20px 15px;
    margin-left: 50px;
    margin-right: 50px;
}

.carousel-nav {
    position: absolute;
    top: 89%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.carousel-dots ul {
    display: flex;
    gap: 8px;
}

.carousel-dots li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.carousel-dots li.on {
    background: #ffd700;
    width: 20px;
    border-radius: 5px;
    height: 8px;
}

.side-news {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-card {
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-3px);
}

.news-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.news-card-body {
    padding: 12px;
    height: 95px;
}

.news-card-title {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.find-us {
    background-color: #fff;
    font-weight: bold;
    position: fixed;
    left: calc((100vw + 1200px) / 2 + 20px);
    top: 200px;
    text-align: center;
    z-index: 100;
    border-radius: 5px;
    padding: 10px;
}

.find-us-trigger {
    cursor: pointer;
}

.find-us-text {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.qr-code-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    background-image: url("../../statics/images/qr.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* QR Code Dropdown */
.qr-dropdown {
    display: none;
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    padding: 15px;
    border-radius: 4px;
    margin-right: 10px;
    min-width: 280px;
}

/* Arrow pointing to find-us-trigger */
.qr-dropdown::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #fff;
}

.find-us:hover .qr-dropdown {
    display: flex;
    gap: 15px;
}

.qr-item {
    text-align: center;
}

.qr-img1 {
    width: 80px;
    height: 80px;
    background-image: url("../../statics/images/qr/weibo.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto 8px;
}
.qr-img2 {
    width: 80px;
    height: 80px;
    background-image: url("../../statics/images/qr/wechat.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0 auto 8px;
}

.qr-label {
    font-size: 10px;
    color: #999;
    line-height: 1.4;
    font-weight: normal;
}

/* I Want To Section */
.iwant-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.iwant-main-wrap {
    position: relative;
    height: 100%;
}

.iwant-main {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.iwant-main .bd {
    flex: 1;
}

.iwant-main .bd ul li {
    position: relative;
}

.iwant-main img {
    width: 100%;
    height: 385px;
    object-fit: cover;
}

.iwant-main-title {
    padding: 15px;
    background: #fff;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    height: 95px;
}

.iwant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.iwant-grid .news-card img {
    aspect-ratio: 16 / 9;
}

/* I Want To indicators - inside carousel */
.iwant-indicators {
    position: relative;
    margin-top: 15px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.indicator-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 16px;
}

.indicator-dots {
    display: flex;
    gap: 6px;
}

.indicator-dots li {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #ddd;
    cursor: pointer;
}

.indicator-dots li.on {
    background: #666;
    width: 20px;
}

/* City Guide Section - SuperSlide Structure */
.city-carousel {
    position: relative;
    margin-bottom: 30px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 0 40px;
    background: #f5f5f5;
}

.city-carousel .tempWrap {
    width: 100% !important;
}

.city-carousel .bd {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.city-carousel .bd ul {
    overflow: hidden;
    zoom: 1;
}

.city-carousel .bd ul li {
    float: left;
    width: calc((100vw - 80px - 45px) / 4) !important;
    margin-right: 15px;
}

.city-carousel .bd ul li:last-child {
    margin-right: 0;
}

.city-card {
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.city-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.city-card-body {
    padding: 12px;
    height: 80px;
}

.city-card-title {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(140, 136, 136, 0.61);
    border: 1px solid rgba(161, 159, 159, 0.51);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-size: 18px;
}

.carousel-arrow.prev {
    left: 25.5%;
}

.carousel-arrow.next {
    right: 25.5%;
}

/* Category Icons */
.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 15px;
}

.category-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item:hover .category-icon {
    background-color: #ffde03;
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 8px;
    background: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-name {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
}

/* Expat Services Section */
.expat-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 15px;
    height: 480px;
}

.expat-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.expat-col-left,
.expat-col-right {
    justify-content: space-between;
}

.expat-col-center {
    position: relative;
    overflow: hidden;
}

.expat-col-center .bd {
    height: calc(100% - 45px);
}

.expat-col-center .bd ul,
.expat-col-center .bd li {
    height: 100%;
}

.expat-card {
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.expat-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.expat-card-body {
    padding: 10px 12px;
    height: 72px;
}

.expat-card-title {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.expat-card.large {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.expat-card.large img {
    width: 100%;
    height: calc(100% - 75px);
    object-fit: cover;
}

.expat-col-center .carousel-indicators {
    margin-top: 0px;
    margin-bottom: 0;
}

.expat-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

/* Footer */
.footer {
    background-color: #2a2a2a;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: bold;
}

.footer-logo-text span {
    font-style: italic;
    font-size: 16px;
    display: block;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.footer-links a {
    font-size: 13px;
    color: #ccc;
}

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

.footer-section h4 {
    font-size: 14px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 20px;
}

.footer-nav a {
    font-size: 12px;
    color: #fff;
}

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

.footer-copyright {
    font-size: 11px;
    color: #ccc;
    line-height: 1.8;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .find-us {
        display: none;
    }
}

@media (max-width: 768px) {
    .banner {
        height: auto;
        aspect-ratio: 1200 / 98;
    }

    .top-nav {
        position: relative;
    }

    .nav-container {
        padding: 10px 15px;
        justify-content: flex-end;
    }

    .nav-item {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .mobile-drawer {
        display: block;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .search-box input {
        width: 200px;
    }

    .banner-text {
        font-size: 18px;
    }

    .whats-new-content {
        grid-template-columns: 1fr;
    }

    .main-carousel {
        height: auto;
    }

    .main-carousel .bd,
    .main-carousel .bd ul,
    .main-carousel .bd li {
        height: auto;
    }

    .carousel-image {
        height: 250px;
    }

    .carousel-overlay {
        position: relative;
        height: auto;
        background: rgba(32, 30, 30, 0.85);
    }

    .carousel-title {
        padding: 15px;
        margin-left: 0;
        margin-right: 0;
    }

    .carousel-nav {
        top: 125px;
        transform: translateY(-50%);
    }

    .carousel-dots {
        bottom: auto;
        top: 235px;
        transform: translateX(-50%) translateY(-100%);
    }

    .side-news {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .side-news .news-card {
        flex: 1;
        min-width: 140px;
    }

    .iwant-content {
        grid-template-columns: 1fr;
    }

    .iwant-main img {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .expat-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
    }

    .expat-col {
        gap: 10px;
    }

    .expat-col-center {
        order: -1;
        height: auto;
    }

    .expat-col-center .bd {
        height: auto;
    }

    .expat-col-center .bd ul,
    .expat-col-center .bd li {
        height: auto;
    }

    .expat-card.large {
        height: auto;
    }

    .expat-card.large img {
        aspect-ratio: 16 / 9;
        height: auto;
        max-height: 200px;
    }

    .expat-indicators {
        margin-top: 10px;
    }

    .expat-card-body {
        height: auto;
        min-height: 60px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .city-carousel .bd ul li {
        flex: 0 0 180px;
    }

    .carousel-arrow.prev {
        left: 25.5%;
    }

    .carousel-arrow.next {
        right: 25.5%;
    }
}

@media (max-width: 480px) {
    .nav-item {
        padding: 8px 10px;
        font-size: 11px;
    }

    .section-title {
        font-size: 18px;
    }

    .carousel-image {
        height: 200px;
    }

    .carousel-nav {
        top: 100px;
    }

    .carousel-dots {
        top: 185px;
    }

    .carousel-title {
        font-size: 14px;
    }

    .expat-card.large img {
        max-height: 160px;
    }

    .expat-card-title {
        font-size: 12px;
    }

    .iwant-grid {
        grid-template-columns: 1fr;
    }

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

    /*.category-icon {*/
    /*    width: 40px;*/
    /*    height: 40px;*/
    /*    font-size: 18px;*/
    /*}*/

    .category-name {
        font-size: 10px;
    }

    .expat-grid {
        grid-template-columns: 1fr;
    }

    .expat-card.large {
        grid-column: span 1;
    }

    .city-carousel .bd ul li {
        width: 280px !important;
    }

    .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .city-carousel {
        padding: 0 30px;
    }
}
