/* Global Styles */
body {
    font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

ul {
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: #007bff; /* Professional blue */
}

a:hover {
    color: #0056b3;
}

h1, h2, h3 {
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background: #fff; /* Clean white background */
    color: #333;
    padding-top: 20px;
    min-height: 80px;
    border-bottom: #007bff 3px solid;
}

header .logo-container {
    display: flex;
    align-items: center; 
    margin-bottom: 10px;
}

header #logo {
    height: 31px; /* Adjust as needed */
    margin-right: 15px;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
    color: #003366; /* Darker blue for professionalism */
}

header .contact-info-header {
    float: right;
    text-align: right;
    font-size: 0.9em;
    color: #555;
}

header nav {
    float: left;
    margin-top: 10px;
}

header nav ul {
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin-right: 20px;
}

header nav ul li a {
    color: #333;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1em;
}

header nav ul li a.active,
header nav ul li a:hover {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}

/* Hero Section */
#hero {
    background: #003366 url('../images/hero_background_placeholder.jpg') no-repeat center center/cover; /* Placeholder, replace with actual image */
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

#hero h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #fff;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #0056b3;
    color: #fff;
}

.cta-button-secondary {
    display: inline-block;
    background: #6c757d; /* Secondary button color */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.cta-button-secondary:hover {
    background: #545b62;
    color: #fff;
}

/* Intro Section */
#intro {
    padding: 40px 0;
    text-align: center;
    background: #fff;
}

#intro h2 {
    margin-bottom: 20px;
    font-size: 2em;
}

/* Services Overview */
#services-overview {
    padding: 40px 0;
    background: #f9f9f9;
}

#services-overview h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: bold; /* 标题加粗 */
}

.service-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 一行显示4个服务项 */
    gap: 20px;
    justify-content: center;
}

.service-item {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    width: 80px; /* Adjust as needed */
    height: 80px;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #003366;
}

/* Why Choose Us Section */
#why-choose-us {
    padding: 40px 0;
    background: #fff;
}

#why-choose-us h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: bold; /* 标题加粗 */
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    text-align: center;
    width: calc(33.333% - 40px);
}

.feature-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #003366; /* 深蓝色 */
    font-weight: bold; /* 标题加粗 */
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}

footer .footer-links a {
    color: #00aaff; /* Lighter blue for footer links on dark background */
    margin: 0 10px;
}

footer .footer-links a:hover {
    color: #fff;
}

footer p {
    margin: 5px 0 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media(max-width: 1024px) {
    .service-items {
        grid-template-columns: repeat(3, 1fr); /* 在中等屏幕上每行显示3个 */
    }
}

@media(max-width: 768px) {
    header .logo-container {
        flex-direction: column;
        text-align: center;
    }
    header #logo {
        margin-bottom: 10px;
    }
    header .contact-info-header {
        float: none;
        text-align: center;
        margin-bottom: 10px;
    }
    header nav {
        float: none;
        text-align: center;
    }
    header nav ul li {
        display: block;
        margin-bottom: 10px;
    }
    .service-items {
        grid-template-columns: repeat(2, 1fr); /* 在小屏幕上每行显示2个 */
    }
    .feature-item {
        width: calc(50% - 20px);
    }
}

@media(max-width: 500px) {
    .service-items {
        grid-template-columns: 1fr; /* 在超小屏幕上每行显示1个 */
    }
    .feature-item {
        width: 100%;
    }
    #hero h2 {
        font-size: 2em;
    }
    #hero p {
        font-size: 1em;
    }
}    