/* قسم لماذا نحن - التصميم الجديد بالأيقونات */
.why-choose-us-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.why-choose-us-section .container {
    position: relative;
    z-index: 2;
}

.why-us-header {
    text-align: center;
    margin-bottom: 50px;
}

.why-us-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.why-us-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

.why-us-features {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.feature-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-item:hover::before {
    opacity: 0.05;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff6b35;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.feature-text {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.feature-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.feature-item:hover .feature-text h3 {
    color: #ff6b35;
}

.feature-text p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* تحسينات الجوال */
@media (min-width: 769px) {
    .why-us-features {
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 25px !important;
    }
    
    .feature-item {
        width: 22% !important;
        max-width: 250px !important;
        min-width: 200px !important;
        flex: 1 !important;
    }
}

@media (min-width: 992px) {
    .why-us-features {
        flex-wrap: nowrap;
    }
    
    .feature-item {
        min-width: 240px;
        max-width: 260px;
    }
}

/* إضافة قاعدة خاصة للتابلت */
@media (min-width: 481px) and (max-width: 768px) {
    .why-us-features {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .feature-item {
        width: 45% !important;
        max-width: 45% !important;
        flex: none !important;
    }
}

/* قواعد محددة جداً للشاشات الصغيرة - أولوية عالية */
@media screen and (max-width: 768px) {
    .why-choose-us-section .container .why-us-features {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        align-items: stretch !important;
        gap: 2% !important;
        width: 100% !important;
    }
    
    .why-choose-us-section .container .why-us-features .feature-item {
        width: 49% !important;
        max-width: 49% !important;
        min-width: 49% !important;
        flex: 0 0 49% !important;
        box-sizing: border-box !important;
        margin: 0 0 15px 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
}

@media screen and (max-width: 480px) {
    .why-choose-us-section .container .why-us-features {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 2% !important;
    }
    
    .why-choose-us-section .container .why-us-features .feature-item {
        width: 49% !important;
        max-width: 49% !important;
        min-width: 49% !important;
        flex: 0 0 49% !important;
        height: 160px !important;
        padding: 15px 8px !important;
    }
    
    .why-choose-us-section .feature-icon {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 8px !important;
    }
    
    .why-choose-us-section .feature-icon i {
        font-size: 1.2rem !important;
    }
    
    .why-choose-us-section .feature-text h3 {
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
    }
    
    .why-choose-us-section .feature-text p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 40px 0;
    }
    
    .why-us-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .why-us-features {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
        align-items: stretch !important;
        justify-content: center !important;
        max-width: 100% !important;
    }
    
    .feature-item {
        padding: 25px 15px !important;
        margin: 0 5px !important;
        max-width: 45% !important;
        width: 45% !important;
        height: 220px !important;
        flex: none !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-text h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .feature-text p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .why-us-title {
        font-size: 1.8rem;
    }
    
    .why-us-features {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: center !important;
    }
    
    .feature-item {
        padding: 20px 10px !important;
        width: 48% !important;
        max-width: 48% !important;
        height: 180px !important;
        flex: none !important;
        margin: 0 1% !important;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .feature-icon i {
        font-size: 1.3rem;
    }
    
    .feature-text h3 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .feature-text p {
        font-size: 0.8rem;
    }
}

/* تأثيرات إضافية للأيقونات */
.feature-item:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.feature-item:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.feature-item:nth-child(4) .feature-icon {
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.feature-item:nth-child(1):hover .feature-text h3 {
    color: #4ecdc4;
}

.feature-item:nth-child(2):hover .feature-text h3 {
    color: #667eea;
}

.feature-item:nth-child(3):hover .feature-text h3 {
    color: #f5576c;
}

.feature-item:nth-child(4):hover .feature-text h3 {
    color: #fcb69f;
}

/* تحسين قسم الباقات */
.packages-section {
    padding-top: 60px;
}