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

body {
    font-family: 'Microsoft JhengHei', '微軟正黑體', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header-top {
    background-color: #1a5f3f;
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
}

@media (max-width: 600px) {
    .header-top {
        display: none;
    }
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info .phone,
.contact-info .email {
    color: #fff;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.top-nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-nav-menu a:hover {
    opacity: 0.8;
}

.language-toggle {
    font-size: 14px;
}

.language-toggle .lang-link {
    text-decoration: none;
    color: #fff;
}

.language-toggle .lang-link:hover {
    opacity: 0.8;
}

.main-nav {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    position: relative;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    order: -1; /* 放在最前面 */
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #1a5f3f;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.desktop-only {
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    max-height: 500px;
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background-color: #1a5f3f;
    color: #fff;
}

.mobile-lang-toggle {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.mobile-lang-toggle .lang-link {
    color: #1a5f3f;
    font-weight: 500;
}

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

.tree-icon {
    font-size: 32px;
}

.logo h1 {
    font-size: 20px;
    color: #1a5f3f;
    font-weight: bold;
    margin: 0;
}

.logo-en {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a5f3f;
}

/* Hero Section - Default styles for pages without carousel */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    min-height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/photo-1441974231531-c6227db76b6e.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero with carousel (for index page) - remove padding and background */
.hero.has-carousel,
.hero:has(.hero-carousel) {
    padding: 0;
    background-image: none;
    display: block;
}

/* Fallback for browsers that don't support :has() */
@supports selector(:has(*)) {
    .hero:has(.hero-carousel) {
        padding: 0;
        background-image: none;
        display: block;
    }
}

/* Hero carousel container */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #fff;
    width: 32px;
    border-radius: 6px;
    border-color: #fff;
}

.company-name {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
    font-size: 24px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}



.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
    font-weight: bold;
}

/* Unified Section Header Styles */
.about-header,
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header .section-title,
.services-header .section-title {
    margin-bottom: 15px;
    color: #1a5f3f;
    font-size: 42px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.about-header .section-title::after,
.services-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-item h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    text-align: center;
    margin: 0;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/photo-1441974231531-c6227db76b6e.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section .section-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    text-align: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 50px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a5f3f;
}

.form-group textarea {
    resize: vertical;
}

.whatsapp-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 95, 63, 0.3);
}

