﻿
:root {
    --primary-color: #4a6fff;
    --primary-dark: #3452cc;
    --primary-light: #e8edff;
    --secondary-color: #ff6b6b;
    --text-color: #2d3748;
    --text-light: #718096;
    --background-light: #f7fafc;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 10px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif, "Noto Color Emoji";
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-color);
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 20px auto 0;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-dark);
    transition: width 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(74, 111, 255, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

.btn-secondary::before {
    background-color: #e55858;
}

#header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

#header.header-scrolled {
    padding: 12px 0;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
    letter-spacing: -1px;
    transition: var(--transition);
}

.logo a:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

#menuToggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 102;
}

#menuToggle:hover {
    transform: rotate(90deg);
}

#closeMenu {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 80px 30px;
        text-align: left;
        transition: left 0.4s ease;
        z-index: 101;
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
        left: 0;
    }

    #menuToggle {
        display: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 102;
    }

    #closeMenu {
        display: none;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 103;
    }

    .nav-links.active+.closeMenu {
        display: block;
    }
}

.hero {
    background-color: var(--primary-light);
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 111, 255, 0.2) 0%, rgba(255, 107, 107, 0.2) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero-bg.jpg') center/cover no-repeat;
    opacity: 0.25;
    z-index: 0;
    animation: heroZoom 15s infinite alternate ease-in-out;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-color);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    animation: fadeInUp 1s 0.2s ease forwards;
    opacity: 0;
}

.hero-buttons {
    margin-top: 30px;
    animation: fadeInUp 1s 0.4s ease forwards;
    opacity: 0;
}

.hero-buttons .btn {
    margin: 0 10px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.about-text p {
    margin-bottom: 25px;
    color: var(--text-light);
}

.about-image {
  flex: 1;
  position: relative;
  z-index: 1;
}

.about-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  border-radius: var(--border-radius);
  top: 15px;
  left: 15px;
  z-index: -1;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255, 255, 255, 0.9) 100%);
    z-index: -1;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    transition: var(--transition);
}

.service-text {
    color: var(--text-light);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin: 20px auto;
    max-width: 800px;
}

.search-input {
    padding: 12px 20px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    flex: 1;
    margin-right: 10px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 111, 255, 0.25);
}

.search-button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 5px;
}

.search-button:hover {
    background-color: var(--primary-dark);
}

@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
        align-items: stretch;
    }

    .search-input {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .search-button {
        margin-left: 0;
    }
}

.properties-section {
    background: linear-gradient(135deg, var(--background-light) 0%, #e5eeff 100%);
}

.properties-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0 auto;
}

.property-card {
    width: calc(33.333% - 20px);
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .property-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .property-card {
        width: 100%;
    }
}

.property-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    height: 200px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.property-image:hover img {
    transform: scale(1.1);
}

.property-description {
    padding: 15px;
}

.des-container {
    height: 120px;
    overflow-y: auto;
    white-space: pre-line;
    font-family: inherit;
}

.des-container::-webkit-scrollbar {
    width: 10px;
}

.des-container::-webkit-scrollbar-thumb {
    background-color: #FFD700;
    outline: 1px solid slategrey;
    border-radius: 6px;
}

.des-container::-webkit-scrollbar-thumb:hover {
    background: goldenrod;
}

.des-container {
    scrollbar-width: thin;
    scrollbar-color: darkgoldenrod slategrey;
}

.property-buttons {
    display: flex;
    justify-content: space-between;
}

