/*
* جمال مصر - الستايل الرئيسي
* تصميم واجهة مستخدم احترافية لمركز تجميل
* نسخة محدثة مع ألوان وردية
*/

:root {
    --primary-color: #ff5c8d;
    --primary-dark: #e6406f;
    --primary-light: #fff0f5;
    --secondary-color: #ff85a2;
    --secondary-dark: #e56a84;
    --secondary-light: #ffecf2;
    --accent-color: #c83f72;
    --dark-color: #343a40;
    --text-color: #333;
    --text-light: #6c757d;
    --bg-light: #fafafa;
    --bg-dark: #262626;
    --white: #ffffff;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
    --border-color: #f2f2f2;
    --border-radius: 10px;
    --border-radius-lg: 15px;
    --box-shadow: 0 5px 15px rgba(255, 92, 141, 0.1);
    --box-shadow-lg: 0 10px 30px rgba(255, 92, 141, 0.15);
    --transition: all 0.3s ease;
    --font-family: 'Cairo', 'Tajawal', sans-serif;
}

/* ===== الستايلات الأساسية ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ===== الأقسام ===== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title .title-accent {
    position: absolute;
    top: -30px;
    right: 50%;
    transform: translateX(50%);
    font-size: 5rem;
    opacity: 0.05;
    color: var(--primary-color);
    font-weight: 900;
    z-index: -1;
}

/* ===== القائمة العلوية ===== */
.navbar {
    padding: 15px 0;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(255, 92, 141, 0.1);
    transition: var(--transition);
}

.navbar.navbar-scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(255, 92, 141, 0.15);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition);
}

.navbar-scrolled .navbar-brand img {
    height: 45px;
}

.navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    opacity: 0;
}

.navbar-nav .nav-link:hover:before,
.navbar-nav .nav-link.active:before {
    width: 100%;
    right: 0;
    opacity: 1;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar .booking-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(255, 92, 141, 0.3);
}

.navbar .booking-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 92, 141, 0.4);
}

/* ===== البانر الرئيسي ===== */
.hero-section {
    padding: 120px 0 80px;
    background-color: var(--primary-light);
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: 0;
    width: 100%;
    height: 10%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    padding: 30px 0;
    position: relative;
    z-index: 2;
}

.main-heading {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
}

.main-heading span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.main-heading span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(255, 92, 141, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    position: relative;
    z-index: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--accent-color);
    opacity: 0.2;
    z-index: -1;
}

.hero-image::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.2;
    z-index: -1;
}

/* ===== قسم المميزات ===== */
.feature-card {
    padding: 30px 25px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    text-align: center;
    margin-bottom: 30px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.feature-card:hover::before {
    height: 5px;
}

.feature-icon {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    background-color: var(--primary-light);

    border-radius: 50%;
    transition: var(--transition);
}

.feature-card:hover .feature-icon i {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
    box-shadow: 0 10px 20px rgba(255, 92, 141, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.feature-card:hover h3 {
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at top right, rgba(255, 92, 141, 0.1), transparent 70%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover::after {
    opacity: 1;
}

/* ===== قسم الخدمات ===== */
.service-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--white);
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(255, 92, 141, 0.3);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.service-card:hover .service-content h3 {
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.service-meta span {
    display: flex;
    align-items: center;
}

.service-meta i {
    color: var(--primary-color);
    margin-left: 5px;
}

.service-buttons {
    display: flex;
    gap: 10px;
}

/* ===== قسم الأطباء ===== */
.doctor-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    background-color: var(--white);
    height: 100%;
    transition: var(--transition);
    position: relative;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.doctor-image {
    position: relative;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.05);
}

.doctor-social {
    position: absolute;
    top: 20px;
    left: -40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition);
}

.doctor-card:hover .doctor-social {
    left: 20px;
}

.doctor-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.doctor-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 92, 141, 0.3);
}

.doctor-content {
    padding: 20px;
    text-align: center;
    border-top: 3px solid var(--primary-color);
    background-color: var(--white);
    position: relative;
    z-index: 2;
}

