

.logo-header img{
    width: 400px;
}
/* CSS cho thanh thông báo Messenger - Phiên bản cải thiện */
.messenger-notification-bar {
    /* Vị trí và kích thước - CẢI THIỆN */
    position: fixed;
    top: 15px;
    left: 10px;
    right: 10px;
    width: auto;
    z-index: 99999; /* Tăng z-index cao hơn */
    
    /* Giao diện */
    background-color: rgba(25, 25, 25, 0.95); /* Tăng độ đậm */
    color: white;
    padding: 12px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4); /* Tăng shadow */
    backdrop-filter: blur(8px); /* Tăng blur */
    -webkit-backdrop-filter: blur(8px);
    
    /* Layout */
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    
    /* Animation Ẩn/Hiện - CẢI THIỆN */
    transform: translateY(-100px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    visibility: hidden;
    pointer-events: none;
    
    /* Thêm cho touch interaction */
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
  }
  
  /* Lớp .is-visible */
  .messenger-notification-bar.is-visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Hiệu ứng khi đang được kéo */
  .messenger-notification-bar.dragging {
    transition: none;
  }
  
  /* Icon Wrapper */
  .messenger-icon-wrapper {
    background-color: #fff;
    border-radius: 12px;
    padding: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .messenger-icon-wrapper img {
    width: 40px;
    height: 40px;
    display: block;
  }
  
  /* Text Content */
  .messenger-text-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  
  .messenger-text-line1 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
  }
  
  .messenger-text-line1 strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f5f5f5;
  }
  
  .messenger-text-line1 span {
    font-size: 0.85rem;
    color: #b0b3b8;
  }
  
  .messenger-text-line2 {
    font-size: 0.9rem;
    color: #e4e6eb;
  }
  
  /* Close button - THÊM MỚI */
  .messenger-close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s;
  }
  
  .messenger-close-btn:hover {
    background: rgba(255,255,255,0.3);
  }
  
  
  
  
  
      /* CSS cho các icon mạng xã hội */
      .social-icons {
        position: fixed; /* Ghim cố định trên trang */
        top: 50%; /* Canh giữa theo chiều dọc */
        right: 20px; /* Cách lề phải 20px */
        transform: translateY(-50%); /* Tinh chỉnh để icon nằm chính giữa */
        display: flex;
        flex-direction: column; /* Xếp các icon theo chiều dọc */
        gap: 15px; /* Khoảng cách giữa các icon */
        z-index: 1000; /* Đảm bảo icon luôn nổi lên trên */
    }
  
    .social-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 50%; /* Bo tròn thành hình tròn */
        color: white;
        font-size: 24px;
        text-decoration: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hiệu ứng mượt mà khi di chuột */
    }
  
    /* Hiệu ứng khi di chuột vào */
    .social-icon:hover {
        transform: scale(1.1) translateY(-3px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    }
  
    /* Màu nền riêng cho từng icon */
    .facebook {
        background-color: #1877F2;
    }
  
    .zalo {
        background-color: #0068FF; /* Màu chính của Zalo */
    }
  
    /* Định nghĩa animation khi nhấn vào */
    @keyframes icon-click-animation {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.3);
        }
        100% {
            transform: scale(1);
        }
    }
  
    /* Class được thêm vào khi nhấn, để kích hoạt animation */
    .social-icon.clicked {
        animation: icon-click-animation 0.4s ease-in-out;
    }
  
  
  

/* home */
.home-about-us {
    background-color: #8dc5eb; /* Màu nền xanh giống trong ảnh */
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Tiêu đề của Section */
.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}

.section-title p {
    font-size: 14px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

/* Hộp chứa nội dung chính */
.about-content-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px; /* Bo góc nhẹ */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Đổ bóng nhẹ */
}

.about-content-box img {
    width: 400px;
    height: 550px;
    object-fit: unset;
    border-radius: 4px;
}

.about-content-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.about-content-box .description {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    text-align: justify;
}

