/* For Slider */
header.wp-block-template-part {
    position: absolute;
    z-index: 999;
    width: 100%;
}
        .slider-container {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
               margin: 0;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            display: flex;
            align-items: center;
            padding-right: 40px;
        }

        .slide.active {
            opacity: 1;
        }

        .slide-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 1;
                max-width: 100%;
    max-height: 100%;
        }


        .slide-content {
    position: relative;
    z-index: 2;
    text-align: right;
    max-width: 80%;
    padding-top: 90px;
    margin-right: 10%;
}

        .main-title, .sub-title, .description {
            background-color: rgba(255, 255, 255, 0.9);
            display: block;
            padding: 10px 20px;
            margin: 10px 0;
            border-radius: 5px;
            transform: scale(0);
            opacity: 0;
            transition: transform 0.5s ease-out, opacity 0.5s ease-out;
        }

        .main-title {
            color: #e60000;
            transition-delay: 0.3s;
			font-weight: bold;

        }

        .sub-title {
            color: #e60000;
            transition-delay: 0.6s;
            font-weight: bold;
        }

        .description {
            color: currentColor;
            transition-delay: 0.9s;
            font-weight: bold;
        }

        .slide.active .main-title,
        .slide.active .sub-title,
        .slide.active .description {
            transform: scale(1);
            opacity: 1;
        }

        @media (max-width: 1200px) {
            .slider-container {
                height: 92vh;
            }
        }

        @media (max-width: 768px) {
        
            .slider-container {
                height: 68vh;
            }
            .main-title {
                font-size: 1.8rem;
            }
            .sub-title {
                font-size: 1.4rem;
            }
            .description {
                font-size: 1rem;
            }
                        .slide-content {
                text-align: center; /* Center content on medium screens */
                margin-right: 0; /* Remove right margin */
                margin: 0 auto; /* Center the content box */
            }
        }


        @media (max-width: 480px) {
            .slider-container {
                height: 44vh;
            }
            .main-title {
                font-size: 1.5rem;
            }
            .sub-title {
                font-size: 1.2rem;
            }
            .description {
                font-size: 0.9rem;
            }
            .slide-content {
                max-width: 90%;
            }
        }
        
        
        
/* show steps of shipping from 1 to 8 */
.process-container {
    text-align: center;
        direction: ltr;

}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.step {
    position: relative;
        min-height: 260px;
    width: 180px;
    background-color: #F0F0F0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
        direction: rtl;
align-content: center;

}
 .step:hover{
    background-color: #FFA8B27D;
}

.step:hover {
    transform: translateY(-10px);
}
.arrow {
    font-size: 30px;
    color: #2A2B41;
}


.icon-container {
    font-size: 40px;
    color: #FE0202;
    margin-bottom: 20px;
        width: 1.2em;
    height: 1.2em;
    position: relative;
    display: block;
    fill: #2A2B41;
        display: var(--fa-display, inline-block);
}

.step::before {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: -15px;
    background-color: #515962;
    color: white;
    font-size: 18px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    .steps {
        flex-direction: column;
        align-items: center;

    }
    .arrow {
    rotate: 90deg;
}
.step {
    position: relative;
        min-height: 260px;

    width: 80%;

}
}
/* for advantages icons */
        .icons-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
            text-align: center;
            margin: auto;
        }
        .item img {
            width: 100px;
            height: auto;
        }
        .item:last-child {
            justify-self: center;
        }
/* Brand Logo Slider */
        .logo-slider-wrapper{width:100%;overflow:hidden}
        .logo-slider{display:inline-flex;animation:slide-rtl 20s linear infinite;padding-top: 8px}
        .logo-slider:hover{animation-play-state:paused}
        .logo-slide{flex:0 0 150px;display:flex;align-items:center;justify-content:center;padding:0 20px}
        .logo-slide img{max-width:150px;max-height:80px;object-fit:contain;filter:grayscale(100%);opacity:0.6;transition:all 0.3s ease}
        .logo-slide:hover img{transform:scale(1.05);filter:grayscale(0%);opacity:1}
        @keyframes slide-rtl{0%{transform:translateX(100%)}100%{transform:translateX(0)}}