.doctor-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    transition: var(--transition);
}

.doctor-card:hover .doctor-content h3 {
    color: var(--primary-color);
}

.doctor-specialization {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.doctor-service {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.doctor-rating {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 15px;
}

.doctor-rating i {
    color: var(--warning);
    font-size: 0.9rem;
}

/* ===== قسم قبل وبعد ===== */
.before-after-container {
    display: flex;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.before-after-container:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-5px);
}

.before-image, .after-image {
    width: 50%;
    position: relative;
}

.before-image img, .after-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.before-after-container:hover .before-image img,
.before-after-container:hover .after-image img {
    transform: scale(1.05);
}

.before-after-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--white);
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
}

.before-after-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.before-after-slider::after {
    content: '\f07e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 1rem;
}

.image-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 5;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.after-image .image-label {
    background-color: var(--primary-color);
    right: auto;
    left: 10px;
}

.before-after-caption {
    background-color: var(--white);
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.before-after-caption h4 {
    margin-bottom: 5px;
    transition: var(--transition);
}

.before-after-container:hover .before-after-caption h4 {
    color: var(--primary-color);
}

.before-after-caption p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== قسم الشهادات ===== */
.testimonial-card {
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\f10e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.5;
    z-index: 0;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.testimonial-rating {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-rating i {
    color: var(--warning);
    margin-left: 3px;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 15px;
    border: 3px solid var(--primary-light);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== قسم الاتصال ===== */
.contact-info {
    padding: 30px;
    height: 100%;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(-5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 15px;
    margin-top: 5px;
    background-color: var(--primary-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-item:hover i {
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-item p {
    margin-bottom: 0;
    color: var(--text-light);
}

.social-media {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(255, 92, 141, 0.3);
}

.contact-form-container {
    padding: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: 0;
}

.contact-form-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    transform: translate(-50%, 50%);
    z-index: 0;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 92, 141, 0.25);
    background-color: var(--white);
}

.contact-form .form-label {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 25px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 92, 141, 0.3);
    transition: var(--transition);
}

.contact-form .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 92, 141, 0.4);
}

/* ===== قسم الحجز السريع ===== */
.quick-booking-section {
    padding: 50px 0;
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.quick-booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background-image: linear-gradient(135deg, var(--white) 25%, transparent 25%), 
                      linear-gradient(225deg, var(--white) 25%, transparent 25%);
    background-size: 20px 20px;
}

.quick-booking-container {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.quick-booking-container h2 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 2rem;
}

.quick-booking-container p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    font-size: 1.1rem;
}

.quick-booking-container .btn-light {
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.quick-booking-container .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.quick-booking-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10px;
    background-image: linear-gradient(135deg, transparent 25%, var(--white) 25%), 
                      linear-gradient(225deg, transparent 25%, var(--white) 25%);
    background-size: 20px 20px;
}

.booking-decoration {
    position: absolute;
    opacity: 0.1;
    z-index: 1;
}

.booking-decoration.top-right {
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--white);
}

.booking-decoration.bottom-left {
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: var(--white);
}

/* ===== ذيل الصفحة ===== */
.footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 70px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background-image: linear-gradient(135deg, var(--primary-color) 25%, transparent 25%), 
                      linear-gradient(225deg, var(--primary-color) 25%, transparent 25%);
    background-size: 20px 20px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
}

