/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: #4fb085;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #3aa070;
    border: 2px solid #3aa070;
}

.btn-secondary:hover {
    background-color: #3aa070;
    color: white;
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    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;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

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

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #3aa070;
}

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

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

.nav-menu a:hover,
.nav-menu a.active {
    color: #3aa070 !important;
}

/* 首页横幅 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, #3aa070 0%, #4fb085 50%, #2d8a5c 100%);
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(58, 160, 112, 0.8) 0%,
        rgba(79, 176, 133, 0.7) 50%,
        rgba(45, 138, 92, 0.8) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 0 2rem;
    color: white;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: badgeGlow 2s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
    from {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }
    to {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    }
}

.badge-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.hero-title {
    margin-bottom: 2rem;
    line-height: 1.3;
}

.company-name {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-slogan {
    display: block;
    font-size: 1.4rem;
    font-weight: 400;
    opacity: 0.9;
    font-style: italic;
    color: #ffd700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}



.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 6rem;
    flex-wrap: wrap;
}

.hero .btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.hero .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #3aa070;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: #3aa070;
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: white;
}

.hero .btn-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.hero .btn:hover .btn-arrow {
    transform: translateX(3px);
}



.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    color: rgba(255, 255, 255, 0.7);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-text {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 1.2rem;
    animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* 节标题 */
.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    color: #3aa070;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #3aa070;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.about-text h3 {
    font-size: 28px;
    color: #3aa070;
    margin-bottom: 20px;
}

.management-policy {
    font-size: 18px;
    color: #4fb085;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #e8f7f2;
    border-left: 4px solid #3aa070;
    border-radius: 5px;
}

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

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

