* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}
body {
color: #333;
line-height: 1.6;
background-color: #f9f9f9;
}
a {
text-decoration: none;
color: #0066cc;
transition: color 0.3s;
}
a:hover {
color: #004499;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
} header {
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: relative; z-index: 100;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}
.logo {
display: flex;
align-items: center;
}
.logo img {
height: 40px;
margin-right: 10px;
}
.logo h1 {
font-size: 24px;
color: #0066cc;
font-weight: 600;
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-left: 30px;
}
nav ul li a {
color: #333;
font-weight: 500;
padding: 5px 0;
position: relative;
}
nav ul li a:after {
content: '';
position: absolute;
width: 0;
height: 2px;
background: #0066cc;
bottom: 0;
left: 0;
transition: width 0.3s;
}
nav ul li a:hover:after {
width: 100%;
}
.cta-button {
background-color: #0066cc;
color: white;
padding: 10px 20px;
border-radius: 5px;
font-weight: 500;
transition: background-color 0.3s;
}
.cta-button:hover {
background-color: #004499;
color: white;
} @media (max-width: 768px) {
.header-container {
flex-direction: column;
justify-content: space-between;
align-items: center;
}
nav ul {
margin-top: 0;
flex-wrap: wrap;
justify-content: center;
}
nav ul li {
margin: 5px 15px;
}
.hero {
padding: 60px 0;
}
.hero h2 {
font-size: 2rem;
}
.hero-buttons {
flex-direction: column;
gap: 15px;
}
.contact-container {
grid-template-columns: 1fr;
}
figure {
max-width: 100% !important;
height: auto !important;
}
figure img {
max-width: 100% !important;
height: auto !important;
}
} figure {
max-width: 100% !important;
height: auto !important;
width: auto !important;
place-items: center;
} .hero {
background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
color: white;
padding: 80px 0;
text-align: center;
}
.hero h2 {
font-size: 2.5rem;
margin-bottom: 20px;
font-weight: 700;
}
.hero p {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto 30px;
}
.hero-buttons {
display: flex;
justify-content: center;
gap: 20px;
}
.primary-button {
background-color: white;
color: #0066cc;
padding: 12px 30px;
border-radius: 5px;
font-weight: 600;
transition: all 0.3s;
}
.primary-button:hover {
background-color: rgba(255, 255, 255, 0.9);
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.secondary-button {
background-color: transparent;
color: white;
border: 2px solid white;
padding: 12px 30px;
border-radius: 5px;
font-weight: 600;
transition: all 0.3s;
}
.secondary-button:hover {
background-color: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
} .services {
padding: 80px 0;
background-color: white;
}
.section-title {
text-align: center;
margin-bottom: 50px;
}
.section-title h2 {
font-size: 2rem;
color: #0066cc;
margin-bottom: 15px;
position: relative;
display: inline-block;
}
.section-title h2:after {
content: '';
position: absolute;
width: 60px;
height: 3px;
background: #0066cc;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
}
.section-title p {
color: #666;
max-width: 700px;
margin: 0 auto;
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.service-card {
background-color: #f9f9f9;
border-radius: 8px;
padding: 30px;
text-align: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.service-icon {
font-size: 2.5rem;
color: #0066cc;
margin-bottom: 20px;
}
.service-card h3 {
font-size: 1.5rem;
margin-bottom: 15px;
color: #333;
}
.service-card p {
color: #666;
margin-bottom: 20px;
} .cases {
background-color: #f9f9f9;
}
.cases-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.case-card {
background-color: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s;
}
.case-card:hover {
transform: translateY(-5px);
}
.case-image {
height: 200px;
background-color: #eee;
background-size: cover;
background-position: center;
}
.case-content {
padding: 20px;
}
.case-content h3 {
font-size: 1.3rem;
margin-bottom: 10px;
color: #333;
}
.case-content p {
color: #666;
margin-bottom: 15px;
}
.case-meta {
display: flex;
justify-content: space-between;
color: #999;
font-size: 0.9rem;
} .team {
padding: 80px 0;
background-color: white;
}
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.team-photo {
width: 150px;
height: 150px;
border-radius: 50%;
margin: 0 auto 20px;
background-color: #eee;
background-size: cover;
background-position: center;
}
.team-member h3 {
font-size: 1.3rem;
margin-bottom: 5px;
color: #333;
}
.team-member .position {
color: #0066cc;
font-weight: 500;
margin-bottom: 10px;
}
.team-member p {
color: #666;
font-size: 0.9rem;
} .faq {
padding: 80px 0;
background-color: #f9f9f9;
}
.accordion {
max-width: 800px;
margin: 0 auto;
}
.accordion-item {
background-color: white;
border-radius: 8px;
margin-bottom: 15px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
overflow: hidden;
}
.accordion-header {
padding: 20px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 600;
color: #333;
}
.accordion-header:hover {
background-color: #f5f5f5;
}
.accordion-content {
padding: 0 20px;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out;
color: #666;
}
.accordion-content.active {
padding: 20px;
max-height: 500px;
}
.accordion-icon {
transition: transform 0.3s;
}
.accordion-item.active .accordion-icon {
transform: rotate(180deg);
} .contact {
padding: 80px 0;
background-color: white;
}
.contact-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 50px;
}
.contact-info h3 {
font-size: 1.5rem;
margin-bottom: 20px;
color: #0066cc;
}
.contact-item {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
}
.contact-icon {
font-size: 1.2rem;
color: #0066cc;
margin-right: 15px;
margin-top: 5px;
}
.contact-text h4 {
font-size: 1.1rem;
margin-bottom: 5px;
color: #333;
}
.contact-text p {
color: #666;
}
.contact-form form {
max-width: 500px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 5px;
font-weight: 500;
color: #333;
}
.form-control {
width: 100%;
padding: 12px 15px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
transition: border-color 0.3s;
}
.form-control:focus {
border-color: #0066cc;
outline: none;
}
textarea.form-control {
min-height: 150px;
resize: vertical;
}
.submit-button {
background-color: #0066cc;
color: white;
border: none;
padding: 12px 25px;
border-radius: 5px;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.3s;
}
.submit-button:hover {
background-color: #004499;
} footer {
background-color: #003366;
color: white;
padding: 60px 0 20px;
}
.footer-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
margin-bottom: 40px;
}
.footer-column h3 {
font-size: 1.2rem;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
}
.footer-column h3:after {
content: '';
position: absolute;
width: 40px;
height: 2px;
background: #0099ff;
bottom: 0;
left: 0;
}
.footer-column ul {
list-style: none;
padding-inline-start: unset;
}
.footer-column ul li {
margin-bottom: 10px;
}
.footer-column ul li a {
color: #ccc;
transition: color 0.3s;
}
.footer-column ul li a:hover {
color: white;
}
.social-links {
display: flex;
gap: 15px;
}
.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
color: white;
transition: background-color 0.3s;
}
.social-links a:hover {
background-color: #0099ff;
}
.footer-bottom {
text-align: center;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: #ccc;
font-size: 0.9rem;
} .post-thumbnail {
margin-bottom: 20px;
}
.post-thumbnail img {
width: 100%;
height: auto;
border-radius: 8px;
} article.post {
background-color: white;
border-radius: 8px;
padding: 30px;
margin-bottom: 40px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.post-header {
margin-bottom: 20px;
}
.post-meta {
color: #666;
font-size: 0.9rem;
margin-bottom: 15px;
}
.post-footer {
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid #eee;
}
.read-more {
color: #0066cc;
font-weight: 500;
text-decoration: none;
}
.read-more:hover {
text-decoration: underline;
} .archive-description {
color: #666;
margin-bottom: 30px;
font-size: 1.1rem;
} .post-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.post-excerpt {
color: #666;
margin-bottom: 15px;
font-size: 1rem;
} .category-header {
text-align: center;
padding: 60px 0;
background-color: #0066cc;
color: white;
}
.category-title {
font-size: 2.5rem;
margin-bottom: 20px;
}
.category-description {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto;
} .article-list {
padding: 80px 0;
}
.article-item {
display: flex;
margin-bottom: 40px;
border-bottom: 1px solid #eee;
padding-bottom: 40px;
}
.article-thumbnail {
margin-right: 30px;
min-width: 300px;
}
.article-thumbnail img {
width: 100%;
height: auto;
border-radius: 8px;
}
.article-content {
flex: 1;
}
.article-title {
font-size: 1.8rem;
margin-bottom: 10px;
}
.article-title a {
color: #333;
transition: color 0.3s;
}
.article-title a:hover {
color: #0066cc;
}
.article-meta {
color: #999;
margin-bottom: 15px;
}
.article-meta span {
margin-right: 20px;
}
.article-excerpt {
color: #666;
margin-bottom: 20px;
}
.read-more {
background-color: #0066cc;
color: white;
padding: 10px 20px;
border-radius: 5px;
font-weight: 500;
transition: background-color 0.3s;
}
.read-more:hover {
background-color: #004499;
color: white;
} .pagination {
text-align: center;
}
.pagination .page-numbers {
display: inline-block;
padding: 8px 15px;
margin: 0 5px;
border: 1px solid #ddd;
border-radius: 5px;
color: #333;
transition: background-color 0.3s, color 0.3s;
}
.pagination .page-numbers:hover {
background-color: #0066cc;
color: white;
border-color: #0066cc;
}
.pagination .current {
background-color: #0066cc;
color: white;
border-color: #0066cc;
} .knowledge {
padding: 80px 0;
background-color: #f9f9f9;
}
.knowledge-list {
display: grid;
grid-template-columns: repeat(2, 1fr); gap: 30px;
} @media (max-width: 768px) {
.knowledge-list {
grid-template-columns: 1fr;
}
}
.knowledge-item {
background-color: white;
border-radius: 8px;
padding: 25px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s, box-shadow 0.3s;
}
.knowledge-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.knowledge-item h3 {
font-size: 1.2rem;
margin-bottom: 10px;
color: #333;
}
.knowledge-item h3 a {
color: #333;
transition: color 0.3s;
}
.knowledge-item h3 a:hover {
color: #0066cc;
}
.knowledge-meta {
display: flex;
justify-content: space-between;
color: #999;
font-size: 0.9rem;
margin-bottom: 15px;
}
.excerpt {
color: #666;
margin-bottom: 15px;
line-height: 1.5;
}
.read-more:hover {
color: #004499;
} .custom-category-header {
text-align: center;
padding: 60px 0 40px;
background-color: #0066cc;
color: white;
border-radius: 8px;
margin-bottom: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.custom-category-title {
font-size: 2.5rem;
margin-bottom: 15px;
}
.custom-category-description {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto;
} .custom-article-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 30px;
padding: 0;
}
.custom-article-card {
background-color: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s, box-shadow 0.3s;
}
.custom-article-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.custom-card-content {
padding: 20px;
}
.custom-article-thumbnail {
width: 100%;
height: 200px;
overflow: hidden;
border-radius: 8px;
margin-bottom: 20px;
}
.custom-article-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s;
}
.custom-article-card:hover .custom-article-thumbnail img {
transform: scale(1.05);
}
.custom-article-title {
font-size: 1.3rem;
margin-bottom: 10px;
color: #333;
}
.custom-article-title a {
color: #333;
transition: color 0.3s;
}
.custom-article-title a:hover {
color: #0066cc;
}
.custom-article-meta {
display: flex;
flex-wrap: wrap;
color: #999;
font-size: 0.9rem;
margin-bottom: 15px;
}
.custom-article-meta span {
margin-right: 15px;
display: flex;
align-items: center;
}
.custom-article-meta i {
margin-right: 5px;
}
.custom-article-excerpt {
color: #666;
margin-bottom: 20px;
line-height: 1.5;
}
.custom-read-more {
display: inline-block;
background-color: #0066cc;
color: white;
padding: 8px 15px;
border-radius: 5px;
font-weight: 500;
transition: background-color 0.3s;
}
.custom-read-more:hover {
background-color: #004499;
color: white;
} .custom-pagination {
text-align: center;
margin-top: 40px;
}
.custom-pagination .page-numbers {
display: inline-block;
padding: 8px 15px;
margin: 0 5px;
border: 1px solid #ddd;
border-radius: 5px;
color: #333;
transition: background-color 0.3s, color 0.3s;
}
.custom-pagination .page-numbers:hover {
background-color: #0066cc;
color: white;
border-color: #0066cc;
}
.custom-pagination .current {
background-color: #0066cc;
color: white;
border-color: #0066cc;
} .breadcrumbs {
margin: 20px 0;
font-size: 0.9em;
color: #666;
} article.post {
background: #fff;
border-radius: 8px;
padding: 40px;
position: relative;
} .meta-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 2px solid #D4AF37;
}
.author-info {
display: flex;
align-items: center;
}
.author-info img {
width: 48px;
height: 48px;
border-radius: 50%;
}
.post-author {
font-weight: 600;
color: #1A2B5C;
}
.post-date {
font-size: 0.9em;
color: #5C5C5C;
}
.statistics {
text-align: right;
}
.statistics span {
font-size: 0.9em;
color: #5C5C5C;
} .post-header {
margin-bottom: 25px;
}
.post-title {
font-size: 1.5rem;
line-height: 1.3;
margin-bottom: 1.2rem;
color: #1A2B5C;
}
.post-categories {
margin-bottom: 25px;
}
.post-categories a {
display: inline-block;
padding: 6px 12px;
background: #F8F9FA;
border-radius: 4px;
font-size: 0.85em;
color: #3D4F7C;
transition: all 0.3s;
}
.post-categories a:hover {
background: #1A2B5C;
color: white;
} .post-content h2 {
font-size: 1.3rem;
margin: 1rem auto;
} .post-footer {
margin-top: 40px;
padding-top: 30px;
border-top: 2px solid #F8F9FA;
} .post-tags {
flex: 1;
}
.post-tags a {
padding: 6px 12px;
background: #F8F9FA;
border-radius: 4px;
font-size: 0.85em;
color: #5C5C5C;
transition: all 0.3s;
}
.post-tags a:hover {
background: #1A2B5C;
color: white;
} .post-navigation {
margin-top: 40px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.nav-previous, .nav-next {
padding: 15px;
background: #F8F9FA;
border-radius: 6px;
}
.nav-next {
text-align: right;
} .sidebar {
position: sticky;
top: 20px;
height: fit-content;
}
.sidebar-widget {
padding: 25px;
background: #fff;
border-radius: 8px;
}
.sidebar-widget h4 {
color: #1A2B5C;
margin-bottom: 15px;
padding-bottom: 10px;
border-bottom: 2px solid #D4AF37;
}
.sidebar-widget ul {
list-style: none;
padding-left: 0;
}
.sidebar-widget li {
margin-bottom: 12px;
}
.sidebar-widget a {
color: #5C5C5C;
font-size: 0.95em;
display: block;
padding: 8px;
border-radius: 4px;
transition: all 0.3s;
}
.sidebar-widget a:hover {
background: #F8F9FA;
color: #1A2B5C;
}
.popular-posts {
margin-top: 40px;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.popular-posts h4 {
margin-bottom: 15px;
color: #1A2B5C;
}
.popular-posts ul {
list-style: none;
padding: 0;
}
.popular-posts li {
margin-bottom: 10px;
}
.popular-posts a {
color: #5C5C5C;
transition: color 0.3s;
}
.popular-posts a:hover {
color: #1A2B5C;
}
.search-title {
text-align: center;
padding: 1rem;
font-size: 1.7rem;
} .search-form-container {
background-color: #ffffff;
height: 9rem;
padding: 2rem;
margin-bottom: 30px;
text-align: center;
}
.search-form {
display: flex;
max-width: 600px;
margin: 0 auto;
}
.search-field {
flex: 1;
padding: 12px 15px;
border: 1px solid #ddd;
border-radius: 5px 0 0 5px;
font-size: 1rem;
font-family: inherit;
}
.search-submit {
padding: 12px 25px;
background-color: #0066cc;
color: white;
border: none;
border-radius: 0 5px 5px 0;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s;
}
.search-submit:hover {
background-color: #004499;
} @media (max-width: 768px) {
.search-form {
flex-direction: column;
}
.search-field {
border-radius: 5px;
margin-bottom: 10px;
}
.search-submit {
border-radius: 5px;
}
} .no-search-query {
text-align: center;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
margin-bottom: 20px;
color: #666;
}
.post-content p {
margin-top: 10px;
margin-bottom: 10px;
}
.post-content h2 {
font-size: 1.3rem;
line-height: 150%;
margin: 20px 0px;
padding: 0 0 0 5px;
border-left: 5px solid #1acc00;
}
.post-content h3 {
font-size: 1rem;
line-height: 150%;
margin: 20px 0px;
padding: 0 0 0 5px;
border-left: 5px solid #0099ff;
}
ol {
display: block;
list-style-type: decimal;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
unicode-bidi: isolate;
padding-inline-start: revert;
}
ul {
display: block;
list-style-type: auto;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
unicode-bidi: isolate;
padding-inline-start: revert;
}
table {
width: 100%;
border-collapse: collapse; margin: 20px 0;
font-family: Arial, sans-serif;
font-size: 14px;
text-align: left;
}
thead {
background-color: #333;
color: white;
text-transform: uppercase;
letter-spacing: 1px;
}
th, td {
padding: 12px 15px;
border: 1px solid #ddd;
}
tbody tr:nth-child(odd) {
background-color: #f9f9f9;
}
tbody tr:nth-child(even) {
background-color: #ffffff;
}
caption {
caption-side: top;
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
color: #333;
}
@media screen and (max-width: 600px) {
table {
width: 100%;
display: block;
overflow-x: auto;
}
}