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

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    background-image: radial-gradient(#2ec4b6 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 249, 250, 0.92);
    z-index: -1;
}

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

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #2ec4b6 0%, #0b6e63 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #2ec4b6 0%, #0b6e63 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    opacity: 0.9;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.8;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s both;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,107,0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #2ec4b6;
    transform: translateY(-2px);
}

.hero-image {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: fadeInRight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}

/* Scroll Animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Services */
.services {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.85);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    background: linear-gradient(135deg, #2ec4b6 0%, #0b6e63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #2ec4b6 0%, #0b6e63 100%);
    display: block;
    margin: 20px auto;
    border-radius: 2px;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(46, 196, 182, 0.15);
    border-color: rgba(46, 196, 182, 0.3);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: #0b6e63;
}

.service-icon {
    font-size: 3rem;
    color: #2ec4b6;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* About Preview */
.about-preview {
    padding: 80px 0;
    background-color: rgba(248, 249, 250, 0.85);
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 20px 20px 0 rgba(46, 196, 182, 0.1), 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.about-img:hover {
    transform: scale(1.02);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2ec4b6 0%, #0b6e63 100%);
    color: white;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Company Intro */
.company-intro {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.85);
}

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

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.intro-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.intro-img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: -20px 20px 0 rgba(46, 196, 182, 0.1), 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.intro-img:hover {
    transform: scale(1.02);
}

/* Mission Vision */
.mission-vision {
    padding: 80px 0;
    background-color: rgba(248, 249, 250, 0.85);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mission-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    color: #2ec4b6;
    margin-bottom: 20px;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.mission-card p {
    color: #666;
    line-height: 1.8;
}

/* Team */
.team-section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.85);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.member-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.member-info {
    padding: 30px;
}

.member-info h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.member-info p {
    color: #666;
    line-height: 1.6;
}

/* Contact */
.contact-section {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.85);
}

.contact-content {
    width: 100%;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-item {
    flex: 1;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.contact-item i {
    font-size: 2rem;
    color: #2ec4b6;
    min-width: 50px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.contact-item p {
    color: #666;
    margin: 0;
}

/* Footer */
.footer {
    background-color: #1a2e35;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #ecf0f1;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #2ec4b6;
}

.footer-section i {
    margin-right: 10px;
    color: #2ec4b6;
}

.footer-bottom {
    border-top: 1px solid #2c4a54;
    padding-top: 20px;
    text-align: center;
    color: #bdc3c7;
}

.icp {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #95a5a6;
}

.icp a {
    color: inherit;
    text-decoration: none;
}

.icp a:link,
.icp a:visited,
.icp a:hover,
.icp a:active {
    color: inherit;
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: 0;
        top: 70px;
        flex-direction: column;
        background-color: rgba(46, 196, 182, 0.95);
        width: 100%;
        text-align: center;
        transition: all 0.3s ease-in-out;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }
    
    .nav-menu.active {
        max-height: 400px;
        padding: 20px 0;
        opacity: 1;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content,
    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services,
    .about-preview,
    .company-intro,
    .mission-vision,
    .team-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .service-card,
    .mission-card,
    .team-member {
        padding: 30px 20px;
    }
}
