header.main_header_wrapper {
}

.typeheader-22 .header-last {
    position: relative;
}

.typeheader-22 .header-last .header-icons .call_us_header {
    color: var(--text-color-light-2);
    position: relative;
    width: fit-content;
    bottom: unset;
    font-size: 18px;
}

.typeheader-22 .header-last .header-icons .call_us_header div svg {
    color: var(--text-color-dark-2);
}

.recurring {
    background: var(--primary_4);
}

/*-----------------------------*/
.three-wrapper.three-wrapper-1 .three-1 img {
    border-radius: var(--border-radius_3);
}

.three-wrapper.three-wrapper-1 .three-2 img {
    border-radius: 80px 80px 60px 60px;
}

.three-wrapper.three-wrapper-1 .three-3 img {
    border-radius: var(--border-radius_3_r);
}

header.container {
    margin-bottom: var(--margin);
}

.typeheader-22 .header-bottom {
    margin-bottom: 2rem;
}

#content {
    margin-bottom: var(--margin);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.swiper-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
}
#content > .container.row {
    margin: 0 auto;
    padding: 0;
}

#content > .container > *,
#content > .container > .row,
#content > .container-fluid > * {
    margin-bottom: calc(var(--margin) * 1.5);
}

@media (max-width: 991px) {
    .home-services .main-service.custom_item .item {
        padding: 10px 5px;
    }
    .main-service .item span {
        font-size: 1.4rem;
    }
    .custom_item .item{
        flex-direction:column;
        margin-left:0 !important; /* Changed from margin-right */
    }
    .main-service .sv-title {
        font-size: 12px;
        margin: 5px 0 0 0;
        text-align:center;
    }
    .main-service {
        padding: 0;
    }
    .main-service .item img {
        width: 36px;
        height: 36px;
    }
}

@media (min-width: 991px) and (max-width: 1200px) {
    #content > .container > .row, #content > .container-fluid > .row {
        padding: 0;
        margin: 0 0 15px 0;
    }
    .cta-container {
        margin:15px !important;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .cta-container {
        flex-direction:row;
    }
    .typeheader-22 .header-icons {
        margin-right:15px !important; /* Changed from margin-left */
    }
}

@media (max-width: 991px) {
    #content > .container > .row,
    #content > .container-fluid > .row {
        padding: 0;
    }
    
    .container-fluid:has(.top-site-brand) {
        margin-bottom:0;
    }
    
    .cta-container .cta-svg {
        margin: 0 1.2rem 0 0; /* Changed margin for LTR */
    }
}

.container-megamenu.vertical .vertical-wrapper ul.megamenu {
    border-radius: 1.8rem;
}

@media(max-width:768px) {
    .cta-container .cta-description {
        font-size:12px;
    }
}

/*=================================== | Bazar Rug CTA | =========================================*/
/* ---------------- CTA 1 ---------------- */
.cta-1-container {
    background-color: var(--primary_4);
    margin-bottom: calc(var(--margin) * 1.5);
}

.cta_1_wrapper {
    position: relative;
    overflow: hidden;
}

.cta_1_wrapper:after {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url('/image/design/patterns/cta-back-01.png');
    background-size: contain;
    background-position-x: right;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 200;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

.cta_2-hedding {
    z-index: 201;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('/image/design/patterns/home/cta/cta-1-pattern.png');
    background-repeat: no-repeat;
    background-size: 220px;
    background-position: top 30px right; /* Changed from left */
}

.cta_2-hedding .modtitle.modtitle-2 {
    justify-content: end; /* Changed from start */
}

.cta_2-hedding .cta_2_title {
    font-size: 20px;
    font-weight: bold;
}

.cta_2-hedding .cta_2_sub_title {
    font-size: 61px;
    font-weight: bold;
    margin-top: var(--margin);
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Changed from end */
    width: fit-content;
}

.cta_2-hedding .btn_show_more {
    position: relative;
    top: 6rem;
    font-size: 22px;
    background-color: var(--primary_1);
    color: var(--text-color-dark-2);
    padding: var(--margin-2);
    font-weight: normal;
}

.cta_2-banners {
    position: relative;
}

.background-image {
    width: fit-content;
    height: 380px;
    overflow: hidden;
}

.background-image img {
    position: relative;
    animation: loop_horisental 15s infinite;
}

@keyframes loop_horisental {
    0% {
        scale: 100%;
        transform: rotate(0deg);
    }
    50% {
        scale: 140%;
        transform: rotate(-20deg); /* Changed rotation for LTR */
    }
    100% {
        scale: 100%;
        transform: rotate(0deg);
    }
}

@media (max-width: 991px) {
    .cta_2-hedding {
        height: 258px;
        background-position: top 0 left;
        background-size: 82px;
    }  

    .cta_2-hedding  .btn_show_more {
        top: 2rem;
    }
    
    .background-image {
        width: 56%;
        height: 180px;
    }
    .cta_2-hedding .cta_2_title {
        margin-top: 3rem;
        font-size: 14px;
    }
    .cta_2-hedding .cta_2_sub_title {
        font-size: 34px;
    }
}

@media (min-width: 992px) {
    .cta_1_wrapper {
        height: 420px;
    }
}
/*=================================== | Shod Gallery custom styles | =========================================*/

.slider-side-vertical.banners > div {
    margin-bottom: var(--margin);
}

.slider-side-vertical.banners > div:first-child {
    border-radius: 80px 0 60px 60px !important; /* Changed border-radius for LTR */
}

.slider-side-vertical.banners > div:nth-child(2) {
    border-radius: 60px !important;
}

.slider-side-vertical.banners > div:last-child {
    border-radius: 60px 60px 0 80px !important; /* Changed border-radius for LTR */
}

@media (min-width: 992px) {
    .typeheader-22 .header-last .header-icons .call_us_header div {
        color: var(--text-color-dark-2);
    }
    .call_us_header div a, .call_us_header svg {
        color: var(--text-color-dark-2);
    }
}

@media (max-width: 991px) {
    .three-wrapper-1 > * {
        width: 80%;
    }
    
    .cta-two .cta_2-hedding:before {
        display: none;
    }
    
    .module_description {
        font-size: 12px;
    }

    .slider-side-vertical div {
        flex-shrink: 0;
    }
    
    .slider-side-vertical img {
        display: block;
        height: 117px !important;
        border-radius: var(--border-radius_1);
    }
}