* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: white;
    overflow-x: hidden;
}

body {
    font-family: 'Arial', sans-serif;
    background: white;
    color: white;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    position: relative;
    padding-bottom: 60px;
    overflow-x: hidden;
}

.container {
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 1000;
}


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

.menu-btn,
.search-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
}

/* 手機版顯示返回按鈕，桌面版顯示菜單按鈕 */
.back-btn-mobile {
    display: block;
}

.menu-btn-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .back-btn-mobile {
        display: none;
    }

    .menu-btn-desktop {
        display: block;
    }
}

/* 用來平衡 header 佈局，讓 logo 保持置中 */
.header-spacer {
    width: 50px;
    /* 跟 menu-btn 的寬度一樣 (padding 10px * 2 + icon 30px) */
    visibility: hidden;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('photo/cosmetic.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero2 {
    margin-top: 70px;
    height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('photo/lose weight.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero3 {
    margin-top: 70px;
    height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('photo/fitness.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero4 {
    margin-top: 70px;
    height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('photo/physical therapy.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
}

.hero h1,
.hero2 h1,
.hero3 h1,
.hero4 h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    letter-spacing: 3px;
}

/* Service Introduction */
.service-intro {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    padding: 40px 0;
}

/* 美容頁面全螢幕 Hero */
.beauty-hero-fullscreen,
.lose-weight-hero-fullscreen,
.strength-training-hero-fullscreen,
.physical-therapy-hero-fullscreen {
    height: 100vh !important;
    margin-top: 0 !important;
}

/* 滾動提示箭頭 - 隱藏 */
.scroll-hint {
    display: none;
}

/* 美容頁面服務介紹 - 流暢設計 */
.beauty-service-intro,
.lose-weight-service-intro,
.strength-training-service-intro,
.physical-therapy-service-intro {
    background: white;
    padding: 80px 0;
    position: relative;
}

.beauty-intro-content,
.lose-weight-intro-content,
.strength-training-intro-content,
.physical-therapy-intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.intro-decoration-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff6b35, transparent);
    margin: 0 auto 30px;
}

.intro-title {
    font-size: 1.2rem;
    color: #999;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.intro-divider {
    width: 40px;
    height: 3px;
    background: #ff6b35;
    margin: 0 auto 40px;
}

.intro-service-name {
    font-size: 3.5rem;
    color: #1a365d;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 8px;
}

.intro-description {
    font-size: 1.5rem;
    color: #ff6b35;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.6;
}

.intro-details {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Content Background Wrapper */
.main-content {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 這個是舊的樣式，主頁不使用 */

.service-text {
    position: relative;
}

.service-item-intro {
    margin-bottom: 20px;
}

.service-item-intro:last-child {
    margin-bottom: 0;
}

.service-item-intro h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-text h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.service-text p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Doctor Team */
.doctor-team {
    background: #2d3e5f;
    padding: 60px 0 80px;
    width: 100%;
    overflow-x: hidden;
}

.doctor-team h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: white;
    font-weight: bold;
}

.clinic-location-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.clinic-location-tabs .location-tab {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clinic-location-tabs .location-tab:hover {
    border-color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    color: #ff6b35;
}

.clinic-location-tabs .location-tab.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-items: center;
    justify-content: center;
    padding: 0 10px;
}

/* 只對醫師團隊的第5位應用居中（不影響教練團隊） */
/* 移除第5個醫師卡片的特殊樣式，改為統一樣式 */

/* 台北教練團隊的第3位（Louis）居中 - 已移除避免 Grace 被推到第三排 */
/* #taipei-doctors-strength .doctor-card:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 150px;
} */


/* 手機大小自適應 */
/* 手機版 - 美容頁面不使用全螢幕 */
@media (max-width: 767px) {

    .beauty-hero-fullscreen,
    .lose-weight-hero-fullscreen,
    .strength-training-hero-fullscreen,
    .physical-therapy-hero-fullscreen {
        height: 400px !important;
        margin-top: 70px !important;
    }

    .scroll-hint {
        display: none;
    }
}

@media (max-width: 480px) {

    .beauty-hero-fullscreen,
    .lose-weight-hero-fullscreen,
    .strength-training-hero-fullscreen,
    .physical-therapy-hero-fullscreen {
        height: 300px !important;
    }

    .beauty-service-intro,
    .lose-weight-service-intro,
    .strength-training-service-intro,
    .physical-therapy-service-intro {
        padding: 50px 0;
    }

    .intro-service-name {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }

    .intro-description {
        font-size: 1.2rem;
    }

    .intro-details {
        font-size: 1rem;
    }

    .intro-decoration-line {
        width: 60px;
    }

    .doctor-avatar {
        width: 65px;
        height: 65px;
    }

    .doctor-card h4 {
        font-size: 1.1rem;
    }

    .doctor-specialty,
    .doctor-specialty1,
    .doctor-specialty-outline {
        font-size: 0.6rem;
        padding: 3px 6px;
    }

    .doctors-grid {
        gap: 15px;
    }

    .clinic-location-tabs .location-tab {
        padding: 8px 15px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 5px;
    }

    .doctors-grid {
        gap: 5px;
        padding: 0 5px;
    }

    .doctor-card {
        padding: 3px;
        max-width: 140px;
    }

    .doctor-avatar {
        width: 45px;
        height: 45px;
        margin: 0 auto 5px;
    }

    .doctor-card h4 {
        font-size: 0.95rem;
        margin-bottom: 3px;
    }

    .doctor-specialty,
    .doctor-specialty1,
    .doctor-specialty-outline {
        font-size: 0.45rem;
        padding: 1px 3px;
        margin-bottom: 2px;
    }
}

.doctor-card {
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
    min-width: 160px;
    min-height: 340px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: visible;
}

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

.doctor-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ff6b35;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.doctor-card:hover .doctor-avatar {
    transform: scale(1.08);
    border-color: #ff8c42;
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.doctor-card h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: white;
    text-align: center;
    font-weight: bold;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-specialty {
    background: #eb873b;
    padding: 6px 12px;
    border-radius: 20px;
    text-align: center;
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px;
    white-space: nowrap;
}

.doctor-specialty1 {
    background: #ff6b35;
    padding: 6px 12px;
    border-radius: 20px;
    text-align: center;
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px;
    white-space: nowrap;
}

.doctor-specialty2 {
    background: #000000;
    padding: 6px 12px;
    border-radius: 20px;
    text-align: center;
    font-size: 0.75rem;
    color: white;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px;
    white-space: nowrap;
}

.doctor-specialty-outline {
    background: rgb(238, 237, 237);
    border: 1px solid #666;
    color: black;
    padding: 6px 12px;
    border-radius: 20px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px;
    white-space: nowrap;
}

/* Clinic Environment */
.clinic-environment {
    background: #2d3748;
    padding: 40px 0;
}

.environment-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab-label {
    font-weight: bold;
    color: white;
}

.location-tab {
    background: white;
    border: 2px solid #e2e8f0;
    color: #666;
    padding: 6px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.location-tab.active {
    background: #ff6b35;
    color: white;
    border-color: #ff6b35;
}

.environment-image {
    height: 250px;
    background: linear-gradient(135deg, #4a5568, #718096);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.environment-image img {
    filter: brightness(0) invert(1);
    /* 讓 SVG 圖示變白色 */
}

/* Beauty Plan */
.beauty-plan {
    background: #1a365d;
    padding: 40px 0;
}

.beauty-plan h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.plan-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #cbd5e0;
}

.beauty-plan h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-top: 25px;
}

.plan-items {
    margin-bottom: 30px;
}

.plan-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.plan-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.plan-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 2px solid #4a5568;
    border-radius: 4px;
    background: white;
}

.plan-item label {
    color: #cbd5e0;
    cursor: pointer;
    font-size: 14px;
}

.time-investment {
    margin-bottom: 30px;
}

.time-display {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.time-display span {
    font-size: 1rem;
    color: #cbd5e0;
    margin-left: 8px;
}

.time-slider {
    margin-bottom: 15px;
}

.slider-track {
    width: 100%;
    height: 8px;
    background: #4a5568;
    border-radius: 4px;
    position: relative;
    margin-bottom: 10px;
}

.slider-fill {
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    border-radius: 4px;
}

.slider-handle {
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border: 3px solid white;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    left: 30%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #cbd5e0;
}

.plan-summary {
    background: white;
    color: #333;
    border-radius: 15px;
    padding: 25px;
}

.summary-info {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.completion-time,
.monthly-cost {
    flex: 1;
}

.completion-time h3,
.monthly-cost h3 {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.time-value,
.cost-value {
    font-size: 2rem;
    font-weight: bold;
    color: #1a365d;
}

.time-value span,
.cost-value span {
    font-size: 1rem;
    color: #666;
    margin-left: 5px;
}

/* Booking Section */
.booking-section {
    background: #1a365d;
    color: white;
    padding: 40px 0;
}

.progress-pricing {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    margin-bottom: 25px;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    position: relative;
    margin-bottom: 10px;
}

.progress-fill {
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    border-radius: 4px;
}

.progress-handle {
    width: 20px;
    height: 20px;
    background: #ff6b35;
    border: 3px solid white;
    border-radius: 50%;
    position: absolute;
    top: -6px;
    left: 30%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.pricing-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    text-align: center;
}

.pricing-info .completion-time,
.pricing-info .monthly-cost {
    flex: 1;
}

.line-booking-btn {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}


/* Consultation Section */
.consultation-section {
    background: #2d3748;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.location-tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* Calendar */
.calendar {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-nav {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.day-header {
    font-weight: bold;
    color: #666;
    padding: 8px;
    font-size: 14px;
}

.day {
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: 14px;
}


.day.selected {
    background: #ff6b35;
    color: white;
}

/* Time Slots */
.time-slots {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e2e8f0;
    padding: 12px 15px;
    border-radius: 8px;
}

.time-slot.available {
    background: white;
}

.book-btn {
    background: #ff6b35;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s;
}


/* Footer */
.footer {
    background: #4a5568;
    padding: 30px 0;
    text-align: center;
    margin-top: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 16px;
}


.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.social-icons .social-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}


.social-icons .social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
}

.social-icons .social-item img {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
}

.copyright {
    color: #a0aec0;
    font-size: 12px;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #041a39;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-container {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
}

.menu-overlay.active .menu-container {
    transform: translateX(0);
}

.menu-header {
    position: absolute;
    top: 19px;
    right: 40px;
    z-index: 10001;
}

.menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 80px 40px 120px;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
    opacity: 0;
    transform: translateX(-30px);
    animation-fill-mode: forwards;
}

.menu-overlay.active .menu-item {
    animation: slideInFade 0.5s ease-out forwards;
}

.menu-overlay.active .menu-item:nth-child(1) {
    animation-delay: 0.1s;
}

.menu-overlay.active .menu-item:nth-child(2) {
    animation-delay: 0.2s;
}

.menu-overlay.active .menu-item:nth-child(3) {
    animation-delay: 0.3s;
}

.menu-overlay.active .menu-item:nth-child(4) {
    animation-delay: 0.4s;
}

.menu-overlay.active .menu-item:nth-child(5) {
    animation-delay: 0.5s;
}

.menu-overlay.active .menu-item:nth-child(6) {
    animation-delay: 0.6s;
}

.menu-overlay.active .menu-item:nth-child(7) {
    animation-delay: 0.7s;
}

@keyframes slideInFade {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


.menu-item.current-page {
    background: rgba(255, 107, 53, 0.2);
    border-radius: 8px;
    padding: 8px;
}

.menu-item.current-page .menu-title {
    font-weight: bold;
}

.menu-icon {
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-icon img {
    width: 40px;
    height: 32px;
    object-fit: contain;
}

.menu-text {
    color: white;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Source Han Sans TW', Arial, sans-serif;
    display: flex;
    align-items: center;
}

.menu-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-english {
    font-family: 'Archivo Expanded', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    opacity: 0.8;
}

.menu-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    opacity: 0;
    transform: translateX(-30px);
    animation-fill-mode: forwards;
}

.menu-overlay.active .menu-social {
    animation: slideInFade 0.5s ease-out forwards;
    animation-delay: 0.8s;
}

.social-row {
    display: flex;
    gap: 25px;
    align-items: center;
}

.social-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}


.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
}

.social-item img {
    position: relative;
    z-index: 2;
    width: 35px;
    height: 35px;
}


.social-youtube img {
    width: 30px;
    height: 30px;
}

/* Home Page Styles */
.home-main {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    min-height: 72vh;
    padding-top: 70px;
    padding-bottom: 7px;
}

/* 桌面側邊欄 - 預設隱藏 */
.desktop-sidebar {
    display: none;
}

.home-hero {
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.home-hero h1 {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    margin: 0;
    letter-spacing: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 10px;
    margin-bottom: 20px;
}

.service-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    height: 180px;
}

.service-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.service-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 2;
    color: white;
}

.service-info h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 5px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-info p {
    font-size: 0.8rem;
    margin: 0 0 8px 0;
    opacity: 0.9;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}



/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a365d;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #4a5568;
    z-index: 1000;
}

.nav-item {
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s;
}


.nav-item.current-page {
    background: rgba(255, 107, 53, 0.3);
    border-top: 3px solid #ff6b35;
}

/* 確保沒有current-page類別的nav-item不顯示紅色 */
.nav-item:not(.current-page) {
    background: transparent !important;
    border-top: none !important;
}



.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
}

.nav-icon img {
    filter: brightness(0) invert(1);
    /* 讓 SVG 圖示變白色 */
}

.nav-item span {
    font-size: 9px;
    color: #cbd5e0;
    display: block;
    line-height: 1.1;
}

/* Latest News Section */
.latest-news {
    background: #1a365d;
    padding: 30px 0 40px;
    margin-top: 70px;
}

.news-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 5px;
}

