section{
    opacity: 1 !important;
    transform: translateY(0);
}

.header{
    display: none !important;
}

.sec-chuyengia-new {
    padding: 60px 0 85px;
    background-color: #fff;
}
.expert-header-section {
    text-align: center;
    margin-bottom: 40px;
}
.expert-main-title {
    font-size: 43px;
    font-weight: 700;
    color: #ff5e3a;
    margin-bottom: 15px;
    line-height: 1.25;
    word-spacing: -5px;
}
.expert-main-title span {
    font-size: 43px;
    font-weight: 700;
    color: #ff5e3a;
}
.expert-intro-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
    font-style: italic;
}
.expert-intro-desc p {
    margin-bottom: 15px;
    text-align: center;
}

/* Filter bar (orange bar) */
.expert-filter-bar {
    background-color: #ff7a5c;
    padding: 12px 24px;
    border-radius: 4px;
    margin-bottom: 45px;
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    margin-bottom: 30px;
}
.expert-select-container {
    position: relative;
    background-color: #fff;
    border-radius: 30px;
    padding: 4px 15px;
    width: 220px;
    display: flex;
    align-items: center;
}
.expert-select-container select {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 25px;
    height: 30px;
    font-family: inherit;
}
.expert-select-container .select-arrow-icon {
    position: absolute;
    right: 12px;
    pointer-events: none;
    color: #ff7a5c;
    border: 1.5px solid #ff7a5c;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
}

