/* 医疗旅游网站样式 - 基于UN风格指南 */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Noto Sans CJK SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand .brand-link {
    text-decoration: none;
    color: #009EDB;
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    color: #4A7C7E;
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: #009EDB;
    background: rgba(0, 158, 219, 0.1);
}

.language-selector {
    margin-left: 1rem;
}

.language-select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, #009EDB 0%, #4A7C7E 100%);
    color: white;
    padding: 120px 0 0;
    margin-top: 80px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 60px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: #009EDB;
    border-color: #fff;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* 优势滚动区域样式 */
.advantages-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 0;
    overflow: hidden;
}

.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
    position: relative;
}

.advantages-scroll {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    transition: transform 0.5s ease-in-out;
    width: max-content;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 300px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.advantage-card p {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 0.95rem;
}

@keyframes scrollAdvantages {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 5 - 2rem * 4));
    }
}

/* 指示器样式 */
.indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.indicator {
    width: 40px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background-color: #fff;
    width: 60px;
}

/* 暂停状态 */
.advantages-scroll.paused {
    animation-play-state: paused;
}

/* 章节标题样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #009EDB;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #666;
}

.section-disclaimer {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #888;
    line-height: 1.5;
}

/* 技术部分样式 */
.technologies-section {
    padding: 80px 0;
    background: #f8f9f7;
}

.technologies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.technology-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.technology-card:hover {
    transform: translateY(-5px);
}

.technology-card h3 {
    color: #009EDB;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tech-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-weight: 600;
    color: #4A7C7E;
}

/* 医院部分样式 */
.hospitals-section {
    padding: 80px 0;
    overflow: hidden;
}

.hospitals-scroll-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.hospitals-scroll-track {
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
    animation: scroll-hospitals 30s linear infinite;
    transition: transform 0.5s ease-in-out;
}

[dir="rtl"] .hospitals-scroll-track {
    animation: scroll-hospitals-rtl 30s linear infinite;
}

.hospitals-scroll-container:hover .hospitals-scroll-track {
    animation-play-state: paused;
}

.hospital-card {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #009EDB;
    width: 350px;
    max-width: 350px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.hospital-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.hospital-logo {
    text-align: left;
    margin-bottom: 0.75rem;
}

.hospital-logo img {
    max-width: 80px;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.hospital-card:hover .hospital-logo img {
    filter: grayscale(0%);
}

.hospital-card h3 {
    color: #009EDB;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.2;
}

.hospital-card p {
    margin-bottom: 0.4rem;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.3;
}

.hospital-specialties {
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.3;
}

@keyframes scroll-hospitals {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 17 - 2rem * 17));
    }
}

/* 阿拉伯语RTL布局下的滚动动画 */
@keyframes scroll-hospitals-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(350px * 17 + 2rem * 17));
    }
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
    .hospitals-section {
        padding: 60px 0;
    }
    
    .hospitals-scroll-container {
        padding: 15px 0;
    }
    
    .hospitals-scroll-track {
        gap: 1.5rem;
        padding: 0 0.5rem;
        animation-duration: 45s; /* 移动端滚动更慢 */
    }
    
    .hospital-card {
        width: 315px;
        max-width: 315px;
        padding: 1rem;
    }
    
    .hospital-logo img {
        max-width: 70px;
        max-height: 45px;
    }
    
    .hospital-card h3 {
        font-size: 0.95rem;
    }
    
    .hospital-card p {
        font-size: 0.8rem;
    }
    
    @keyframes scroll-hospitals {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-315px * 17 - 1.5rem * 17));
        }
    }
}

/* 平板端响应式样式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .hospital-card {
        width: 330px;
        max-width: 330px;
    }
    
    @keyframes scroll-hospitals {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-330px * 17 - 2rem * 17));
        }
    }
}

/* 咨询表单样式 */
.consultation-section {
    padding: 80px 0;
    background: #f8f9f7;
}

.consultation-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    color: #009EDB;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #009EDB;
    box-shadow: 0 0 0 3px rgba(0, 158, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 页脚样式 */
.footer {
    background: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #009EDB;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .consultation-form {
        padding: 2rem 1rem;
    }
}