.property-btn {
    display: inline-block;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.property-btn.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.property-btn.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.property-btn:hover {
    opacity: 0.8;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.hangzhou-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hangzhou-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hangzhou-text {
    flex: 1;
}

.hangzhou-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.hangzhou-text h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.hangzhou-text p {
    margin-bottom: 25px;
    color: rgba(0, 0, 0, 0.8);
}

.hangzhou-image {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hangzhou-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hangzhou-row {
        flex-direction: column;
    }
}

.testimonials {
    background-color: var(--background-light);
    padding: 80px 0;
}

.testimonials-grid {
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    width: calc(33.33% - 20px);
    margin-bottom: 20px;
    box-sizing: border-box;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-light);
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-info {
    flex-grow: 1;
}

.testimonial-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.testimonial-location {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
}

.testimonial-country-flag {
    width: 20px;
    height: auto;
    margin-right: 8px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .testimonial-card {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        width: 100%;
    }
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
    overflow: hidden;
}

.accordion-header {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    background-color: var(--white);
    border: none;
    text-align: left;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-family: var(--font-heading);
    color: var(--text-color);
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-body {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-body.active {
    padding: 0 20px 20px;
    max-height: 500px;
}

.accordion-content {
    color: var(--text-light);
}

.contact-content {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
     gap: 40px;
 }

 .contact-info {
     background-color: var(--white);
     padding: 40px;
     border-radius: var(--border-radius);
     box-shadow: var(--shadow-md);
     transition: var(--transition);
 }

 .contact-info:hover {
     transform: translateY(-10px);
     box-shadow: var(--shadow-lg);
 }

 .contact-item {
     display: flex;
     align-items: flex-start;
     margin-bottom: 30px;
 }

 .contact-icon {
     font-size: 2rem;
     margin-right: 20px;
     color: var(--primary-color);
     background-color: var(--primary-light);
     width: 60px;
     height: 60px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: var(--transition);
 }

 .contact-item:hover .contact-icon {
     transform: scale(1.1);
 }

 .contact-details {
     flex: 1;
 }

 .contact-details h4 {
     margin-bottom: 5px;
     color: var(--text-color);
     font-family: var(--font-heading);
 }

 .contact-details p {
     color: var(--text-light);
     margin: 0;
 }

 .contact-form {
     background-color: var(--white);
     padding: 40px;
     border-radius: var(--border-radius);
     box-shadow: var(--shadow-md);
     transition: var(--transition);
 }

 .contact-form:hover {
     transform: translateY(-10px);
     box-shadow: var(--shadow-lg);
 }

 .form-group {
     margin-bottom: 25px;
 }

 .form-label {
     display: block;
     font-weight: 600;
     margin-bottom: 8px;
     color: var(--text-color);
     font-family: var(--font-heading);
 }

 .form-control {
     width: 100%;
     padding: 15px;
     border: 1px solid #e2e8f0;
     border-radius: 5px;
     font-size: 1rem;
     transition: var(--transition);
     background-color: #f8fafc;
 }

 .form-control:focus {
     outline: none;
     border-color: var(--primary-color);
     box-shadow: 0 0 0 3px rgba(74, 111, 255, 0.2);
     background-color: var(--white);
 }

 footer {
     background-color: #1a202c;
     color: var(--white);
     padding: 80px 0 30px;
     position: relative;
 }

 footer::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 5px;
     background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
 }

 .footer-content {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 40px;
 }

 .footer-column {
     margin-bottom: 30px;
 }

 .footer-logo {
     font-family: var(--font-heading);
     font-size: 2rem;
     font-weight: bold;
     margin-bottom: 20px;
     color: var(--white);
 }

 .footer-text {
     color: #a0aec0;
     margin-bottom: 25px;
     line-height: 1.8;
 }

 .footer-social {
     display: flex;
     gap: 15px;
 }

 .social-link {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     border-radius: 50%;
     background-color: rgba(255, 255, 255, 0.1);
     color: var(--white);
     font-size: 1.2rem;
     transition: var(--transition);
 }

 .social-link:hover {
     background-color: var(--primary-color);
     transform: translateY(-5px);
 }

 .footer-title {
     font-family: var(--font-heading);
     font-size: 1.3rem;
     margin-bottom: 25px;
     color: var(--white);
     position: relative;
     padding-bottom: 15px;
 }

 .footer-title::after {
     content: '';
     position: absolute;
     width: 40px;
     height: 3px;
     background: var(--primary-color);
     bottom: 0;
     left: 0;
 }

 .footer-links {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .footer-links li {
     margin-bottom: 15px;
 }

 .footer-links li a {
     text-decoration: none;
     color: #a0aec0;
     transition: var(--transition);
     display: flex;
     align-items: center;
 }

 .footer-links li a::before {
     content: '→';
     margin-right: 10px;
     color: var(--primary-color);
     opacity: 0;
     transform: translateX(-10px);
     transition: var(--transition);
 }

 .footer-links li a:hover {
     color: var(--white);
     padding-left: 5px;
 }

 .footer-links li a:hover::before {
     opacity: 1;
     transform: translateX(0);
 }

 .footer-newsletter p {
     color: #a0aec0;
     margin-bottom: 20px;
 }

 .newsletter-form {
     display: flex;
     overflow: hidden;
     border-radius: 30px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
 }

 .newsletter-input {
     width: 70%;
     padding: 15px 20px;
     border: none;
     border-radius: 30px 0 0 30px;
     font-size: 1rem;
     color: var(--text-color);
     background-color: var(--white);
 }

 .newsletter-input:focus {
     outline: none;
 }

 .newsletter-btn {
     width: 30%;
     background-color: var(--primary-color);
     color: var(--white);
     border: none;
     border-radius: 0 30px 30px 0;
     font-size: 1.2rem;
     cursor: pointer;
     transition: var(--transition);
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .newsletter-btn:hover {
     background-color: var(--primary-dark);
 }

 .footer-bottom {
     text-align: center;
     padding-top: 30px;
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     margin-top: 50px;
     color: #a0aec0;
 }

 .back-to-top {
     position: fixed;
     bottom: 55px;
     right: 30px;
     background-color: var(--primary-color);
     color: var(--white);
     width: 50px;
     height: 50px;
     border-radius: 50%;
     text-align: center;
     line-height: 50px;
     font-size: 1.2rem;
     cursor: pointer;
     opacity: 0;
     visibility: hidden;
     transition: var(--transition);
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
     z-index: 1000;
 }

 .back-to-top.show {
     opacity: 1;
     visibility: visible;
 }

 .bottom-nav {
     display: none;
 }

 @media (max-width: 768px) {
     .bottom-nav {
         position: fixed;
         bottom: 0;
         left: 0;
         width: 100%;
         background-color: var(--white);
         box-shadow: var(--shadow-md);
         display: flex;
         justify-content: space-around;
         align-items: center;
         padding: 10px 0;
         z-index: 999;
     }

     .bottom-nav-item {
         display: flex;
         flex-direction: column;
         align-items: center;
         text-decoration: none;
         color: var(--text-color);
         font-size: 0.8rem;
         transition: color 0.3s ease;
     }

     .bottom-nav-item i {
         font-size: 1.2rem;
         margin-bottom: 5px;
     }

     .bottom-nav-item:hover {
         color: var(--primary-color);
     }

     .bottom-nav-text {
         font-size: 0.7rem;
     }

     #header {
         z-index: 1000;
     }

     .section {
         padding-top: 40px;
     }
 }
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        padding: 80px 20px 20px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-links .map-link {
        justify-content: flex-start;
        font-size: 1.2em;
        color: var(--text-color);
        padding: 10px;
        text-align: left;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links .map-link:hover {
        color: var(--primary-color);
        background: var(--background-light);
    }
    /* 其他无关样式保持不变 */
}
 @media (max-width: 992px) {
     .about-content {
         flex-direction: column;
     }

     .hangzhou-row {
         flex-direction: column;
     }
 }

 .masonry-grid {
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     width: auto;
 }

 .masonry-item {
     width: 32%;
 }

 @media only screen and (max-width: 991px) {
     .masonry-item {
         width: 49%;
     }
 }

 @media only screen and (max-width: 767px) {
     .masonry-item {
         width: 100%;
     }
 }

 .footer-links {
     text-align: center;
 }

 .footer-links h3 {
     font-size: 1.2em;
     margin-bottom: 0.5em;
     cursor: pointer;
 }

 .simple-links {
     list-style: none;
     padding: 0;
     margin: 0 auto;
     width: fit-content;
     text-align: left;
     padding-left: 20px;
 }

 .simple-links li {
     margin-bottom: 0.3em;
 }

 .simple-links a {
     color: #337ab7;
     text-decoration: none;
 }

 .simple-links a:hover {
     text-decoration: underline;
 }

 .simple-links li::before {
     content: "\2022";
     color: #777;
     display: inline-block;
     width: 0.8em;
     margin-left: -0.8em;
 }

 .simple-links li {
     font-size: 0.9em;
 }

 .hidden {
     display: none;
 }