/*intro header start*/

.intro-header .swiper {
    width: 100%;
    height: 100%;
}

.intro-header .swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-header .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-header .swiper-button-next:after, .intro-header .swiper-button-prev:after {
    content: '' !important;
}

.intro-header .swiper-button-next, .intro-header .swiper-button-prev {
    width: 35px;
    height: 35px;
    background-color: transparent;
    border: 1px solid #21665F;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
}

.intro-header .swiper-button-next:hover, .intro-header .swiper-button-prev:hover {
    background-color: #fff;
}

.intro-header .swiper-button-next:before, .intro-header .swiper-button-prev:before {
    content: '';
    width: 20px;
    height: 20px;
    mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" id="Outline" viewBox="0 0 24 24" width="512" height="512"%3E%3Cpath d="M7,24a1,1,0,0,1-.71-.29,1,1,0,0,1,0-1.42l8.17-8.17a3,3,0,0,0,0-4.24L6.29,1.71A1,1,0,0,1,7.71.29l8.17,8.17a5,5,0,0,1,0,7.08L7.71,23.71A1,1,0,0,1,7,24Z"%3E%3C/path%3E%3C/svg%3E') no-repeat center center;
    -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" id="Outline" viewBox="0 0 24 24" width="512" height="512"%3E%3Cpath d="M7,24a1,1,0,0,1-.71-.29,1,1,0,0,1,0-1.42l8.17-8.17a3,3,0,0,0,0-4.24L6.29,1.71A1,1,0,0,1,7.71.29l8.17,8.17a5,5,0,0,1,0,7.08L7.71,23.71A1,1,0,0,1,7,24Z"%3E%3C/path%3E%3C/svg%3E') no-repeat center center;
    mask-size: contain;
    background-color: #21665F;
    -webkit-mask-size: contain;
    transition: background-color 0.3s ease;
}

.intro-header .swiper-button-next:before {
    transform: rotate(180deg);
}

.divider {
    border-bottom: 1px dashed #58595B61;
}

.divider img {
    transform: rotateY(180deg);
}

/*full width video start*/
.full-width-video-wrapper {
    height: 400px;
    width: 100%;
    position: relative;
}

.full-width-video-wrapper:before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #21665fb0;
}

.full-width-video-wrapper video {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

@media (max-width: 768px) {
    .full-width-video-wrapper {
        height: 512px;
    }
}

.full-width-video-wrapper .text-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.full-width-video-wrapper .text-box .head {
    color: #F5F5F5;
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    line-height: 2em;
}

.full-width-video-wrapper .text-box .changing-phrases span {
    font-weight: 700;
    color: #F5F5F5;
    font-size: 23px;
}

.changing-phrases {
    position: relative;
    width: 100%; /* Ensure it occupies the entire width */
    height: 55px; /* Adjust as needed */
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    overflow: hidden; /* Hide overflowed text */
    white-space: nowrap; /* Prevent text from wrapping */
    font-size: 36px; /* Font size */
    font-weight: 600; /* Font weight */
    color: #333; /* Text color */
}

.changing-phrases span {
    position: absolute; /* Absolute positioning to place words on top of each other */
    opacity: 0; /* Start with hidden text */
    animation: fadeInOut 8s infinite; /* Infinite animation */
    animation-delay: calc(2s * var(--i)); /* Stagger delay for each word */
}

/* Keyframes for fade-in and fade-out */
@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    30% {
        opacity: 1;
    }
    40% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Apply a custom delay for each span */
.changing-phrases span:nth-child(1) {
    --i: 0;
}

.changing-phrases span:nth-child(2) {
    --i: 1;
}

.changing-phrases span:nth-child(3) {
    --i: 2;
}

.changing-phrases span:nth-child(4) {
    --i: 3;
}

.full-width-video-wrapper .text-box .body {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    color: #FFFFFF;
}

.full-width-video-wrapper .text-box .about-us-cta {
    background-color: transparent;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 48px;
    transition: all 0.4s ease;
}

.full-width-video-wrapper .text-box .about-us-cta:hover {
    background-color: #fff;
    color: #21665F;
    border: 1px dashed #21665F;
}

/*why us start*/

.why-us-wrapper {
    position: relative;
}

.why-us-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.12;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    background-image: url(https://demo.dmhouse.ir/clothing-template/wp-content/uploads/sites/2/2025/06/landing-page-pattern.png);
}

.why-us-wrapper .head span {
    font-size: 16px;
    font-weight: 300;
    color: rgb(88, 89, 91);
}

.why-us-wrapper h2 {
    margin-top: 16px;
    margin-bottom: 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.8em;
    color: #000;
}

.why-us-wrapper .img-wrapper {
    height: 100%;
}

@media (max-width: 992px) {
    .why-us-wrapper .img-wrapper {
        height: 400px;
        display: flex;
        justify-content: center;
    }
}

.why-us-wrapper .img-wrapper img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.why-us-wrapper .why-us-items {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.why-us-wrapper .why-us-item {
    padding: 20px;
    background-color: #21665F25;
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: start;
}

@media (max-width: 992px) {
    .why-us-wrapper .why-us-item{
        width: 100%;
    }
}

.why-us-wrapper .why-us-item .head {
    margin-bottom: 0;
    font-size: 19px;
    font-weight: 500;
    color: #000;
}

.why-us-wrapper .why-us-item .body {
    font-size: 15px;
    font-weight: 400;
    line-height: 2em;
    color: #58595B;
}