.whatsapp-btn:active {
    transform: translateY(0);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.contact-info-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.office-hours {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.office-hours h3,
.contact-details h3 {
    color: #1a5f3f;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.office-hours p,
.contact-details p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-details p strong {
    color: #2c3e50;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo .tree-icon {
    font-size: 40px;
}

.footer-logo h3 {
    color: #fff;
    font-size: 20px;
    margin: 0;
    font-weight: bold;
}

.footer-logo p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.footer-hours h3,
.footer-contact h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-hours p,
.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-contact p strong {
    color: #fff;
}

/* Floating Phone Icon */
.floating-phone {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-phone:active {
    transform: scale(0.95);
}

.floating-phone svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .floating-phone {
        right: 15px;
        bottom: 75px;
        width: 50px;
        height: 50px;
    }

    .floating-phone svg {
        width: 24px;
        height: 24px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-nav {
        flex-direction: column;
        gap: 10px;
    }

    .top-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-wrapper {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .nav-menu {
        display: none !important;
    }

    .logo {
        flex: 1;
        justify-content: flex-start;
    }

    .logo h1 {
        font-size: 16px;
    }

    .logo-en {
        font-size: 10px;
    }

    .tree-icon {
        font-size: 24px;
    }

    .company-name {
        font-size: 32px;
    }

    .tagline {
        font-size: 18px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .floating-phone {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-phone svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 24px;
    }

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

    .contact-form,
    .contact-info-section {
        padding: 25px;
    }

    .hero {
        min-height: 400px;
        padding: 100px 0;
    }

    .hero.has-carousel,
    .hero:has(.hero-carousel) {
        padding: 0;
    }

    .hero-carousel {
        height: 400px;
        min-height: 400px;
    }

    .carousel-slide {
        height: 400px;
        min-height: 400px;
        padding: 80px 0;
    }

    .slide-image {
        min-height: 400px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-dots {
        bottom: 20px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }
}

/* Active Navigation Link */
.nav-menu a.active,
.top-nav-menu a.active {
    color: #1a5f3f;
    font-weight: bold;
}

.top-nav-menu a.active {
    color: #fff;
    opacity: 1;
}

/* About Section Styles */
.about-content {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 25px;
    font-weight: 500;
    letter-spacing: 2px;
}

.about-main-content {
    margin-bottom: 80px;
}

.about-intro-card {
    background: #fff;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.about-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.intro-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-intro-card h3 {
    font-size: 28px;
    color: #1a5f3f;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-intro-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 95, 63, 0.05), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(26, 95, 63, 0.15);
    border-color: #1a5f3f;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    font-size: 20px;
    color: #1a5f3f;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.about-services-overview {
    background: #fff;
    border-radius: 15px;
    padding: 60px 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.about-services-overview h3 {
    font-size: 32px;
    color: #1a5f3f;
    margin-bottom: 35px;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 20px;
}

.about-services-overview h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.services-overview-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-overview-text {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

.services-overview-text p {
    margin-bottom: 25px;
}

.services-overview-text p:last-of-type {
    margin-bottom: 35px;
}

.about-cta {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 95, 63, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 95, 63, 0.4);
    color: #fff;
}

.cta-button:active {
    transform: translateY(-1px);
}

.services-overview-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.services-overview-image:hover {
    transform: scale(1.02);
}

.services-overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.services-overview-image:hover img {
    transform: scale(1.1);
}

/* About Page Legacy Styles (for about.html page) */
.about-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text .more-info {
    margin-top: 30px;
    font-weight: 500;
}

.about-text .more-info a {
    color: #1a5f3f;
    text-decoration: none;
}

.about-text .more-info a:hover {
    text-decoration: underline;
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Page Styles */
.services-page {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.services-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Services Tabs Container */
.services-tabs-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: sticky;
    top: 80px;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
}

.services-tabs-inner {
    padding: 24px 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

/* Sticky state - full width */
.services-tabs-container.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-color: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(26, 95, 63, 0.1);
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-tabs-container.is-sticky .services-tabs-inner {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
}

/* 大屏幕：确保内容区域和 container 的内容区域对齐 */
@media (min-width: 1320px) {
    /* container 外部宽度 1240px (1200px + 20px*2)，内容区域宽度 1200px */
    /* container 左边距 = (100vw - 1240px) / 2 */
    /* container 内容区域左边距 = (100vw - 1240px) / 2 + 20px */
    /* 让 .services-tabs-inner 的内容区域和 container 的内容区域对齐 */
    /* .services-tabs-inner 需要包含 60px*2 padding，所以总宽度是 1320px */
    .services-tabs-container.is-sticky .services-tabs-inner {
        max-width: 1320px; /* 1200px 内容区域 + 60px*2 padding */
        margin-left: calc((100vw - 1240px) / 2 + 20px - 60px);
        margin-right: calc((100vw - 1240px) / 2 + 20px - 60px);
        padding-left: 60px;
        padding-right: 60px;
        box-sizing: border-box;
    }
    
    /* 箭头按钮位置保持在 12px（相对于 .services-tabs-inner） */
    .services-tabs-container.is-sticky .tab-arrow-left {
        left: 12px;
    }
    
    .services-tabs-container.is-sticky .tab-arrow-right {
        right: 12px;
    }
}

/* 中等屏幕和小屏幕：保持合理的 padding */
@media (max-width: 1319px) {
    .services-tabs-container.is-sticky .services-tabs-inner {
        max-width: 100%;
        padding-left: 60px;
        padding-right: 60px;
    }
}

.services-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
    padding: 4px 0;
    margin: -4px 0;
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.services-tabs-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Tab Arrow Buttons */
.tab-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #1a5f3f;
    border-radius: 50%;
    color: #1a5f3f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 101;
    box-shadow: 0 2px 8px rgba(26, 95, 63, 0.2);
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.tab-arrow:hover {
    background: #1a5f3f;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(26, 95, 63, 0.3);
}

.tab-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.tab-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.tab-arrow-left {
    left: 12px;
}

.tab-arrow-right {
    right: 12px;
}

.tab-arrow svg {
    width: 20px;
    height: 20px;
}

.services-tabs {
    display: flex;
    gap: 10px;
    padding: 5px 0;
    min-width: max-content;
}

.service-tab {
    flex-shrink: 0;
    padding: 12px 20px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.service-tab:hover {
    background-color: #e9ecef;
    border-color: #1a5f3f;
    color: #1a5f3f;
}

.service-tab.active {
    background-color: #1a5f3f;
    border-color: #1a5f3f;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26, 95, 63, 0.3);
}

.services-gallery {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s, opacity 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0;
    border: none;
}

.modal-close svg {
    width: 20px;
    height: 20px;
    display: block;
}

.modal-close:hover {
    transform: scale(1.1);
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-service-name {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    background-color: rgba(26, 95, 63, 0.8);
    padding: 10px 25px;
    border-radius: 25px;
    max-width: 80%;
    z-index: 10001;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 80%;
}

/* Modal Navigation Buttons */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.modal-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modal-tip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.modal-tip.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

@media (max-width: 768px) {
    .modal-tip {
        padding: 12px 24px;
        font-size: 14px;
        max-width: 80%;
        text-align: center;
    }
}

.modal-nav-prev {
    left: 30px;
}

.modal-nav-next {
    right: 30px;
}

.modal-nav svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    .modal-close {
        top: 15px;
        right: 20px;
        width: 35px;
        height: 35px;
    }

    .modal-close svg {
        width: 18px;
        height: 18px;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
    }

    .modal-nav-prev {
        left: 15px;
    }

    .modal-nav-next {
        right: 15px;
    }

    .modal-nav svg {
        width: 20px;
        height: 20px;
    }

    .modal-service-name {
        top: 15px;
        font-size: 16px;
        padding: 8px 18px;
        border-radius: 20px;
    }

    .modal-caption {
        bottom: 15px;
        font-size: 16px;
        padding: 8px 15px;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.contact-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-page-title {
    font-size: 42px;
    color: #1a5f3f;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.contact-page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.contact-page-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 25px;
    font-weight: 500;
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-section {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.form-header {
    margin-bottom: 35px;
}

.form-header h3 {
    font-size: 28px;
    color: #1a5f3f;
    margin-bottom: 10px;
    font-weight: bold;
}

.form-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.contact-form-page {
    background: transparent;
    padding: 0;
}

.contact-form-page .form-group {
    margin-bottom: 25px;
}

.contact-form-page label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.contact-form-page .required {
    color: #e74c3c;
    margin-left: 3px;
}

.contact-form-page input,
.contact-form-page textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}

.contact-form-page input:focus,
.contact-form-page textarea:focus {
    outline: none;
    border-color: #1a5f3f;
    box-shadow: 0 0 0 3px rgba(26, 95, 63, 0.1);
}

.contact-form-page textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn-page {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(26, 95, 63, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn-page::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn-page:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn-page:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 95, 63, 0.4);
}

.submit-btn-page:active {
    transform: translateY(0);
}

.submit-btn-page svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.submit-btn-page:hover svg {
    transform: translateX(3px);
}

.contact-info-page {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-header {
    margin-bottom: 30px;
}

.info-header h3 {
    font-size: 28px;
    color: #1a5f3f;
    margin-bottom: 10px;
    font-weight: bold;
}

.info-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.info-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1a5f3f 0%, #27ae60 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 95, 63, 0.15);
    border-color: rgba(26, 95, 63, 0.1);
}

.info-item:hover::before {
    transform: scaleY(1);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-content {
    flex: 1;
}

.info-content h3 {
    color: #1a5f3f;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.info-content a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #1a5f3f;
    text-decoration: underline;
}

/* Map Section */
.map-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Floating WhatsApp Icon */
.floating-whatsapp {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-whatsapp:active {
    transform: scale(0.95);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile Responsive - About Section */
@media (max-width: 1024px) {
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-overview-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-content,
    .services {
        padding: 60px 0;
    }
    
    .about-header .section-title,
    .services-header .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .about-header,
    .services-header {
        margin-bottom: 50px;
    }
    
    .about-intro-card {
        padding: 35px 25px;
        margin-bottom: 40px;
    }
    
    .intro-icon {
        font-size: 48px;
    }
    
    .about-intro-card h3 {
        font-size: 24px;
    }
    
    .about-intro-card p {
        font-size: 16px;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        font-size: 40px;
    }
    
    .feature-card h4 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .about-services-overview {
        padding: 40px 25px;
        margin-top: 30px;
    }
    
    .about-services-overview h3 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .services-overview-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-overview-text {
        font-size: 15px;
    }
    
    .services-overview-text p {
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 15px;
        display: block;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
    }
    
    /* Legacy about page styles */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        position: static;
    }
}

@media (max-width: 480px) {
    .about-header .section-title,
    .services-header .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .about-header,
    .services-header {
        margin-bottom: 40px;
    }
    
    .about-intro-card {
        padding: 25px 20px;
    }
    
    .intro-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .about-intro-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .about-intro-card p {
        font-size: 15px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .feature-card h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 13px;
    }
    
    .about-services-overview {
        padding: 30px 20px;
    }
    
    .about-services-overview h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .services-overview-text {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
    }
    
    .services-tabs-container {
        position: sticky;
        top: 60px;
        border-radius: 0;
    }

    .services-tabs-container.is-sticky {
        top: 0;
    }

    .services-tabs-inner {
        padding: 15px 50px;
    }

    .services-tabs-container.is-sticky .services-tabs-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tab-arrow {
        width: 36px;
        height: 36px;
    }

    .tab-arrow-left {
        left: 8px;
    }

    .tab-arrow-right {
        right: 8px;
    }

    .tab-arrow svg {
        width: 18px;
        height: 18px;
    }

    .services-tabs-wrapper {
        padding: 0 5px;
        margin: 0 -5px;
    }

    .services-tabs {
        gap: 10px;
        padding: 6px 0;
    }

    .service-tab {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-tab:active {
        transform: scale(0.98);
    }

    .service-tab.active {
        transform: translateY(-1px);
    }

    .services-gallery {
        padding: 25px;
    }

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

    .contact-page {
        padding: 60px 0;
    }
    
    .contact-page-header {
        margin-bottom: 40px;
    }
    
    .contact-page-title {
        font-size: 32px;
    }
    
    .contact-page-subtitle {
        font-size: 16px;
    }
    
    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section {
        padding: 35px 30px;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    .info-header h3 {
        font-size: 24px;
    }
    
    .info-item {
        padding: 20px;
        gap: 15px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
    }
    
    .info-content h3 {
        font-size: 16px;
    }
    
    .info-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .services-gallery {
        padding: 20px;
    }

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

    .services-tabs-inner {
        padding: 10px 45px;
    }

    .services-tabs-container.is-sticky .services-tabs-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tab-arrow {
        width: 32px;
        height: 32px;
    }

    .tab-arrow-left {
        left: 6px;
    }

    .tab-arrow-right {
        right: 6px;
    }

    .tab-arrow svg {
        width: 16px;
        height: 16px;
    }

    .services-tabs {
        gap: 8px;
        padding: 5px 0;
    }

    .service-tab {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 7px;
        min-height: 40px;
    }

    .service-tab:hover,
    .service-tab.active {
        transform: translateY(-1px);
    }

    .contact-page {
        padding: 40px 0;
    }
    
    .contact-page-header {
        margin-bottom: 30px;
    }
    
    .contact-page-title {
        font-size: 28px;
    }
    
    .contact-page-subtitle {
        font-size: 15px;
        margin-top: 15px;
    }
    
    .contact-page-wrapper {
        gap: 30px;
    }
    
    .contact-form-section {
        padding: 30px 20px;
    }
    
    .form-header {
        margin-bottom: 25px;
    }
    
    .form-header h3 {
        font-size: 22px;
    }
    
    .form-header p {
        font-size: 14px;
    }
    
    .contact-form-page .form-group {
        margin-bottom: 20px;
    }
    
    .contact-form-page label {
        font-size: 14px;
    }
    
    .contact-form-page input,
    .contact-form-page textarea {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .submit-btn-page {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .info-header {
        margin-bottom: 25px;
    }
    
    .info-header h3 {
        font-size: 22px;
    }
    
    .info-header p {
        font-size: 14px;
    }
    
    .info-items-wrapper {
        gap: 15px;
    }
    
    .info-item {
        padding: 20px 15px;
        gap: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
    }
    
    .info-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .info-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .info-content p {
        font-size: 14px;
    }

    .map-container {
        height: 300px;
    }
}

/* Mobile Menu Toggle (for better mobile UX) */
@media (max-width: 768px) {
    .top-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .top-nav-menu li {
        font-size: 13px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-top-content {
        flex-wrap: wrap;
    }

    .contact-info {
        font-size: 12px;
    }
}

/* Touch-friendly buttons for mobile */
@media (max-width: 768px) {
    .whatsapp-btn,
    .submit-btn-page {
        min-height: 48px; /* Minimum touch target size */
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-tap-highlight-color: transparent;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Improve touch targets */
    .nav-menu a,
    .mobile-nav-menu a,
    .top-nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(26, 95, 63, 0.1);
    }

    /* Prevent text selection on tap */
    .mobile-menu-toggle,
    .floating-phone,
    .floating-whatsapp {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}


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

body {
    font-family: 'Microsoft JhengHei', '微軟正黑體', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header-top {
    background-color: #1a5f3f;
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
}

@media (max-width: 600px) {
    .header-top {
        display: none;
    }
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info .phone,
.contact-info .email {
    color: #fff;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.top-nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-nav-menu a:hover {
    opacity: 0.8;
}

.language-toggle {
    font-size: 14px;
}

.language-toggle .lang-link {
    text-decoration: none;
    color: #fff;
}

.language-toggle .lang-link:hover {
    opacity: 0.8;
}

.main-nav {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    position: relative;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    order: -1; /* 放在最前面 */
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #1a5f3f;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.desktop-only {
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    max-height: 500px;
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background-color: #1a5f3f;
    color: #fff;
}

.mobile-lang-toggle {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.mobile-lang-toggle .lang-link {
    color: #1a5f3f;
    font-weight: 500;
}

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

.tree-icon {
    font-size: 32px;
}

.logo h1 {
    font-size: 20px;
    color: #1a5f3f;
    font-weight: bold;
    margin: 0;
}

.logo-en {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a5f3f;
}

/* Hero Section - Default styles for pages without carousel */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    min-height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero with carousel (for index page) - remove padding and background */
.hero.has-carousel,
.hero:has(.hero-carousel) {
    padding: 0;
    background-image: none;
    display: block;
}

/* Fallback for browsers that don't support :has() */
@supports selector(:has(*)) {
    .hero:has(.hero-carousel) {
        padding: 0;
        background-image: none;
        display: block;
    }
}

/* Hero carousel container */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #fff;
    width: 32px;
    border-radius: 6px;
    border-color: #fff;
}

.company-name {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
    font-size: 24px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}



.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
    font-weight: bold;
}

/* Unified Section Header Styles */
.about-header,
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header .section-title,
.services-header .section-title {
    margin-bottom: 15px;
    color: #1a5f3f;
    font-size: 42px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.about-header .section-title::after,
.services-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-item h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    text-align: center;
    margin: 0;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 100px 0;
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section .section-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    text-align: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 50px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a5f3f;
}

.form-group textarea {
    resize: vertical;
}

.whatsapp-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 95, 63, 0.3);
}

.whatsapp-btn:active {
    transform: translateY(0);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.contact-info-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.office-hours {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.office-hours h3,
.contact-details h3 {
    color: #1a5f3f;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.office-hours p,
.contact-details p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-details p strong {
    color: #2c3e50;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo .tree-icon {
    font-size: 40px;
}

.footer-logo h3 {
    color: #fff;
    font-size: 20px;
    margin: 0;
    font-weight: bold;
}

.footer-logo p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.footer-hours h3,
.footer-contact h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-hours p,
.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-contact p strong {
    color: #fff;
}

/* Floating Phone Icon */
.floating-phone {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-phone:active {
    transform: scale(0.95);
}

.floating-phone svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .floating-phone {
        right: 15px;
        bottom: 75px;
        width: 50px;
        height: 50px;
    }

    .floating-phone svg {
        width: 24px;
        height: 24px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-nav {
        flex-direction: column;
        gap: 10px;
    }

    .top-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-wrapper {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .nav-menu {
        display: none !important;
    }

    .logo {
        flex: 1;
        justify-content: flex-start;
    }

    .logo h1 {
        font-size: 16px;
    }

    .logo-en {
        font-size: 10px;
    }

    .tree-icon {
        font-size: 24px;
    }

    .company-name {
        font-size: 32px;
    }

    .tagline {
        font-size: 18px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .floating-phone {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-phone svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 24px;
    }

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

    .contact-form,
    .contact-info-section {
        padding: 25px;
    }

    .hero {
        min-height: 400px;
        padding: 100px 0;
    }

    .hero.has-carousel,
    .hero:has(.hero-carousel) {
        padding: 0;
    }

    .hero-carousel {
        height: 400px;
        min-height: 400px;
    }

    .carousel-slide {
        height: 400px;
        min-height: 400px;
        padding: 80px 0;
    }

    .slide-image {
        min-height: 400px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-dots {
        bottom: 20px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }
}

/* Active Navigation Link */
.nav-menu a.active,
.top-nav-menu a.active {
    color: #1a5f3f;
    font-weight: bold;
}

.top-nav-menu a.active {
    color: #fff;
    opacity: 1;
}

/* About Section Styles */
.about-content {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 25px;
    font-weight: 500;
    letter-spacing: 2px;
}

.about-main-content {
    margin-bottom: 80px;
}

.about-intro-card {
    background: #fff;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.about-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.intro-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-intro-card h3 {
    font-size: 28px;
    color: #1a5f3f;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-intro-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 95, 63, 0.05), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(26, 95, 63, 0.15);
    border-color: #1a5f3f;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    font-size: 20px;
    color: #1a5f3f;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.about-services-overview {
    background: #fff;
    border-radius: 15px;
    padding: 60px 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.about-services-overview h3 {
    font-size: 32px;
    color: #1a5f3f;
    margin-bottom: 35px;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 20px;
}

.about-services-overview h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.services-overview-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-overview-text {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

.services-overview-text p {
    margin-bottom: 25px;
}

.services-overview-text p:last-of-type {
    margin-bottom: 35px;
}

.about-cta {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 95, 63, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 95, 63, 0.4);
    color: #fff;
}

.cta-button:active {
    transform: translateY(-1px);
}

.services-overview-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.services-overview-image:hover {
    transform: scale(1.02);
}

.services-overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.services-overview-image:hover img {
    transform: scale(1.1);
}

/* About Page Legacy Styles (for about.html page) */
.about-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text .more-info {
    margin-top: 30px;
    font-weight: 500;
}

.about-text .more-info a {
    color: #1a5f3f;
    text-decoration: none;
}

.about-text .more-info a:hover {
    text-decoration: underline;
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Page Styles */
.services-page {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.services-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Services Tabs Container */
.services-tabs-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: sticky;
    top: 80px;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
}

.services-tabs-inner {
    padding: 24px 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

/* Sticky state - full width */
.services-tabs-container.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-color: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(26, 95, 63, 0.1);
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-tabs-container.is-sticky .services-tabs-inner {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
}

/* 大屏幕：确保内容区域和 container 的内容区域对齐 */
@media (min-width: 1320px) {
    /* container 外部宽度 1240px (1200px + 20px*2)，内容区域宽度 1200px */
    /* container 左边距 = (100vw - 1240px) / 2 */
    /* container 内容区域左边距 = (100vw - 1240px) / 2 + 20px */
    /* 让 .services-tabs-inner 的内容区域和 container 的内容区域对齐 */
    /* .services-tabs-inner 需要包含 60px*2 padding，所以总宽度是 1320px */
    .services-tabs-container.is-sticky .services-tabs-inner {
        max-width: 1320px; /* 1200px 内容区域 + 60px*2 padding */
        margin-left: calc((100vw - 1240px) / 2 + 20px - 60px);
        margin-right: calc((100vw - 1240px) / 2 + 20px - 60px);
        padding-left: 60px;
        padding-right: 60px;
        box-sizing: border-box;
    }
    
    /* 箭头按钮位置保持在 12px（相对于 .services-tabs-inner） */
    .services-tabs-container.is-sticky .tab-arrow-left {
        left: 12px;
    }
    
    .services-tabs-container.is-sticky .tab-arrow-right {
        right: 12px;
    }
}

/* 中等屏幕和小屏幕：保持合理的 padding */
@media (max-width: 1319px) {
    .services-tabs-container.is-sticky .services-tabs-inner {
        max-width: 100%;
        padding-left: 60px;
        padding-right: 60px;
    }
}

.services-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
    padding: 4px 0;
    margin: -4px 0;
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.services-tabs-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Tab Arrow Buttons */
.tab-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #1a5f3f;
    border-radius: 50%;
    color: #1a5f3f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 101;
    box-shadow: 0 2px 8px rgba(26, 95, 63, 0.2);
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.tab-arrow:hover {
    background: #1a5f3f;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(26, 95, 63, 0.3);
}

.tab-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.tab-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.tab-arrow-left {
    left: 12px;
}

.tab-arrow-right {
    right: 12px;
}

.tab-arrow svg {
    width: 20px;
    height: 20px;
}

.services-tabs {
    display: flex;
    gap: 10px;
    padding: 5px 0;
    min-width: max-content;
}

.service-tab {
    flex-shrink: 0;
    padding: 12px 20px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.service-tab:hover {
    background-color: #e9ecef;
    border-color: #1a5f3f;
    color: #1a5f3f;
}

.service-tab.active {
    background-color: #1a5f3f;
    border-color: #1a5f3f;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26, 95, 63, 0.3);
}

.services-gallery {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s, opacity 0.3s;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-close:hover {
    transform: scale(1.1);
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 80%;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }

    .modal-caption {
        bottom: 15px;
        font-size: 16px;
        padding: 8px 15px;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 80px 0;
    background-color: #fff;
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-page {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-form-page .form-group {
    margin-bottom: 20px;
}

.contact-form-page input,
.contact-form-page textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.contact-form-page input:focus,
.contact-form-page textarea:focus {
    outline: none;
    border-color: #1a5f3f;
}

.submit-btn-page {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn-page:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 95, 63, 0.3);
}

.contact-info-page {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-item h3 {
    color: #1a5f3f;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.info-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Map Section */
.map-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Floating WhatsApp Icon */
.floating-whatsapp {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-whatsapp:active {
    transform: scale(0.95);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile Responsive - About Section */
@media (max-width: 1024px) {
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-overview-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-content,
    .services {
        padding: 60px 0;
    }
    
    .about-header .section-title,
    .services-header .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .about-header,
    .services-header {
        margin-bottom: 50px;
    }
    
    .about-intro-card {
        padding: 35px 25px;
        margin-bottom: 40px;
    }
    
    .intro-icon {
        font-size: 48px;
    }
    
    .about-intro-card h3 {
        font-size: 24px;
    }
    
    .about-intro-card p {
        font-size: 16px;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        font-size: 40px;
    }
    
    .feature-card h4 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .about-services-overview {
        padding: 40px 25px;
        margin-top: 30px;
    }
    
    .about-services-overview h3 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .services-overview-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-overview-text {
        font-size: 15px;
    }
    
    .services-overview-text p {
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 15px;
        display: block;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
    }
    
    /* Legacy about page styles */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        position: static;
    }
}

@media (max-width: 480px) {
    .about-header .section-title,
    .services-header .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .about-header,
    .services-header {
        margin-bottom: 40px;
    }
    
    .about-intro-card {
        padding: 25px 20px;
    }
    
    .intro-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .about-intro-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .about-intro-card p {
        font-size: 15px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .feature-card h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 13px;
    }
    
    .about-services-overview {
        padding: 30px 20px;
    }
    
    .about-services-overview h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .services-overview-text {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
    }
    
    .services-tabs-container {
        position: sticky;
        top: 60px;
        border-radius: 0;
    }

    .services-tabs-container.is-sticky {
        top: 0;
    }

    .services-tabs-inner {
        padding: 15px 50px;
    }

    .services-tabs-container.is-sticky .services-tabs-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tab-arrow {
        width: 36px;
        height: 36px;
    }

    .tab-arrow-left {
        left: 8px;
    }

    .tab-arrow-right {
        right: 8px;
    }

    .tab-arrow svg {
        width: 18px;
        height: 18px;
    }

    .services-tabs-wrapper {
        padding: 0 5px;
        margin: 0 -5px;
    }

    .services-tabs {
        gap: 10px;
        padding: 6px 0;
    }

    .service-tab {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-tab:active {
        transform: scale(0.98);
    }

    .service-tab.active {
        transform: translateY(-1px);
    }

    .services-gallery {
        padding: 25px;
    }

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

    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .services-gallery {
        padding: 20px;
    }

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

    .services-tabs-inner {
        padding: 10px 45px;
    }

    .services-tabs-container.is-sticky .services-tabs-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tab-arrow {
        width: 32px;
        height: 32px;
    }

    .tab-arrow-left {
        left: 6px;
    }

    .tab-arrow-right {
        right: 6px;
    }

    .tab-arrow svg {
        width: 16px;
        height: 16px;
    }

    .services-tabs {
        gap: 8px;
        padding: 5px 0;
    }

    .service-tab {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 7px;
        min-height: 40px;
    }

    .service-tab:hover,
    .service-tab.active {
        transform: translateY(-1px);
    }

    .contact-form-page {
        padding: 25px;
    }

    .info-item {
        padding: 20px;
    }

    .map-container {
        height: 300px;
    }
}

/* Mobile Menu Toggle (for better mobile UX) */
@media (max-width: 768px) {
    .top-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .top-nav-menu li {
        font-size: 13px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-top-content {
        flex-wrap: wrap;
    }

    .contact-info {
        font-size: 12px;
    }
}

/* Touch-friendly buttons for mobile */
@media (max-width: 768px) {
    .whatsapp-btn,
    .submit-btn-page {
        min-height: 48px; /* Minimum touch target size */
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-tap-highlight-color: transparent;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Improve touch targets */
    .nav-menu a,
    .mobile-nav-menu a,
    .top-nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(26, 95, 63, 0.1);
    }

    /* Prevent text selection on tap */
    .mobile-menu-toggle,
    .floating-phone,
    .floating-whatsapp {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}


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

body {
    font-family: 'Microsoft JhengHei', '微軟正黑體', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header-top {
    background-color: #1a5f3f;
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
}

@media (max-width: 600px) {
    .header-top {
        display: none;
    }
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info .phone,
.contact-info .email {
    color: #fff;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.top-nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-nav-menu a:hover {
    opacity: 0.8;
}

.language-toggle {
    font-size: 14px;
}

.language-toggle .lang-link {
    text-decoration: none;
    color: #fff;
}

.language-toggle .lang-link:hover {
    opacity: 0.8;
}

.main-nav {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    position: relative;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    order: -1; /* 放在最前面 */
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #1a5f3f;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.desktop-only {
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    max-height: 500px;
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background-color: #1a5f3f;
    color: #fff;
}

.mobile-lang-toggle {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.mobile-lang-toggle .lang-link {
    color: #1a5f3f;
    font-weight: 500;
}

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

.tree-icon {
    font-size: 32px;
}

.logo h1 {
    font-size: 20px;
    color: #1a5f3f;
    font-weight: bold;
    margin: 0;
}

.logo-en {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a5f3f;
}

/* Hero Section - Default styles for pages without carousel */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    min-height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero with carousel (for index page) - remove padding and background */
.hero.has-carousel,
.hero:has(.hero-carousel) {
    padding: 0;
    background-image: none;
    display: block;
}

/* Fallback for browsers that don't support :has() */
@supports selector(:has(*)) {
    .hero:has(.hero-carousel) {
        padding: 0;
        background-image: none;
        display: block;
    }
}

/* Hero carousel container */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #fff;
    width: 32px;
    border-radius: 6px;
    border-color: #fff;
}

.company-name {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
    font-size: 24px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}



.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
    font-weight: bold;
}

/* Unified Section Header Styles */
.about-header,
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header .section-title,
.services-header .section-title {
    margin-bottom: 15px;
    color: #1a5f3f;
    font-size: 42px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.about-header .section-title::after,
.services-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-item h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    text-align: center;
    margin: 0;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 100px 0;
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section .section-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    text-align: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 50px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a5f3f;
}

.form-group textarea {
    resize: vertical;
}

.whatsapp-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 95, 63, 0.3);
}

.whatsapp-btn:active {
    transform: translateY(0);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.contact-info-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.office-hours {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.office-hours h3,
.contact-details h3 {
    color: #1a5f3f;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.office-hours p,
.contact-details p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-details p strong {
    color: #2c3e50;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo .tree-icon {
    font-size: 40px;
}

.footer-logo h3 {
    color: #fff;
    font-size: 20px;
    margin: 0;
    font-weight: bold;
}

.footer-logo p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.footer-hours h3,
.footer-contact h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-hours p,
.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-contact p strong {
    color: #fff;
}

/* Floating Phone Icon */
.floating-phone {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-phone:active {
    transform: scale(0.95);
}

.floating-phone svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .floating-phone {
        right: 15px;
        bottom: 75px;
        width: 50px;
        height: 50px;
    }

    .floating-phone svg {
        width: 24px;
        height: 24px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-nav {
        flex-direction: column;
        gap: 10px;
    }

    .top-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-wrapper {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .nav-menu {
        display: none !important;
    }

    .logo {
        flex: 1;
        justify-content: flex-start;
    }

    .logo h1 {
        font-size: 16px;
    }

    .logo-en {
        font-size: 10px;
    }

    .tree-icon {
        font-size: 24px;
    }

    .company-name {
        font-size: 32px;
    }

    .tagline {
        font-size: 18px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .floating-phone {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-phone svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 24px;
    }

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

    .contact-form,
    .contact-info-section {
        padding: 25px;
    }

    .hero {
        min-height: 400px;
        padding: 100px 0;
    }

    .hero.has-carousel,
    .hero:has(.hero-carousel) {
        padding: 0;
    }

    .hero-carousel {
        height: 400px;
        min-height: 400px;
    }

    .carousel-slide {
        height: 400px;
        min-height: 400px;
        padding: 80px 0;
    }

    .slide-image {
        min-height: 400px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-dots {
        bottom: 20px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }
}

/* Active Navigation Link */
.nav-menu a.active,
.top-nav-menu a.active {
    color: #1a5f3f;
    font-weight: bold;
}

.top-nav-menu a.active {
    color: #fff;
    opacity: 1;
}

/* About Section Styles */
.about-content {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 25px;
    font-weight: 500;
    letter-spacing: 2px;
}

.about-main-content {
    margin-bottom: 80px;
}

.about-intro-card {
    background: #fff;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.about-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.intro-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-intro-card h3 {
    font-size: 28px;
    color: #1a5f3f;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-intro-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 95, 63, 0.05), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(26, 95, 63, 0.15);
    border-color: #1a5f3f;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    font-size: 20px;
    color: #1a5f3f;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.about-services-overview {
    background: #fff;
    border-radius: 15px;
    padding: 60px 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.about-services-overview h3 {
    font-size: 32px;
    color: #1a5f3f;
    margin-bottom: 35px;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 20px;
}

.about-services-overview h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.services-overview-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-overview-text {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

.services-overview-text p {
    margin-bottom: 25px;
}

.services-overview-text p:last-of-type {
    margin-bottom: 35px;
}

.about-cta {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 95, 63, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 95, 63, 0.4);
    color: #fff;
}

.cta-button:active {
    transform: translateY(-1px);
}

.services-overview-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.services-overview-image:hover {
    transform: scale(1.02);
}

.services-overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.services-overview-image:hover img {
    transform: scale(1.1);
}

/* About Page Legacy Styles (for about.html page) */
.about-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text .more-info {
    margin-top: 30px;
    font-weight: 500;
}

.about-text .more-info a {
    color: #1a5f3f;
    text-decoration: none;
}

.about-text .more-info a:hover {
    text-decoration: underline;
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Page Styles */
.services-page {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.services-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Services Tabs Container */
.services-tabs-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: sticky;
    top: 80px;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
}

.services-tabs-inner {
    padding: 24px 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

/* Sticky state - full width */
.services-tabs-container.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-color: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(26, 95, 63, 0.1);
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-tabs-container.is-sticky .services-tabs-inner {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
}

/* 大屏幕：确保内容区域和 container 的内容区域对齐 */
@media (min-width: 1320px) {
    /* container 外部宽度 1240px (1200px + 20px*2)，内容区域宽度 1200px */
    /* container 左边距 = (100vw - 1240px) / 2 */
    /* container 内容区域左边距 = (100vw - 1240px) / 2 + 20px */
    /* 让 .services-tabs-inner 的内容区域和 container 的内容区域对齐 */
    /* .services-tabs-inner 需要包含 60px*2 padding，所以总宽度是 1320px */
    .services-tabs-container.is-sticky .services-tabs-inner {
        max-width: 1320px; /* 1200px 内容区域 + 60px*2 padding */
        margin-left: calc((100vw - 1240px) / 2 + 20px - 60px);
        margin-right: calc((100vw - 1240px) / 2 + 20px - 60px);
        padding-left: 60px;
        padding-right: 60px;
        box-sizing: border-box;
    }
    
    /* 箭头按钮位置保持在 12px（相对于 .services-tabs-inner） */
    .services-tabs-container.is-sticky .tab-arrow-left {
        left: 12px;
    }
    
    .services-tabs-container.is-sticky .tab-arrow-right {
        right: 12px;
    }
}

/* 中等屏幕和小屏幕：保持合理的 padding */
@media (max-width: 1319px) {
    .services-tabs-container.is-sticky .services-tabs-inner {
        max-width: 100%;
        padding-left: 60px;
        padding-right: 60px;
    }
}

.services-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
    padding: 4px 0;
    margin: -4px 0;
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.services-tabs-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Tab Arrow Buttons */
.tab-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #1a5f3f;
    border-radius: 50%;
    color: #1a5f3f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 101;
    box-shadow: 0 2px 8px rgba(26, 95, 63, 0.2);
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.tab-arrow:hover {
    background: #1a5f3f;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(26, 95, 63, 0.3);
}

.tab-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.tab-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.tab-arrow-left {
    left: 12px;
}

.tab-arrow-right {
    right: 12px;
}

.tab-arrow svg {
    width: 20px;
    height: 20px;
}

.services-tabs {
    display: flex;
    gap: 10px;
    padding: 5px 0;
    min-width: max-content;
}

.service-tab {
    flex-shrink: 0;
    padding: 12px 20px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.service-tab:hover {
    background-color: #e9ecef;
    border-color: #1a5f3f;
    color: #1a5f3f;
}

.service-tab.active {
    background-color: #1a5f3f;
    border-color: #1a5f3f;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26, 95, 63, 0.3);
}

.services-gallery {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s, opacity 0.3s;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-close:hover {
    transform: scale(1.1);
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 80%;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }

    .modal-caption {
        bottom: 15px;
        font-size: 16px;
        padding: 8px 15px;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 80px 0;
    background-color: #fff;
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-page {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-form-page .form-group {
    margin-bottom: 20px;
}

.contact-form-page input,
.contact-form-page textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.contact-form-page input:focus,
.contact-form-page textarea:focus {
    outline: none;
    border-color: #1a5f3f;
}

.submit-btn-page {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn-page:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 95, 63, 0.3);
}

.contact-info-page {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-item h3 {
    color: #1a5f3f;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.info-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Map Section */
.map-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Floating WhatsApp Icon */
.floating-whatsapp {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-whatsapp:active {
    transform: scale(0.95);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile Responsive - About Section */
@media (max-width: 1024px) {
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-overview-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-content,
    .services {
        padding: 60px 0;
    }
    
    .about-header .section-title,
    .services-header .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .about-header,
    .services-header {
        margin-bottom: 50px;
    }
    
    .about-intro-card {
        padding: 35px 25px;
        margin-bottom: 40px;
    }
    
    .intro-icon {
        font-size: 48px;
    }
    
    .about-intro-card h3 {
        font-size: 24px;
    }
    
    .about-intro-card p {
        font-size: 16px;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        font-size: 40px;
    }
    
    .feature-card h4 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .about-services-overview {
        padding: 40px 25px;
        margin-top: 30px;
    }
    
    .about-services-overview h3 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .services-overview-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-overview-text {
        font-size: 15px;
    }
    
    .services-overview-text p {
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 15px;
        display: block;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
    }
    
    /* Legacy about page styles */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        position: static;
    }
}

@media (max-width: 480px) {
    .about-header .section-title,
    .services-header .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .about-header,
    .services-header {
        margin-bottom: 40px;
    }
    
    .about-intro-card {
        padding: 25px 20px;
    }
    
    .intro-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .about-intro-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .about-intro-card p {
        font-size: 15px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .feature-card h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 13px;
    }
    
    .about-services-overview {
        padding: 30px 20px;
    }
    
    .about-services-overview h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .services-overview-text {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
    }
    
    .services-tabs-container {
        position: sticky;
        top: 60px;
        border-radius: 0;
    }

    .services-tabs-container.is-sticky {
        top: 0;
    }

    .services-tabs-inner {
        padding: 15px 50px;
    }

    .services-tabs-container.is-sticky .services-tabs-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tab-arrow {
        width: 36px;
        height: 36px;
    }

    .tab-arrow-left {
        left: 8px;
    }

    .tab-arrow-right {
        right: 8px;
    }

    .tab-arrow svg {
        width: 18px;
        height: 18px;
    }

    .services-tabs-wrapper {
        padding: 0 5px;
        margin: 0 -5px;
    }

    .services-tabs {
        gap: 10px;
        padding: 6px 0;
    }

    .service-tab {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-tab:active {
        transform: scale(0.98);
    }

    .service-tab.active {
        transform: translateY(-1px);
    }

    .services-gallery {
        padding: 25px;
    }

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

    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .services-gallery {
        padding: 20px;
    }

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

    .services-tabs-inner {
        padding: 10px 45px;
    }

    .services-tabs-container.is-sticky .services-tabs-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tab-arrow {
        width: 32px;
        height: 32px;
    }

    .tab-arrow-left {
        left: 6px;
    }

    .tab-arrow-right {
        right: 6px;
    }

    .tab-arrow svg {
        width: 16px;
        height: 16px;
    }

    .services-tabs {
        gap: 8px;
        padding: 5px 0;
    }

    .service-tab {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 7px;
        min-height: 40px;
    }

    .service-tab:hover,
    .service-tab.active {
        transform: translateY(-1px);
    }

    .contact-form-page {
        padding: 25px;
    }

    .info-item {
        padding: 20px;
    }

    .map-container {
        height: 300px;
    }
}

/* Mobile Menu Toggle (for better mobile UX) */
@media (max-width: 768px) {
    .top-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .top-nav-menu li {
        font-size: 13px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-top-content {
        flex-wrap: wrap;
    }

    .contact-info {
        font-size: 12px;
    }
}

/* Touch-friendly buttons for mobile */
@media (max-width: 768px) {
    .whatsapp-btn,
    .submit-btn-page {
        min-height: 48px; /* Minimum touch target size */
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-tap-highlight-color: transparent;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Improve touch targets */
    .nav-menu a,
    .mobile-nav-menu a,
    .top-nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(26, 95, 63, 0.1);
    }

    /* Prevent text selection on tap */
    .mobile-menu-toggle,
    .floating-phone,
    .floating-whatsapp {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}


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

body {
    font-family: 'Microsoft JhengHei', '微軟正黑體', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header-top {
    background-color: #1a5f3f;
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
}

@media (max-width: 600px) {
    .header-top {
        display: none;
    }
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info .phone,
.contact-info .email {
    color: #fff;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.top-nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-nav-menu a:hover {
    opacity: 0.8;
}

.language-toggle {
    font-size: 14px;
}

.language-toggle .lang-link {
    text-decoration: none;
    color: #fff;
}

.language-toggle .lang-link:hover {
    opacity: 0.8;
}

.main-nav {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    position: relative;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    order: -1; /* 放在最前面 */
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #1a5f3f;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.desktop-only {
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    max-height: 500px;
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background-color: #1a5f3f;
    color: #fff;
}

.mobile-lang-toggle {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.mobile-lang-toggle .lang-link {
    color: #1a5f3f;
    font-weight: 500;
}

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

.tree-icon {
    font-size: 32px;
}

.logo h1 {
    font-size: 20px;
    color: #1a5f3f;
    font-weight: bold;
    margin: 0;
}

.logo-en {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a5f3f;
}

/* Hero Section - Default styles for pages without carousel */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    min-height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero with carousel (for index page) - remove padding and background */
.hero.has-carousel,
.hero:has(.hero-carousel) {
    padding: 0;
    background-image: none;
    display: block;
}

/* Fallback for browsers that don't support :has() */
@supports selector(:has(*)) {
    .hero:has(.hero-carousel) {
        padding: 0;
        background-image: none;
        display: block;
    }
}

/* Hero carousel container */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #fff;
    width: 32px;
    border-radius: 6px;
    border-color: #fff;
}

.company-name {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
    font-size: 24px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}



.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
    font-weight: bold;
}

/* Unified Section Header Styles */
.about-header,
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header .section-title,
.services-header .section-title {
    margin-bottom: 15px;
    color: #1a5f3f;
    font-size: 42px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.about-header .section-title::after,
.services-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-item h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    text-align: center;
    margin: 0;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 100px 0;
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section .section-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    text-align: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 50px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a5f3f;
}

.form-group textarea {
    resize: vertical;
}

.whatsapp-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 95, 63, 0.3);
}

.whatsapp-btn:active {
    transform: translateY(0);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.contact-info-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.office-hours {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.office-hours h3,
.contact-details h3 {
    color: #1a5f3f;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.office-hours p,
.contact-details p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-details p strong {
    color: #2c3e50;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo .tree-icon {
    font-size: 40px;
}

.footer-logo h3 {
    color: #fff;
    font-size: 20px;
    margin: 0;
    font-weight: bold;
}

.footer-logo p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.footer-hours h3,
.footer-contact h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-hours p,
.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-contact p strong {
    color: #fff;
}

/* Floating Phone Icon */
.floating-phone {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-phone:active {
    transform: scale(0.95);
}

.floating-phone svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .floating-phone {
        right: 15px;
        bottom: 75px;
        width: 50px;
        height: 50px;
    }

    .floating-phone svg {
        width: 24px;
        height: 24px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-nav {
        flex-direction: column;
        gap: 10px;
    }

    .top-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-wrapper {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .nav-menu {
        display: none !important;
    }

    .logo {
        flex: 1;
        justify-content: flex-start;
    }

    .logo h1 {
        font-size: 16px;
    }

    .logo-en {
        font-size: 10px;
    }

    .tree-icon {
        font-size: 24px;
    }

    .company-name {
        font-size: 32px;
    }

    .tagline {
        font-size: 18px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .floating-phone {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-phone svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 24px;
    }

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

    .contact-form,
    .contact-info-section {
        padding: 25px;
    }

    .hero {
        min-height: 400px;
        padding: 100px 0;
    }

    .hero.has-carousel,
    .hero:has(.hero-carousel) {
        padding: 0;
    }

    .hero-carousel {
        height: 400px;
        min-height: 400px;
    }

    .carousel-slide {
        height: 400px;
        min-height: 400px;
        padding: 80px 0;
    }

    .slide-image {
        min-height: 400px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-dots {
        bottom: 20px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }
}

/* Active Navigation Link */
.nav-menu a.active,
.top-nav-menu a.active {
    color: #1a5f3f;
    font-weight: bold;
}

.top-nav-menu a.active {
    color: #fff;
    opacity: 1;
}

/* About Section Styles */
.about-content {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 25px;
    font-weight: 500;
    letter-spacing: 2px;
}

.about-main-content {
    margin-bottom: 80px;
}

.about-intro-card {
    background: #fff;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.about-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.intro-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-intro-card h3 {
    font-size: 28px;
    color: #1a5f3f;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-intro-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 95, 63, 0.05), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(26, 95, 63, 0.15);
    border-color: #1a5f3f;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    font-size: 20px;
    color: #1a5f3f;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.about-services-overview {
    background: #fff;
    border-radius: 15px;
    padding: 60px 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.about-services-overview h3 {
    font-size: 32px;
    color: #1a5f3f;
    margin-bottom: 35px;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 20px;
}

.about-services-overview h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.services-overview-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-overview-text {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

.services-overview-text p {
    margin-bottom: 25px;
}

.services-overview-text p:last-of-type {
    margin-bottom: 35px;
}

.about-cta {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 95, 63, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 95, 63, 0.4);
    color: #fff;
}

.cta-button:active {
    transform: translateY(-1px);
}

.services-overview-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.services-overview-image:hover {
    transform: scale(1.02);
}

.services-overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.services-overview-image:hover img {
    transform: scale(1.1);
}

/* About Page Legacy Styles (for about.html page) */
.about-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text .more-info {
    margin-top: 30px;
    font-weight: 500;
}

.about-text .more-info a {
    color: #1a5f3f;
    text-decoration: none;
}

.about-text .more-info a:hover {
    text-decoration: underline;
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Page Styles */
.services-page {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.services-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Services Tabs Container */
.services-tabs-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: sticky;
    top: 80px;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
}

.services-tabs-inner {
    padding: 24px 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

/* Sticky state - full width */
.services-tabs-container.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-color: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(26, 95, 63, 0.1);
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-tabs-container.is-sticky .services-tabs-inner {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
}

/* 大屏幕：确保内容区域和 container 的内容区域对齐 */
@media (min-width: 1320px) {
    /* container 外部宽度 1240px (1200px + 20px*2)，内容区域宽度 1200px */
    /* container 左边距 = (100vw - 1240px) / 2 */
    /* container 内容区域左边距 = (100vw - 1240px) / 2 + 20px */
    /* 让 .services-tabs-inner 的内容区域和 container 的内容区域对齐 */
    /* .services-tabs-inner 需要包含 60px*2 padding，所以总宽度是 1320px */
    .services-tabs-container.is-sticky .services-tabs-inner {
        max-width: 1320px; /* 1200px 内容区域 + 60px*2 padding */
        margin-left: calc((100vw - 1240px) / 2 + 20px - 60px);
        margin-right: calc((100vw - 1240px) / 2 + 20px - 60px);
        padding-left: 60px;
        padding-right: 60px;
        box-sizing: border-box;
    }
    
    /* 箭头按钮位置保持在 12px（相对于 .services-tabs-inner） */
    .services-tabs-container.is-sticky .tab-arrow-left {
        left: 12px;
    }
    
    .services-tabs-container.is-sticky .tab-arrow-right {
        right: 12px;
    }
}

/* 中等屏幕和小屏幕：保持合理的 padding */
@media (max-width: 1319px) {
    .services-tabs-container.is-sticky .services-tabs-inner {
        max-width: 100%;
        padding-left: 60px;
        padding-right: 60px;
    }
}

.services-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
    padding: 4px 0;
    margin: -4px 0;
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.services-tabs-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Tab Arrow Buttons */
.tab-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #1a5f3f;
    border-radius: 50%;
    color: #1a5f3f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 101;
    box-shadow: 0 2px 8px rgba(26, 95, 63, 0.2);
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.tab-arrow:hover {
    background: #1a5f3f;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(26, 95, 63, 0.3);
}

.tab-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.tab-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.tab-arrow-left {
    left: 12px;
}

.tab-arrow-right {
    right: 12px;
}

.tab-arrow svg {
    width: 20px;
    height: 20px;
}

.services-tabs {
    display: flex;
    gap: 10px;
    padding: 5px 0;
    min-width: max-content;
}

.service-tab {
    flex-shrink: 0;
    padding: 12px 20px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.service-tab:hover {
    background-color: #e9ecef;
    border-color: #1a5f3f;
    color: #1a5f3f;
}

.service-tab.active {
    background-color: #1a5f3f;
    border-color: #1a5f3f;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26, 95, 63, 0.3);
}

.services-gallery {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s, opacity 0.3s;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-close:hover {
    transform: scale(1.1);
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 80%;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    .modal-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }

    .modal-caption {
        bottom: 15px;
        font-size: 16px;
        padding: 8px 15px;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 80px 0;
    background-color: #fff;
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form-page {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}

.contact-form-page .form-group {
    margin-bottom: 20px;
}

.contact-form-page input,
.contact-form-page textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.contact-form-page input:focus,
.contact-form-page textarea:focus {
    outline: none;
    border-color: #1a5f3f;
}

.submit-btn-page {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-btn-page:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 95, 63, 0.3);
}

.contact-info-page {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-item h3 {
    color: #1a5f3f;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.info-item p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Map Section */
.map-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Floating WhatsApp Icon */
.floating-whatsapp {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-whatsapp:active {
    transform: scale(0.95);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile Responsive - About Section */
@media (max-width: 1024px) {
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-overview-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-content,
    .services {
        padding: 60px 0;
    }
    
    .about-header .section-title,
    .services-header .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .about-header,
    .services-header {
        margin-bottom: 50px;
    }
    
    .about-intro-card {
        padding: 35px 25px;
        margin-bottom: 40px;
    }
    
    .intro-icon {
        font-size: 48px;
    }
    
    .about-intro-card h3 {
        font-size: 24px;
    }
    
    .about-intro-card p {
        font-size: 16px;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        font-size: 40px;
    }
    
    .feature-card h4 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .about-services-overview {
        padding: 40px 25px;
        margin-top: 30px;
    }
    
    .about-services-overview h3 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .services-overview-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-overview-text {
        font-size: 15px;
    }
    
    .services-overview-text p {
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 15px;
        display: block;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
    }
    
    /* Legacy about page styles */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        position: static;
    }
}

@media (max-width: 480px) {
    .about-header .section-title,
    .services-header .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .about-header,
    .services-header {
        margin-bottom: 40px;
    }
    
    .about-intro-card {
        padding: 25px 20px;
    }
    
    .intro-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .about-intro-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .about-intro-card p {
        font-size: 15px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .feature-card h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 13px;
    }
    
    .about-services-overview {
        padding: 30px 20px;
    }
    
    .about-services-overview h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .services-overview-text {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
    }
    
    .services-tabs-container {
        position: sticky;
        top: 60px;
        border-radius: 0;
    }

    .services-tabs-container.is-sticky {
        top: 0;
    }

    .services-tabs-inner {
        padding: 15px 50px;
    }

    .services-tabs-container.is-sticky .services-tabs-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tab-arrow {
        width: 36px;
        height: 36px;
    }

    .tab-arrow-left {
        left: 8px;
    }

    .tab-arrow-right {
        right: 8px;
    }

    .tab-arrow svg {
        width: 18px;
        height: 18px;
    }

    .services-tabs-wrapper {
        padding: 0 5px;
        margin: 0 -5px;
    }

    .services-tabs {
        gap: 10px;
        padding: 6px 0;
    }

    .service-tab {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-tab:active {
        transform: scale(0.98);
    }

    .service-tab.active {
        transform: translateY(-1px);
    }

    .services-gallery {
        padding: 25px;
    }

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

    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .services-gallery {
        padding: 20px;
    }

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

    .services-tabs-inner {
        padding: 10px 45px;
    }

    .services-tabs-container.is-sticky .services-tabs-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tab-arrow {
        width: 32px;
        height: 32px;
    }

    .tab-arrow-left {
        left: 6px;
    }

    .tab-arrow-right {
        right: 6px;
    }

    .tab-arrow svg {
        width: 16px;
        height: 16px;
    }

    .services-tabs {
        gap: 8px;
        padding: 5px 0;
    }

    .service-tab {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 7px;
        min-height: 40px;
    }

    .service-tab:hover,
    .service-tab.active {
        transform: translateY(-1px);
    }

    .contact-form-page {
        padding: 25px;
    }

    .info-item {
        padding: 20px;
    }

    .map-container {
        height: 300px;
    }
}

/* Mobile Menu Toggle (for better mobile UX) */
@media (max-width: 768px) {
    .top-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .top-nav-menu li {
        font-size: 13px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-top-content {
        flex-wrap: wrap;
    }

    .contact-info {
        font-size: 12px;
    }
}

/* Touch-friendly buttons for mobile */
@media (max-width: 768px) {
    .whatsapp-btn,
    .submit-btn-page {
        min-height: 48px; /* Minimum touch target size */
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-tap-highlight-color: transparent;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Improve touch targets */
    .nav-menu a,
    .mobile-nav-menu a,
    .top-nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(26, 95, 63, 0.1);
    }

    /* Prevent text selection on tap */
    .mobile-menu-toggle,
    .floating-phone,
    .floating-whatsapp {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}


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

body {
    font-family: 'Microsoft JhengHei', '微軟正黑體', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header-top {
    background-color: #1a5f3f;
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
}

@media (max-width: 600px) {
    .header-top {
        display: none;
    }
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info .phone,
.contact-info .email {
    color: #fff;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.top-nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-nav-menu a:hover {
    opacity: 0.8;
}

.language-toggle {
    font-size: 14px;
}

.language-toggle .lang-link {
    text-decoration: none;
    color: #fff;
}

.language-toggle .lang-link:hover {
    opacity: 0.8;
}

.main-nav {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    position: relative;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    order: -1; /* 放在最前面 */
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #1a5f3f;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.desktop-only {
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    max-height: 500px;
    display: block;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background-color: #1a5f3f;
    color: #fff;
}

.mobile-lang-toggle {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.mobile-lang-toggle .lang-link {
    color: #1a5f3f;
    font-weight: 500;
}

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

.tree-icon {
    font-size: 32px;
}

.logo h1 {
    font-size: 20px;
    color: #1a5f3f;
    font-weight: bold;
    margin: 0;
}

.logo-en {
    font-size: 12px;
    color: #666;
    margin-left: 5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a5f3f;
}

/* Hero Section - Default styles for pages without carousel */
.hero {
    position: relative;
    color: #fff;
    text-align: center;
    min-height: 500px;
    overflow: hidden;
    margin: 0;
    padding: 150px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/photo-1441974231531-c6227db76b6e.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hero with carousel (for index page) - remove padding and background */
.hero.has-carousel,
.hero:has(.hero-carousel) {
    padding: 0;
    background-image: none;
    display: block;
}

/* Fallback for browsers that don't support :has() */
@supports selector(:has(*)) {
    .hero:has(.hero-carousel) {
        padding: 0;
        background-image: none;
        display: block;
    }
}

/* Hero carousel container */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    min-height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: #fff;
    width: 32px;
    border-radius: 6px;
    border-color: #fff;
}

.company-name {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.tagline {
    font-size: 24px;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}



.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
    font-weight: bold;
}

/* Unified Section Header Styles */
.about-header,
.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header .section-title,
.services-header .section-title {
    margin-bottom: 15px;
    color: #1a5f3f;
    font-size: 42px;
    font-weight: bold;
    position: relative;
    display: inline-block;
}

.about-header .section-title::after,
.services-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-item h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    text-align: center;
    margin: 0;
}

/* Contact Section */
.contact-section {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/photo-1441974231531-c6227db76b6e.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section .section-title {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    text-align: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 50px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a5f3f;
}

.form-group textarea {
    resize: vertical;
}

.whatsapp-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    text-decoration: none;
    margin-top: 10px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 95, 63, 0.3);
}

.whatsapp-btn:active {
    transform: translateY(0);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

.contact-info-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.office-hours {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
}

.office-hours h3,
.contact-details h3 {
    color: #1a5f3f;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.office-hours p,
.contact-details p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.8;
}

.contact-details p strong {
    color: #2c3e50;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo .tree-icon {
    font-size: 40px;
}

.footer-logo h3 {
    color: #fff;
    font-size: 20px;
    margin: 0;
    font-weight: bold;
}

.footer-logo p {
    color: #ccc;
    font-size: 14px;
    margin: 0;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.footer-hours h3,
.footer-contact h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-hours p,
.footer-contact p {
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-contact p strong {
    color: #fff;
}

/* Floating Phone Icon */
.floating-phone {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-phone:active {
    transform: scale(0.95);
}

.floating-phone svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .floating-phone {
        right: 15px;
        bottom: 75px;
        width: 50px;
        height: 50px;
    }

    .floating-phone svg {
        width: 24px;
        height: 24px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-nav {
        flex-direction: column;
        gap: 10px;
    }

    .top-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }

    .nav-wrapper {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }

    .nav-menu {
        display: none !important;
    }

    .logo {
        flex: 1;
        justify-content: flex-start;
    }

    .logo h1 {
        font-size: 16px;
    }

    .logo-en {
        font-size: 10px;
    }

    .tree-icon {
        font-size: 24px;
    }

    .company-name {
        font-size: 32px;
    }

    .tagline {
        font-size: 18px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .floating-phone {
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
    }

    .floating-phone svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 24px;
    }

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

    .contact-form,
    .contact-info-section {
        padding: 25px;
    }

    .hero {
        min-height: 400px;
        padding: 100px 0;
    }

    .hero.has-carousel,
    .hero:has(.hero-carousel) {
        padding: 0;
    }

    .hero-carousel {
        height: 400px;
        min-height: 400px;
    }

    .carousel-slide {
        height: 400px;
        min-height: 400px;
        padding: 80px 0;
    }

    .slide-image {
        min-height: 400px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-prev {
        left: 15px;
    }

    .carousel-next {
        right: 15px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    .carousel-dots {
        bottom: 20px;
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .dot.active {
        width: 24px;
    }
}

/* Active Navigation Link */
.nav-menu a.active,
.top-nav-menu a.active {
    color: #1a5f3f;
    font-weight: bold;
}

.top-nav-menu a.active {
    color: #fff;
    opacity: 1;
}

/* About Section Styles */
.about-content {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 25px;
    font-weight: 500;
    letter-spacing: 2px;
}

.about-main-content {
    margin-bottom: 80px;
}

.about-intro-card {
    background: #fff;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.about-intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.intro-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-intro-card h3 {
    font-size: 28px;
    color: #1a5f3f;
    margin-bottom: 20px;
    font-weight: bold;
}

.about-intro-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 95, 63, 0.05), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(26, 95, 63, 0.15);
    border-color: #1a5f3f;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    font-size: 20px;
    color: #1a5f3f;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

.about-services-overview {
    background: #fff;
    border-radius: 15px;
    padding: 60px 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.about-services-overview h3 {
    font-size: 32px;
    color: #1a5f3f;
    margin-bottom: 35px;
    text-align: center;
    font-weight: bold;
    position: relative;
    padding-bottom: 20px;
}

.about-services-overview h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.services-overview-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.services-overview-text {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

.services-overview-text p {
    margin-bottom: 25px;
}

.services-overview-text p:last-of-type {
    margin-bottom: 35px;
}

.about-cta {
    margin-top: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 95, 63, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 95, 63, 0.4);
    color: #fff;
}

.cta-button:active {
    transform: translateY(-1px);
}

.services-overview-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.services-overview-image:hover {
    transform: scale(1.02);
}

.services-overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.services-overview-image:hover img {
    transform: scale(1.1);
}

/* About Page Legacy Styles (for about.html page) */
.about-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.about-text p {
    margin-bottom: 20px;
}

.about-text .more-info {
    margin-top: 30px;
    font-weight: 500;
}

.about-text .more-info a {
    color: #1a5f3f;
    text-decoration: none;
}

.about-text .more-info a:hover {
    text-decoration: underline;
}

.about-image {
    position: sticky;
    top: 100px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Services Page Styles */
.services-page {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.services-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Services Tabs Container */
.services-tabs-container {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: sticky;
    top: 80px;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
}

.services-tabs-inner {
    padding: 24px 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                margin 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

/* Sticky state - full width */
.services-tabs-container.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-color: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(26, 95, 63, 0.1);
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-tabs-container.is-sticky .services-tabs-inner {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    box-sizing: border-box;
}

/* 大屏幕：确保内容区域和 container 的内容区域对齐 */
@media (min-width: 1320px) {
    /* container 外部宽度 1240px (1200px + 20px*2)，内容区域宽度 1200px */
    /* container 左边距 = (100vw - 1240px) / 2 */
    /* container 内容区域左边距 = (100vw - 1240px) / 2 + 20px */
    /* 让 .services-tabs-inner 的内容区域和 container 的内容区域对齐 */
    /* .services-tabs-inner 需要包含 60px*2 padding，所以总宽度是 1320px */
    .services-tabs-container.is-sticky .services-tabs-inner {
        max-width: 1320px; /* 1200px 内容区域 + 60px*2 padding */
        margin-left: calc((100vw - 1240px) / 2 + 20px - 60px);
        margin-right: calc((100vw - 1240px) / 2 + 20px - 60px);
        padding-left: 60px;
        padding-right: 60px;
        box-sizing: border-box;
    }
    
    /* 箭头按钮位置保持在 12px（相对于 .services-tabs-inner） */
    .services-tabs-container.is-sticky .tab-arrow-left {
        left: 12px;
    }
    
    .services-tabs-container.is-sticky .tab-arrow-right {
        right: 12px;
    }
}

/* 中等屏幕和小屏幕：保持合理的 padding */
@media (max-width: 1319px) {
    .services-tabs-container.is-sticky .services-tabs-inner {
        max-width: 100%;
        padding-left: 60px;
        padding-right: 60px;
    }
}

.services-tabs-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-width: 0;
    padding: 4px 0;
    margin: -4px 0;
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.services-tabs-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Tab Arrow Buttons */
.tab-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 2px solid #1a5f3f;
    border-radius: 50%;
    color: #1a5f3f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 101;
    box-shadow: 0 2px 8px rgba(26, 95, 63, 0.2);
    flex-shrink: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.tab-arrow:hover {
    background: #1a5f3f;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(26, 95, 63, 0.3);
}

.tab-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.tab-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.tab-arrow-left {
    left: 12px;
}

.tab-arrow-right {
    right: 12px;
}

.tab-arrow svg {
    width: 20px;
    height: 20px;
}

.services-tabs {
    display: flex;
    gap: 10px;
    padding: 5px 0;
    min-width: max-content;
}

.service-tab {
    flex-shrink: 0;
    padding: 12px 20px;
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.service-tab:hover {
    background-color: #e9ecef;
    border-color: #1a5f3f;
    color: #1a5f3f;
}

.service-tab.active {
    background-color: #1a5f3f;
    border-color: #1a5f3f;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(26, 95, 63, 0.3);
}

.services-gallery {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    transition: transform 0.3s, opacity 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0;
    border: none;
}

.modal-close svg {
    width: 20px;
    height: 20px;
    display: block;
}

.modal-close:hover {
    transform: scale(1.1);
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-service-name {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    background-color: rgba(26, 95, 63, 0.8);
    padding: 10px 25px;
    border-radius: 25px;
    max-width: 80%;
    z-index: 10001;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 80%;
}

/* Modal Navigation Buttons */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-nav:hover {
    background: rgba(0, 0, 0, 0.7);
    border-color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.modal-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.modal-tip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.modal-tip.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

@media (max-width: 768px) {
    .modal-tip {
        padding: 12px 24px;
        font-size: 14px;
        max-width: 80%;
        text-align: center;
    }
}

.modal-nav-prev {
    left: 30px;
}

.modal-nav-next {
    right: 30px;
}

.modal-nav svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }

    .modal-close {
        top: 15px;
        right: 20px;
        width: 35px;
        height: 35px;
    }

    .modal-close svg {
        width: 18px;
        height: 18px;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
    }

    .modal-nav-prev {
        left: 15px;
    }

    .modal-nav-next {
        right: 15px;
    }

    .modal-nav svg {
        width: 20px;
        height: 20px;
    }

    .modal-service-name {
        top: 15px;
        font-size: 16px;
        padding: 8px 18px;
        border-radius: 20px;
    }

    .modal-caption {
        bottom: 15px;
        font-size: 16px;
        padding: 8px 15px;
    }
}

/* Contact Page Styles */
.contact-page {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.contact-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-page-title {
    font-size: 42px;
    color: #1a5f3f;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.contact-page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 2px;
}

.contact-page-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 25px;
    font-weight: 500;
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-section {
    background: #fff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #1a5f3f 0%, #27ae60 100%);
}

.form-header {
    margin-bottom: 35px;
}

.form-header h3 {
    font-size: 28px;
    color: #1a5f3f;
    margin-bottom: 10px;
    font-weight: bold;
}

.form-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.contact-form-page {
    background: transparent;
    padding: 0;
}

.contact-form-page .form-group {
    margin-bottom: 25px;
}

.contact-form-page label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
}

.contact-form-page .required {
    color: #e74c3c;
    margin-left: 3px;
}

.contact-form-page input,
.contact-form-page textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}

.contact-form-page input:focus,
.contact-form-page textarea:focus {
    outline: none;
    border-color: #1a5f3f;
    box-shadow: 0 0 0 3px rgba(26, 95, 63, 0.1);
}

.contact-form-page textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn-page {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(26, 95, 63, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn-page::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn-page:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn-page:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 95, 63, 0.4);
}

.submit-btn-page:active {
    transform: translateY(0);
}

.submit-btn-page svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.submit-btn-page:hover svg {
    transform: translateX(3px);
}

.contact-info-page {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-header {
    margin-bottom: 30px;
}

.info-header h3 {
    font-size: 28px;
    color: #1a5f3f;
    margin-bottom: 10px;
    font-weight: bold;
}

.info-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.info-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #1a5f3f 0%, #27ae60 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 95, 63, 0.15);
    border-color: rgba(26, 95, 63, 0.1);
}

.info-item:hover::before {
    transform: scaleY(1);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a5f3f 0%, #27ae60 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-content {
    flex: 1;
}

.info-content h3 {
    color: #1a5f3f;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.info-content a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #1a5f3f;
    text-decoration: underline;
}

/* Map Section */
.map-section {
    width: 100%;
    margin: 0;
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Floating WhatsApp Icon */
.floating-whatsapp {
    position: fixed;
    right: 30px;
    bottom: 100px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.floating-whatsapp:active {
    transform: scale(0.95);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 600px) {
    .floating-whatsapp {
        right: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile Responsive - About Section */
@media (max-width: 1024px) {
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .services-overview-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .about-content,
    .services {
        padding: 60px 0;
    }
    
    .about-header .section-title,
    .services-header .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .about-header,
    .services-header {
        margin-bottom: 50px;
    }
    
    .about-intro-card {
        padding: 35px 25px;
        margin-bottom: 40px;
    }
    
    .intro-icon {
        font-size: 48px;
    }
    
    .about-intro-card h3 {
        font-size: 24px;
    }
    
    .about-intro-card p {
        font-size: 16px;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .feature-icon {
        font-size: 40px;
    }
    
    .feature-card h4 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .about-services-overview {
        padding: 40px 25px;
        margin-top: 30px;
    }
    
    .about-services-overview h3 {
        font-size: 26px;
        margin-bottom: 30px;
    }
    
    .services-overview-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-overview-text {
        font-size: 15px;
    }
    
    .services-overview-text p {
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 15px;
        display: block;
        text-align: center;
        width: fit-content;
        margin: 0 auto;
    }
    
    /* Legacy about page styles */
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image {
        position: static;
    }
}

@media (max-width: 480px) {
    .about-header .section-title,
    .services-header .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .about-header,
    .services-header {
        margin-bottom: 40px;
    }
    
    .about-intro-card {
        padding: 25px 20px;
    }
    
    .intro-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .about-intro-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .about-intro-card p {
        font-size: 15px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .feature-card h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 13px;
    }
    
    .about-services-overview {
        padding: 30px 20px;
    }
    
    .about-services-overview h3 {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .services-overview-text {
        font-size: 14px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
    }
    
    .services-tabs-container {
        position: sticky;
        top: 60px;
        border-radius: 0;
    }

    .services-tabs-container.is-sticky {
        top: 0;
    }

    .services-tabs-inner {
        padding: 15px 50px;
    }

    .services-tabs-container.is-sticky .services-tabs-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .tab-arrow {
        width: 36px;
        height: 36px;
    }

    .tab-arrow-left {
        left: 8px;
    }

    .tab-arrow-right {
        right: 8px;
    }

    .tab-arrow svg {
        width: 18px;
        height: 18px;
    }

    .services-tabs-wrapper {
        padding: 0 5px;
        margin: 0 -5px;
    }

    .services-tabs {
        gap: 10px;
        padding: 6px 0;
    }

    .service-tab {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 8px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-tab:active {
        transform: scale(0.98);
    }

    .service-tab.active {
        transform: translateY(-1px);
    }

    .services-gallery {
        padding: 25px;
    }

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

    .contact-page {
        padding: 60px 0;
    }
    
    .contact-page-header {
        margin-bottom: 40px;
    }
    
    .contact-page-title {
        font-size: 32px;
    }
    
    .contact-page-subtitle {
        font-size: 16px;
    }
    
    .contact-page-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section {
        padding: 35px 30px;
    }
    
    .form-header h3 {
        font-size: 24px;
    }
    
    .info-header h3 {
        font-size: 24px;
    }
    
    .info-item {
        padding: 20px;
        gap: 15px;
    }
    
    .info-icon {
        width: 45px;
        height: 45px;
    }
    
    .info-content h3 {
        font-size: 16px;
    }
    
    .info-content p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .services-gallery {
        padding: 20px;
    }

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

    .services-tabs-inner {
        padding: 10px 45px;
    }

    .services-tabs-container.is-sticky .services-tabs-inner {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tab-arrow {
        width: 32px;
        height: 32px;
    }

    .tab-arrow-left {
        left: 6px;
    }

    .tab-arrow-right {
        right: 6px;
    }

    .tab-arrow svg {
        width: 16px;
        height: 16px;
    }

    .services-tabs {
        gap: 8px;
        padding: 5px 0;
    }

    .service-tab {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 7px;
        min-height: 40px;
    }

    .service-tab:hover,
    .service-tab.active {
        transform: translateY(-1px);
    }

    .contact-page {
        padding: 40px 0;
    }
    
    .contact-page-header {
        margin-bottom: 30px;
    }
    
    .contact-page-title {
        font-size: 28px;
    }
    
    .contact-page-subtitle {
        font-size: 15px;
        margin-top: 15px;
    }
    
    .contact-page-wrapper {
        gap: 30px;
    }
    
    .contact-form-section {
        padding: 30px 20px;
    }
    
    .form-header {
        margin-bottom: 25px;
    }
    
    .form-header h3 {
        font-size: 22px;
    }
    
    .form-header p {
        font-size: 14px;
    }
    
    .contact-form-page .form-group {
        margin-bottom: 20px;
    }
    
    .contact-form-page label {
        font-size: 14px;
    }
    
    .contact-form-page input,
    .contact-form-page textarea {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .submit-btn-page {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .info-header {
        margin-bottom: 25px;
    }
    
    .info-header h3 {
        font-size: 22px;
    }
    
    .info-header p {
        font-size: 14px;
    }
    
    .info-items-wrapper {
        gap: 15px;
    }
    
    .info-item {
        padding: 20px 15px;
        gap: 15px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
    }
    
    .info-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .info-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .info-content p {
        font-size: 14px;
    }

    .map-container {
        height: 300px;
    }
}

/* Mobile Menu Toggle (for better mobile UX) */
@media (max-width: 768px) {
    .top-nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .top-nav-menu li {
        font-size: 13px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-top-content {
        flex-wrap: wrap;
    }

    .contact-info {
        font-size: 12px;
    }
}

/* Touch-friendly buttons for mobile */
@media (max-width: 768px) {
    .whatsapp-btn,
    .submit-btn-page {
        min-height: 48px; /* Minimum touch target size */
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-tap-highlight-color: transparent;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }

    /* Improve touch targets */
    .nav-menu a,
    .mobile-nav-menu a,
    .top-nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        -webkit-tap-highlight-color: rgba(26, 95, 63, 0.1);
    }

    /* Prevent text selection on tap */
    .mobile-menu-toggle,
    .floating-phone,
    .floating-whatsapp {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

