/* =============================================
   MKX SPORTS - COMPLETE HERO & NAV STYLES
   ============================================= */

   :root {
    --primary-white: #ffffff;
    --accent-gray: #777777;
    --bg-black: #000000;
    --neon-silver: rgba(255, 255, 255, 0.8);
    --transition: 0.3s ease-in-out;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-black);
    color: var(--primary-white);
    margin: 0;
    overflow-x: hidden;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* --- Navbar Core --- */
.navbar {
    border: none !important;
    box-shadow: none !important;
    position: relative;
    z-index: 1000;
    background-color: var(--bg-black) !important;
}

.main-logo {
    height: 60px; /* تصغير بسيط لتوفير مساحة عمودية */
    width: auto;
    transition: var(--transition);
    object-fit: contain;
}

/* --- Navigation Links --- */
.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.8rem 1rem !important;
    color: var(--primary-white) !important;
    opacity: 0.7; 
    transition: all 0.3s ease-in-out;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    opacity: 1 !important;
    text-shadow: 0 0 8px var(--neon-silver), 0 0 15px rgba(255, 255, 255, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px #ffffff;
    transition: width 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 25px;
}

/* --- Icon Buttons Style --- */
.nav-icon-link {
    color: var(--primary-white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.nav-icon-link:hover {
    color: var(--neon-silver);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.logout-icon-btn {
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #dc3545;
    background: transparent;
    cursor: pointer;
}

.logout-icon-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #ff4d5a;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.3);
    border-color: #dc3545;
}

.cart-badge {
    font-size: 0.6rem !important;
    padding: 0.35em 0.5em !important;
}

/* --- Header Wavy Divider --- */
.header-divider {
    position: absolute;
    bottom: -35px;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
    overflow: hidden;
}

.header-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
}

/* --- Media Queries --- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--bg-black);
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 15px;
    }
    
    .nav-link::after { display: none; }
    
    .nav-icon-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .header-divider svg {
        height: 30px;
    }
}





/* حاوية الرف */
.side-shelf-wrapper {
    position: absolute;
    right: -20px; /* مخفي قليلاً خلف الحافة */
    top: 20%;    /* يمكنك تغيير الارتفاع حسب الرغبة */
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none; /* عشان ما يغطي على الضغط بالماوس بالسكشن */
}

/* قطعة الرف (الخشبية أو المعدنية الفضية) */
.shelf-plank {
    width: 120px;
    height: 12px;
    background: linear-gradient(90deg, #333, #000); /* تدرج ليعطي عمق */
    border-radius: 10px 0 0 10px;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.5);
    border-left: 2px solid var(--neon-silver); /* لمسة نيون على حافة الرف */
}

/* الستيكر اللي قاعد عالرف */
.shelf-sticker {
    width: 100px;
    height: auto;
    /* التحريك للأسفل ليجلس على الرف تماماً */
    margin-bottom: -29px; /* زيدي القيمة السالبة ليرتكز أكثر */
    margin-right: 20px;
    
    /* إضافة ظل خفيف جداً تحت الستيكر ليبين كأنه في عمق وقاعد عالرف */
    filter: drop-shadow(0px 4px 3px rgba(0,0,0,0.5));
    
    position: relative;
    z-index: 6; /* لضمان أنه فوق الرف وليس خلفه */
    
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.shelf-plank {
    width: 70px;
    height: 12px;
    background: linear-gradient(90deg, #333, #000);
    border-radius: 10px 0 0 10px;
    position: relative;
    z-index: 5; /* أقل من الستيكر */
    box-shadow: -5px 5px 15px rgba(0,0,0,0.5);
}
/* حركة تفاعلية عند مرور الماوس */
.side-shelf-wrapper:hover .shelf-sticker {
    transform: rotate(-5deg) scale(1.1); /* بميل وبكبر شوي لما تحركي الماوس */
}

/* إخفاء الرف في الشاشات الصغيرة إذا كان بيزعج المحتوى */
@media (max-width: 991px) {
    .side-shelf-wrapper {
        display: none; 
    }
}






/* --- HERO SECTION MAIN --- */
.hero-skate-park {
    height: 85vh; /* تقليل الارتفاع قليلاً ليكون الستيكر مركزياً أكثر */
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* حاوية الستيكر */
.hero-media-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* فوق السواد قليلاً وتحت التايتل */
    display: flex;
    align-items: flex-end; /* جعل الستيكر يستند للقاع */
    justify-content: flex-end; /* دفعه لليمين بعيداً عن النص */
    padding-right: 15%;
    padding-bottom: 90px; /* مساحة لكي لا يختفي خلف المنحنى السفلي تماماً */
}


/* كلاس الستيكر الجديد */
.sticker-asset {
    max-height: 100%; /* الستيكر لن يتجاوز 75% من طول الشاشة */
    width: auto; /* الحفاظ على أبعاد الصورة الأصلية */
    object-fit: contain;
    margin-left: 15%;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2)); /* وهج خفيف حول الستيكر */
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);

}
/* انيميشن الطفو للستيكر */
.sticker-asset {
    animation: floatSticker 4s ease-in-out infinite;
}