.mission-vision {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.mission-vision > div {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.mission-vision h4 {
    font-size: 20px;
    color: #3aa070;
    margin-bottom: 15px;
}

.mission-vision p {
    color: #666;
    line-height: 1.6;
}

/* 安全管理重要性 */
.safety-importance {
    padding: 100px 0;
    background-color: white;
}

.development-stages {
    margin-bottom: 80px;
}

.development-stages h3 {
    font-size: 28px;
    color: #3aa070;
    text-align: center;
    margin-bottom: 50px;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #3aa070, #4fb085);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 60%;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 60%;
    margin-right: 0;
}

.timeline-item:nth-child(2) {
    margin-top: -160px;
}

.timeline-item:nth-child(3) {
    margin-top: -120px;
}

.timeline-item:nth-child(4) {
    margin-top: -160px;
}

.timeline-year {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    background-color: #3aa070;
    color: white;
    padding: 6px 14px;
    border-radius: 18px;
    font-weight: bold;
    font-size: 12px;
    white-space: nowrap;
    z-index: 3;
    box-shadow: 0 3px 8px rgba(58, 160, 112, 0.3);
}

.timeline-content {
    background-color: #f8f9fa;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 48%;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -12px;
    border-width: 12px 0 12px 12px;
    border-color: transparent transparent transparent #f8f9fa;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -12px;
    border-width: 12px 12px 12px 0;
    border-color: transparent #f8f9fa transparent transparent;
}

.timeline-content h4 {
    color: #3aa070;
    font-size: 20px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.safety-fundamentals {
    margin-bottom: 80px;
}

.safety-fundamentals h3 {
    font-size: 28px;
    color: #3aa070;
    text-align: center;
    margin-bottom: 50px;
}

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

.fundamental-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.fundamental-item h4 {
    font-size: 22px;
    color: #3aa070;
    margin-bottom: 20px;
}

.fundamental-item ul {
    list-style: none;
    padding: 0;
}

.fundamental-item li {
    color: #666;
    margin-bottom: 8px;
    padding: 5px 0;
}

.safety-process {
    background-color: #e8f7f2;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #3aa070;
    text-align: center;
}

.process-description {
    font-size: 18px;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.training-achievements {
    padding: 100px 0;
    background-color: white;
}

.training-achievements h3 {
    font-size: 28px;
    color: #3aa070;
    text-align: center;
    margin-bottom: 30px;
}

.training-success {
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.training-success p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.training-achievements-inline {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e8f7f2;
}

.training-achievements-inline .training-success {
    background-color: #e8f7f2;
    border: none;
    text-align: center;
}

/* 业务成就 */
.achievements {
    padding: 100px 0;
    background-color: #3aa070;
    color: white;
}

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

.achievement-item {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

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

.achievement-number {
    font-size: 48px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
}

.achievement-text {
    font-size: 16px;
    color: #e8f7f2;
}

/* 团队介绍 */
.team {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.team-intro {
    font-size: 18px;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.team-item {
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
}

.team-item h4 {
    font-size: 20px;
    color: #3aa070;
    margin-bottom: 15px;
}

.team-item p {
    color: #666;
    line-height: 1.6;
}

/* 服务范围 */
.services {
    padding: 100px 0;
    background-color: white;
}

.service-overview {
    text-align: center;
    margin-bottom: 80px;
}

.service-overview h3 {
    font-size: 32px;
    color: #3aa070;
    margin-bottom: 10px;
}

.service-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.service-categories {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

.service-category {
    text-align: center;
}

.service-category h4 {
    font-size: 20px;
    color: #3aa070;
    margin-bottom: 10px;
}

.service-category p {
    color: #666;
}

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

.service-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.service-item h4 {
    font-size: 18px;
    color: #3aa070;
    margin-bottom: 15px;
}

.service-item ul {
    list-style: none;
    padding: 0;
}

.service-item li {
    color: #666;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.service-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* 培训课程详情 */
.training-details {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.training-objects {
    margin-bottom: 80px;
}

.training-objects h3 {
    font-size: 28px;
    color: #3aa070;
    text-align: center;
    margin-bottom: 40px;
}

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

.training-object {
    background-color: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.training-object:hover {
    transform: translateY(-5px);
}

.training-hours {
    background-color: #3aa070;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}

.training-object h4 {
    font-size: 22px;
    color: #3aa070;
    margin-bottom: 20px;
}

.training-object ul {
    list-style: none;
    padding: 0;
}

.training-object li {
    color: #666;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.training-object li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3aa070;
    font-weight: bold;
    font-size: 18px;
}

.course-system {
    margin-top: 80px;
}

.course-system h3 {
    font-size: 28px;
    color: #3aa070;
    text-align: center;
    margin-bottom: 50px;
}

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

.course-category {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.course-category h4 {
    font-size: 20px;
    color: #3aa070;
    margin-bottom: 25px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8f7f2;
}

.course-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.course-item {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    color: #555;
    font-size: 13px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.course-item:hover {
    background-color: #e8f7f2;
    border-left-color: #3aa070;
    color: #333;
}

/* 合作伙伴 */
.partners {
    padding: 100px 0;
    background-color: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-3px);
}

.partner-logo {
    width: 100%;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info h3 {
    font-size: 24px;
    color: #3aa070;
    margin-bottom: 30px;
}

.contact-info {
    padding: 20px 0;
}

.contact-item {
    margin-bottom: 15px;
    font-size: 16px;
    color: #666;
}

.contact-item strong {
    color: #333;
}

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

.contact-form h3 {
    font-size: 24px;
    color: #3aa070;
    margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.contact-form input[type="tel"] {
    margin-bottom: 12px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3aa070;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}



/* 页脚 */
.footer {
    background-color: #2c2c2c;
    color: #3aa070;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.footer-logo-img {
    height: 30px;
    width: 30px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: bold;
    color: #3aa070;
}

.footer-text {
    text-align: center;
}

.footer-text p {
    margin-bottom: 5px;
    color: #b8b8b8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 1rem;
    }
    
    .company-name {
        font-size: 2.5rem;
    }

    .company-slogan {
        font-size: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }


    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-categories {
        flex-direction: column;
        gap: 20px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .course-categories {
        grid-template-columns: 1fr;
    }
    
    .course-list {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        padding: 0 15px;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        justify-content: flex-start;
        margin: 30px 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
        margin-right: 0;
        padding: 15px 20px;
    }
    
    .timeline-year {
        left: 25px;
        transform: translate(-50%, -50%);
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .fundamentals-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 2rem;
    }
    
    .company-slogan {
        font-size: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }


    
    .section-title {
        font-size: 28px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        text-align: center;
    }
}

/* 滚动平滑 */
html {
    scroll-behavior: smooth;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
} 