:root {
--primary-color: #003366;
--secondary-color: #ffcc00;
--accent-color: #004080;
--light-color: #f8f9fa;
--dark-color: #212529;
--gray-color: #6c757d;
--success-color: #28a745;
--font-main: 'Roboto', 'Microsoft YaHei', sans-serif;
--box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
--transition: all 0.3s ease;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: var(--font-main);
color: var(--dark-color);
line-height: 1.6;
background-color: #f9f9f9;
overflow-x: hidden;
}
a {
text-decoration: none;
color: inherit;
}
ul {
list-style: none;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}
/* 顶部信息栏 */
.top-info-bar {
background-color: var(--primary-color);
color: white;
padding: 8px 0;
font-size: 14px;
}
.top-info-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.top-contact-info span {
margin-right: 20px;
}
.top-contact-info i {
margin-right: 5px;
color: var(--secondary-color);
}
.social-links a {
margin-left: 15px;
color: white;
transition: var(--transition);
}
.social-links a:hover {
color: var(--secondary-color);
}
/* 导航栏 */
header {
background-color: white;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}
.logo {
display: flex;
align-items: center;
}
.logo-img {
width: 70px;
height: 70px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 10px;
color: white;
font-weight: bold;
font-size: 12px;
}
.logo-text h2 {
font-size: 18px;
font-weight: 700;
color: var(--primary-color);
line-height: 1.2;
}
.logo-text .subtitle {
font-size: 13px;
color: var(--gray-color);
}
nav ul {
display: flex;
}
nav ul li {
position: relative;
}
nav ul li a {
display: block;
padding: 10px 18px;
font-weight: 500;
color: var(--dark-color);
transition: var(--transition);
position: relative;
}
nav ul li a:after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 3px;
background-color: var(--secondary-color);
transition: var(--transition);
transform: translateX(-50%);
}
nav ul li a:hover, nav ul li a.active {
color: var(--primary-color);
}
nav ul li a:hover:after, nav ul li a.active:after {
width: 80%;
}
.nav-cta {
margin-left: 20px;
}
/* 移动端菜单按钮 */
.mobile-menu-btn {
display: none;
flex-direction: column;
justify-content: space-around;
width: 30px;
height: 25px;
background: transparent;
border: none;
cursor: pointer;
padding: 0;
}
.mobile-menu-btn span {
width: 30px;
height: 3px;
background-color: var(--primary-color);
border-radius: 2px;
transition: var(--transition);
}
/* 页面标题区域 */
.page-title {
background-color: var(--primary-color);
color: white;
padding: 40px 0;
position: relative;
}
.page-title-content {
position: relative;
z-index: 2;
}
.page-title h1 {
font-size: 2.2rem;
margin-bottom: 10px;
}
.breadcrumbs {
display: flex;
font-size: 14px;
opacity: 0.9;
}
.breadcrumbs a:hover {
color: var(--secondary-color);
}
.breadcrumbs span {
margin: 0 8px;
}
.breadcrumbs .current {
color: var(--secondary-color);
}
/* 面包屑导航 */
.breadcrumb {
padding: 15px 0;
background-color: var(--light-color);
font-size: 14px;
}
.breadcrumb-content {
display: flex;
flex-wrap: wrap;
}
.breadcrumb-item {
color: var(--gray-color);
}
.breadcrumb-item:not(:last-child):after {
content: '/';
margin: 0 10px;
color: var(--gray-color);
}
.breadcrumb-item a:hover {
color: var(--primary-color);
}
.breadcrumb-item.active {
color: var(--primary-color);
font-weight: 500;
}
/* 关于我们内容区域 */
.about-page {
padding: 60px 0;
}
/* 公司简介 */
.company-intro {
background-color: white;
border-radius: 8px;
padding: 40px;
box-shadow: var(--box-shadow);
margin-bottom: 60px;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 30px;
}
.intro-content {
flex: 1;
min-width: 300px;
}
.intro-image {
flex: 0 0 400px;
height: 300px;
background-color: #e9ecef;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-color);
font-weight: bold;
}
.section-title {
font-size: 1.8rem;
color: var(--primary-color);
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid var(--secondary-color);
display: inline-block;
}
.intro-content p {
margin-bottom: 15px;
line-height: 1.8;
}
.intro-content ul {
margin: 20px 0;
padding-left: 20px;
}
.intro-content ul li {
margin-bottom: 10px;
position: relative;
padding-left: 20px;
}
.intro-content ul li:before {
content: '✓';
position: absolute;
left: 0;
color: var(--secondary-color);
font-weight: bold;
}
/* 我们的优势 */
.our-advantages {
margin-bottom: 60px;
}
.advantages-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
margin-top: 30px;
}
.advantage-card {
background-color: white;
border-radius: 8px;
padding: 30px;
box-shadow: var(--box-shadow);
transition: var(--transition);
text-align: center;
}
.advantage-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.advantage-icon {
width: 80px;
height: 80px;
background-color: rgba(0, 51, 102, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
color: var(--primary-color);
font-size: 2rem;
}
.advantage-card h3 {
color: var(--primary-color);
margin-bottom: 15px;
font-size: 1.3rem;
}
/* 团队介绍 */
.our-team {
margin-bottom: 60px;
}
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 30px;
margin-top: 30px;
}
.team-member {
background-color: white;
border-radius: 8px;
overflow: hidden;
box-shadow: var(--box-shadow);
transition: var(--transition);
}
.team-member:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.team-photo {
height: 250px;
background-color: #e9ecef;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-color);
font-weight: bold;
}
.team-info {
padding: 20px;
text-align: center;
}
.team-info h3 {
color: var(--primary-color);
margin-bottom: 5px;
}
.team-position {
color: var(--gray-color);
font-size: 0.9rem;
margin-bottom: 15px;
}
.team-bio {
font-size: 0.9rem;
line-height: 1.6;
}
/* 发展历程 */
.company-history {
margin-bottom: 60px;
}
.timeline {
position: relative;
max-width: 1200px;
margin: 30px auto;
padding: 20px 0;
}
.timeline:before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 4px;
background-color: var(--primary-color);
transform: translateX(-50%);
}
.timeline-item {
padding: 10px 40px;
position: relative;
width: 50%;
box-sizing: border-box;
}
.timeline-item:nth-child(odd) {
left: 0;
}
.timeline-item:nth-child(even) {
left: 50%;
}
.timeline-content {
padding: 20px;
background-color: white;
border-radius: 8px;
box-shadow: var(--box-shadow);
position: relative;
}
.timeline-item:nth-child(odd) .timeline-content:after {
content: '';
position: absolute;
right: -15px;
top: 20px;
width: 0;
height: 0;
border-top: 15px solid transparent;
border-left: 15px solid white;
border-bottom: 15px solid transparent;
}
.timeline-item:nth-child(even) .timeline-content:after {
content: '';
position: absolute;
left: -15px;
top: 20px;
width: 0;
height: 0;
border-top: 15px solid transparent;
border-right: 15px solid white;
border-bottom: 15px solid transparent;
}
.timeline-date {
position: absolute;
width: 60px;
height: 60px;
background-color: var(--secondary-color);
color: var(--primary-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
top: 20px;
}
.timeline-item:nth-child(odd) .timeline-date {
right: -30px;
}
.timeline-item:nth-child(even) .timeline-date {
left: -30px;
}
.timeline-content h3 {
color: var(--primary-color);
margin-bottom: 10px;
}
/* 联系信息 */
.contact-info {
background-color: white;
border-radius: 8px;
padding: 40px;
box-shadow: var(--box-shadow);
display: flex;
flex-wrap: wrap;
gap: 30px;
}
.contact-details {
flex: 1;
min-width: 300px;
}
.contact-form {
flex: 1;
min-width: 300px;
}
.contact-details ul {
margin-top: 20px;
}
.contact-details ul li {
margin-bottom: 20px;
display: flex;
align-items: flex-start;
}
.contact-details ul li i {
width: 40px;
height: 40px;
background-color: rgba(0, 51, 102, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-color);
margin-right: 15px;
flex-shrink: 0;
}
.contact-details .map-container {
margin-top: 30px;
height: 300px;
background-color: #e9ecef;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary-color);
font-weight: bold;
}
.form-group {
margin-bottom: 10px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 500;
color: var(--dark);
}
.form-group input,
.form-group textarea,
.form-group select {
width: 100%;
padding: 15px 20px;
border: 1px solid #ddd;
border-radius: 12px;
font-family: 'Poppins', sans-serif;
font-size: 16px;
transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.1);
}
.form-group textarea {
min-height: 150px;
resize: vertical;
}
.form-row {
display: grid;
grid-template-columns: 3fr 1fr;
gap: 20px;
}
.submit-btn {
background: linear-gradient(45deg, var(--primary), var(--secondary));
/* color: white; */
border: none;
padding: 16px;
border-radius: 30px;
font-weight: 500;
font-size: 16px;
cursor: pointer;
transition: all 0.3s ease;
display: inline-block;
box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4);
width: 100%;
font-family: 'Poppins', sans-serif;
}
.submit-btn:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(124, 77, 255, 0.6);
animation: pulse 1s infinite;
}
/* 页脚 */
footer {
background-color: var(--primary-color);
color: white;
padding: 60px 0 20px;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
margin-bottom: 40px;
}
.footer-column h3 {
font-size: 1.3rem;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-column p {
margin-bottom: 15px;
opacity: 0.8;
}
.footer-column ul li {
margin-bottom: 10px;
}
.footer-column ul li a {
opacity: 0.8;
transition: var(--transition);
}
.footer-column ul li a:hover {
opacity: 1;
color: var(--secondary-color);
padding-left: 5px;
}
.footer-bottom {
text-align: center;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
font-size: 14px;
opacity: 0.8;
}
/* 响应式设计 */
@media (max-width: 992px) {
nav ul {
display: none;
flex-direction: column;
position: absolute;
top: 100%;
left: 0;
right: 0;
background-color: white;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
padding: 20px;
}
nav ul.show {
display: flex;
}
.mobile-menu-btn {
display: flex;
}
/* 时间线响应式调整 */
.timeline:before {
left: 31px;
}
.timeline-item {
width: 100%;
padding-left: 70px;
padding-right: 25px;
}
.timeline-item:nth-child(even) {
left: 0;
}
.timeline-item:nth-child(odd) .timeline-content:after,
.timeline-item:nth-child(even) .timeline-content:after {
left: -15px;
top: 20px;
border-top: 15px solid transparent;
border-right: 15px solid white;
border-bottom: 15px solid transparent;
}
.timeline-item:nth-child(odd) .timeline-date,
.timeline-item:nth-child(even) .timeline-date {
left: 0;
}
}
@media (max-width: 768px) {
.top-info-content {
flex-direction: column;
gap: 10px;
text-align: center;
}
.page-title h1 {
font-size: 1.8rem;
}
.company-intro {
padding: 30px 20px;
}
.intro-image {
flex: 0 0 100%;
height: 200px;
}
.section-title {
font-size: 1.5rem;
}
.contact-info {
padding: 30px 20px;
}
}
@media (max-width: 576px) {
.advantages-grid, .team-grid {
grid-template-columns: 1fr;
}
.timeline-item {
padding-left: 50px;
}
.timeline:before {
left: 21px;
}
.timeline-date {
width: 40px;
height: 40px;
font-size: 0.8rem;
}
}
/* 动画效果 */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.fade-in {
animation: fadeIn 0.5s ease forwards;
}
/* 按钮样式 */
.btn-primary {
display: inline-block;
background-color: var(--primary-color);
color: white;
padding: 10px 20px;
border-radius: 4px;
font-weight: 500;
transition: var(--transition);
border: 1px solid var(--primary-color);
}
.btn-primary:hover {
background-color: var(--accent-color);
}