.footer-heading:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-links li:hover {
    transform: translateX(-5px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.footer-links a i {
    margin-left: 8px;
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-links a:hover i {
    transform: translateX(-5px);
}

.footer-contact-item {
    display: flex;
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-contact-item:hover {
    transform: translateX(-5px);
}

.footer-contact-item i {
    color: var(--primary-color);
    margin-left: 15px;
    margin-top: 5px;
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.footer-bottom a {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===== صفحة تفاصيل الخدمة ===== */
.service-details-section {
    padding: 80px 0;
}

.service-header {
    margin-bottom: 30px;
}

.service-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-right: 20px;
}

.service-title:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.service-meta-item {
    display: flex;
    align-items: center;
    background-color: var(--primary-light);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-meta-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 92, 141, 0.3);
}

.service-meta-item:hover i {
    color: var(--white);
}

.service-meta-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 10px;
    transition: var(--transition);
}

.service-main-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.service-main-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.service-main-image:hover img {
    transform: scale(1.05);
}

.service-intro, 
.service-description, 
.service-types, 
.recovery-details,
.before-after-gallery {
    margin-bottom: 40px;
}

.service-intro h2, 
.service-description h2, 
.service-types h2, 
.recovery-details h2,
.before-after-gallery h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-right: 15px;
    border-right: 3px solid var(--primary-color);
    transition: var(--transition);
}

.service-intro:hover h2, 
.service-description:hover h2, 
.service-types:hover h2, 
.recovery-details:hover h2,
.before-after-gallery:hover h2 {
    color: var(--primary-color);
}

.service-types h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-cta {
    padding: 30px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.service-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.1;
}

.service-cta h2 {
    color: var(--dark-color);
    position: relative;
    z-index: 1;
}

.service-cta p {
    color: var(--text-light);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-cta .btn {
    position: relative;
    z-index: 1;
}

.service-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin-bottom: 30px;
    transition: var(--transition);
}

.sidebar-widget:hover {
    box-shadow: var(--box-shadow-lg);
    transform: translateY(-5px);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--dark-color);
    transition: var(--transition);
}

.sidebar-widget:hover h3 {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.sidebar-widget.quick-booking {
    background-color: var(--primary-light);
    border-top: 3px solid var(--primary-color);
}

.sidebar-widget.quick-booking p {
    margin-bottom: 20px;
}

.sidebar-doctor-item, 
.sidebar-hospital-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.sidebar-doctor-item:hover, 
.sidebar-hospital-item:hover {
    transform: translateX(-5px);
}

.sidebar-doctor-item:last-child,
.sidebar-hospital-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.doctor-image, 
.hospital-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 15px;
    flex-shrink: 0;
    border: 3px solid var(--primary-light);
    transition: var(--transition);
}

.sidebar-doctor-item:hover .doctor-image,
.sidebar-hospital-item:hover .hospital-image {
    border-color: var(--primary-color);
}

.doctor-image img, 
.hospital-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sidebar-doctor-item:hover img,
.sidebar-hospital-item:hover img {
    transform: scale(1.1);
}

.doctor-info h4, 
.hospital-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    transition: var(--transition);
}

.sidebar-doctor-item:hover .doctor-info h4,
.sidebar-hospital-item:hover .hospital-info h4 {
    color: var(--primary-color);
}

.doctor-info p, 
.hospital-info p {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateX(-5px);
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 15px;
    transition: var(--transition);
}

.contact-method:hover i {
    transform: scale(1.2);
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

.contact-method a {
    color: var(--text-color);
}

.contact-method a:hover {
    color: var(--primary-color);
}

/* ===== صفحة الحجز ===== */
.booking-section {
    padding: 80px 0;
}

.booking-header {
    margin-bottom: 40px;
}

.booking-progress {
    margin-bottom: 50px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps:before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--border-color);
    z-index: 1;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.progress-step.active .step-icon {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 0 5px rgba(255, 92, 141, 0.2);
}

.progress-step.completed .step-icon {
    background-color: var(--success);
    border-color: var(--success);
    color: var(--white);
    box-shadow: 0 0 0 5px rgba(40, 167, 69, 0.2);
}

.step-label {
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: var(--dark-color);
}

.booking-form-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.booking-form-container::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.05;
}

.booking-form-header {
    margin-bottom: 30px;
}

.booking-form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.booking-form-header p {
    color: var(--text-light);
}

.booking-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
}

.booking-form .form-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

.booking-form .form-control,
.booking-form .form-select {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 92, 141, 0.25);
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.gender-options {
    margin-top: 10px;
}

