/* Taxation Page Styles */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.title-header h2 {
    font-size: 40px;
}


/* Hero Section */
.hero-section {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/tax-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}


/* Taxation Environment Section */
.taxation-environment {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.environment-content {
    max-width: 900px;
    margin: 0 auto;
}

.overview-text {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.overview-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.singapore-tax {
    background: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.singapore-tax h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.singapore-tax h3::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 10px;
    height: 2px;
    background: var(--primary-color);
}

.singapore-tax>ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.singapore-tax>ul>li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.singapore-tax>ul>li:hover {
    transform: translateX(10px);
}

.point-icon {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;

    /* clip-path: polygon(50% 0%, 0% 100%, 100% 100%); */
}

.point-icon>span {
    font-weight: 600;
    font-size: 15px;
    /* padding-top: 11px; */
}

.singapore-tax>ul>li>span {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    flex: 1;
}

.indonesia-tax {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.indonesia-tax h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.indonesia-tax h3::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 10px;
    height: 2px;
    background: var(--primary-color);
}

.indonesia-tax p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.15);
}

.service-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    padding: 20px;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 25px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-weight: 600;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1f9968 0%, #408157 100%);
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/pic/video-3.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
}

.cta-content {
    position: relative;
    z-index: 9;
}

.cta-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button .layui-icon {
    font-size: 12px;
}

.cta-button.primary {
    background: #ffffff;
    color: var(--primary-color);
}

.cta-button.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cta-button.secondary:hover {
    background: #ffffff;
    color: #1f9968;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .cta-content h3 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .singapore-tax>ul>li {
        flex-direction: column;
        text-align: center;
        padding: 15px;
        margin-bottom: 20px;
    }

    .point-icon {
        margin-right: 0;
        margin-bottom: 15px;
        width: 35px;
        height: 35px;
    }

    .point-icon>span {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .hero-section,
    .taxation-environment,
    .services-section,
    .cta-section {
        padding: 60px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-button {
        max-width: 280px;
        justify-content: center;
        padding: 12px 24px;
    }

    /* 移动端卡片优化 */
    .service-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .service-card h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .service-card p {
        font-size: 13px;
        line-height: 1.5;
    }

    /* 移动端税务环境部分优化 */
    .taxation-environment {
        padding: 60px 0;
    }

    .overview-text {
        padding: 20px;
        margin-bottom: 30px;
    }

    .overview-text p {
        font-size: 16px;
        line-height: 1.6;
    }

    .singapore-tax,
    .indonesia-tax {
        padding: 25px 20px;
        margin-bottom: 25px;
    }

    .singapore-tax h3,
    .indonesia-tax h3 {
        font-size: 20px;
        margin-bottom: 20px;
        padding-left: 15px;
    }

    .singapore-tax h3::before,
    .indonesia-tax h3::before {
        width: 8px;
    }

    .singapore-tax>ul>li>span,
    .indonesia-tax p {
        font-size: 14px;
        line-height: 1.5;
    }

    /* 移动端装饰元素调整 */
    .decoration-line {
        width: 40px;
        margin: 0 10px;
    }

    /* 移动端标题装饰优化 */
    .title-decoration {
        gap: 12px;
        margin-top: 15px;
    }

    .decoration-dot {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

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

    .cta-content h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .service-card {
        padding: 25px 15px;
        margin-bottom: 15px;
    }

    .singapore-tax,
    .indonesia-tax {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .singapore-tax h3,
    .indonesia-tax h3 {
        font-size: 18px;
        margin-bottom: 15px;
        padding-left: 12px;
    }

    .singapore-tax>ul>li {
        padding: 12px;
        margin-bottom: 15px;
    }

    .point-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 12px;
    }

    .point-icon>span {
        font-size: 12px;
    }


    .overview-text {
        padding: 15px;
        margin-bottom: 20px;
    }

    .overview-text p {
        font-size: 14px;
        line-height: 1.5;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        padding: 12px;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.4;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 250px;
    }

    .decoration-line {
        width: 30px;
        margin: 0 8px;
    }

    .title-decoration {
        gap: 10px;
        margin-top: 12px;
    }

    .decoration-dot {
        width: 5px;
        height: 5px;
    }

    .taxation-environment,
    .services-section,
    .cta-section {
        padding: 40px 0;
    }
}

/* 移动端触摸优化 */
@media (max-width: 768px) {

    .service-card,
    .singapore-tax>ul>li,
    .cta-button {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .service-card:active,
    .singapore-tax>ul>li:active {
        transform: scale(0.98);
    }

    .cta-button:active {
        transform: scale(0.95);
    }

    /* 移动端图片优化 */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* 移动端图标优化 */
    .service-icon img {
        max-width: 100%;
        height: auto;
    }

    /* 移动端按钮触摸区域优化 */
    .cta-button,
    .service-card,
    .singapore-tax>ul>li {
        min-height: 44px;
        /* 确保触摸区域足够大 */
    }
}

/* 移动端滚动优化 */
@media (max-width: 768px) {

    .services-grid,
    .singapore-tax>ul {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* 移动端性能优化 */
@media (max-width: 768px) {

    /* 减少不必要的动画，提升性能 */
    .service-card:hover,
    .singapore-tax>ul>li:hover {
        transform: none;
    }

    /* 移动端阴影优化 */
    .service-card,
    .singapore-tax,
    .indonesia-tax,
    .overview-text {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    /* 移动端边框优化 */
    .service-card:hover {
        border-color: transparent;
    }
}

/* 移动端无障碍优化 */
@media (max-width: 768px) {

    /* 确保足够的颜色对比度 */
    .service-card h3,
    .singapore-tax h3,
    .indonesia-tax h3 {
        color: #1f9968;
    }

    /* 移动端焦点状态优化 */
    .cta-button:focus,
    .service-card:focus {
        outline: 2px solid #1f9968;
        outline-offset: 2px;
    }
}

/* 移动端加载状态优化 */
@media (max-width: 768px) {

    .service-card,
    .singapore-tax>ul>li {
        will-change: transform;
        backface-visibility: hidden;
    }


    .hero-section {
        min-height: 200px;
        height: auto;
    }

    .hero-content h1 {
        font-size: 23px;
        margin-bottom: 5px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .hero-underline{
        width: 50px;
        height: 3px;
    }

    @keyframes expandWidth {
        from {
            width: 0;
        }
    
        to {
            width: 50px;
        }
    }

    .title-header h2{
        text-align: center;
        font-size: 30px;
        line-height: 35px;
    }
    .title-decoration{
        justify-content: center;
    }
    .decoration-line{
        width: 40px;
        flex: none;
    }
    .decoration-dot{
        width: 10px;
        height: 10px;
    }
    .title-header{
        margin-bottom: 20px;
    }
    .title-header p{
        font-size: 15px;
        text-align: center;
        margin: 10px 0;
    }

    .taxation-environment .title-header h2{
        font-size: 20px;
        line-height: 30px;
    }
}