/* RTL支持 */
[dir="rtl"] .nav-container {
    direction: rtl;
}

[dir="rtl"] .brand-text {
    margin-left: 0;
    margin-right: 0.5rem;
}

[dir="rtl"] .language-selector {
    margin-left: 0;
    margin-right: 1rem;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 加载状态 */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 成功/错误消息 */
.message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-below {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* 医疗流程部分样式 */
.procedure-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #e0f7ff);
}

.procedure-header {
    text-align: center;
    margin-bottom: 60px;
}

.procedure-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    background-color: #e0f7ff;
    color: #009EDB;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.procedure-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 16px;
}

.procedure-title-gradient {
    background: linear-gradient(to right, #009EDB, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.procedure-description {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 100%;
    margin: 0 auto;
}

.procedure-grid-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.procedure-line {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e2e8f0;
    border-radius: 50px;
}

.procedure-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .procedure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .procedure-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.procedure-card {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.procedure-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-8px);
}

.procedure-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background-color: #f1f5f9;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.procedure-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.procedure-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 700;
    background-color: #f1f5f9;
    color: #1e293b;
    margin-bottom: 16px;
}

.procedure-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 8px;
}

.procedure-card-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* Cloudflare Turnstile样式 */
#turnstile-container {
    margin: 1rem 0;
}

#turnstile-container.visible {
    display: block !important;
}

.cf-turnstile {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    min-height: 65px;
}

/* 确保在小屏幕上也能正常显示 */
@media (max-width: 768px) {
    .cf-turnstile {
        transform: scale(0.85);
        transform-origin: center;
    }
}

/* Turnstile widget 内部元素样式优化 */
.cf-turnstile iframe {
    border: none;
    overflow: hidden;
}

/* 增强可访问性和用户体验 */
.cf-turnstile:focus-within {
    outline: 2px solid #4A7C7E;
    outline-offset: 2px;
    border-radius: 4px;
}

/* 视频展示部分样式 */
.video-section {
    padding: 80px 0;
    background: #f8f9f7;
}

.video-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.site-video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    display: none; /* 默认隐藏 */
    transition: transform 0.3s ease;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn.show {
    display: block;
}

.video-fullscreen-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
    display: none; /* 默认隐藏 */
    transition: background 0.3s ease;
}

.video-fullscreen-btn.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.video-fullscreen-btn .fullscreen-icon {
    display: block;
}

.video-fullscreen-btn .exit-fullscreen-icon {
    display: none;
}

.video-fullscreen-btn.is-fullscreen .fullscreen-icon {
    display: none;
}

.video-fullscreen-btn.is-fullscreen .exit-fullscreen-icon {
    display: block;
}

/* 全屏模式下的样式 */
:fullscreen .video-wrapper,
:-webkit-full-screen .video-wrapper,
:-moz-full-screen .video-wrapper,
:-ms-fullscreen .video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

:fullscreen .site-video,
:-webkit-full-screen .site-video,
:-moz-full-screen .site-video,
:-ms-full-screen .site-video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
}

:fullscreen .video-fullscreen-btn,
:-webkit-full-screen .video-fullscreen-btn,
:-moz-full-screen .video-fullscreen-btn,
:-ms-full-screen .video-fullscreen-btn {
    position: fixed;
    top: 20px;
    right: 20px;
}

/* 移动端和微信浏览器全屏优化 */
@media (max-width: 768px) {
    .video-fullscreen-btn {
        width: 44px;
        height: 44px;
        padding: 10px;
    }
    
    .video-fullscreen-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* 微信 X5 内核视频样式 */
.site-video {
    object-fit: contain;
}

/* 确保全屏按钮在移动端也能点击 */
.video-fullscreen-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* WhatsApp客服组件样式 */
.whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.whatsapp-btn {
    width: 64px;
    height: 64px;
    background-color: #25D366;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 36px;
    height: 36px;
    color: white;
}

.whatsapp-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    width: 280px;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
    opacity: 0;
}

.whatsapp-popup.active {
    transform: scale(1);
    opacity: 1;
}