@keyframes floatSticker {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* حركة دخول الستيكر عند تقليب السلايدر (بدون انيميشن معقد حالياً) */
.carousel-item.active .sticker-asset {
    transform: scale(1) rotate(0deg);
}

.carousel-item:not(.active) .sticker-asset {
    transform: scale(0.8) rotate(5deg);
    opacity: 0;
}

/* الـ SVG المنصف */
.hero-separator-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* تحت الستيكر */
    pointer-events: none;
}

/* التايتل */
.hero-text-area {
    position: absolute;
    top: 15%; 
    left: 8%;
    width: 45%;
    z-index: 100;
    pointer-events: none;
}

.sport-title {
    font-size: clamp(2rem, 7vw, 4.5rem); 
    font-weight: 900;
    text-transform: uppercase;
    
    /* جعل النص مفرغاً بحدود فضية فاتحة */
    color: transparent !important;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
    
    /* طبقات التوهج الفضي (Silver Glow) */
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 0.4),   /* توهج داخلي ضيق */
        0 0 15px rgba(200, 200, 200, 0.3),  /* توهج فضي متوسط */
        0 0 30px rgba(180, 180, 180, 0.2);  /* توهج فضي عريض */
    
    letter-spacing: 4px;
    line-height: 0.95;
    transition: all 0.5s ease;
}
/* إضافة تأثير نبض خفيف للنيون (اختياري لزيادة الواقعية) */
.carousel-item.active .sport-title {
    animation: silverFlicker 3s infinite alternate, slideInTitle 1s ease-out forwards;
}
@keyframes silverFlicker {
    0%, 100% { opacity: 1; text-shadow: 0 0 15px rgba(200, 200, 200, 0.4); }
    50% { opacity: 0.9; text-shadow: 0 0 25px rgba(255, 255, 255, 0.6); }
}

/* المنحنى السفلي المتوازي */
.hero-bottom-curve {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 50;
    pointer-events: none;
}

/* --- التوافق المتقدم مع الموبايل لسكشن الهيرو --- */
@media (max-width: 1024px) {
    .hero-skate-park {
        height: 80vh; /* زيادة الارتفاع قليلاً ليعطي مساحة للمنحنى */
    }

    /* جعل المنحنى يغطي كامل العرض والارتفاع بشكل سليم */
    .hero-separator-svg svg {
        width: 100%;
        height: 150%;
        object-fit: fill; /* يجبر الـ SVG على تتبع أبعاد الحاوية */
    }

    .hero-text-area {
        width: 90%;
        top: 15%; /* إنزال النص قليلاً ليبتعد عن الهيدر */
        left: 5%;
        text-align: left;
    }

    .sport-title {
        font-size: 3.2rem; /* حجم خط مناسب للموبايل */
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.6);
        letter-spacing: 2px;
    }

    /* تعديل وضعية الستيكر في الموبايل */
    .hero-media-area {
        padding-right: 5%; /* تقليل البادينج الجانبي */
        padding-bottom: 120px; /* لرفعه فوق المنحنى السفلي */
        justify-content: center; /* توسيط الستيكر ليكون تحت النص أو بجانبه قليلاً */
        align-items: flex-end;
    }

    .sticker-asset {
        max-height: 40vh; /* الارتفاع بالنسبة لطول الشاشة */
        width: auto;
        margin-left: 0;
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    }

    /* تعديل المنحنى السفلي ليظهر بوضوح */
    .hero-bottom-curve {
        height: 80px; 
    }
}

/* إضافات تقنية لشاشات الموبايل الصغيرة جداً */
@media (max-width: 480px) {
    .sport-title {
        font-size: 2.5rem;
    }
    .hero-media-area {
        padding-bottom: 100px;
    }
}
/* باقي كود الأزرار والترانزيشن يبقى كما هو لضمان الأداء */




