﻿/* ===== GENERAL ===== */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* ===== NAVBAR ===== */
.navbar {
    border-bottom: 1px solid #eee;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-nav .nav-link {
    font-size: 13px;
    font-weight: 500;
    margin-right: 15px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #1f4ea3;
    font-size: 14px;
}

/* ===== HERO ===== */
.hero-section {
    padding: 40px 0 20px;
}

.hero-img {
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

/* ===== BOOKING BOX ===== */
.booking-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ===== BUTTON ===== */
.booking-btn {
    border-radius: 25px;
    padding: 10px;
    background: linear-gradient(90deg, #ff4d4d, #cc0000);
    color: white;
    border: none;
    transition: 0.3s;
}

    .booking-btn:hover {
        transform: scale(1.05);
    }

/* ===== CARDS ===== */
.card {
    border: none;
    border-radius: 15px;
    transition: 0.3s;
}

    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

/* ===== CATEGORY ===== */
.category-box {
    background: #fff;
    border-radius: 15px;
    transition: 0.3s;
    cursor: pointer;
}

    .category-box:hover {
        transform: translateY(-8px);
    }

/* ===== SERVICES ===== */
.service-card {
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }

.service-img {
    height: 200px;
    object-fit: cover;
}

/* ===== COUNTER ===== */
.counter {
    font-weight: bold;
    color: #0d6efd;
    font-size: 22px;
}

/* ===== LIVE SEARCH ===== */
.live-results {
    position: absolute;
    background: #fff;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    display: none;
    z-index: 9999;
    max-height: 250px;
    overflow-y: auto;
}

    .live-results div,
    .search-item {
        padding: 10px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
    }

        .live-results div:hover,
        .search-item:hover {
            background: #f1f1f1;
        }

/* ===== STATS ===== */
.stats-box-section {
    background: #f8f9fb;
}

.stats-box {
    background: #eae4dc;
    border-radius: 30px;
    padding: 50px 30px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    width: 180px;
    text-align: center;
}

.circle {
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 40%, #ffd54f 70%, #ffb300);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

    .circle img {
        width: 50px;
    }

.stat-item h4 {
    font-weight: bold;
    color: #0d6efd;
}

.stat-item p {
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    .stats-box {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 100%;
    }
}

/* ================================= */
/* 🔥 VIDEO SLIDER FIX FINAL 🔥 */
/* ================================= */

.video-slider {
    margin-top: 30px;
}

    /* spacing */
    .video-slider .slick-slide {
        padding: 10px;
    }

/* الكرت */
.video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 220px;
    cursor: pointer;
}

    /* الصورة */
    .video-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* hover */
    .video-card:hover img {
        transform: scale(1.05);
        transition: 0.3s;
    }
    .video-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

/* زر التشغيل */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

/* النص */
.video-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #cc0000;
    padding: 10px;
    font-weight: bold;
}

/* ===== MODAL ===== */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.8);
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    margin: 80px auto;
}

.video-modal iframe {
    width: 100%;
    height: 500px;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}
.slick-slide {
    transition: transform 0.3s ease;
}
.medical-articles-slider {
    margin-top: 30px;
}

.slide-item {
    padding: 10px;
}

.medical-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    transition: 0.3s;
}

    .medical-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

.medical-img {
    height: 200px;
    overflow: hidden;
}

    .medical-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.medical-content {
    padding: 15px;
    text-align: center;
}

    .medical-content h5 {
        font-weight: bold;
        font-size: 16px;
    }
/* ===== STATS SECTION ===== */
.counter-section {
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
    padding: 60px 0;
}

.counter-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

    .counter-box:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

    .counter-box h2 {
        font-size: 32px;
        font-weight: 700;
        color: #1f4ea3;
        margin-bottom: 10px;
    }

    .counter-box p {
        font-size: 14px;
        color: #666;
        margin: 0;
    }

.counter-icon {
    font-size: 28px;
    color: #1f4ea3;
    margin-bottom: 10px;
}
/* ===== PREMIUM COUNTER SECTION ===== */
.counter-section {
    background: linear-gradient(135deg, #eef5ff, #f9fbff);
    padding: 80px 0;
}

.counter-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

    /* Glow Layer */
    .counter-box::before {
        content: "";
        position: absolute;
        width: 120%;
        height: 120%;
        background: linear-gradient(120deg, transparent, rgba(31,78,163,0.15), transparent);
        top: -10%;
        left: -10%;
        opacity: 0;
        transition: 0.4s;
    }

    /* Hover Effect */
    .counter-box:hover {
        transform: translateY(-12px) scale(1.03);
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }

        .counter-box:hover::before {
            opacity: 1;
        }

/* ICON */
.counter-icon {
    width: 65px;
    height: 65px;
    line-height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f4ea3, #3d7eff);
    color: white;
    font-size: 26px;
    margin: 0 auto 15px;
    box-shadow: 0 5px 15px rgba(31,78,163,0.3);
}

/* NUMBER */
.counter-box h2 {
    font-size: 34px;
    font-weight: 700;
    background: linear-gradient(135deg, #1f4ea3, #3d7eff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TEXT */
.counter-box p {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}
/* ===== SERVICES SECTION ===== */

.services-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f4ea3;
}

.service-box-modern {
    padding: 30px 20px;
    border-radius: 15px;
    background: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

    .service-box-modern:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

    .service-box-modern h4 {
        font-size: 20px;
        font-weight: 600;
        margin-top: 15px;
        color: #333;
    }

/* ICON STYLE */
.service-icon {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f4ea3, #3d7eff);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .service-icon img {
        width: 35px;
        height: 35px;
        filter: brightness(0) invert(1);
    }
.test-card-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: 0.3s;
}

    .test-card-pro:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

.test-left h6 {
    margin: 0;
    font-weight: 600;
}

.test-right {
    text-align: right;
}