/* Features Showcase Section Styles */
.features-showcase-section {
    padding: 40px 0;
    background: #DAD3C7;
    position: relative;
    overflow: hidden;
}

.features-showcase-section .container {
    position: relative;
    z-index: 2;
}

.features-showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.feature-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 30px 15px;
    background: transparent;
    transition: all 0.3s ease;

    min-height: 160px;
}

.feature-showcase-item:last-child {
    border-right: none;
}

.feature-showcase-item:hover {
    transform: translateY(-3px);
}

.feature-showcase-icon {
    margin-bottom: 15px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.feature-showcase-item:hover .feature-showcase-icon {
    transform: scale(1.1);
}

.feature-showcase-icon img,
.feature-showcase-icon svg {
    width: 55px;
    height: 55px;
    fill: #DE5700 !important;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(35%) sepia(89%) saturate(1346%) hue-rotate(360deg) brightness(91%) contrast(93%);
}

.feature-showcase-icon svg path {
    fill: #DE5700 !important;
}

.feature-showcase-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.feature-showcase-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #4a4a4a;
    margin: 0 0 10px 0;
    letter-spacing: 0.3px;
    line-height: 1.2;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 140px;
}

.feature-showcase-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #666666;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-align: center;
    max-width: 150px;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .features-showcase-grid {
        max-width: 1000px;
        gap: 20px;
        padding: 0 20px;
    }

    .feature-showcase-icon svg {
        width: 65px;
    }
}

@media (max-width: 1200px) {
    .features-showcase-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
        padding: 0 15px;
    }

    .features-showcase-section {
        padding: 40px 0;
    }

    .feature-showcase-item {
        padding: 15px 5px;
        min-height: 160px; /* زيادة الارتفاع للشاشات المتوسطة */
    }

    .feature-showcase-title {
        font-size: 12px;
        white-space: nowrap; /* منع تفاف النص في الشاشات المتوسطة */
    }

    .feature-showcase-description {
        font-size: 12px;
    }
}

/* إخفاء borders على الشاشات المتوسطة والصغيرة */
@media (max-width: 1024px) {
    .feature-showcase-item {
        border-right: none;
    }

    .features-showcase-grid {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .features-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    /* إزالة borders على الشاشات الصغيرة */
    .feature-showcase-item {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .features-showcase-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 15px;
    }

    .feature-showcase-item {
        border-right: none;
        border-bottom: 2px solid #DE5700;
        min-height: 140px;
        padding: 25px 15px;
    }

    .feature-showcase-item:last-child {
        border-bottom: none;
    }

    .feature-showcase-icon svg {
        width: 45px;
        height: 45px;
    }

    .feature-showcase-title {
        font-size: 12px;
        margin: 0 0 8px 0;
    }

    .feature-showcase-description {
        font-size: 11px;
    }

    .features-showcase-section {
        padding: 35px 0;
    }
}

    .feature-showcase-title {
        font-size: 11px;
        margin: 0 0 10px 0;
    }

    .feature-showcase-description {
        font-size: 12px;
    }

    .features-showcase-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .features-showcase-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .feature-showcase-item {
        padding: 20px 10px;
        max-width: 300px;
        margin: 0 auto;
        border-right: none; /* إزالة borders على الشاشات الصغيرة جداً */
        min-height: 140px; /* زيادة الارتفاع للشاشات الصغيرة جداً */
    }

    .feature-showcase-icon svg {
        width: 45px;
        height: 45px;
    }

    .feature-showcase-title {
        font-size: 12px;
        max-width: 100%;
    }

    .feature-showcase-description {
        font-size: 11px;
        max-width: 100%;
    }

    .features-showcase-section {
        padding: 30px 0;
    }
}

/* Additional hover effects */
.feature-showcase-grid .feature-showcase-item {
    transition: all 0.3s ease;
}

.feature-showcase-grid .feature-showcase-item:hover {
    transform: translateY(-3px);
}

/* Responsive design adjustments */
@media (max-width: 1200px) {
    .features-showcase-grid {
        max-width: 95%;
        padding: 0 15px;
    }

    .feature-showcase-item {
        padding: 25px 10px;
    }
}
