/* ayman css
+201099959959 */


/* last news article */


.news-card {
    display: flex;
    flex-direction: column;
    width: 320px;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #272727;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    flex-shrink: 0;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.15);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-content {
    padding: 15px;
    text-align: center;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
}

.date {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.date i {
    color: #b03a2e;
}

.read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
    margin: 10px auto 0;
}

.read-more i {
    font-size: 20px;
    color: #b03a2e;
    transition: transform 0.3s ease-in-out;
}

.read-more:hover {
    background-color: #b03a2e;
    transform: scale(1.1);
}

.read-more:hover i {
    color: #fff;
}


/* تحسين عرض الكروت على الموبايل */
@media (max-width: 768px) {
    .wrapper-gallery {
        gap: 5px; /* تقليل المسافة قليلاً لتناسب الشاشات الصغيرة */
        justify-content: center;
    }

    .news-card {
        width: 95%; /* جعل العرض ديناميكيًا */
        max-width: 300px; /* تحديد الحد الأقصى للعرض */
        height: 340px;
        margin: 5px auto; /* جعل المسافات متساوية */
    }
}
/* last news article */



.section-one {
   margin-top: 50px;
}


.hero7{
    font-size: 120px!important;
}

@media (max-width: 768px) {
    .hero7{
        font-size: 80px!important;
    }
}

/* spin-animation-logo */

.spin-animation {
    animation: spin 7s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* spin-animation-logo */

/* popup-effect */
.popup-effect {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.popup-effect:hover {
    transform: scale(1.1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}
/* popup-effect */


/* تحديد مكان اللوجو في وسط الشاشة */
.logo-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px; /* حجم اللوجو */
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* تأثير الظهور التدريجي مع التكبير */
.logo-animation {
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0.7);
    animation: fadeInScale 1.5s ease-out forwards, pulseEffect 4s infinite ease-in-out 2s;
}

/* حركة الفتح (Fade-In + Scale-Up) */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* حركة نابضة (Pulse) لإضافة تأثير جذاب */
@keyframes pulseEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}