/* Nút "Xem chi tiết" tùy chỉnh */
.btn-details {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 24px;
    border: 1px solid #cce0ee;
    color: #3d9ad9;
    background-color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background-color: #3d9ad9;
    color: #ffffff;
    border-color: #3d9ad9;
}


.home-packages {
    padding: 60px 0;
    overflow-x: hidden; /* Thêm để tránh thanh cuộn ngang khi slider xuất hiện */
}


.package-slider-mobile {
    display: none !important; /* Dùng !important để đảm bảo ghi đè Slick JS */
}


/* Tiêu đề chung của Section (GIỮ NGUYÊN) */
.section-title-home3 h2 {
    /* margin-top: 30px;s */
    font-size: 36px;
    font-weight: 900;
    color:rgb(44, 42, 42) !important;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title-home3 p {
    font-size: 16px;
    color:rgb(43, 41, 41) !important;
}

/* Card gói khám chỉ chứa ảnh */
.package-image-card {
    border-style: dashed;
    border-width: 2px;
    border-radius: 16px;
    padding: 5px; /* Tạo khoảng cách giữa viền và ảnh */
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    /* Thêm margin để các slide không dính vào nhau trên mobile */
    margin: 0 10px; 
}

.package-image-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.package-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px; /* Bo góc nhẹ cho ảnh bên trong */
}

/* Màu sắc cho viền của từng card */
.package-green {
    border-color: #4CAF50;
}
.package-purple {
    border-color: #A569BD;
}
.package-red {
    border-color: #EC7063;
}

