/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: #0066cc;
}

/* 头部样式 */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 60px;
    width: auto;
}

.company-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.company-title h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.company-title .slogan {
    font-size: 16px;
    color: #666;
    margin: 0;
    padding-left: 15px;
    border-left: 1px solid #ddd;
}

/* 快速链接下拉框样式 */
.quick-links-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.dropdown-btn {
    background-color: #4a90e2;
    color: white;
    padding: 8px 16px;
    font-size: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(74, 144, 226, 0.25);
    display: flex;
    align-items: center;
}

.dropdown-btn:after {
    content: '▼';
    font-size: 10px;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

/* 添加按钮激活状态 */
.dropdown-btn.active:after {
    transform: rotate(180deg);
}

.dropdown-btn:hover {
    background-color: #3a7bc8;
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.35);
}

.dropdown-content {
    display: none; /* 默认隐藏，由JavaScript控制显示 */
    position: absolute;
    z-index: 100;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    top: 120%;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInDown 0.3s ease;
    padding-top: 8px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-content:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: transparent;
}

.dropdown-content:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background-color: white;
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
    z-index: -1;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f7f9fc;
    color: #4a90e2;
    padding-left: 20px;
}

.contact-info {
    text-align: right;
    font-size: 14px;
}

/* 新增按钮导航样式 */
.navbar-nav-button {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.store-btn {
    display: inline-block;
    height: 40px;
}

.store-btn img {
    height: 100%;
    width: auto;
}

.login-mail-btn, .login-btn {
    padding: 8px 16px;
    font-size: 14px;
    color: #4a90e2;
    border: 1px solid #4a90e2;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: transparent;
}

.login-mail-btn:hover, .login-btn:hover {
    background-color: #4a90e2;
    color: white;
}

/* 语言切换样式调整 */
.language-switch {
    margin-top: 5px;
}

.language-switch a {
    margin-left: 10px;
    color: #666;
}

.language-switch a.active {
    font-weight: bold;
    color: #0066cc;
}

/* 添加外层包装容器样式 */
.carousel-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #000; /* 可选：添加背景色 */
}

/* 修改轮播图容器样式 */
.carousel-container {
    max-width: 1920px;  /* 设置最大宽度 */
    width: 100%;
    height: 700px;
    position: relative;
    margin: 0 auto;    /* 居中显示 */
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    visibility: visible;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 控制按钮样式优化 */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;  /* 从50px增加到60px */
    height: 60px;  /* 从50px增加到60px */
    background: rgba(0, 0, 0, 0.5);  /* 加深背景色 */
    color: #fff;
    font-size: 30px;  /* 从24px增加到30px */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    border-radius: 50%;  /* 改为圆形按钮 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);  /* 添加阴影增强立体感 */
}

.prev-btn {
    left: 30px;  /* 调整位置 */
}

.next-btn {
    right: 30px;  /* 调整位置 */
}

/* 鼠标悬停效果增强 */
.prev-btn:hover, .next-btn:hover {
    background: rgba(0, 0, 0, 0.7);  /* 悬停时背景色加深 */
    transform: translateY(-50%) scale(1.1);  /* 悬停时略微放大 */
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .prev-btn, .next-btn {
        width: 50px;  /* 移动端适当缩小 */
        height: 50px;
        font-size: 24px;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
    
    .navbar-nav-button {
        justify-content: center;
        margin: 10px 0;
    }
    
    .login-mail-btn, .login-btn {
        display: block;
        margin-top: 8px;
        text-align: center;
        width: 100%;
    }
    
    .store-btn {
        height: 35px;
    }
}

/* 指示点容器样式 */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;  /* 增加点之间的间距 */
    z-index: 10;  /* 提高层级确保可见 */
    padding: 10px;  /* 增加可点击区域 */
}

/* 指示点样式 */
.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);  /* 添加边框 */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 激活状态的指示点 */
.dot.active {
    background: #fff;
    transform: scale(1.2);  /* 激活时略微放大 */
}

/* 鼠标悬停效果 */
.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-container {
        height: 400px;
    }
    
    .prev-btn, .next-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* 主要内容样式 */
main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    margin-bottom: 60px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

section h2 {
    font-size: 28px;
    color: #0066cc;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

section h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #0066cc;
    margin: 15px auto;
}

.section-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.section-content img {
    width: 40%;
    border-radius: 8px;
}

.text-content {
    flex: 1;
}

.text-content p {
    margin-bottom: 15px;
}

.learn-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.learn-more-btn:hover {
    background-color: #0050a0;
}

/* 服务和项目网格样式 */
.services-grid, .projects-grid {
    display: grid;
    gap: 25px;
}

.services-grid {
    grid-template-columns: repeat(4, 1fr);
}

.projects-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.service-item, .project-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover, .project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item img, .project-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-item h3, .project-item h3 {
    padding: 15px 15px 5px;
    font-size: 18px;
    color: #0066cc;
}

.service-item p, .project-item p {
    padding: 0 15px 15px;
    font-size: 14px;
    color: #666;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-info, .quick-links, .social-media {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.company-info h3, .quick-links h3, .social-media h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.quick-links ul {
    list-style: none;
}

.quick-links li {
    margin-bottom: 10px;
}