/* btns at the end of the home page */
a.button.more-info-btn {
    display: block;
    width: fit-content;
    background-color: white;
    color: #ff3a2d;
    font-weight: bold;
}
/* for section dalil tasaw9 al 3alami */
        button {
            font-family: 'cairo', sans-serif;
        }
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        .text-center {
            text-align: center;
        }

        .header {
            margin-bottom: 2rem;
        }

        .header h1 {
            font-size: 1.875rem;
            font-weight: 700;
            color: #111827;
            margin-bottom: 0.5rem;
        }

        .header p {
            color: #4b5563;
        }

        .filter-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.75rem;
            margin-bottom: 2.5rem;
        }

        .filter-btn {
            padding: 0.5rem 1.5rem;
            border-radius: 9999px;
            border: 1px solid #d1d5db;
            background-color: white;
            color: #374151;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            outline: none;
        }

        .filter-btn:hover {
            background-color: #f3f4f6;
            border-color: #9ca3af;
        }

        .filter-btn.active {
            background-color: #ff3a2d;
            color: white;
            border-color: #ff3a2d;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }

        .filter-btn.active:hover {
            background-color: #ff3a2d;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }

        @media (min-width: 640px) {
            .gallery-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (min-width: 768px) {
            .gallery-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .gallery-grid {
                grid-template-columns: repeat(5, 1fr);
            }
        }

        .brand-card {
            position: relative;
            overflow: hidden;
            background-color: white;
            padding: 1rem;
            border-radius: 0.75rem;
            border: 1px solid #e5e7eb;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            height: 10rem;
            cursor: pointer;
            text-decoration: none;
        }

        .brand-card img {
            max-height: 100%;
            max-width: 100%;
            object-fit: contain;
            position: relative;
            z-index: 0;
            transition: transform 0.5s ease;
        }

        .brand-card:hover img {
            transform: scale(1.1);
        }

        .overlay {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 10;
            border-radius: 0.75rem;
            color: white;
            padding: 0.5rem;
            text-align: center;
            background: rgba(0, 0, 0, 0.7);
            opacity: 0;
            transition: all 0.3s ease;
        }

        .brand-card:hover .overlay {
            opacity: 1;
        }

        .overlay .brand-name {
            font-size: 1rem;
            color: white;
            font-weight: 700;
            text-transform: capitalize;
            margin-bottom: 0.75rem;
            filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.5));
        }

        .overlay .visit-btn {
            background-color: #ff3a2d;
            padding: 0.5rem 1rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            font-weight: 700;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            transition: transform 0.3s ease;
        }

        .overlay .visit-btn:hover {
            transform: scale(1.05);
        }

        .overlay .visit-btn svg {
            height: 1rem;
            width: 1rem;
            display: inline-block;
            margin-right: 0.25rem;
        }

        .fade-in {
            animation: fadeIn 0.5s ease-in-out;
        }

        @keyframes fadeIn {
            from { 
                opacity: 0; 
                transform: translateY(10px); 
            }
            to { 
                opacity: 1; 
                transform: translateY(0); 
            }
        }

        .no-results {
            text-align: center;
            padding: 2.5rem 0;
            color: #6b7280;
            font-size: 1.125rem;
        }

        .hidden {
            display: none;
        }

        .load-more-container {
            text-align: center;
            margin-top: 3rem;
        }

        .load-more-btn {
            background-color: white;
            color: #1f2937;
            border: 1px solid #d1d5db;
            font-weight: 600;
            padding: 0.75rem 2.5rem;
            border-radius: 0.375rem;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .load-more-btn:hover {
            background-color: #f9fafb;
            color: #ff3a2d;
        }

        .load-more-btn svg {
            height: 1.25rem;
            width: 1.25rem;
            margin-left: 0.5rem;
            transition: transform 0.3s ease;
        }

        .load-more-btn:hover svg {
            transform: translateY(0.25rem);
        }