/* ==================================تنسيق جزء الصور "المعرض الرئيسي" الموجود في اول الموقع =====================================*/
.modern-carousel-container {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    max-height: 700px;
    border-radius: 0;
    overflow: hidden;
    padding: 20px !important; /* إضافة !important */
}

.modern-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
     padding: 15px; 
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

/* الخلفية */
.slide-background {
    position: absolute;
    top: 10% !important;
    left: 10% !important;
    width: 80% !important;
    height: 0% !important;
    z-index: 1;
    border-radius: 25px !important;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
    border-radius: 25px !important;
}

.carousel-slide.active .background-image {
    transform: scale(1.08);
}
.carousel-slide.active .slide-background {
    transform: scale(0.98); /* تأثير خفيف عند التفعيل */
}


.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.7) 0%, 
        rgba(0,0,0,0.4) 50%, 
        transparent 100%);
    border-radius: 25px; 
}

/* المحتوى */
.slide-content {
    position: relative;
    z-index: 2;
    width: 100%;
     padding: 0 8%;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    margin-bottom: 2rem;
}

.slider-logo {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
}

.text-section {
    margin-bottom: 3rem;
    max-width: 600px;
}

.slide-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-description {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* الأزرار */
.actions-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: #1b8534;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.button-icon {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
    transform: translateX(-5px);
}

.slide-counter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.counter-separator {
    color: rgba(255,255,255,0.6);
}

/* عناصر التحكم */
.carousel-controls {
    position: absolute;
    bottom:3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.control-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2c3e50;
    font-size: 1rem;
}

.control-btn:hover {
    background: white;
    transform: scale(1.1);
}

/* المؤشرات */
.carousel-indicators {
    position: absolute;
    bottom: 3rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    border-color: white;
    background: white;
}

.indicator-progress {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #3498db;
    border-radius: 50%;
    opacity: 0;
}

.indicator.active .indicator-progress {
    opacity: 1;
}

/* الزخرفة */
.slide-decoration {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.slide-decoration img {
    height: 150px;
    width: auto;
}

/* حالة عدم وجود بيانات */
.carousel-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: #f8f9fa;
    text-align: center;
}

.empty-content {
    max-width: 400px;
}

.empty-icon {
    font-size: 4rem;
    color: #bdc3c7;
    margin-bottom: 1.5rem;
}

.carousel-empty h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.carousel-empty p {
    color: #7f8c8d;
}