/* BƯỚC 4 (TÙY CHỌN): CSS CHO DẤU CHẤM CỦA SLIDER */
.slick-dots {
    bottom: -35px; /* Đẩy dấu chấm xuống dưới một chút */
}
.slick-dots li button:before {
    font-size: 12px;
    color: #A569BD; /* Màu dấu chấm */
    opacity: 0.5;
}
.slick-dots li.slick-active button:before {
    color: #A569BD; /* Màu dấu chấm khi active */
    opacity: 1;
}




      /* ============================================= */
        /*          SECTION VÌ SAO CHỌN CHÚNG TÔI        */
        /* ============================================= */
        .why-us {
            padding: 60px 0;
            background-color: #f9f9fa; /* Nền xám nhạt để tách biệt với các section khác */
        }

        /* Tiêu đề chung của Section (GIỮ NGUYÊN TỪ TRÊN) */
        .section-title-home2 h2 {
            font-size: 36px;
            font-weight: 900;
            color: rgb(24, 23, 23) !important;
            text-transform: uppercase;
           
        }

        .section-title-home2 p {
            font-size: 16px;
            color: rgb(54, 51, 51) !important;
        }

        /* Card cho mỗi lý do */
        .why-box {
            background-color: #fff;
            border-radius: 16px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%; /* Giúp các card có chiều cao bằng nhau */
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .why-box:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        }

        /* Phần icon */
        .why-box .icon {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            transition: background-color 0.3s ease;
        }

        .why-box .icon i {
            font-size: 36px;
            color: #fff;
        }

        /* Tiêu đề của card */
        .why-box h4 {
            font-size: 20px;
            font-weight: 700;
            color: #333;
            margin-bottom: 15px;
        }

        /* Nội dung mô tả */
        .why-box p {
            font-size: 15px;
            color: #666;
            line-height: 1.6;
        }

        /* Màu sắc riêng cho từng icon (tạo sự đa dạng) */
        .icon-green { background-color: #4CAF50; }
        .icon-purple { background-color: #A569BD; }
        .icon-red { background-color: #EC7063; }
        .icon-blue { background-color: #3498DB; }


/* end home */




.language-switcher {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
}

.language-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.language-button:hover {
    background: #f9fafb;
}

.language-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.language-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    width: 200px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.language-dropdown.show {
    display: block;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background 0.2s ease;
}

.language-option:hover {
    background: #f3f4f6;
}



.chevron {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.chevron.rotate {
    transform: rotate(180deg);
}

.translation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.translation-modal {
    background: white;
    padding: 24px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}




.check-icon {
    color: #10b981;
    margin-left: auto;
}

/* header */

.top-bar {
    background-color: #f8f9fa;
    font-size: 12px;
    color: #666;
    padding: 5px 0;
}
.hospital-header {
    background: linear-gradient(135deg, #e8f4fd 0%, #ffffff 100%);
    padding: 15px 0;
    border-bottom: 2px solid #e9ecef;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #dc3545, #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}
.hospital-name {
    flex: 1;
}
.hospital-name h1 {
    font-size: 18px;
    color: #333;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}
.hospital-name h2 {
    font-size: 14px;
    color: #666;
    margin: 2px 0 0 0;
    font-weight: 500;
}
.contact-info {
    font-size: 12px;
}
.contact-info .service-title {
    color: #007bff;
    margin-bottom: 3px;
    font-size: 15px;
}
.contact-info .phone {
    color: #007bff;
    font-weight: 600;
    margin: 2px 0;
    font-size: 14px;
}
.address-mobi{
    display: none;
}
.phone-icon {
    /* background: linear-gradient(45deg, #007bff, #0056b3); */
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    /* box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3); */
    flex-shrink: 0;
}
.phone-icon-new {
    margin-right: 20px;
    border-right: 2px solid #007bff;
    height: 40px;
}
.nav-menu {
    padding: 0;
    position: -webkit-sticky; /* Tương thích với Safari cũ */
    position: sticky;
    top: 0; /* Ghim vào đỉnh của khung nhìn */
    z-index: 1000; /* Đảm bảo menu luôn nằm trên các nội dung khác */
    background-color: #fff; /* Thêm màu nền để nội dung không bị xuyên qua khi cuộn */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* (Tùy chọn) Thêm bóng đổ để tạo cảm giác nổi bật */
}

.nav-menu .nav-link {
    color: white !important;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.nav-menu .nav-link.active {
    background-color: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}
.nav-menu {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-nav {
    width: 100%;
    justify-content: center;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 15px 25px !important;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.2);
}

.navbar-nav .nav-link.active {
    background-color: rgba(255,255,255,0.3);
}

/* Medical Dropdown Menu - Horizontal Layout */
.medical-dropdown {
    position: relative;
}

.medical-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    padding: 20px;
    margin-top: 0;
    width: 90vw;
    max-width: 1200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.medical-dropdown:hover .medical-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Horizontal Specialty Layout */
.specialty-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 15px;
}

.specialty-tab {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.specialty-tab:hover,
.specialty-tab.active {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    text-decoration: none;
    border-color: #1976D2;
    transform: translateY(-2px);
}

.specialty-tab i {
    margin-right: 8px;
}

/* Disease Content */
.disease-content {
    min-height: 300px;
}

.disease-section {
    display: none;
}

.disease-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.disease-title {
    color: #2196F3;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 3px solid #2196F3;
    padding-bottom: 10px;
    display: inline-block;
}

.disease-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.disease-item {
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    text-align: center;
}

.disease-item:hover {
    background: #e3f2fd;
    color: #1976D2;
    border-left-color: #2196F3;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33,150,243,0.2);
}

/* Container */
.container {
    max-width: 1400px;
}

/* Remove mobile elements */
.navbar-toggler {
    display: none;
}

.navbar-collapse {
    display: flex !important;
}

/* Dropdown menu styles */
 /* end header */
 /* baner  */




 .banner-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    /* border-radius: 20px; */
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin: 0 auto;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.banner-slide.active {
    opacity: 1;
    transform: scale(1);
}

.banner-slide.next-enter {
    transform: translateX(100%) scale(1.05);
}

.banner-slide.prev-enter {
    transform: translateX(-100%) scale(1.05);
}

/* Navigation arrows */
.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border: none;
    color: #333;
    font-size: 1.8rem;
    padding: 18px 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.banner-nav:hover {
    background: white;
    color: #333;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.banner-nav.prev {
    left: 30px;
}

.banner-nav.next {
    right: 30px;
}

/* Navigation dots */
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.8);
}

.dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255,255,255,0.8);
}

.dot:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.1);
}

/* Progress bar */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    z-index: 10;
    box-shadow: 0 0 10px rgba(0,123,255,0.6);
}

/* .progress-bar.animate {
    animation: progressAnimation 5s linear;
} */

@keyframes progressAnimation {
    from { width: 0%; }
    to { width: 100%; }
}

/* Parallax zoom effect */


/* Loading overlay */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248,249,250,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: opacity 0.5s ease;
}

.loading-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0,123,255,0.3);
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