/* Cards Grid */
.expert-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: auto;
}
@media (max-width: 1024px) {
    .expert-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 768px) {
    .expert-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.expert-card-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.expert-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.expert-card-image {
    background-color: #ffefe0;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

/* Info Blocks */
.expert-card-info-block {
    padding: 13px 13px;
    color: #fff;
    background-color: #ff7a5c;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.expert-card-name {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: capitalize;
    font-family: inherit;
}
.expert-card-name a {
    color: inherit;
    text-decoration: none;
}
.expert-card-dept {
    font-size: 19px;
    font-weight: 500;
    opacity: 1;
    text-transform: capitalize;
}

/* Details Area */
.expert-card-details {
    background-color: #fdf7f2;
    padding: 15px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.expert-card-desc {
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 15px;
    transition: color 0.3s ease;
    font-weight: 600;
    text-align: justify;
}
.expert-card-link {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    color: #153959;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

/* Hover States */
.expert-card-item:hover .expert-card-info-block {
    background-color: #1b2a4a;
}
.expert-card-item:hover .expert-card-details {
    background-color: #ff7a5c;
}
.expert-card-item:hover .expert-card-desc {
    color: #fff;
}
.expert-card-item:hover .expert-card-link {
    color: #fff;
    letter-spacing: 1px;
}

.banner-second {
    height: 700px;
}

/* Single Doctor Page Styles */
.navbar.always-scrolled {
    background: #fef4ed !important;
    height: 64px !important;
}
.expert-detail-header {
    /* text-align: center; */
    padding: 25px 0 35px;
    background-color: #fff;
}
.expert-detail-breadcrumb {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #4a4a4a;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.expert-detail-breadcrumb a {
    color: #4a4a4a;
    text-decoration: none;
    transition: color 0.2s;
}
.expert-detail-breadcrumb a:hover {
    color: #ff7a5c;
}
.expert-detail-breadcrumb .active-crumb {
    color: #ff7a5c;
    font-weight: 700;
}
.expert-detail-name-title {
    font-size: 44px;
    font-weight: 700;
    color: #ff7a5c;
    text-transform: uppercase;
    margin-bottom: 0px;
    letter-spacing: 0;
    line-height: 1.2;
    text-align: center;
}
.expert-detail-dept-title {
    font-size: 28px;
    font-weight: 600;
    color: #1b2a4a;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
    letter-spacing: 0.5px;
}
.expert-detail-license {
    font-size: 14px;
    color: #555;
    font-style: italic;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1;
    text-align: center;
}

/* Two columns adjustments */
.sec-8--4 {
    background-color: #fff;
    padding-bottom: 80px;
}
.box-flex-expert {
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
    flex-wrap: wrap;
}
.box-flex-expert .col-8 {
    width: 66.66667%;
    padding: 0 15px;
}
.box-flex-expert .col-4 {
    width: 33.33333%;
    padding: 0 15px;
}
@media (max-width: 991px) {
    .box-flex-expert .col-8,
    .box-flex-expert .col-4 {
        width: 100%;
    }
    .box-flex-expert .col-4 {
        margin-top: 40px;
    }
}

.expert-detail-image-wrap {
    margin-bottom: 30px;
    border-radius: 0;
    overflow: hidden;
}
.expert-detail-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sidebar Widget - Hồ sơ chi tiết */
.expert-sidebar-widget {
    background-color: #fff8f0 !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 35px 35px !important;
    box-shadow: none !important;
}
.expert-sidebar-widget-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1b2a4a !important;
    margin-bottom: 0px !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    position: relative;
    text-transform: none;
}
.expert-sidebar-widget-title::after {
    content: "";
    display: block;
    width: 55px;
    height: 3px;
    background-color: #ff7a5c;
    margin-top: 10px;
}
.expert-sidebar-info-list {
    margin-bottom: 25px;
}
.expert-sidebar-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0 !important;
    border-bottom: 1.5px solid #1b2a4a !important;
}
.expert-sidebar-info-row:last-child {
    border-bottom: 1.5px solid #1b2a4a !important;
}
.expert-sidebar-info-label {
    font-size: 15px !important;
    color: #1b2a4a !important;
    font-weight: 600 !important;
}
.expert-sidebar-info-value {
    font-size: 15px !important;
    color: #1b2a4a !important;
    font-weight: 700 !important;
    text-align: right;
}

/* Appointment button in sidebar */
.btn-booking-sidebar {
    width: 100% !important;
    background: #ff7a5c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 16px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease !important;
    box-shadow: none !important;
    text-align: center;
    display: block;
    outline: none;
    margin-top: 25px !important;
}
.btn-booking-sidebar:hover {
    background: #1b2a4a !important;
}

/* Custom Booking Popup */
.custom-booking-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.custom-booking-popup.active {
    opacity: 1;
    pointer-events: auto;
}
.custom-booking-popup-content {
    background-color: #fdf2e9;
    width: 420px;
    max-width: 90%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.custom-booking-popup.active .custom-booking-popup-content {
    transform: translateY(0);
}
.custom-booking-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.2s;
}
.custom-booking-popup-close:hover {
    color: #333;
}
.custom-booking-popup-image img {
    width: 100%;
    display: block;
    height: auto;
}
.custom-booking-popup-form {
    padding: 30px 24px;
}
.custom-booking-popup-form input[type="text"],
.custom-booking-popup-form input[type="tel"],
.custom-booking-popup-form input[type="email"] {
    width: 100% !important;
    background: #fff !important;
    border: 1px solid #e0d5cb !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    color: #333 !important;
    margin-bottom: 15px !important;
    outline: none !important;
    font-family: inherit !important;
    height: auto !important;
}
.custom-booking-popup-form input[type="submit"] {
    width: 100% !important;
    background: linear-gradient(135deg, #b08d57 0%, #d8b27c 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: opacity 0.3s !important;
    margin-top: 10px !important;
    height: auto !important;
    display: block !important;
}
.custom-booking-popup-form input[type="submit"]:hover {
    opacity: 0.95 !important;
}

/* Custom Thank You Popup */
.thank-you-popup-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.thank-you-popup-custom.active {
    opacity: 1;
    pointer-events: auto;
}
.thank-you-popup-content-custom {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.thank-you-popup-close-custom {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    color: #aaa;
    cursor: pointer;
}
.thank-you-check-icon {
    width: 60px;
    height: 60px;
    background: #4caf50;
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}
.thank-you-popup-content-custom h3 {
    font-size: 24px !important;
    color: #1b2a4a !important;
    margin-bottom: 12px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}
.thank-you-popup-content-custom p {
    font-size: 15px !important;
    color: #555 !important;
    line-height: 1.5 !important;
    margin-bottom: 25px !important;
}
.thank-you-btn-close {
    background: #ff7a5c !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 30px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.content-dichvu-detail {
    padding: 0 !important;
}