/* 导航栏组件 */
#navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.menu-btn {
    font-size: 1.25rem;
    color: var(--dark);
    background: none;
    border: none;
    cursor: pointer;
}

#mobileMenu {
    display: none;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    position: absolute;
    width: 100%;
    padding: 1rem 0;
}

#mobileMenu.show {
    display: block;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--dark);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--primary);
}

/* 按钮组件 */
.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: rgba(30, 136, 229, 0.9);
    color: white;
}

.btn-outline {
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background-color 0.3s ease;
}

.btn-outline:hover {
    background-color: rgba(30, 136, 229, 0.2);
}

.btn-more {
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin-top: 3rem;
}

.btn-more:hover {
    background-color: rgba(30, 136, 229, 0.05);
}

/* 卡片组件 */
.service-card {
    background-color: var(--light);
    border-radius: 0.75rem;
    padding: 2rem;
}

.icon-box {
    width: 4rem;
    height: 4rem;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-text {
    color: var(--primary);
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    text-decoration: underline;
}

/* 表单组件 */
.form-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: rgba(30, 136, 229, 0.5);
    box-shadow: 0 0 0 2px rgba(30, 136, 229, 0.1);
}

.btn-submit {
    width: 100%;
    background-color: var(--primary);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: rgba(30, 136, 229, 0.9);
}