.gender-options .form-check {
    display: inline-flex;
    align-items: center;
    margin-left: 20px;
}

.gender-options .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.booking-sidebar {
    position: sticky;
    top: 100px;
}

.service-summary {
    background-color: var(--primary-light);
    border-top: 3px solid var(--primary-color);
}

.service-info h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.help-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: var(--transition);
}

.help-method:hover {
    transform: translateX(-5px);
}

.help-method:last-child {
    margin-bottom: 0;
}

.help-method i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-left: 15px;
    transition: var(--transition);
}

.help-method:hover i {
    transform: scale(1.2);
}

.help-method h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

.help-method a {
    color: var(--text-color);
}

.help-method a:hover {
    color: var(--primary-color);
}

.booking-faq .accordion-button {
    font-weight: 600;
    padding: 15px;
}

.booking-faq .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--primary-light);
    box-shadow: none;
}

.booking-faq .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 92, 141, 0.25);
    border-color: var(--primary-color);
}

.booking-faq .accordion-body {
    padding: 15px;
    color: var(--text-light);
}

/* ===== صفحة تأكيد الحجز ===== */
.confirmation-section {
    padding: 80px 0;
    text-align: center;
}

.confirmation-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.confirmation-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.confirmation-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.booking-details {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: right;
    max-width: 800px;
    margin: 0 auto 40px;
    position: relative;
    overflow: hidden;
}

.booking-details::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
}

.booking-id {
    background-color: var(--primary-light);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    display: inline-block;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.detail-group {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.detail-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.detail-group h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.detail-group h3 i {
    margin-left: 10px;
    color: var(--primary-color);
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 600;
    color: var(--dark-color);
}

.detail-value {
    color: var(--text-light);
}

.detail-total {
    font-weight: 700;
    color: var(--primary-color);
}

.next-steps {
    max-width: 800px;
    margin: 0 auto;
}

.next-steps h3 {
    margin-bottom: 20px;
    text-align: center;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.steps-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    background-color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.steps-list li:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-left: 15px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
    transition: var(--transition);
}

.steps-list li:hover .step-content h4 {
    color: var(--primary-color);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ===== الأزرار ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 10px 25px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(255, 92, 141, 0.3);
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 92, 141, 0.4);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover, 
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 92, 141, 0.4);
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.btn-success:hover, 
.btn-success:focus {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}

/* ===== تحسينات إضافية ===== */
.floating-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 92, 141, 0.3);
    transition: var(--transition);
    z-index: 999;
    transform: translateY(100px);
    opacity: 0;
}

.floating-button.show {
    transform: translateY(0);
    opacity: 1;
}

.floating-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 92, 141, 0.4);
}