.whatsapp-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.whatsapp-popup-header h3 {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.whatsapp-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.whatsapp-close-btn:hover {
    color: #333;
}

.whatsapp-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-align: center;
}

.whatsapp-qr-container {
    background-color: #f5f5f5;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
}

.whatsapp-qr {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 16px;
        right: 16px;
    }
    
    .whatsapp-btn {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
    
    .whatsapp-popup {
        width: 260px;
        padding: 16px;
        bottom: 72px;
    }
}

/* Centers of Excellence Section Styles */
.centers-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #F8F9FA 0%, #FFFFFF 100%);
}

.centers-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-main {
    font-size: 40px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 12px;
    line-height: 1.2;
}

.section-title-gradient {
    background: linear-gradient(to right, #009EDB, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title-sub {
    font-size: 18px;
    font-weight: 400;
    color: #4A4A4A;
    text-align: center;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.condition-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.condition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #009EDB;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.condition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 158, 219, 0.2);
}

.condition-card:hover::before {
    transform: scaleX(1);
}

.condition-card:active {
    transform: translateY(-4px);
}

.card-icon-wrapper {
    margin-bottom: 32px;
}

.condition-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.condition-icon-emoji {
    font-size: 36px;
    line-height: 1;
}

/* Specialty Icon Colors */
.orthopedics-icon {
    background: linear-gradient(135deg, #009EDB, #007AB3);
}

.dental-icon {
    background: linear-gradient(135deg, #4A7C7E, #3A5C5E);
}

.cancer-icon {
    background: linear-gradient(135deg, #A0665C, #8A564C);
}

.tcm-icon {
    background: linear-gradient(135deg, #7D8471, #6D7461);
}

.condition-title {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    text-align: center;
    margin-bottom: 8px;
    margin-top: 0;
}

.condition-subtitle {
    font-size: 14px;
    color: #8A8A8A;
    text-align: center;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 32px;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #4A4A4A;
    padding: 2px 0;
}

.advantage-icon {
    display: none;
}

.advantage-text {
    line-height: 1.4;
}

.condition-image-wrapper {
    position: relative;
    margin: 32px 0 16px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
}

.condition-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.condition-card:hover .condition-image {
    transform: scale(1.02);
}

.advantages-slider {
    height: 50px;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

.slider-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slider-text.active {
    opacity: 1;
    transform: translateY(0);
}

.card-actions {
    display: none;
}

.card-actions button {
    flex: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 600;
}

.btn-secondary {
    background: #F0F4F8;
    color: #1A1A1A;
}

.btn-secondary:hover {
    background: #009EDB;
    color: #fff;
    transform: scale(1.02);
}

.btn-primary {
    background: #009EDB;
    color: #fff;
}

.btn-primary:hover {
    background: #007AB3;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 158, 219, 0.3);
}

.btn-primary:active,
.btn-secondary:active {
    transform: scale(0.98);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.condition-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.condition-card:nth-child(1) { animation-delay: 0.1s; }
.condition-card:nth-child(2) { animation-delay: 0.2s; }
.condition-card:nth-child(3) { animation-delay: 0.3s; }
.condition-card:nth-child(4) { animation-delay: 0.4s; }

/* Tablet Layout (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .conditions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 20px;
    }
}

/* Mobile Layout (<768px) */
@media (max-width: 767px) {
    .centers-section {
        padding: 60px 20px;
    }

    .section-title-main {
        font-size: 32px;
    }

    .section-title-sub {
        font-size: 16px;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .condition-card {
        padding: 32px;
    }

    .condition-icon {
        width: 56px;
        height: 56px;
    }

    .condition-icon-emoji {
        font-size: 28px;
    }

    .card-actions {
        flex-direction: column;
    }

    .card-actions button {
        width: 100%;
    }
}

/* Small Mobile (<480px) */
@media (max-width: 479px) {
    .section-title-main {
        font-size: 24px;
    }

    .section-title-sub {
        font-size: 14px;
        padding: 0 12px;
    }
}

/* RTL Support */
[dir="rtl"] .conditions-grid {
    direction: rtl;
}

[dir="rtl"] .condition-card {
    text-align: right;
}

[dir="rtl"] .advantage-item {
    flex-direction: row-reverse;
}