* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a73e8;
    --secondary: #34a853;
    --accent: #fbbc04;
    --light: #f8f9fa;
    --dark: #202124;
    --text: #3c4043;
    --border: #dadce0;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text);
    background-color: #f5f7fa;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部导航 */
.top-bar {
    background-color: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.social-links a {
    color: white;
    margin-left: 15px;
    font-size: 16px;
}

/* 主导航 */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.appointment-btn {
    background: linear-gradient(135deg, var(--primary), #0d5bb8);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(26, 115, 232, 0.3);
    transition: all 0.3s;
}

.appointment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 115, 232, 0.4);
}

/* Hero 区域 */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
}

/* 服务区域 */
.services {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-title p {
    color: #5f6368;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-content p {
    color: #5f6368;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f7ff, #e3f2fd);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-img img {
    width: 100%;
    display: block;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.about-text p {
    margin-bottom: 20px;
    color: #5f6368;
}

.features {
    margin-top: 30px;
}

.feature {
    display: flex;
    margin-bottom: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.feature-icon {
    background-color: rgba(26, 115, 232, 0.1);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

/* 医生团队 */
.doctors {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.doctors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to right, #1a73e8, #0d5bb8);
    z-index: 0;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0 100%);
}

.doctors .section-title h2 {
    color: white;
    position: relative;
    z-index: 2;
}

.doctors .section-title p {
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 2;
}

.doctors .section-title h2::after {
    background: white;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
    margin-top: 50px;
}

.doctor-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.doctor-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.doctor-img::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 1;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.doctor-card:hover .doctor-img img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.doctor-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.doctor-info .specialty {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
    font-size: 1.1rem;
}

.doctor-info p {
    color: #5f6368;
    font-size: 0.95rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.doctor-contact {
    background-color: #f0f7ff;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.9rem;
    text-align: left;
}

.doctor-contact p {
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.doctor-contact i {
    width: 25px;
    margin-right: 8px;
    color: var(--primary);
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f7ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* 预约区域 */
.appointment-section {
    padding: 80px 0;
    background: linear-gradient(to right, #1a73e8, #0d5bb8);
    color: white;
    position: relative;
    overflow: hidden;
}

.appointment-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.appointment-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.appointment-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.appointment-text p {
    margin-bottom: 30px;
    opacity: 0.9;
    font-size: 1.1rem;
}

.appointment-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, var(--secondary), #2a9146);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 168, 83, 0.5);
}

/* 页脚 */
footer {
    background-color: var(--dark);
    color: #e8eaed;
    padding-top: 60px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
}

.footer-column p {
    margin-bottom: 15px;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e8eaed;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 8px;
    width: 20px;
    color: var(--primary);
}

.contact-info-footer {
    list-style: none;
}

.contact-info-footer li {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-footer i {
    color: var(--primary);
    font-size: 20px;
    margin-right: 15px;
    width: 25px;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content,
    .appointment-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .appointment-text {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .doctors::before {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }

    .doctor-img {
        height: 260px;
    }
}

@media (max-width: 576px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .social-links {
        text-align: center;
        margin-top: 5px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }
}