/* --- Home Gallery Section (بقيت كما هي مع إضافات للمودال) --- */
.home-gallery-section { padding: 80px 0; }
.text-neon-silver { color: #c0c0c0; }

.home-gallery-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(192, 192, 192, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.home-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.home-gallery-card .card-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.home-gallery-card:hover {
    transform: scale(1.02);
    border-color: #c0c0c0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 2;
}

.home-gallery-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.home-gallery-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.btn-outline-silver {
    color: #c0c0c0;
    border-color: #c0c0c0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-silver:hover {
    background-color: #c0c0c0;
    color: #000;
}

/* --- Modal & Carousel Navigation Styling --- */
.modal-content img {
    max-height: 85vh;
    object-fit: contain;
}

/* تخصيص أسهم التنقل لتكون أجمل */
.carousel-control-prev, .carousel-control-next {
    width: 10%;
    opacity: 0.8;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* خلفية داكنة خفيفة خلف السهم */
    border-radius: 50%;
    padding: 20px;
    background-size: 50%;
}



/* ==========================================================================
   MKX SPORTS - COACHES & ABOUT STYLES (UNIFIED VERSION)
   ========================================================================== */

/* 1. Global Utilities & Typography */
.text-outline {
    color: transparent;
    -webkit-text-stroke: 1px #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.text-neon-silver {
    color: #c0c0c0;
    text-shadow: 0 0 5px rgba(192, 192, 192, 0.5);
}

.tracking-widest {
    letter-spacing: 5px;
}

/* 2. Filter Buttons (Store Style) */
.filter-container {
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(192, 192, 192, 0.3);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.filter-btn:hover, 
.filter-btn.active {
    background: #c0c0c0 !important;
    color: #000000 !important;
    border-color: #c0c0c0 !important;
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.4);
    transform: translateY(-2px);
}

/* 3. Coach Circle Cards (The Gallery) */
.coach-circle-card {
    transition: all 0.4s ease;
    cursor: pointer;
    padding: 10px;
    max-width: 180px;
    margin: 0 auto;
}

.circle-img-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 2px solid rgba(192, 192, 192, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #111;
}

.coach-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.view-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.view-overlay span {
    font-size: 0.65rem;
    color: #c0c0c0;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #c0c0c0;
    padding: 4px 8px;
}

/* Hover Effects */
.coach-circle-card:hover .circle-img-wrapper {
    border-color: #c0c0c0;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.coach-circle-card:hover .coach-img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.coach-circle-card:hover .view-overlay {
    opacity: 1;
}

.coach-name-sm {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.coach-spec {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    display: block;
    line-height: 1.4;
    margin-top: 4px;
}

/* 4. Pillars & Feature Cards (Standard Items) */
.pillar-card {
    background: linear-gradient(145deg, #0a0a0a, #151515);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px 25px;
    height: 100%;
    transition: all 0.4s ease;
    text-align: center;
    border-radius: 4px;
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: rgba(192, 192, 192, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.pillar-icon {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.pillar-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
}

.pillar-card p {
    font-size: 0.85rem;
    color: #aaaaaa;
    margin-bottom: 0;
    line-height: 1.6;
}

/* 5. Unified Modal (Pop-up) Styles */
.custom-modal-res {
    border-radius: 15px !important;
    border: 1px solid rgba(192, 192, 192, 0.3) !important;
    overflow: hidden;
}

.coach-modal-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 2px solid #c0c0c0;
    padding: 4px;
    background: #000;
}

.bio-text {
    line-height: 1.7;
    color: #dddddd;
    font-weight: 300;
}

.ratio-16x9 {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 6. Responsive Adjustments */
@media (max-width: 1200px) {
    .col-lg-2-4 { width: 25%; } /* 4 مدربين في السطر */
}

@media (max-width: 991px) {
    .col-lg-2-4 { width: 33.33%; } /* 3 مدربين في السطر */
    .circle-img-wrapper { width: 120px; height: 120px; }
}

@media (max-width: 768px) {
    .display-5 { font-size: 2.2rem; }
    .pillar-card { padding: 25px 15px; }
}

@media (max-width: 576px) {
    .col-lg-2-4, .col-6 { width: 50%; } /* مدربين اثنين في السطر للموبايل الصغير */
    .circle-img-wrapper { width: 100px; height: 100px; }
    .coach-name-sm { font-size: 0.8rem; }
    .filter-btn { padding: 6px 14px; font-size: 0.65rem; letter-spacing: 0.5px; }
    .coach-modal-img { width: 120px; height: 120px; }
}

/* زر التحويل للملف الشخصي الكامل */
.btn-mkx-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.3s ease;
    background: transparent;
}

.btn-mkx-outline:hover {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}


/* --- NEW DISCIPLINES SECTION (Modified for Lazy Loading) --- */
.disciplines-section {
    background-color: #000;
    position: relative;
    overflow: hidden;
}

/* القسم الأيسر: أيقونات الميزات */
.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: 0.3s;
}

.feature-item:hover .feature-icon {
    background: #fff;
}

.feature-item:hover .feature-icon i {
    color: #000;
}

/* الكارت الجديد بخلفية صورة */
.discipline-card-new {
    display: block;
    position: relative;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #0a0a0a; /* خلفية احتياطية سوداء قبل تحميل الصورة */
}

.card-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease, opacity 0.6s ease-in-out; /* إضافة انتقال ناعم للظهور */
    opacity: 0; /* مخفية في البداية */
}

/* كلاس يتم إضافته بواسطة الـ JS عند اكتمال التحميل */
.card-image-bg.loaded {
    opacity: 1; /* تظهر الصورة بنعومة Fade-in */
}

/* ماسك تدرجي لجعل النص واضحاً */
.card-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 1;
}

.card-info {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 2;
}

.card-info h4 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
    color: #fff; /* تأكيد اللون الأبيض */
}

.card-line {
    width: 30px;
    height: 2px;
    background: #fff;
    margin-top: 10px;
    transition: width 0.4s ease;
    box-shadow: 0 0 10px #fff;
}

/* تأثيرات الهوفر */
.discipline-card-new:hover {
    transform: translateY(-8px);
    border-color: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.discipline-card-new:hover .card-image-bg.loaded {
    transform: scale(1.15);
    filter: saturate(1.2) brightness(0.8);
}

.discipline-card-new:hover .card-line {
    width: 100%;
}

.discipline-card-new:hover h4 {
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .discipline-card-new { height: 180px; }
    .card-info h4 { font-size: 1rem; }
}


/* --- SERVICES SECTION STYLES (COMPACT) --- */
.services-section {
    background-color: #000;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* كلاس مخصص لـ 5 أعمدة في السطر */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

.service-box {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 15px; 
    height: 100%;
    text-align: center; 
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-box:hover, .service-box.active {
    background: #111;
    border-color: #c0c0c0; /* تم استبدال var لضمان القوة */
    transform: translateY(-5px);
}

.service-icon-wrap {
    width: 45px;  
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 2px;
    font-size: 1.2rem;
    color: #fff;
    transition: 0.3s;
}

.service-box:hover .service-icon-wrap {
    background: #fff;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.service-box h4 {
    color: #fff;
    font-size: 0.95rem; 
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-box p {
    color: #666;
    font-size: 0.8rem; 
    line-height: 1.4;
    margin-bottom: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .service-box { padding: 20px 10px; }
}

@media (max-width: 768px) {
    .services-section { padding: 50px 0; }
    .service-box h4 { font-size: 0.85rem; }
    .service-box p { display: none; } 
}

@media (max-width: 576px) {
    .service-box p { display: block; font-size: 0.75rem; } 
    .service-icon-wrap { width: 40px; height: 40px; font-size: 1rem; }
}




/* --- CERTIFICATION SECTION STYLES --- */
.certification-section {
    background-color: #000;
    padding: 120px 0;
    position: relative; /* هذا هو "المرسى" الذي سيمنع الرف من الهروب للهيرو */
    overflow: visible !important;
    /* border-top: 1px solid rgba(255, 255, 255, 0.05); */
}

/* قائمة المسار التعليمي */
.pathway-list {
    list-style: none;
    padding: 0;
}

.pathway-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.path-icon {
    width: 50px;
    height: 50px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    margin-right: 20px;
    flex-shrink: 0;
    transition: 0.3s;
}

.pathway-list li:hover .path-icon {
    border-color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.path-text strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.path-text span {
    color: #777;
    font-size: 0.9rem;
}

/* كارت إخلاء المسؤولية */
.disclaimer-card {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    position: relative;
    /* box-shadow: 0 20px 40px rgba(0,0,0,0.4); */
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.disclaimer-header i {
    color: #fff;
    font-size: 1.5rem;
}

.disclaimer-header h5 {
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.disclaimer-body p {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.disclaimer-body strong {
    color: #fff;
}

.disclaimer-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.badge-intl {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 2px;
    font-weight: 700;
}

/* الموبايل */
@media (max-width: 991px) {
    .certification-section { padding: 80px 0; }
    .disclaimer-card { margin-top: 40px; }
}








/* ================================================================
   MKX SPORTS - COMPLETE COACHING & STANDARDS STYLES
   ================================================================ */

   .coaching-standards {
    background-color: #000;
    padding: 100px 0;
    position: relative;
}

/* --- 1. Coach Gallery (Main Page Grid) --- */
.mini-coach-gallery {
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.coach-circle-card {
    transition: all 0.4s ease;
    width: 180px;
    cursor: pointer;
}

.circle-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(192, 192, 192, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.coach-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.view-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.view-overlay span {
    font-size: 0.7rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
}

.coach-circle-card:hover .circle-img-wrapper {
    border-color: #C0C0C0;
    transform: scale(1.05);
}

.coach-circle-card:hover .coach-img {
    filter: grayscale(0%);
}

.coach-circle-card:hover .view-overlay {
    opacity: 1;
}

/* --- 2. Compact Modal Styles --- */
.custom-modal-res {
    border-radius: 15px !important;
    border: 1px solid rgba(192, 192, 192, 0.3);
    overflow: hidden;
}

.coach-modal-img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border: 3px solid #C0C0C0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.bio-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-line;
}

.small-mobile-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 3. Standard Items (Features) --- */
.standard-inner {
    background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 25px;
    text-align: center;
    transition: all 0.5s ease;
    border-radius: 10px;
}

.standard-inner:hover {
    border-color: rgba(192, 192, 192, 0.4);
    transform: translateY(-5px);
}

/* --- 4. Global MKX Buttons --- */
.btn-mkx-outline {
    display: inline-block;
    padding: 14px 35px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    background: transparent;
}

.btn-mkx-outline:hover {
    background-color: #fff;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* ================================================================
   5. RESPONSIVE MOBILE OPTIMIZATION (MAX 768px)
   ================================================================ */

@media (max-width: 768px) {
    .coaching-standards { padding: 50px 0; }
    
    /* تصغير دوائر الصفحة الرئيسية */
    .coach-circle-card { width: 130px !important; }
    .circle-img-wrapper { width: 100px !important; height: 100px !important; }

    /* تنسيق المودال "الأفقي" للموبايل */
    .modal-body { padding: 15px !important; }

    .coach-modal-img {
        width: 75px !important; /* صغرنا الصورة لتناسب السطر العلوي */
        height: 75px !important;
        border-width: 2px;
    }

    .h4-mobile {
        font-size: 1.1rem !important;
        margin-bottom: 2px !important;
    }

    .small-badge {
        font-size: 0.6rem !important;
        padding: 2px 6px !important;
    }

    .bio-text {
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .video-section {
        margin-top: 15px !important;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* إلغاء الفواصل العمودية */
    .border-md-start { border-left: none !important; }
    
    .btn-mkx-outline {
        padding: 12px 20px;
        font-size: 0.75rem;
        width: 100%;
        text-align: center;
    }
}













/* --- SHOP SECTION --- */
.shop-section {
    background-color: #000;
    padding: 80px 0;
    overflow: hidden;
}

.payment-methods span {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    font-size: 0.8rem;
    color: #ccc;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
}

/* --- Product Slider Wrapper --- */
.product-slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

/* ظلال جانبية ناعمة للسلايدر */
.product-slider-wrapper::before,
.product-slider-wrapper::after {
    content: "";
    position: absolute;
    top: 0; width: 100px; height: 100%;
    z-index: 5;
    pointer-events: none;
}
.product-slider-wrapper::before { left: 0; background: linear-gradient(to right, #000, transparent); }
.product-slider-wrapper::after { right: 0; background: linear-gradient(to left, #000, transparent); }

.product-track {
    display: flex;
    width: max-content;
}

/* الحركة اللانهائية */
.infinite-track {
    animation: scrollProducts 30s linear infinite;
}

.normal-track {
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.product-item {
    width: 280px; 
    margin: 0 15px;
    flex-shrink: 0;
}

/* كارت المنتج */
.product-card {
    background: #0a0a0a;
    border: 1px solid rgba(192, 192, 192, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: #C0C0C0;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.product-img-box {
    width: 100%;
    height: 220px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.product-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: 0.5s ease;
}

.product-card:hover .product-img-box img {
    transform: scale(1.08);
}

/* الطبقة الشفافة فوق الصورة */
.product-overlay-view {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: 0.3s ease;
    font-size: 0.85rem;
    backdrop-filter: blur(2px);
}

.product-img-box:hover .product-overlay-view {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: #C0C0C0;
    color: #000;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 20px;
    z-index: 2;
}

.product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-price {
    color: #C0C0C0;
    font-size: 1.2rem;
    font-weight: 700;
}

/* زر إضافة للسلة - دائري مع حركة دوران */
.add-to-cart-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(192, 192, 192, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    padding: 0;
}

.add-to-cart-btn:hover {
    background: #C0C0C0;
    color: #000;
    border-color: #C0C0C0;
    transform: rotate(90deg) scale(1.1);
}

/* زر المودال الفضي */
.btn-silver {
    background: #c0c0c0;
    color: #000;
    border: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-silver:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* حل مشكلة السطرين والتوافق (لإزالة الخط البرتقالي) */
.text-truncate-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important; /* الخاصية القياسية */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

@keyframes scrollProducts {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.product-slider-wrapper:hover .infinite-track {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .product-item { width: 240px; }
    .product-img-box { height: 180px; }
}







/* ==========================================================================
   EVENTS & CAMPS STYLES (Dynamic Version - Updated)
   ========================================================================== */

   .events-section {
    background-color: #000;
    padding: 120px 0;
    position: relative;
}

/* قائمة الميزات - ستايل احترافي */
.event-features-list {
    list-style: none;
    padding: 0;
}

.event-features-list li {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.event-features-list li:hover {
    transform: translateX(10px);
}

.event-features-list li i {
    color: rgba(192, 192, 192, 0.6); /* Neon Silver hint */
    font-size: 1.1rem;
    width: 25px;
    text-align: center;
}

/* بطاقة الفعالية المميزة (Featured Event Card) */
.featured-event-card {
    position: relative;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
}

.featured-event-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    color: #000;
    padding: 6px 18px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 10;
    letter-spacing: 1.5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.event-image-shroud {
    height: 350px;
    overflow: hidden;
    background: #1a1a1a;
    position: relative;
}

.event-image-shroud img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65; /* قللنا الشفافية قليلاً ليعطي عمقاً أكبر */
    transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-event-card:hover .event-image-shroud img {
    opacity: 1;
    transform: scale(1.1);
}

/* محتوى بطاقة الفعالية السفلي */
.event-card-body {
    padding: 40px;
    display: flex;
    align-items: flex-start; /* التغيير لـ flex-start ليناسب النص الطويل */
    gap: 30px;
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.event-date {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding-right: 30px;
    min-width: 110px;
}

.event-date .day {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    line-height: 0.9;
    letter-spacing: -1px;
    font-family: 'Arial Black', sans-serif;
}

.event-date .month {
    display: block;
    font-size: 1rem;
    color: #888;
    font-weight: 800;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.event-info {
    flex-grow: 1;
}

.event-info h4 {
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* تنسيق النص المقتبس من المحتوى */
.event-info p.text-light {
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6) !important;
}

.event-info .location-text {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ستايل زر التسجيل */
.event-info .btn-register {
    background: #fff;
    color: #000;
    border-radius: 0;
    padding: 12px 30px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid #fff;
    display: inline-block;
    text-decoration: none;
}

.event-info .btn-register:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.1);
}

/* صندوق "ترقبوا فعالياتنا القادمة" (Empty State) */
.stay-tuned-box {
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.1) !important;
    padding: 60px 40px;
    transition: 0.4s ease;
}

.stay-tuned-box:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.bg-outline-silver {
    background: transparent;
    border: 1px solid #c0c0c0;
    color: #c0c0c0;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}

/* التجاوب مع الجوال (Responsive) */
@media (max-width: 991px) {
    .event-image-shroud { height: 280px; }
    .event-info h4 { font-size: 1.4rem; }
}

@media (max-width: 768px) {
    .events-section { padding: 80px 0; }
    
    .event-card-body {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .event-date {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 25px;
        width: 100%;
        margin-bottom: 20px;
    }
    
    .event-info h4 { font-size: 1.3rem; }
    .event-info .btn-register { width: 100%; }
}







/* --- CONTACT & PARTNERSHIP STYLES --- */
.contact-section {
    background-color: #000;
    padding: 120px 0;
    position: relative;
    /* border-top: 1px solid rgba(255, 255, 255, 0.05); */

}

/* بنود التعاون */
.collab-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.collab-item i {
    color: #fff;
    font-size: 1.1rem;
}

.collab-item span {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
}

.collab-item:hover {
    background: #111;
    border-color: rgba(255, 255, 255, 0.2);
}

/* كرت التواصل (CTA Card) */
.contact-cta-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.cta-inner h3 {
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.cta-inner p {
    color: #777;
}

/* أيقونة النبض */
.icon-pulse {
    width: 80px;
    height: 80px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
    animation: iconPulseShadow 2s infinite;
}

@keyframes iconPulseShadow {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* الزر الأبيض الكامل (لتمييزه عن الأزرار المفرغة) */
.btn-mkx-white {
    background: #fff;
    color: #000;
    padding: 15px 30px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-mkx-white:hover {
    background: #cccccc;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

/* الموبايل */
@media (max-width: 991px) {
    .contact-section { padding: 80px 0; }
    .contact-cta-card { margin-top: 50px; }
}











/* --- About Us Hero Section --- */
.about-us-hero {
    background-color: #000;
    padding-top: 150px; /* لإعطاء مساحة تحت الهيدر المنحني */
    position: relative;
    overflow: hidden;
    padding-bottom:100px;
}

.fw-black { font-weight: 900; }

.text-outline {
    -webkit-text-stroke: 1.5px #fff;
    color: transparent;
}

.main-statement {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #fff;
    letter-spacing: 0.5px;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.quote-box {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-right: 2px solid var(--neon-silver);
    display: inline-block;
}

/* Emblem Animation */
.about-emblem-img {
    max-width: 90%;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.1));
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

/* Mobile Tweak */
@media (max-width: 991px) {
    .about-us-hero { text-align: center; padding-top: 120px; }
    .main-statement {  border-top: 4px solid #fff; padding-left: 0 !important; padding-top: 15px; }
    .about-emblem-img { margin-top: 50px; max-width: 60%; }
}




/* --- Vision & Mission Section --- */
.about-vision {
    background-color: #000;
    background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
    background-size: 30px 30px; /* خلفية شبكية خفيفة */
    padding: 100px 0;
}

.vision-card, .mission-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.vision-card:hover, .mission-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--neon-silver);
}

.card-header-icon {
    font-size: 2.5rem;
    color: var(--neon-silver);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.lead-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* التاجات الصغيرة بأسفل الكرت */
.vision-tags .tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--neon-silver);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
}

/* موازنة الهواتف */
@media (max-width: 768px) {
    .vision-card, .mission-card {
        padding: 30px 20px;
    }
}





/* --- Management Board (Rectangular Style - 5 in a row) --- */

/* كلاس مخصص لتوزيع 5 أعضاء في السطر على الشاشات الكبيرة */
@media (min-width: 992px) {
    .col-lg-custom-5 {
        flex: 0 0 auto;
        width: 20%; /* 100% / 5 members */
    }
}

.management-section {
    padding: 80px 0;
}

.board-card-rect {
    cursor: pointer;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* حاوية الصورة المستطيلة */
.member-img-rect-wrapper {
    position: relative;
    aspect-ratio: 3/4; /* لجعل الصورة مستطيلة عمودية */
    overflow: hidden;
    background: #111;
}

.member-img-rect-wrapper .member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.6s ease, filter 0.6s ease;
}

/* تأثير الغطاء عند المرور بالماوس */
.view-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.view-overlay span {
    color: var(--neon-silver);
    border: 1px solid var(--neon-silver);
    padding: 4px 12px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* تأثيرات الـ Hover */
.board-card-rect:hover {
    border-color: var(--neon-silver);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.board-card-rect:hover .member-img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.board-card-rect:hover .view-overlay {
    opacity: 1;
}

/* معلومات العضو تحت الصورة */
.member-info-rect {
    padding: 15px 10px;
}

.member-name-rect {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-role-rect {
    color: var(--neon-silver);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* --- Modal Internal Styling (البوب أب) --- */
.custom-modal-res {
    border-radius: 0; /* ليبقى متماشياً مع زوايا الموقع الحادة الفخمة */
}

.bio-container {
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-silver) #000;
}

.bio-text {
    line-height: 1.6;
    font-size: 0.85rem;
    white-space: pre-line;
    color: rgba(255, 255, 255, 0.7);
}

/* --- موازنة الشاشات الصغيرة --- */

/* تابلت: 3 أعضاء في السطر */
@media (max-width: 991px) {
    .col-md-4 { width: 33.33%; }
}

/* موبايل: عضوين في السطر */
@media (max-width: 576px) {
    .col-6 { width: 50%; }
    .member-name-rect { font-size: 0.8rem; }
    .member-role-rect { font-size: 0.65rem; }
    .management-section { padding: 50px 0; }
}


/* --- COACHES SECTION STYLES --- */

/* تقسيم 5 أعمدة في الشاشات الكبيرة */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

/* تنسيق أزرار الفلترة (نفس ستايل المتجر) */
.filter-btn {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(192, 192, 192, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
    background: #c0c0c0 !important;
    color: #000 !important;
    border-color: #c0c0c0 !important;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.3);
}

/* بطاقة الكوتش الدائرية */
.coach-circle-card {
    transition: all 0.4s ease;
    cursor: pointer;
    padding: 10px;
}

.circle-img-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 2px solid rgba(192, 192, 192, 0.1);
    position: relative;
    overflow: hidden;
    transition: 0.4s;
}

.coach-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.4s;
}

.view-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.view-overlay span { font-size: 0.65rem; color: #c0c0c0; font-weight: 800; text-transform: uppercase; }

/* تأثيرات الهوفر */
.coach-circle-card:hover .circle-img-wrapper {
    border-color: #c0c0c0;
    transform: translateY(-5px);
}
.coach-circle-card:hover .coach-img { filter: grayscale(0%); }
.coach-circle-card:hover .view-overlay { opacity: 1; }

.coach-name-sm { font-size: 0.9rem; font-weight: 800; letter-spacing: 0.5px; }
.coach-spec { color: rgba(255,255,255,0.5); font-size: 0.7rem; display: block; }

/* --- استجابة الموبايل (Responsive) --- */
@media (max-width: 991px) {
    .col-lg-2-4 { width: 33.33%; }
    .circle-img-wrapper { width: 120px; height: 120px; }
}

@media (max-width: 576px) {
    .col-lg-2-4 { width: 50%; } /* كوتشين في كل سطر للموبايل */
    .circle-img-wrapper { width: 100px; height: 100px; }
    .coach-name-sm { font-size: 0.8rem; }
    .filter-btn { padding: 6px 14px; font-size: 0.65rem; }
}

/* ستايل المودال (Pop-up) */
.custom-modal-res {
    border-radius: 20px !important;
    border: 1px solid rgba(192,192,192,0.3);
}

.coach-modal-img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border: 2px solid #c0c0c0;
    padding: 5px;
}

.bio-text {
    line-height: 1.6;
    color: #ddd;
}





/* --- Partners Section --- */
.partners-section {
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    padding: 100px 0;
}

.partner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--neon-silver);
    transform: translateY(-5px);
}

.partner-logo {
    max-height: 60px;
    max-width: 100%;
    /* filter: grayscale(100%) brightness(0.7); */
    /* opacity: 0.6; */
    transition: all 0.4s ease;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.cooperation-note {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 0.9rem;
}










/* --- Disciplines Page Styles --- */
.disciplines-hero {
    padding: 120px 0 60px;
    background: linear-gradient(to bottom, #000 0%, #0a0a0a 100%);
}

.discipline-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    overflow: hidden;
}

.discipline-image {
    width: 100%;
    height: 250px; /* نحتفظ بالارتفاع الثابت لتوحيد شكل الكروت */
    overflow: hidden;
    background-color: #000; /* خلفية سوداء لتملأ الفراغ إذا كانت الصورة أضيق */
    display: flex; /* لتوسيط الصورة */
    align-items: center;
    justify-content: center;
    padding: 10px; /* حشوة صغيرة لتعطي متنفساً للصورة عن الحواف */
}

.discipline-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto; /* نجعل العرض تلقائياً */
    height: auto; /* نجعل الارتفاع تلقائياً */
    object-fit: contain; /* التعديل السحري: الصورة بالكامل داخل الإطار */
    filter: grayscale(100%);
    transition: all 0.6s ease;
}

.discipline-content {
    padding: 30px;
    text-align: left;
}

.discipline-content h3 {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.discipline-content p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 50px;
}

/* Hover Effects */
.discipline-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.discipline-card:hover .discipline-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Responsive Grid Adjustments */
@media (max-width: 991px) {
    .discipline-image { height: 200px; }
    .discipline-content h3 { font-size: 1.2rem; }
}

@media (max-width: 767px) {
    /* في الموبايل، نجعلهم كرت واحد في السطر للوضوح، أو يمكنك إبقاء "col-6" إذا كانت الصور واضحة */
    .discipline-content { padding: 20px; }
}






/* تنسيق كارد الجاليري */
.gallery-section{
    padding: 80px 0 ;

}
.gallery-card-wrapper {
    cursor: pointer;
    padding: 5px;
}

.gallery-card-inner {
    position: relative;
    aspect-ratio: 1/1; /* يجعل الصور مربعة متناسقة */
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #222;
    transition: all 0.4s ease;
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* تأثير الهوفر: بروز الإطار وتكبير الصورة */
.gallery-card-inner:hover {
    border-color: #c0c0c0; /* Neon Silver */
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(192, 192, 192, 0.2);
}

.gallery-card-inner:hover .gallery-main-img {
    transform: scale(1.1);
}

/* الأوفرلاي عند الهوفر */
.gallery-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card-inner:hover .gallery-hover-overlay {
    opacity: 1;
}

/* أزرار الفلترة */
.filter-btn {
    padding: 8px 22px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.filter-btn.active, .filter-btn:hover {
    background: #c0c0c0;
    color: black;
    border-color: #c0c0c0;
}




/* --- News & Events Page Custom Styles --- */
.bg-dark-soft { background: #0a0a0a; transition: 0.3s; }

.news-event-card {
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.4s;
    overflow: hidden;
}

.news-event-card:hover {
    border-color: #fff;
    transform: translateY(-5px);
}

.news-card-img {
    height: 100%;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    background: #000; /* خلفية سوداء في حال كانت الصورة تحتوي فراغات */
}

/* الكلاس الجديد لضمان عدم قص الصورة */
.full-fit-img {
    width: 100%;
    height: 100%;
    object-fit: contain !important; /* تظهر الصورة كاملة */
    background-color: #000;
}

.news-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    color: #000;
    padding: 8px 12px;
    text-align: center;
    line-height: 1.1;
    min-width: 55px;
    z-index: 5;
}

/* Blog Grid Card */
.blog-grid-card:hover {
    border-color: #c0c0c0 !important;
}

.blog-img {
    height: 220px;
    overflow: hidden;
    background: #000;
}

/* Modal Styling */
.modal-content {
    border-radius: 0;
}

.modal-img-container {
    background: #000;
    max-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal-img-container img {
    max-height: 400px;
    object-fit: contain;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .news-card-img { height: 250px; }
    .display-4 { font-size: 2.5rem; }
}


/* --- Home Blog Section Styles --- */
.home-blog-section {
    background-color: #000;
}

.home-blog-card {
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    /* تحويل الكارد لـ Flex لترتيب العناصر داخله */
    display: flex;
    flex-direction: column;
}

.home-blog-card:hover {
    border-color: #fff;
    transform: translateY(-10px);
}

.blog-img-wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #000;
    flex-shrink: 0; /* منع الصورة من الانضغاط */
}

/* حاوية المحتوى المعدلة */
.blog-content-wrapper {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* تجعل الحاوية تأخذ كل المساحة المتبقية */
}

.blog-title {
    transition: 0.3s;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
    /* تحديد عدد الأسطر للعنوان (سطرين كحد أقصى) لتوحيد الارتفاع */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em; /* يضمن مساحة سطرين حتى لو كان العنوان سطر واحد */
}

.blog-excerpt {
    /* تحديد عدد الأسطر للنص الوصفي (3 أسطر) */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

/* دفع الزر للأسفل دائماً */
.read-more-btn {
    margin-top: auto; /* هذا السطر هو السر في جعل الزر في القاع دائماً */
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
}

.blog-date-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;
    color: #000;
    padding: 5px 15px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.home-blog-card:hover .blog-title {
    color: #c0c0c0;
}

.read-more-btn .line {
    width: 30px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transition: 0.4s;
}

.home-blog-card:hover .read-more-btn .line {
    width: 60px;
    background: #fff;
}

.btn-link-white {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
    transition: 0.3s;
}

.btn-link-white:hover {
    color: #c0c0c0;
    border-color: #fff;
}






/* --- FOOTER STYLES --- */
.main-footer {
    background-color: #000;
    position: relative;
    padding-top: 0; /* لأن المنحنى هو البداية */
    color: #fff;
}

/* المنحنى العلوي للفوتر */
.footer-curve {
    position: relative;
    top: -1px; /* إلغاء أي فجوة بيضاء */
    width: 100%;
    height: 100px;
    z-index: 10;
}

.footer-curve svg {
    width: 100%;
    height: 100%;
    display: block;
    transform: rotate(180deg); /* قلب المنحنى ليكون للأعلى */
}

.footer-content {
    padding-top: 60px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 50px;
    /* filter: brightness(0) invert(1);  */
    /* جعل اللوجو أبيض بالكامل */
}

.footer-about {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-links, .footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact li {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}

.footer-socials a:hover {
    background: #fff;
    color: #000;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.05);
    margin: 40px 0 30px;
}

.copyright {
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* الموبايل */
@media (max-width: 768px) {
    .footer-curve { height: 60px; }
    .footer-content { text-align: center; }
    .footer-contact li { justify-content: center; }
    .footer-socials { justify-content: center; margin-bottom: 30px; }
}

/* admin dashboard student style  */
.pagination-silver .pagination .page-link {
    background-color: #111;
    border-color: #333;
    color: #c0c0c0;
}
.pagination-silver .pagination .page-item.active .page-link {
    background-color: #c0c0c0;
    border-color: #c0c0c0;
    color: #000;
}
.pagination-silver .pagination .page-item.disabled .page-link {
    background-color: #050505;
    color: #444;
}






