/* تحسينات قسم القطاعات - Enhanced Industries Styles
   تنسيقات مخصصة لصفحة القطاعات وعرضها بشكل أكثر جاذبية
*/

/* قسم القطاعات */
.industries-section {
    padding: 60px 0;
    position: relative;
}

/* شبكة القطاعات */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* بطاقة القطاع */
.industry-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.industry-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(10, 58, 120, 0.1);
}

/* صورة القطاع */
.industry-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.industry-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.industry-card:hover .industry-image::before {
    opacity: 1;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.industry-card:hover .industry-image img {
    transform: scale(1.08);
}

/* أيقونة القطاع */
.industry-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0a3a78 0%, #1a5baa 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 185px;
    right: 30px;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(10, 58, 120, 0.2);
    transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
    transform: scale(1.1);
}

.industry-icon i {
    font-size: 28px;
    color: #fff;
}

/* محتوى القطاع */
.industry-content {
    padding: 30px;
    padding-top: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.industry-content h3 {
    font-size: 22px;
    color: #0a3a78;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.industry-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* قائمة الحلول */
.industry-solutions {
    margin-top: 15px;
    margin-bottom: 25px;
}

.industry-solutions h4 {
    font-size: 18px;
    color: #0a3a78;
    margin-bottom: 15px;
    font-weight: 600;
}

.industry-solutions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.industry-solutions li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 10px;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.industry-solutions li:before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    color: #0a3a78;
}

/* زر عرض المزيد */
.industry-card .btn-premium {
    margin-top: auto;
    align-self: flex-start;
}

/* مقدمة القطاعات */
.industries-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.industries-intro h2 {
    font-size: 32px;
    color: #0a3a78;
    margin-bottom: 20px;
    font-weight: 700;
}

.industries-intro p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* قسم التميز في القطاعات */
.industry-excellence {
    background-color: #f9fafb;
    padding: 70px 0;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.industry-excellence::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-bg.png');
    background-size: cover;
    opacity: 0.04;
    z-index: 0;
}

.excellence-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.excellence-text h3 {
    font-size: 28px;
    color: #0a3a78;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.excellence-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #0a3a78 0%, #1a5baa 100%);
}

.excellence-text p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.excellence-features {
    margin-top: 30px;
}

.excellence-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.excellence-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a3a78 0%, #1a5baa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
    flex-shrink: 0;
}

.excellence-feature-icon i {
    font-size: 20px;
    color: #fff;
}

.excellence-feature-text h4 {
    font-size: 18px;
    color: #0a3a78;
    margin-bottom: 8px;
    font-weight: 600;
}

.excellence-feature-text p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}

.excellence-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.excellence-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* تأثيرات الانتقال */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* تأخير الظهور بالتدريج */
.industries-grid .industry-card:nth-child(1) {
    animation-delay: 0.1s;
}

.industries-grid .industry-card:nth-child(2) {
    animation-delay: 0.2s;
}

.industries-grid .industry-card:nth-child(3) {
    animation-delay: 0.3s;
}

.industries-grid .industry-card:nth-child(4) {
    animation-delay: 0.4s;
}

.industries-grid .industry-card:nth-child(5) {
    animation-delay: 0.5s;
}

.industries-grid .industry-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* تنسيقات للشاشات الصغيرة */
@media (max-width: 992px) {
    .excellence-content {
        grid-template-columns: 1fr;
    }
    
    .excellence-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-content {
        padding: 25px;
    }
    
    .industry-content h3 {
        font-size: 20px;
    }
    
    .excellence-text h3 {
        font-size: 24px;
    }
}