/* end banner */


/* home */

/* Responsive Design */







/* slide */


.main-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 50px 30px;
    margin: 20px auto;
    max-width: 1400px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    
   
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 18px;
    font-weight: 400;
}

.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    padding: 30px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.doctor-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid #f0f0f0;
}

.doctor-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.doctor-image-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-image {
    transform: scale(1.05);
}

.doctor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
}

.doctor-icon {
    font-size: 60px;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.doctor-info {
    padding: 25px 20px;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.doctor-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.doctor-specialty {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.doctor-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.navigation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.nav-button {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.nav-button:hover:not(:disabled) {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
}

.nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.indicators {
    display: flex;
    gap: 12px;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scale(1.4);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.indicator.active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.auto-play-controls {
    text-align: center;
    margin-top: 30px;
}

.auto-play-button {
  
}

.auto-play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Responsive Design */






/* Animation keyframes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.doctor-card {
    animation: slideInUp 0.6s ease forwards;
}

/* Loading animation */
.loading-spinner {
    display: none;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(102, 126, 234, 0.3);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* end slide */
/* end home */





/* Thanh công cụ cố định */
 
      
.mobile-toolbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px;
    background: transparent;
    display: none;
}


.toolbar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* Giảm khoảng cách giữa các nút */
}

.toolbar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: bold;
    text-align: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.toolbar-item:hover {
    opacity: 0.9;
}

/* Nút Đặt hẹn (màu xanh) */
.dat-hen-btn {
    flex: 1;
    background: #1E9D4C;
    flex-direction: column;
    line-height: 1.3;
    padding: 5px 9px;
    border-radius: 12px; /* Bo góc */
}

/* --- CSS MỚI CHO FONT CHỮ --- */
.dat-hen-btn .line-1 {
    font-size: 14px; /* Font chữ to hơn */
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.dat-hen-btn .line-2 {
    font-size: 11px; /* Font chữ nhỏ hơn */
    font-weight: 500;
    display: block;
    text-transform: uppercase; /* Viết hoa giống ảnh */
}
/* --- KẾT THÚC CSS MỚI --- */

/* Nút Icon Chat (dạng ảnh) */
.chat-icon-btn {
    flex-shrink: 0;
    background: none;
    padding: 0;
    /* Thêm hiệu ứng nổi */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.chat-icon-btn img {
    width: 50px;  /* Điều chỉnh kích thước icon */
    height: 50px;
    display: block;
}

/* Nút Hotline (màu cam) */
.hotline-btn {
    flex: 1;
    background: #F58320;
    padding: 8px 12px;
    border-radius: 12px; /* Bo góc */
}

.hotline-btn .icon {
    width: 25px;
    height: 25px;
    fill: white;
    margin-right: 8px;
}

.hotline-btn .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.4;
}

.hotline-btn .text span {
    font-size: 14px;
    font-weight: 700;
}

/* Modal số điện thoại */
.phone-modal {
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    margin: 0 8px;
    border-radius: 12px 12px 0 0;
}

.phone-modal.show {
    transform: translateY(0);
}

.phone-modal .header {
    background: #F58320; /* Đồng bộ màu cam */
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.phone-numbers {
    padding: 20px;
}

.phone-number {
    display: block;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border: 2px solid #F58320;
    border-radius: 8px;
    text-decoration: none;
    color: #F58320;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.phone-number:last-child {
    margin-bottom: 0;
}

.phone-number:hover {
    background: #F58320;
    color: white;
}

.close-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}
/* end thanh công cụ cố định */




/* =================================================== */
/* ============== CSS FOOTER CHUNG & DESKTOP ========= */
/* =================================================== */

/* ----- Các style chung cho cả 2 footer ----- */
.footer-hospital {
    background-color: #3473ce;
    color: #f8f9fa;
    font-family: Arial, sans-serif;
}
.footer-hospital .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ----- Style riêng cho Footer Desktop ----- */
.footer-desktop {
    padding: 40px 0 70px 0;
}
.footer-desktop .footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 30px;
}
.footer-desktop .footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    flex: 1;
    justify-content: space-between;
}
.footer-desktop .footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-desktop .footer-title {
    font-size: 16px; font-weight: bold; color: #ffffff; margin: 0 0 10px 0; text-transform: uppercase;
}
.footer-desktop .footer-link {
    color: #ced4da; text-decoration: none; font-size: 14px; transition: color 0.3s ease; white-space: nowrap;
}
.footer-desktop .footer-link:hover {
    color: #ffffff;
}

/* ----- Style chung cho Logo và Copyright ----- */
.hospital-logo {
    display: flex; align-items: center; flex-shrink: 0;
}
.logo-cross {
    width: 45px; height: 45px; background-color: #dc3545; position: relative; margin-right: 15px; border-radius: 50%; flex-shrink: 0;
}
.logo-cross::before, .logo-cross::after {
    content: ''; position: absolute; background-color: white; border-radius: 2px;
}
.logo-cross::before {
    width: 24px; height: 4px; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.logo-cross::after {
    width: 4px; height: 24px; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.logo-text img {
    max-height: 40px; width: auto;
}
.copyright-section {
    text-align: center; font-size: 13px; color: #adb5bd;
}
.footer-desktop .copyright-section {
    background-color: #212529; padding: 15px 0; border-top: 1px solid #495057;
}

/* =================================================== */
/* ============== CSS FOOTER CHO MOBILE ============== */
/* =================================================== */
.footer-mobile {
    display: none; /* Quan trọng: Mặc định ẩn footer mobile đi */
    padding: 30px 15px;
    text-align: center;
}
/* Căn giữa logo trên mobile */
.footer-mobile .hospital-logo {
    justify-content: center;
    margin-bottom: 25px;
}
.mobile-footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.mobile-footer-links a {
    color: #ced4da;
    text-decoration: none;
    font-size: 14px;
}
.mobile-footer-links a:hover {
    color: #ffffff;
}
.mobile-contact-info {
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
    color: #ced4da;
}
.mobile-contact-info p {
    margin: 5px 0;
}
.footer-mobile .copyright-section {
    padding-top: 20px;
    border-top: 1px solid #495057;
}


/* yêu cầu nói chuyện */

/* Lớp phủ mờ phía sau */
/* Lớp phủ mờ phía sau */
/* CSS cho Popup */
#notificationContainer-1 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: white;
    padding: 25px 16px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, visibility 0.4s;
    width: 90%;
    max-width: 400px;
}

/* Các lớp để ẩn/hiện popup */
#notificationContainer-1.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.9);
}

#notificationContainer-1:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Các style còn lại cho nội dung bên trong popup (giữ nguyên) */
#notificationContainer-1 p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
}
.button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}
#notificationContainer-1 button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}
#notificationContainer-1 button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}
#acceptButton-1 {
    background-color: #f39c12;
}
#rejectButton-1 {
    background-color: #008080;
}
/* yêu cầu nói chuyện end */



/* =================================================== */
/* ============= MEDIA QUERY ĐIỀU KHIỂN ============== */
/* =================================================== */

/* Áp dụng cho màn hình nhỏ hơn hoặc bằng 480px */
@media (max-width: 480px) {
    .footer-desktop {
        display: none; /* Ẩn footer của desktop */
    }
    .footer-mobile {
        display: block; /* Hiện footer của mobile */
    }
}