.loader {
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-icon {
    width: 50px;
    height: 50px;
    border: 5px solid var(--primary-light);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification-icon {
    margin-left: 15px;
    font-size: 1.5rem;
}

.toast-notification-success .toast-notification-icon {
    color: var(--success);
}

.toast-notification-error .toast-notification-icon {
    color: var(--danger);
}

.toast-notification-info .toast-notification-icon {
    color: var(--info);
}

.toast-notification-close {
    margin-right: 15px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.toast-notification-close:hover {
    color: var(--dark-color);
}

/* ===== التحكم في العرض بناءً على حجم الشاشة ===== */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .main-heading {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 2rem;
    }
    
    .confirmation-title {
        font-size: 2rem;
    }
    
    .booking-sidebar {
        margin-top: 40px;
    }
    
    .progress-steps {
        flex-wrap: wrap;
    }
    
    .progress-steps:before {
        display: none;
    }
    
    .progress-step {
        flex: 0 0 33.33%;
        margin-bottom: 20px;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: var(--border-radius);
        padding: 20px;
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 80px 0 50px;
    }
    
    .main-heading {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .service-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .service-title {
        font-size: 1.8rem;
    }
    
    .form-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-buttons .btn {
        width: 100%;
    }
    
    .progress-step {
        flex: 0 0 50%;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 70px 0 40px;
    }
    
    .main-heading {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .service-title {
        font-size: 1.6rem;
    }
    
    .service-intro h2, 
    .service-description h2, 
    .service-types h2, 
    .recovery-details h2,
    .before-after-gallery h2 {
        font-size: 1.4rem;
    }
    
    .booking-form-header h2 {
        font-size: 1.4rem;
    }
    
    .confirmation-title {
        font-size: 1.6rem;
    }
    
    .progress-step {
        flex: 0 0 100%;
    }
    
    .floating-button {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .toast-notification {
        right: 15px;
        left: 15px;
        bottom: 15px;
    }
}
/* ======= استايل قسم المستشفيات المتوافق مع التصميم العام للموقع ======= */
.hospitals-section {
  background-color: #fff;
  padding: 60px 0;
  direction: rtl;
}

/* تنسيق العنوان الرئيسي بنفس شكل خدماتنا التجميلية المميزة */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading {
  color: #333344;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-heading:after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 50%;
  width: 80px;
  height: 3px;
  background: #ff5c8d;
  transform: translateX(50%);
  border-radius: 3px;
}

.section-desc {
  color: #6d6d80;
  max-width: 700px;
  margin: 15px auto 0;
  font-size: 16px;
}

/* بطاقة المستشفى */
.hospital-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.hospital-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hospital-media-wrapper {
  padding: 20px;
  flex-grow: 1;
  position: relative;
}

/* التصميم الداخلي للبطاقة */
.hospital-card-inner {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 15px;
}

/* جانب المعلومات */
.hospital-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hospital-logo {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: 50%;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border: 2px solid #ff5c8d;
  box-shadow: 0 5px 15px rgba(255, 92, 141, 0.15);
}

.hospital-logo img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
}

.hospital-logo-placeholder {
  background: linear-gradient(135deg, #ff5c8d, #ff96b7);
  color: white;
  font-size: 30px;
}

.hospital-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333344;
  line-height: 1.3;
}

.hospital-location {
  color: #6d6d80;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.hospital-location i {
  color: #ff5c8d;
  margin-left: 8px;
  font-size: 16px;
}

.hospital-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.hospital-features span {
  font-size: 13px;
  color: #6d6d80;
  display: flex;
  align-items: center;
}

.hospital-features span i {
  color: #43ba7f;
  margin-left: 8px;
  font-size: 14px;
}

/* تغيير لون أيقونات المميزات حسب نوعها */
.hospital-features span i.fa-building {
  color: #5d78ff;
}

.hospital-features span i.fa-user-md {
  color: #ff5c8d;
}

/* جانب الميديا */
.hospital-media {
  flex: 1.2;
  position: relative;
  min-height: 180px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.hospital-video {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
}

.hospital-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hospital-image-secondary {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.hospital-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hospital-card:hover .hospital-image-secondary img {
  transform: scale(1.05);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f5f5, #e9e9e9);
  color: #bbb;
  font-size: 36px;
}

/* معلومات الفيديو */
.hospital-video-info {
  margin-top: 15px;
  border-top: 1px solid #f0f0f5;
  padding-top: 15px;
}

.video-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333344;
}

.video-desc {
  font-size: 14px;
  color: #6d6d80;
  line-height: 1.6;
  margin-bottom: 0;
  max-height: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* العلامات */
.hospital-tags {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
}

.hospital-category {
  display: inline-block;
  background: #ff5c8d;
  color: #fff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(255, 92, 141, 0.2);
}

/* توفر المواعيد - بنفس شكل المعروض في بطاقات الخدمات */
.hospital-time {
  display: flex;
  align-items: center;
  margin: 0 20px 10px;
}

.time-icon {
  display: flex;
  align-items: center;
  color: #6d6d80;
  font-size: 14px;
}

.time-icon i {
  color: #ff5c8d;
  margin-left: 5px;
}

/* أزرار الإجراءات - بنفس شكل الأزرار في بطاقات الخدمات */
.hospital-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  margin-top: auto;
}

.hospital-actions a {
  text-align: center;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  min-width: 120px;
}

.hospital-actions a i {
  margin-left: 8px;
}

.btn-book {
  background: #4caf50;
  color: white !important;
  box-shadow: 0 3px 8px rgba(76, 175, 80, 0.2);
}

.btn-book:hover {
  background: #43a047;
  box-shadow: 0 5px 12px rgba(76, 175, 80, 0.3);
  transform: translateY(-2px);
}

.btn-details {
  background: #ff5c8d;
  color: white !important;
  box-shadow: 0 3px 8px rgba(255, 92, 141, 0.2);
}

.btn-details:hover {
  background: #ff4785;
  box-shadow: 0 5px 12px rgba(255, 92, 141, 0.3);
  transform: translateY(-2px);
}

/* حالة عدم وجود مستشفيات */
.empty-state {
  padding: 50px 30px;
  background-color: #ffffff;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.empty-state i {
  font-size: 50px;
  color: #ff96b7;
  margin-bottom: 20px;
}

.empty-state h4 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333344;
}

.empty-state p {
  color: #6d6d80;
  max-width: 400px;
  margin: 0 auto;
  font-size: 16px;
}

/* زر عرض الكل - بنفس تصميم زر عرض جميع الخدمات */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #ff5c8d;
  border: 1px solid #ff5c8d;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 10px;
}

.btn-view-all:hover {
  background-color: #ff5c8d;
  color: #fff;
  transform: translateY(-2px);
}

.btn-view-all i {
  margin-left: 5px;
}

/* ======= تحسينات الفيديو ======= */
/* مؤشر تشغيل الفيديو */
.hospital-video:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 92, 141, 0.8);
  border-radius: 50%;
  z-index: 3;
  opacity: 0.9;
  pointer-events: none;
}

.hospital-video:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 15px;
  border-color: transparent transparent transparent #ffffff;
  z-index: 4;
  opacity: 0.9;
  pointer-events: none;
}