.news-slider {
    position: relative;
    width: 100%;
}

.news-slider-container {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
}

.news-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.news-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.news-arrow-left {
    left: 15px;
}

.news-arrow-right {
    right: 15px;
}

.news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.news-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
}

.news-slide.active {
    opacity: 1;
}

.news-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

/* 佔位符樣式（用於沒有圖片的投影片） */
.news-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d3748 0%, #1a365d 100%);
    border-radius: 15px;
}

.news-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    color: white;
}

.news-content h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.news-date {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

.news-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.news-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 480px) {
    .news-slider-container {
        height: 220px;
    }

    .news-content h3 {
        font-size: 1.1rem;
    }

    .news-date {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .news-slider-container {
        height: 200px;
    }

    .news-content {
        bottom: 15px;
        left: 15px;
    }

    .news-content h3 {
        font-size: 1rem;
    }
}

/* 平板螢幕 (768px - 1024px) */
@media (min-width: 768px) {

    /* 容器 */
    .container {
        padding: 0 30px;
    }

    /* 主內容區 */
    .home-main {
        min-height: 80vh;
        padding-bottom: 40px;
    }

    /* 最新消息區塊 */
    .latest-news {
        padding: 40px 0 50px;
        margin-top: 130px;
    }

    .news-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 30px;
    }

    .news-slider-container {
        height: 350px;
        max-width: 800px;
        margin: 0 auto;
    }

    .news-content h3 {
        font-size: 1.4rem;
    }

    .news-arrow {
        width: 45px;
        height: 45px;
    }

    .news-arrow svg {
        width: 28px;
        height: 28px;
    }

    /* 主標題 */
    .home-hero {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    .home-hero h1 {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    /* 服務卡片 */
    .services-grid {
        gap: 15px;
        padding: 0 20px;
        margin-bottom: 30px;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-card {
        height: 220px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    .service-info h2 {
        font-size: 1.8rem;
    }

    .service-info p {
        font-size: 0.9rem;
    }

    /* 美容頁面平板優化 */
    /* 平板不使用全螢幕 Hero */
    .beauty-hero-fullscreen,
    .lose-weight-hero-fullscreen,
    .strength-training-hero-fullscreen,
    .physical-therapy-hero-fullscreen {
        height: 400px !important;
        margin-top: 70px !important;
    }

    /* 隱藏滾動提示 */
    .scroll-hint {
        display: none;
    }

    .beauty-service-intro,
    .lose-weight-service-intro,
    .strength-training-service-intro,
    .physical-therapy-service-intro {
        padding: 60px 0;
    }

    .intro-service-name {
        font-size: 3rem;
    }

    .intro-description {
        font-size: 1.4rem;
    }

    .intro-details {
        font-size: 1.05rem;
    }

    .hero,
    .hero2,
    .hero3,
    .hero4 {
        height: 350px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .service-intro {
        padding: 60px 0;
    }

    .service-text h3 {
        font-size: 2.2rem;
    }

    .service-text h4 {
        font-size: 1.8rem;
    }

    .service-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .doctor-team {
        padding: 60px 0;
    }

    .doctor-team h2 {
        font-size: 2.2rem;
    }

    .location-tab {
        font-size: 1.1rem;
        padding: 12px 35px;
    }

    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-content: center;
    }

    .doctor-avatar {
        width: 100px;
        height: 100px;
    }

    .doctor-card h4 {
        font-size: 1.3rem;
    }
}

/* 桌面螢幕 (1024px+) */
@media (min-width: 1024px) {

    /* 容器 */
    .container {
        padding: 0 40px;
        max-width: 1400px;
        margin: 0 auto;
    }

    /* 主內容區 */
    .home-main {
        min-height: 85vh;
        padding-bottom: 50px;
        margin-left: 100px;
    }

    /* 左側垂直選單 */
    .desktop-sidebar {
        display: flex !important;
        position: fixed;
        left: 0;
        top: 70px;
        bottom: 0;
        width: 100px;
        background: linear-gradient(180deg, #ff6b35, #ff8c42, #eb873b);
        flex-direction: column;
        align-items: center;
        padding-top: 30px;
        gap: 25px;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        overflow-x: hidden;
        /* 隱藏滾動條但保留功能 */
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE and Edge */
    }

    /* Chrome, Safari and Opera */
    .desktop-sidebar::-webkit-scrollbar {
        display: none;
    }

    /* Push content to the right to avoid sidebar overlap */
    body:has(.desktop-sidebar) section,
    body:has(.desktop-sidebar) article,
    body:has(.desktop-sidebar) .footer {
        margin-left: 100px;
    }

    /* Hero sections stay full width and centered */
    body:has(.desktop-sidebar) .hero,
    body:has(.desktop-sidebar) .hero2,
    body:has(.desktop-sidebar) .hero3,
    body:has(.desktop-sidebar) .hero4,
    body:has(.desktop-sidebar) .brand-hero,
    body:has(.desktop-sidebar) .locations-hero {
        margin-left: 0;
    }

    /* Doctor team section - full width with padding to compensate for sidebar */
    body:has(.desktop-sidebar) .doctor-team {
        margin-left: 0;
        padding-left: 120px;
        padding-right: 20px;
    }

    /* Article content and locations container stay centered */
    body:has(.desktop-sidebar) .article-content,
    body:has(.desktop-sidebar) .locations-container {
        margin-left: auto;
        margin-right: auto;
    }


    .sidebar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        padding: 15px 10px;
        border-radius: 10px;
        transition: all 0.3s ease;
        width: 80px;
    }

    .sidebar-item:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    .sidebar-item.active {
        background: rgba(255, 255, 255, 0.25);
        border-left: 3px solid white;
    }

    .sidebar-icon {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sidebar-icon img {
        filter: brightness(0) invert(1);
        width: 35px;
        height: 35px;
    }

    .sidebar-label {
        color: white;
        font-size: 11px;
        font-weight: 500;
        text-align: center;
        line-height: 1.2;
    }

    /* 最新消息區塊 */
    .latest-news {
        padding: 50px 0 60px;
    }

    .news-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
        text-align: center;
    }

    .news-slider-container {
        height: 450px;
        max-width: 1000px;
        margin: 0 auto;
    }

    /* 桌面版隱藏漢堡選單按鈕和 spacer */
    .menu-btn,
    .header-spacer {
        visibility: hidden;
        /* 保持空間但隱藏元素，讓 logo 置中 */
    }

    /* header container 不受 body:has(.hero) 影響 */
    .header .container {
        margin: 0 auto !important;
    }

    /* 桌面版 Logo */
    .logo img {
        height: 55px;
        width: auto;
        max-width: none;
    }

    .news-content {
        bottom: 30px;
        left: 30px;
        right: 30px;
    }

    .news-content h3 {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    .news-arrow {
        width: 50px;
        height: 50px;
    }

    .news-arrow-left {
        left: 20px;
    }

    .news-arrow-right {
        right: 20px;
    }

    /* 主標題 */
    .home-hero {
        padding: 40px 20px;
        margin-bottom: 40px;
    }

    .home-hero h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    /* 服務卡片 - 採用創意網格佈局 */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(2, 320px);
        gap: 20px;
        padding: 0 40px;
        margin-bottom: 40px;
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }

    .service-card {
        height: auto;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* 美容 - 大卡片，左上 */
    .service-card:nth-child(1) {
        grid-column: 1 / 7;
        grid-row: 1 / 2;
    }

    /* 減重 - 右上 */
    .service-card:nth-child(2) {
        grid-column: 7 / 13;
        grid-row: 1 / 2;
    }

    /* 力量訓練 - 左下 */
    .service-card:nth-child(3) {
        grid-column: 1 / 7;
        grid-row: 2 / 3;
    }

    /* 物理治療 - 右下 */
    .service-card:nth-child(4) {
        grid-column: 7 / 13;
        grid-row: 2 / 3;
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    }

    .service-card:hover .service-image img {
        transform: scale(1.1);
    }

    .service-image img {
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .service-info {
        bottom: 25px;
        left: 25px;
        right: 25px;
        z-index: 3;
        transition: all 0.4s ease;
    }

    .service-card:hover .service-info {
        bottom: 35px;
    }

    .service-info h2 {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }

    .service-info p {
        font-size: 1rem;
        letter-spacing: 2px;
    }



    /* 底部導航在桌面隱藏 */
    .bottom-nav {
        display: none;
    }

    /* 移除桌面版的底部留白 */
    body {
        padding-bottom: 0;
    }

    /* 最新消息區塊要置中 - 補償側邊欄寬度 */
    .latest-news {
        margin-left: 100px;
        margin-top: 80px;
        padding: 80px 0 100px;
    }

    .latest-news .container {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 1200px;
    }

    .latest-news .news-title {
        font-size: 3rem;
        margin-bottom: 50px;
    }

    .latest-news .news-slider-container {
        height: 500px;
        max-width: 1000px;
    }

    .latest-news .news-slide img {
        height: 100%;
        object-fit: cover;
    }

    .latest-news .news-content {
        padding: 30px;
    }

    .latest-news .news-content h3 {
        font-size: 1.6rem;
        line-height: 1.6;
    }

    .latest-news .news-arrow {
        width: 50px;
        height: 50px;
    }

    /* 美容頁面桌面版優化 */
    body:has(.hero) .container {
        margin-left: 100px;
    }

    /* 服務介紹區塊要置中 - 補償側邊欄寬度 */
    .beauty-service-intro,
    .lose-weight-service-intro,
    .strength-training-service-intro,
    .physical-therapy-service-intro {
        margin-left: 100px;
    }

    .doctor-team {
        margin-left: 50px;
        margin-right: -50px;
    }

    .clinic-environment,
    .footer {
        margin-left: 100px;
    }

    .beauty-service-intro .container,
    .lose-weight-service-intro .container,
    .strength-training-service-intro .container,
    .physical-therapy-service-intro .container,
    .doctor-team .container,
    .clinic-environment .container,
    .footer .container {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 桌面版使用全螢幕 Hero */
    .beauty-hero-fullscreen,
    .lose-weight-hero-fullscreen,
    .strength-training-hero-fullscreen,
    .physical-therapy-hero-fullscreen {
        height: 100vh !important;
        margin-top: 0 !important;
    }

    /* 顯示滾動提示 */
    .scroll-hint {
        display: block;
    }

    .beauty-service-intro,
    .lose-weight-service-intro,
    .strength-training-service-intro,
    .physical-therapy-service-intro {
        padding: 100px 0;
    }

    .intro-service-name {
        font-size: 4rem;
        letter-spacing: 10px;
    }

    .intro-description {
        font-size: 1.6rem;
    }

    .intro-details {
        font-size: 1.15rem;
    }

    .intro-decoration-line {
        width: 120px;
    }

    /* Hero Section */
    .hero,
    .hero2,
    .hero3,
    .hero4 {
        height: 400px;
    }

    .hero-content {
        margin-left: 50px;
        margin-right: -50px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    /* 服務介紹區塊 */
    .service-intro {
        padding: 80px 0;
    }

    .service-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .service-text h3 {
        font-size: 2.5rem;
    }

    .service-text h4 {
        font-size: 2rem;
    }

    .service-text p {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    /* 醫師團隊 */
    .doctor-team {
        padding: 80px 0;
    }

    .doctor-team h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .clinic-location-tabs {
        margin-bottom: 50px;
    }

    .location-tab {
        font-size: 1.2rem;
        padding: 15px 40px;
        min-width: 180px;
    }

    .doctors-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        justify-content: center;
    }

    .doctor-card {
        padding: 30px 20px;
        transition: all 0.3s ease;
    }

    .doctor-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .doctor-avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .doctor-card h4 {
        font-size: 1.5rem;
    }

    .doctor-specialty {
        font-size: 1rem;
    }

    .doctor-specialty1 {
        font-size: 0.95rem;
    }
}

/* 大桌面螢幕 (1200px+) */
@media (min-width: 1200px) {

    /* 容器 */
    .container {
        max-width: 1600px;
        padding: 0 50px;
    }

    /* 主內容區 */
    .home-main {
        min-height: 90vh;
        padding-bottom: 60px;
    }

    /* 左側選單 */
    .desktop-sidebar {
        width: 120px;
    }

    .home-main {
        margin-left: 120px;
    }

    .desktop-sidebar {
        width: 120px;
    }

    /* Push content to the right for wider sidebar */
    body:has(.desktop-sidebar) section,
    body:has(.desktop-sidebar) article,
    body:has(.desktop-sidebar) .footer {
        margin-left: 120px;
    }

    /* Hero sections stay full width and centered */
    body:has(.desktop-sidebar) .hero,
    body:has(.desktop-sidebar) .hero2,
    body:has(.desktop-sidebar) .hero3,
    body:has(.desktop-sidebar) .hero4,
    body:has(.desktop-sidebar) .brand-hero,
    body:has(.desktop-sidebar) .locations-hero {
        margin-left: 0;
    }

    /* Doctor team section - full width with padding to compensate for sidebar */
    body:has(.desktop-sidebar) .doctor-team {
        margin-left: 0;
        padding-left: 140px;
        padding-right: 20px;
    }

    /* Article content and locations container stay centered */
    body:has(.desktop-sidebar) .article-content,
    body:has(.desktop-sidebar) .locations-container {
        margin-left: auto;
        margin-right: auto;
    }

    .sidebar-item {
        width: 90px;
        padding: 18px 12px;
    }

    .sidebar-icon img {
        width: 40px;
        height: 40px;
    }

    .sidebar-label {
        font-size: 12px;
    }

    /* 最新消息 */
    .news-slider-container {
        height: 500px;
        max-width: 1200px;
    }

    .news-content h3 {
        font-size: 1.8rem;
    }

    /* 大螢幕 Logo */
    .logo img {
        height: 60px;
        max-width: none;
    }

    /* 主標題 */
    .home-hero h1 {
        font-size: 3rem;
        letter-spacing: 5px;
    }

    /* 服務卡片 - 大螢幕優化 */
    .services-grid {
        max-width: 1600px;
        gap: 30px;
        grid-template-rows: repeat(2, 380px);
    }

    .service-card {
        border-radius: 20px;
    }

    /* 採用不對稱設計 */
    .service-card:nth-child(1) {
        grid-column: 1 / 8;
    }

    .service-card:nth-child(2) {
        grid-column: 8 / 13;
    }

    .service-card:nth-child(3) {
        grid-column: 1 / 6;
    }

    .service-card:nth-child(4) {
        grid-column: 6 / 13;
    }

    .service-info {
        bottom: 30px;
        left: 30px;
        right: 30px;
    }

    .service-info h2 {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .service-info p {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

    /* 底部導航在大螢幕隱藏 */
    .bottom-nav {
        display: none;
    }

    /* 移除大螢幕版的底部留白 */
    body {
        padding-bottom: 0;
    }

    /* 最新消息區塊要置中 - 補償側邊欄寬度 */
    .latest-news {
        margin-left: 120px;
        padding: 100px 0 120px;
    }

    .latest-news .container {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 1400px;
    }

    .latest-news .news-slider-container {
        height: 550px;
        max-width: 1100px;
    }

    .latest-news .news-content h3 {
        font-size: 1.8rem;
    }

    /* 美容頁面大螢幕優化 */
    body:has(.hero) .container {
        margin-left: 120px;
    }

    /* 服務介紹區塊要置中 - 補償側邊欄寬度 */
    .beauty-service-intro,
    .lose-weight-service-intro,
    .strength-training-service-intro,
    .physical-therapy-service-intro {
        margin-left: 120px;
    }

    .doctor-team {
        margin-left: 60px;
        margin-right: -60px;
    }

    .clinic-environment,
    .footer {
        margin-left: 120px;
    }

    .beauty-service-intro,
    .lose-weight-service-intro,
    .strength-training-service-intro,
    .physical-therapy-service-intro {
        padding: 120px 0;
    }

    .beauty-service-intro .container,
    .lose-weight-service-intro .container,
    .strength-training-service-intro .container,
    .physical-therapy-service-intro .container,
    .doctor-team .container,
    .clinic-environment .container,
    .footer .container {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .intro-service-name {
        font-size: 4.5rem;
        letter-spacing: 12px;
    }

    .intro-description {
        font-size: 1.8rem;
    }

    .intro-details {
        font-size: 1.25rem;
        line-height: 2;
        max-width: 700px;
    }

    .intro-decoration-line {
        width: 150px;
    }

    .hero,
    .hero2,
    .hero3,
    .hero4 {
        height: 450px;
    }

    .hero-content {
        margin-left: 60px;
        margin-right: -60px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
    }

    .service-intro {
        padding: 100px 0;
    }

    .service-content {
        gap: 80px;
    }

    .service-text h3 {
        font-size: 3rem;
    }

    .service-text h4 {
        font-size: 2.3rem;
    }

    .service-text p {
        font-size: 1.2rem;
    }

    .doctor-team {
        padding: 100px 0;
    }

    .doctor-team h2 {
        font-size: 3rem;
    }

    .doctors-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
        justify-content: center;
    }

    .doctor-card {
        padding: 40px 25px;
    }

    .doctor-avatar {
        width: 140px;
        height: 140px;
    }

    .doctor-card h4 {
        font-size: 1.6rem;
    }

}