/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    background: #fff;
}

a {
    text-decoration: none;
    color: #30afb8;
    transition: color 0.3s ease;
}

a:hover {
    color: #269098;
}

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

ul {
    list-style: none;
}

.tg-container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    position: relative;
}

.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    transition: background 0.3s ease;
}

.header-wrapper .tg-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

.logo .site-title {
    font-family: "STHeiti", "SimHei", "Microsoft YaHei", serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo .header-logo {
    height: 32px;
    vertical-align: middle;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
}

.main-navigation .menu {
    display: flex;
    gap: 5px;
}

.main-navigation .menu li a {
    display: block;
    padding: 10px 15px;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    transition: all 0.3s ease;
}

.main-navigation .menu li a:hover,
.main-navigation .menu li.current a {
    color: #30afb8;
}

/* Slider Styles */
.slider-wrapper {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.bxslider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

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

.slide .tg-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide .caption-title {
    text-align: center;
    z-index: 10;
}

.slide .caption-title span {
    display: inline-block;
    font-family: "STHeiti", "SimHei", "Microsoft YaHei", serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 20px 40px;
    border: 3px solid #fff;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

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

.slider-dots .dot.active {
    background: #fff;
}

/* Section Common Styles */
.widget {
    padding: 80px 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.main-title {
    font-family: "STHeiti", "SimHei", "Microsoft YaHei", serif;
    font-size: 36px;
    font-weight: 700;
    color: #444;
    margin-bottom: 10px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #30afb8;
}

.sub-title {
    font-size: 16px;
    color: #888;
    font-weight: 300;
    margin-top: 20px;
}

/* About Section */
.widget_about_block {
    background: #f9f9f9;
}

.about-content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-image {
    flex: 1;
}

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

.about-content {
    flex: 1;
}

.about-title {
    font-family: "STHeiti", "SimHei", "Microsoft YaHei", serif;
    font-size: 28px;
    font-weight: 700;
    color: #444;
    margin-bottom: 20px;
}

.company-logos {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.company-logos .logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.company-logos .logo-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background: #fff;
}

.company-logos .logo-item span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.about-content p {
    margin-bottom: 18px;
    line-height: 2;
    text-indent: 2em;
    text-align: justify;
}

.about-btn a {
    display: inline-block;
    padding: 12px 30px;
    background: #30afb8;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 15px;
    transition: background 0.3s ease;
}

.about-btn a:hover {
    background: #269098;
    color: #fff;
}

/* CTA Section */
.widget_cta_block {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

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

.widget_cta_block .section-wrapper {
    position: relative;
    z-index: 10;
}

.widget_cta_block .tg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text-title h2 {
    font-family: "STHeiti", "SimHei", "Microsoft YaHei", serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
}

.cta-text-desc p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-text-btn {
    display: inline-block;
    padding: 15px 35px;
    background: #30afb8;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    transition: background 0.3s ease;
}

.cta-text-btn:hover {
    background: #269098;
    color: #fff;
}

/* Services Section */
.widget_service_block {
    background: #fff;
}

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

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

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(48, 175, 184, 0.2);
}

.service-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover .service-image::after {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-desc-wrap {
    padding: 25px;
    text-align: center;
    background: linear-gradient(to bottom, #fff, #f9f9f9);
}

.service-title {
    font-family: "STHeiti", "SimHei", "Microsoft YaHei", serif;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #30afb8;
}

.service-title a {
    color: #333;
}

.service-title a:hover {
    color: #30afb8;
}

.service-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    padding-top: 10px;
}

/* Portfolio Section */
.widget_portfolio_block {
    background: #f9f9f9;
    padding-bottom: 0;
}

.portfolio-content-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.port-img {
    width: 100%;
    height: 100%;
}

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

.portfolio-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(48, 175, 184, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-hover {
    opacity: 1;
}

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

.port-link a {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    margin-bottom: 15px;
    transition: background 0.3s ease;
}

.port-link a:hover {
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.port-title-wrapper .caption-title {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
}

/* Recruitment Section */
.widget_recruitment_block {
    background: #fff;
}

.recruitment-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.recruitment-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.recruitment-content ul {
    display: inline-block;
    text-align: left;
    margin-bottom: 20px;
}

.recruitment-content ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.recruitment-content ul li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    color: #30afb8;
}

/* Contact Section */
.widget_contact_block {
    background: #f9f9f9;
}

.contact-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-family: "STHeiti", "SimHei", "Microsoft YaHei", serif;
    font-size: 28px;
    font-weight: 700;
    color: #444;
    margin-bottom: 20px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.map-container {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Footer */
.site-footer {
    background: #333;
    padding: 30px 0;
}

#bottom-footer .tg-container {
    text-align: center;
}

.copyright {
    color: #999;
    font-size: 13px;
}

.copyright a {
    color: #ccc;
}

.copyright a:hover {
    color: #30afb8;
}

.copyright img {
    vertical-align: middle;
    height: 16px;
}

.copyright img.footer-logo {
    height: 16px;
    margin-right: 8px;
}

/* Scroll to Top */
.scrollup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: #30afb8;
    color: #fff;
    font-size: 20px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scrollup.show {
    opacity: 1;
    visibility: visible;
}

.scrollup:hover {
    background: #269098;
    color: #fff;
}

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #30afb8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .service-content-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-navigation .menu {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation .menu li a {
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .slide .caption-title span {
        font-size: 28px;
        padding: 15px 25px;
    }

    .about-content-wrapper {
        flex-direction: column;
    }

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

    .widget_cta_block .tg-container {
        flex-direction: column;
        text-align: center;
    }

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

    .widget {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .portfolio-content-wrapper {
        grid-template-columns: 1fr;
    }

    .slide .caption-title span {
        font-size: 22px;
        padding: 10px 20px;
        border-width: 2px;
    }

    .logo .site-title {
        font-size: 18px;
    }
}
