/* referral.css - 国际转诊页面专用样式 */

/* 页面横幅 */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/banner-bg.jpg') no-repeat center center/cover;
    color: white;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    margin-top: 75px;
}

.banner-content {
    max-width: 800px;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 服务介绍部分 */
.referral-intro {
    padding: 5rem 2rem;
    background: white;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header.left-aligned {
    text-align: left;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.separator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.left-aligned .separator {
    justify-content: flex-start;
}

.separator span {
    height: 3px;
    width: 80px;
    background-color: #14c45d;
    display: block;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
}

.left-aligned .subtitle {
    text-align: left;
}

.service-overview {
    margin-top: 2rem;
}

.overview-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.overview-text {
    flex: 2;
}

.overview-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

.overview-text .highlight {
    font-size: 1.1rem;
    color: #333;
    border-left: 3px solid #14c45d;
    padding-left: 1rem;
    font-weight: 500;
}

.overview-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.overview-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.overview-image:hover img {
    transform: scale(1.05);
}

/* 转诊流程与服务优势并排布局 */
.process-advantages-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.process-advantages-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* 转诊流程样式 */
.process-timeline {
    position: relative;
    padding-left: 2rem;
}

.process-timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: #14c45d;
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item.last-item {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background: #14c45d;
    border-radius: 50%;
    z-index: 2;
}

.timeline-content {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.step-number {
    display: inline-block;
    background: #14c45d;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 服务优势样式 */
.advantages-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.advantage-icon {
    font-size: 2.5rem;
    color: #14c45d;
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* 合作医院部分 */
.partner-hospitals {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.hospitals-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hospitals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.hospital-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hospital-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.hospital-flag {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hospital-card h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #14c45d;
    padding-bottom: 0.5rem;
}

.hospital-card ul {
    list-style: none;
    padding: 0;
}

.hospital-card ul li {
    color: #666;
    line-height: 1.8;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.hospital-card ul li:last-child {
    border-bottom: none;
}

/* 联系我们 CTA */
.contact-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/contact-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #14c45d;
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #0e9c31;
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .process-advantages-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .overview-content {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    
    .overview-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .process-timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .advantage-card {
        padding: 1.5rem;
    }
    
    .hospital-card {
        padding: 1.5rem;
    }
    
    .hospitals-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}