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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

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

/* Header Styles - Exact match to original */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 100px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

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

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.logo span {
    font-size: 14px;
    font-weight: bold;
    color: #2c5aa0;
    line-height: 1.2;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 2px;
}

nav a.nav-active,
nav a:hover {
    background: #4CAF50;
    color: white;
}

nav a:nth-child(2) {
    background: #2196F3;
    color: white;
}

nav a:nth-child(3) {
    background: #FF9800;
    color: white;
}

nav a:nth-child(4) {
    background: #9C27B0;
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #2c5aa0;
    cursor: pointer;
}

/* Hero Section - Exact match to original */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    color: white;
    padding: 200px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

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

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: #FFD700;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 300;
    opacity: 0.9;
    color: white;
}

/* About Section - Exact match to original */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 30px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Statistics Section - Exact match to original */
.statistics {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
    text-align: center;
}

.stat-item h3 {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.stat-item p {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Services Section - Exact match to original */
.services {
    padding: 80px 0;
    background: white;
}

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

.service-item {
    text-align: center;
    padding: 40px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #2c5aa0;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #2c5aa0;
}

.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2c5aa0;
}

.service-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
}

/* Main Services Section - Exact match to original */
.main-services {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3c72 100%);
    color: white;
}

.main-services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.main-services-text h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    line-height: 1.3;
}

.main-services-text h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #ffd700;
}

.main-services-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

.main-services-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Detailed Services Section - Exact match to original */
.detailed-services {
    padding: 80px 0;
    background: #f8f9fa;
}

.detailed-services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 60px;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-detail:nth-child(even) {
    direction: rtl;
}

.service-detail:nth-child(even) > * {
    direction: ltr;
}

.service-detail h3 {
    font-size: 1.8rem;
    color: #2c5aa0;
    margin-bottom: 25px;
}

.service-detail ol {
    padding-left: 20px;
}

.service-detail li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.service-detail-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* Project Gallery - Exact match to original */
.project-gallery {
    padding: 80px 0;
    background: white;
}

.project-gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 60px;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-weight: bold;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Trust Section - Exact match to original */
.trust {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trust-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.trust-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.trust-text h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #ffd700;
}

.trust-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
}

/* Testimonials Section - Exact match to original */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 60px;
}

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

.testimonial-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.testimonial-item::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #2c5aa0;
    opacity: 0.3;
}

.testimonial-item h3 {
    font-size: 1.3rem;
    color: #e91e63;
    margin-bottom: 20px;
}

.testimonial-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

/* Contact Section - Exact match to original */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3c72 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,255,255,0.2);
}

.contact-item img {
    width: 24px;
    height: 24px;
}

.contact-item a,
.contact-item span {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-item a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.contact-form p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input {
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    color: #333;
}

.contact-form input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.checkbox-group {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
}

.checkbox-group p {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.checkbox-group label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.checkbox-group label:hover {
    background: rgba(255,255,255,0.1);
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
    padding: 0;
}

.contact-form button {
    padding: 15px 30px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* WhatsApp Float Button - Exact match to original */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float a {
    display: block;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design - Exact match to original */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header {
        height: auto;
        padding: 10px 0;
    }

    header .container {
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.mobile-open {
        max-height: 300px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }

    nav a {
        padding: 15px 20px;
        font-size: 0.9rem;
        text-align: center;
    }

    .hero {
        padding: 150px 0 80px;
        margin-top: 120px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .about-content,
    .main-services-content,
    .trust-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

    .about-text h2,
    .detailed-services h2,
    .project-gallery h2,
    .testimonials h2,
    .trust-text h2,
    .contact-info h2 {
        font-size: 2rem;
    }

    .service-detail h3 {
        font-size: 1.5rem;
    }

    .main-services-text h2 {
        font-size: 1.8rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .stat-item h3 {
        font-size: 3rem;
    }

    .service-item {
        padding: 30px 15px;
    }

    .service-detail {
        padding: 30px 20px;
    }

    .testimonial-item {
        padding: 30px 20px;
    }

    .contact-form,
    .contact-info {
        padding: 0 10px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
body:not(.loaded) {
    overflow: hidden;
}

body:not(.loaded)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service item hover effects */
.service-item:hover .service-icon {
    background: linear-gradient(135deg, #2c5aa0, #1e3c72);
    color: white;
    transform: scale(1.1);
}

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

.testimonial-item:hover {
    transform: translateY(-5px);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