/* تحسين حجم الفيديو ونسبته */
.hospital-video {
  aspect-ratio: 16/9;
  min-height: 0;
  height: auto;
}

/* التوافق مع Safari القديم */
@supports not (aspect-ratio: 16/9) {
  .hospital-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
  }
}

/* ======= تحسينات التجاوب للهواتف المحمولة ======= */
@media (max-width: 991px) {
  .hospital-card-inner {
    gap: 15px;
  }
  
  .hospital-media {
    min-height: 160px;
  }
  
  .hospital-title {
    font-size: 18px;
  }
  
  .section-heading {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .hospitals-section {
    padding: 40px 0;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .section-heading {
    font-size: 24px;
  }
  
  .hospital-card-inner {
    flex-direction: column;
  }
  
  .hospital-info {
    margin-bottom: 15px;
  }
  
  .hospital-media {
    min-height: 200px;
  }
  
  /* تحسين عرض الفيديو في الجوال */
  .hospital-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* نسبة 16:9 */
    min-height: unset;
  }
  
  .time-icon {
    font-size: 12px;
  }
}

@media (max-width: 575px) {
  .hospital-actions {
    gap: 10px;
  }
  
  .hospital-actions a {
    padding: 8px 15px;
    font-size: 13px;
    min-width: 100px;
  }
  
  .hospital-video-info {
    padding-top: 12px;
    margin-top: 12px;
  }
  
  .video-title {
    font-size: 15px;
  }
  
  .video-desc {
    font-size: 13px;
  }
  
  .hospital-logo {
    width: 70px;
    height: 70px;
  }
  
  .section-heading {
    font-size: 22px;
  }
  
  .section-desc {
    font-size: 14px;
  }
  
  .btn-view-all {
    padding: 7px 18px;
    font-size: 13px;
  }
  
  .hospital-features span {
    font-size: 12px;
  }
}