.quick-links a {
    color: #ccc;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #555;
    font-size: 14px;
    color: #aaa;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-content {
        flex-direction: column;
    }
    
    .section-content img {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }
    
    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-info {
        margin-top: 20px;
        text-align: center;
    }
    
    /* 移动端下拉框样式调整 */
    .quick-links-dropdown {
        margin: 15px 0 0 0;
        width: 100%;
    }
    
    .dropdown-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        border-radius: 25px;
        font-size: 16px;
        background-color: #4a90e2;
    }
    
    .dropdown-content {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 10px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        animation: fadeIn 0.3s ease;
        padding-top: 0;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .dropdown-content:before,
    .dropdown-content:after {
        display: none;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .services-grid, .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* 下载按钮样式调整 */
.iosbt {
    background-image: url('../img/logo/ios.png');
    width: 133px; /* 设置按钮宽度 */
    height: 40px; /* 设置按钮高度 */
    background-size: cover;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    bottom: 0;
}
.anbt {
    background-image: url('../img/logo/google.png');
    width: 133px; /* 设置按钮宽度 */
    height: 40px; /* 设置按钮高度 */
    background-size: cover;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    bottom: 0;
}

/* 关于我们部分样式 */
.about-us {
    padding: 60px 0;
    background-color: #fff;
}

.about-us .section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 关于我们标题样式 */
.about-us h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}

.about-us h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #0066cc;
    margin: 15px auto 0;
}

/* 介绍文字样式 */
.about-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 950px;
    margin: 0 auto 20px;
    line-height: 1.8;
    padding: 0 20px;
}

/* 特点网格布局 */
.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item h3 {
    color: #0066cc;
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* 统一标题样式 */
.hk-migration h2,
.professional-services h2,
.immigration-projects h2,
.contact-us h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.hk-migration h2:after,
.professional-services h2:after,
.immigration-projects h2:after,
.contact-us h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #0066cc;
    margin: 15px auto 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .about-intro {
        font-size: 16px;
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-item h3 {
        font-size: 18px;
    }
}

/* 统一各部分样式 */
.about-us,
.hk-migration,
.professional-services,
.immigration-projects,
.contact-us {
    padding: 60px 0;
    background-color: #fff;
}

/* 确保专业服务使用about-features样式 */
.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-item h3 {
    color: #0066cc;
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* 保持滚动条始终可见 */
html {
    overflow-y: scroll;  
}

/* 完全重寫模態窗口樣式 - 更美觀的設計 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    transition: opacity 0.3s ease-out;
    backdrop-filter: blur(3px);
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 5vh auto;
    width: 82%;
    max-width: 850px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 18px 25px;
    border-bottom: 1px solid #eaeaea;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#modalTitle {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    border: none;
    letter-spacing: normal;
}

.close-modal {
    font-size: 28px;
    font-weight: 300;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 20px;
    line-height: 1;
    opacity: 0.8;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: #333;
    background-color: #f5f5f5;
    opacity: 1;
}

#modalContent {
    padding: 25px 30px;
    overflow-y: auto;
    flex: 1;
    color: #444;
    line-height: 1.65;
    font-size: 15px;
}

#modalContent h3 {
    color: #0066cc;
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    padding-left: 12px;
}

#modalContent h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #0066cc;
    border-radius: 2px;
}

#modalContent h3:first-child {
    margin-top: 0;
}

#modalContent ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

#modalContent li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 5px;
}

/* 美化的自定義滾動條 */
#modalContent::-webkit-scrollbar {
    width: 8px;
}

#modalContent::-webkit-scrollbar-track {
    background: #f8f8f8;
    border-radius: 4px;
}

#modalContent::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
    border: 2px solid #f8f8f8;
}

#modalContent::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* 內容過渡動畫 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#modalContent h3, 
#modalContent ul, 
#modalContent p {
    animation: fadeInUp 0.4s ease-out forwards;
}

#modalContent h3 {
    animation-delay: 0.1s;
}

#modalContent ul, 
#modalContent p {
    animation-delay: 0.2s;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .modal-content {
        width: 92%;
        margin: 4vh auto;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    #modalTitle {
        font-size: 22px;
    }
    
    #modalContent {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 3vh auto;
    }
    
    #modalTitle {
        font-size: 20px;
    }
    
    .modal-header {
        padding: 12px 15px;
    }
    
    #modalContent {
        padding: 15px;
        font-size: 14px;
    }
    
    #modalContent h3 {
        font-size: 17px;
    }
}

/* 联系我们板块样式 */
.contact-us {
    background-color: #fff;
    padding: 60px 0;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.contact-option {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    transition: all 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-option h3 {
    color: #0066cc;
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.contact-option h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #0066cc;
}

.contact-option p {
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
}

.contact-email {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.contact-email .email-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.contact-email a {
    color: #0066cc;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
}

.contact-email a:hover {
    color: #004999;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .contact-option {
        padding: 20px;
    }
    
    .contact-option h3 {
        font-size: 20px;
    }
    
    .contact-email a {
        font-size: 16px;
    }
}

/* 统一所有section的基础样式 */
.hk-migration,
.professional-services,
.immigration-projects {
    padding: 60px 0;
}

/* 统一所有section的内容容器 */
.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 统一所有网格布局 */
.migration-gallery,
.service-gallery,
.project-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 统一所有图片项样式 */
.gallery-item {
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .migration-gallery,
    .service-gallery,
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-item img {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 576px) {
    .migration-gallery,
    .service-gallery,
    .project-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        aspect-ratio: 16/9;
    }
}

/* 專業服務部分样式 */
.professional-services {
    padding: 60px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-item h3 {
    color: #0066cc;
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
}

.service-item h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #0066cc;
}

.service-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 25px;
    }
    
    .service-item h3 {
        font-size: 18px;
    }
    
    .service-item p {
        font-size: 14px;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-intro {
        font-size: 16px;
    }
}

/* 移民項目样式 */
.immigration-projects {
    padding: 60px 0;
    background-color: #fff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.project-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.05);
}

.hot-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: #FFD700;
    color: #000;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.project-item h3 {
    padding: 15px 15px 10px;
    font-size: 18px;
    color: #333;
    margin: 0;
}

.project-item p {
    flex-grow: 1;
    padding: 0 15px 20px;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-image {
        height: 180px;
    }
}
