/* 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;
}