/* التجاوب */
@media (max-width: 768px) {
    .modern-carousel-container {
        height: 60vh;
        min-height: 400px;
    }
    
    .slide-content {
        padding: 0 20px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-description {
        font-size: 1rem;
    }
    
    .actions-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .carousel-controls {
        bottom: 1rem;
    }
    
    .carousel-indicators {
        bottom: 1rem;
        right: 1rem;
    }
    
    .slider-logo {
        height: 60px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/* ==================================تنسيق جزء  " الرساله و الرؤية "    =====================================*/
 @font-face {
            font-family: 'SortsMillGoudy-Regular';
            src: url('https://fonts.googleapis.com/css2?family=Sorts+Mill+Goudy:ital@0;1&display=swap') format('woff2');
            font-weight: normal;
            font-style: normal;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Almarai', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 4px auto;

        }

        .about-header {
            text-align: center;
            margin: 60px auto 40px auto; 
            max-width: 1000px;
        }
        
        body {
            background-color: #f5f5f5;
            padding: 40px 20px;
            line-height: 1.0;
        }
        
    
        .about-section {
            background: white;
            max-width: 100%;
            margin: 0 auto;
            padding: 60px 50px;
            border-radius: 15px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
            border: 2px solid #e0e0e0;
            position: relative;
            width: 80%;
        }
        
        .about-section::before,
        .about-section::after {
            content: '"';
            font-size: 120px;
            color: #1b8354;
            opacity: 0.3;
            position: absolute;
            font-family:'Sorts Mill Goudy', serif;
            font-weight: bold;
            z-index: 1;
        }
        
        .about-section::before {
            top: 30px;
            right: 40px;
        }
        
        .about-section::after {
            bottom: 30px;
            left: 40px;
            transform: rotate(180deg);
        } 

        .section-header {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
            z-index: 2;
        }
        
        .section-title {
            color: #1b8354;
            font-size: 2.0rem;
            font-weight: 800;
            margin-bottom: 10px;
            text-align: center;
            line-height: 1.2;
            font-family: 'Almarai', sans-serif;
            position: relative;
            z-index: 2;
        }
        
        .section-subtitle {
            color: #666;
            font-size: 1.3rem;
            max-width: 100%;
            margin: 0;
            text-align: center;
            line-height: 1.8;
            font-weight: 400;
            position: relative;
            z-index: 2;
        }
        
        .mission-section {
            margin-top: 60px;
            text-align: center;
            border-top: 2px solid #e0e0e0;
            padding-top: 40px;
            position: relative;
            z-index: 2;
        }
        
        .mission-title {
            color: #1b8354;
            font-size: 2.0rem;
            font-weight: 800;
            margin-bottom: 15px;
            text-align: center;
            font-family: 'Almarai', sans-serif;
            position: relative;
            z-index: 2;
        }
        
        .mission-content {
            color: #666;
            font-size: 1.3rem;
            max-width: 100%;
            margin: 0;
            text-align: center;
            line-height: 1.8;
            font-weight: 400;
            position: relative;
            z-index: 2;
        }
        
        @media (max-width: 1024px) {
            .about-section::before {
                top: 25px;
                right: 35px;
                font-size: 70px;
            }
            
            .about-section::after {
                bottom: 25px;
                left: 35px;
                font-size: 70px;
            }
        }
        
        @media (max-width: 768px) {
            .about-section {
                max-width: 95%; 
                padding: 40px 30px; 
                margin: 5% auto; 
            }

            .about-section::before {
                top: 20px;
                right: 25px;
                font-size: 60px;
            }
            
            .about-section::after {
                bottom: 20px;
                left: 25px;
                font-size: 60px;
            }

            body {
                padding: 20px 15px;
            }
            
            .section-title {
                font-size: 2.5rem;
            }
            
            .mission-title {
                font-size: 2.2rem;
            }
            
            .section-subtitle,
            .mission-content {
                font-size: 1.1rem;
            }
        }
        
        @media (max-width: 600px) {
            .about-section::before {
                top: 15px;
                right: 20px;
                font-size: 50px;
            }
            
            .about-section::after {
                bottom: 15px;
                left: 20px;
                font-size: 50px;
            }
        }
        
        @media (max-width: 480px) {
            .about-section {
                max-width: 98%;
                padding: 30px 25px;
                margin: 3% auto;
                border-radius: 12px;
            }
            
            .about-section::before {
                top: 10px;
                right: 15px;
                font-size: 40px;
            }
            
            .about-section::after {
                bottom: 10px;
                left: 15px;
                font-size: 40px;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .mission-title {
                font-size: 1.8rem;
            }
            
            .section-subtitle,
            .mission-content {
                font-size: 1rem;
            }
        }
        
        @media (max-width: 360px) {
            .about-section::before,
            .about-section::after {
                display: none;
            }
        }




/* ==================================تنسيق جزء  " الرساله و الرؤية "    =====================================*/
:root {
    --primary-color: #1B8354;
    --primary-dark: #166A45;
    --primary-light: #2A9D6F;
    --text-dark: #092A1E;
    --text-light: #5A6C5D;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --border-radius: 12px;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== خدمات الأمانة ===== */
.fluidarea_service599 {
    background: none;
    padding: 5rem 0;
    direction: rtl;
    
}

.area_service599 {
    position: relative;
    z-index: 2;
}

.main_title.black.p-area599 {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

/* ===== البطاقات ===== */
.card92 {
    display: block;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card92::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: var(--transition);
}

.card92:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.card92:hover::before {
    transform: scaleX(1);
}

/* ===== إطارات الصور ===== */
.img-border2 {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    padding: 0;
}

.card92:hover .img-border2 {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.15) rotate(5deg);
}

.img-border2.active {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== الأيقونات ===== */
.img_card92 {
    width: 50px;
    height: 50px;
    transition: var(--transition);
    filter: brightness(0) saturate(100%) invert(47%) sepia(64%) saturate(491%) hue-rotate(110deg) brightness(92%) contrast(91%);
}


.card92:hover .img_card92 {
    transform: scale(1.1);
}

/* ===== العناوين ===== */
.label_card92 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    transition: var(--transition);
    line-height: 1.4;
}

.card92:hover .label_card92 {
    color: var(--text-dark);
}

/* ===== علامة جديد ===== */
.new {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B6B, #EE5A52);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===== الفعاليات الوطنية ===== */
.events-section {
    margin: auto;
    width: 90%;
    padding: 2rem 10px;
}

.event-container {
    margin: 0 auto;
    width: 100%;
    padding: 10px;
}

.event-div {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.event-div:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.event-main-title {
    color: var(--primary-dark);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.event_title2 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.event-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.event-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.event_img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
}

.timer-col {
    margin-top: 1.5rem;
}

.timer-span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.timer-span tag {
    display: block;
    color: var(--primary-dark);
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeer-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== التصميم المتجاوب ===== */
@media (max-width: 1200px) {
    .card92 {
        padding: 2rem 1rem;
    }
    
    .img-border2 {
        width: 90px;
        height: 90px;
    }
    
    .img_card92 {
        width: 45px;
        height: 45px;
    }
    
    .label_card92 {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .fluidarea_service599 {
        padding: 4rem 0;
    }
    
    .main_title.black.p-area599 {
        font-size: 2.2rem;
    }
    
    .card92 {
        padding: 1.5rem 1rem;
    }
    
    .img-border2 {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }
    
    .img_card92 {
        width: 40px;
        height: 40px;
    }
    
    .label_card92 {
        font-size: 1rem;
    }
    
    .event-div {
        padding: 2rem;
    }
    
    .event-main-title {
        font-size: 1.6rem;
    }
    
    .event_title2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .fluidarea_service599 {
        padding: 3rem 0;
    }
    
    .main_title.black.p-area599 {
        font-size: 2rem;
    }
    
    .card92 {
        padding: 1.25rem 0.75rem;
    }
    
    .img-border2 {
        width: 70px;
        height: 70px;
    }
    
    .img_card92 {
        width: 35px;
        height: 35px;
    }
    
    .label_card92 {
        font-size: 0.9rem;
    }
    
    .new {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .events-section {
        width: 95%;
        padding: 1rem 5px;
    }
    
    .event-div {
        padding: 1.5rem;
    }
    
    .event-main-title {
        font-size: 1.4rem;
    }
    
    .event_title2 {
        font-size: 1.1rem;
    }
    
    .timer-span tag {
        font-size: 1.5rem;
    }
    
    .timeer-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .card92 {
        padding: 1rem 0.5rem;
    }
    
    .img-border2 {
        width: 60px;
        height: 60px;
    }
    
    .img_card92 {
        width: 30px;
        height: 30px;
    }
    
    .label_card92 {
        font-size: 0.8rem;
    }
    
    .event-div {
        padding: 1rem;
    }
    
    .event-main-title {
        font-size: 1.2rem;
    }
    
    .event_title2 {
        font-size: 1rem;
    }
    
    .event-description {
        font-size: 0.9rem;
    }
    
    .timer-span tag {
        font-size: 1.3rem;
    }
}

/* ===== إمكانية الوصول ===== */
@media (prefers-reduced-motion: reduce) {
    .card92,
    .img-border2,
    .new,
    .event-div {
        transition: none;
        animation: none;
    }
}

/* دعم التباين العالي =======*/
@media (prefers-contrast: high) {
    .fluidarea_service599 {
        background: var(--primary-dark);
    }
    
    .card92 {
        border-width: 3px;
        background: rgba(255, 255, 255, 0.2);
    }
    
    .label_card92 {
        font-weight: 900;
    }
}

/* تنسيقات للطباعة */
@media print {
    .fluidarea_service599 {
        background: white !important;
    }
    
    .card92 {
        border: 2px solid black !important;
        background: white !important;
    }
    
    .img_card92 {
        filter: brightness(0) invert(0) !important;
    }
    
    .label_card92 {
        color: black !important;
    }
}



/* ================================== تنسيق جزء الورش و المبادرات و الفعاليات  =====================================*/

.main_title {
color: #1b8354;
font-size: 2.5rem;
font-weight: 800;
margin-bottom: 1.5rem;
text-align: center;
}

/* كروت المبادرات */
.initiative-card {
border-radius: 10px;
transition: all 0.3s ease;
}

.initiative-card:hover {
transform: translateY(-4px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* السلايدر */
.event-slide {
height: 320px;
background-size: cover;
background-position: center;
border-radius: 10px;
overflow: hidden;
}

.event-overlay {
position: absolute;
bottom: 0;
width: 100%;
background: rgba(0, 0, 0, 0.55);
border-radius: 0 0 10px 10px;
}

.event-overlay a {
position: relative;
z-index: 2;
pointer-events: auto;
}

.carousel-control-prev span,
.carousel-control-next span {
font-size: 1.5rem;
color: #fff;
}

/* تحسين التوافق مع جميع الأجهزة */
@media (max-width: 768px) {
.event-slide {
height: 250px;
}
.card-body {
padding: 1rem;
}
.main_title {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
}



/*===================================اللوائح و الاشتراطات========================================================*/
/*===================================اللوائح والإشتراطات - مُحسّن ومُصغّر==================================*/
.regulations-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 3.5rem 0;
    color: white;
    direction: rtl;
}

.regulations-section .section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.regulations-section .title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.regulations-section .section-head p {
    color: rgba(255,255,255,0.92);
    font-size: 1.05rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
}

/* الكروت */
.card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 1.6rem 1rem;
    text-decoration: none;
    transition: all 0.35s ease;
    backdrop-filter: blur(12px);
    height: 100%;
    min-height: 140px;
}

.card-item:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.35);
}

.card-item__icon {
    width: 62px;
    height: 62px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
    transition: all 0.3s ease;
}

.card-item:hover .card-item__icon {
    background: rgba(255,255,255,0.25);
    transform: scale(1.12);
}

.card-item__icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.card-item__title {
    color: white;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

/* الزر */
.arrow-btn {
    display: inline-flex;
    align-items: center;
    background: var(--primary-dark);
    color: #000;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.arrow-btn:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
}

.arrow-btn .arrow img {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.arrow-btn:hover .arrow img {
    transform: translateX(-6px);
}

/* تحسينات الجوال */
@media (max-width: 768px) {
    .regulations-section { padding: 3rem 0; }
    .regulations-section .title { font-size: 1.75rem; }
    .regulations-section .section-head p { font-size: 1rem; }

    .card-item {
        padding: 1.4rem 0.8rem;
        min-height: 125px;
    }
    .card-item__icon { width: 56px; height: 56px; }
    .card-item__icon img { width: 28px; height: 28px; }
    .card-item__title { font-size: 1.05rem; }

    .arrow-btn {
        padding: 0.75rem 1.6rem;
        font-size: 1rem;
    }
}


/*-=======================================================هنا جزء  التصميم الخاص بجزء عرض المنصات الهامه فقط  ===============================================*/


.platforms-grid {
  gap: 30px;
  justify-content: center;
}

.platform-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  transition: all 0.01s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.platform-image {
  width: 100%;
  height: 180px;
  border-radius:15px;
  background-color: #1b851b;
  background-position: center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  position: relative;

}

.platform-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, rgba(0,0,0,0.1));
}

.platform-content {
  padding: 25px 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #FFF;
  position: relative;
}

.label-green {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #8395a7ff;
  margin-bottom: 15px;
  line-height: 1.4;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0rem;
  gap: 8px;
  background: linear-gradient(135deg, #1b8354, #1b8354);
  color: white !important;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.1 ease;
  border: 2px solid transparent;
  margin-top: auto;
}

.platform-link:hover {
  background: linear-gradient(135deg, #074d31, #067647);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(190, 198, 190, 0.3);
  color: white !important;
  text-decoration: none;
}

.arrow3 {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  filter: brightness(0) invert(1);
}

.platform-link:hover .arrow3 {
  transform: translateX(-5px);
}

/* تحسينات التجاوب */
@media (max-width: 768px) {
  .platforms-grid {
    gap: 20px;
  }
  
  .platform-card {
    margin-bottom: 0;
  }
  
  .platform-image {
    height: 150px;
  }
  
  .platform-content {
    padding: 20px 15px;
  }
  
  .label-green {
    font-size: 1.1rem;
    min-height: 45px;
  }
  
  .platform-link {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .platform-card {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .platform-image {
    height: 140px;
  }
}

/* تأثيرات إضافية */
.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #166A45, #1b8354);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.platform-card:hover::before {
  transform: scaleX(1);
}

/* تحسينات للعناوين */
.important-links-title {
  color: #2c3e50;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.important-links-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-radius: 2px;
}

/* تحسينات للخلفية bg1 */
.bg1 {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.bg1:hover {
  border-color: rgba(52, 152, 219, 0.2);
}

/* تحسينات للعرض على شاشات كبيرة */
@media (min-width: 1200px) {
  .platforms-grid {
    gap: 40px;
  }
  
  .platform-card {
    max-width: 380px;
  }
}

/* تأثيرات loading للصور */
.platform-image {
  background-color: #2c537aff;
  position: relative;
}

.platform-image.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
