
/* Base Styles */
:root { --primary-green:#339933; --accent-orange: #ff8800; --text-dark: #333; --text-light: #fff; --background-light: #f9f9f9; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', Arial, sans-serif; }
body {font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text-dark); line-height: 1.6; font-size: 16px; }
h1, h2, h3 {font-weight:700; margin-bottom: 1rem; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h5 { font-weight:bold;}
p { margin-bottom: 1rem; }

p, span, a {font-family: 'Roboto', sans-serif; /* 常规 */}

a {color: #333;  text-decoration: none;}
a:hover {color:#ff8800;  text-decoration: underline;}
a:active {color: #ff6600;}

.seconday{font-size:14px;color:#ccc;}
.seconday a{color:#ccc;}
.seconday:hover{color:#fff;}
.container { max-width: 1400px; margin: 0 auto; padding: 0 1rem; }

/* Buttons */
.btn{font-weight:bold;}
.btn-outline-light{border:2px solid rgba(240, 240, 240, 0.5);}
.btn-outline-dark{border: 2px solid rgba(0, 0, 0, 0.5);}
.form-control{font-size:0.8rem;line-height:1; border-radius:0;}
.search { display: inline-block; background-color:#ff8800; color: var(--text-light); text-decoration: none; border-radius:0;font-size:0.8rem; line-height:1;font-weight: 600; transition: all 0.3s ease; cursor: pointer; text-align: center; }


/* Section Styles */
section { padding: 4rem 0; }

/* Hero Section */
.hero { background-image: url('/images/about/logo-flag.webp'); background-size: cover; background-position: center; color: var(--text-light); position: relative; height: 680px; display: flex; align-items: center; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.certifications { display: flex; gap: 1rem; margin-top: 1.5rem; margin-bottom: 2rem; }
.cert-badge { background: rgba(255, 255, 255, 0.8); padding: 0.5rem; border-radius: 4px; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; }

/* Story Section */
.story { background-color: #fff; }
.story-container { display: flex; gap: 3rem; }
.story-text { flex: 1; }
.story-visuals { flex: 1; }
.timeline { margin-top: 2rem; position: relative; padding-left: 2rem; }

.timeline-item { position: relative; margin-bottom: 1.5rem; }
/* Why Choose Section */
.why-choose { background:url('/images/bg-fac.jpg') #eee; }
.advantages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.advantage-card { background-color:#fff; border-radius: 2px; overflow: hidden;  }
.advantage-card:hover{background-color:#f80;color:#fff;}
.advantage-content { padding: 1.5rem; }

 /* our-factory 宫格图片Card类 */
 .our-factory{margin-top:60px; padding-top:0;background-color:#fff;}
 .card { cursor: pointer; margin-top:30px; }
.card-img-top { transition: transform 0.3s ease; }
.card:hover .card-img-top { transform: scale(1.05); }
        
 /*宫格图片模态框样式 */
.modal-content { background: transparent; border: none; }
.modal-header { border: none; padding: 0; }
.modal-body { padding: 0; }
.close {position: absolute;top: 20px;right: 20px;z-index: 10;color: white;opacity: 0.8;text-shadow: 0 1px 2px rgba(0,0,0,0.6);font-size: 2rem;        }       
.close:hover { opacity: 1; }

/* Global Impact Section */
.global-impact { padding-top:40px; background:url('/images/worldmap.jpg') #eee;}
.impact-container {background:#fff; display: flex; flex-direction: column; align-items: center; }
.map-container { width: 100%; max-width: 800px; margin: 2rem 0; }
.gallery { display: flex; gap: 2rem; margin-top: 2rem; }
.gallery-item { flex: 1; border-radius: 8px; overflow: hidden; height: 250px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* CTA Section */
.cta { background:url('/api/placeholder/1200/400' #e4edf8;); background-size: cover; background-position: center; color: var(--text-light); position: relative; text-align: center; }
.cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); z-index: 1; }
.cta-content { position: relative; z-index: 2; padding: 4rem 0; }
.cta-buttons { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.contact-info { margin-top: 3rem; font-size: 1.1rem; }


/* 导航样式 */
.top-bar { background-color: #343a40; color: #ffffff; font-size: 14px; }
.top-bar a { color: #6c757d; text-decoration: none; }
.top-bar a:hover { color: #ffffff; text-decoration: none; }
.navbar{background-color:#ff8800;}
.navbar-brand img { max-height: 25px; }

/* 多级菜单样式 */
.dropdown-menu{margin:0;}
.dropdown-submenu .dropdown-menu { top: 0; left: 100%; margin-top: -20px; border-radius:none; }
.dropdown-submenu {position: relative;}
.dropdown-submenu .dropdown-menu {top: 0;left: 100%;margin-top: -1px;}
@media (min-width: 992px) { .dropdown:hover > .dropdown-menu { display: block; } .dropdown-submenu:hover > .dropdown-menu { display: block; } }
/* Iconfont样式兼容 */

.icon-mail:before { content: "\f0e0"; font-family: "Font Awesome 5 Free"; font-weight: 900; }
.icon-phone:before { content: "\f095"; font-family: "Font Awesome 5 Free"; font-weight: 900; }
.icon-search:before { content: "\f002"; font-family: "Font Awesome 5 Free"; font-weight: 900; }
.icon-arrow_down:before { content: "\f107"; font-family: "Font Awesome 5 Free"; font-weight: 900; }

/* 导航栏滚动效果 */
 .sticky-top {transition: all 0.3s ease-in-out;}
 .scrolled {background-color: #2c3e50 !important;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);}
/* 移动端适配 */
.timeline { position: relative; padding: 50px 0;  }
.timeline-line { position: absolute; top: 50%; left: 0; right: 0; height: 4px; background: linear-gradient(to right, #666, #28a745); transform: translateY(-50%); z-index: 1; }
.timeline-item { position: relative; z-index: 2; }
.timeline-marker { width: 20px; height: 20px; background: #fff; border: 4px solid #666; border-radius: 50%; margin: 0 auto 20px; position: relative; z-index: 3; transition: all 0.3s ease; }
.timeline-item:hover .timeline-marker { transform: scale(1.2); border-color: #ff8800; }
.timeline-content { background: #fff; border-radius: 0px; padding: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); text-align: center; transition: all 0.3s ease; border: 1px solid #e9ecef; }
.timeline-item:hover .timeline-content {color:#ff8800; transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.timeline-year { font-size: 1.4rem; font-weight: 700; color: #666; margin-bottom: 10px; }
.timeline-title { font-size: 1.1rem; font-weight: 600; color: #343a40; margin-bottom: 8px; }
.timeline-desc { font-size: 0.9rem; color: #6c757d; line-height: 1.5; }
.page-header { background: linear-gradient(135deg, #666, #333); color: white; padding: 60px 0; margin-bottom: 50px; }
.page-title { font-size: 2.5rem; font-weight: 300; text-align: center; margin: 0; }

/* contact form */
.contact-container {max-width:960px;margin: 0 auto; padding: 2rem 1rem; }
.contact-card { border: 2px solid #e9ecef;overflow: hidden; } 
.contact-card .card-header {padding: 2rem 1.5rem 1.5rem; }
.contact-card .card-header h4 { color: white; margin: 0; font-weight: 600; font-size: 1.5rem; }
.contact-card .card-body { padding: 2rem 1.5rem; background: white; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { font-weight: 600; color: #495057; margin-bottom: 0.5rem; font-size: 0.95rem; }
.form-control { border: 2px solid #e9ecef; padding: 0.75rem 1rem; font-size: 0.95rem; transition: all 0.3s ease; height: auto; } 
.form-control:focus { border-color: #667eea; box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15); }
.input-group-text { background: #eee; border: 2px solid #eee; color:#666; padding: 0.75rem 1rem; } 
.input-group .form-control { border-left: none; } 
.input-group .form-control:focus { border-left: 2px solid #667eea; }
.textarea.form-control { resize: vertical; min-height: 120px; }
/*.verification-section { background: #f8f9fa; padding: 1.5rem; margin: 1.5rem 0; border: 1px solid #e9ecef; } */
.verification-row { align-items: end; }
.captcha-container { display: flex; align-items: center; background: white; border: 2px solid #e9ecef; overflow: hidden; transition: all 0.3s ease; } 
.captcha-container:hover { border-color: #667eea; }
.captcha-input { border: none !important; flex: 1; } 
.captcha-input:focus { box-shadow: none !important; }
.captcha-image-container { background: #f8f9fa; padding: 0.5rem; cursor: pointer; transition: background-color 0.3s ease; }
.captcha-image-container:hover { background: #e9ecef; }
.captcha-image { width: 100px; height: 38px; display: block; } 
.submit-btn { border: none; padding: 0.75rem 2rem; font-weight: 600; font-size: 1rem; transition: all 0.3s ease; }
.submit-btn:hover { transform: translateY(-1px); }
.submit-btn:active { transform: translateY(0); }
.required label::after { content: " *"; color: #dc3545; font-weight: bold; }
@media (max-width: 768px) { .contact-container { padding: 1rem 0.5rem; } .contact-card .card-body { padding: 1.5rem 1rem; } .verification-section { padding: 1rem; } .verification-row .col-md-4, .verification-row .col-md-8 { margin-bottom: 1rem; } }


/* Responsive Design */
@media (max-width: 992px) {
    .navbar-nav { padding-top: 15px; }
    .nav-item { margin-bottom: 10px; }
    .dropdown-menu { border: none; background-color: transparent; box-shadow: none; padding-left: 15px; }
    .dropdown-submenu .dropdown-menu { left: 0; top: 0; margin-top: 0; margin-left: 15px; }
}

@media (max-width: 992px) { .advantages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 992px) { .story-container { flex-direction: column; } }
@media (max-width: 992px) { .story-text, .story-visuals { width: 100%; } }
@media (max-width: 768px) { .timeline-line { display: none; } .timeline-item { margin-bottom: 30px; } .timeline-marker { margin-bottom: 15px; } }
@media (max-width: 768px) { .advantages { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .gallery { flex-direction: column; } }
@media (max-width: 768px) { .cta-buttons { flex-direction: column; gap: 1rem; } }
@media (max-width: 768px) { .btn { width: 100%; } }
@media (max-width: 768px) { .hero { height: 500px; } }    
@media (max-width: 575.98px) { 
    .advantages{margin-top:1rem;}
    .col{padding-left:5px; padding-right:5px;} 
    .card-body{padding:5px;} h5{font-size:1rem;}
    .card{border: 0;}
    .card-title{font-size:0.75rem;font-weight:bold;}
    .Section{padding-top:1rem !important;}
}

