/* =================================================== 
---------------Sale Page OSS Styles------------- 
===================================================== */

.btn-style-one.kitting{
    padding: 16px 24px;
}

.box-white.type-2 {
    box-shadow: 0px 5px 37px 0px rgba(84, 84, 84, 0.1);
    border-radius: 3px;
    padding: 24px;
    height: 100%;
    margin-bottom: 20px;
    align-content: center;
}

/* Intro */
.sub-banner-sale-page-oss {
    background-image: url(../../images/banner/sub-banner-sale-page-oss.webp);
    background-position: center 50%;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 12rem;
    padding-bottom: 6rem;
}

.card-bg-kitting-box {
    box-shadow: 0px 5px 37px 0px rgba(84, 84, 84, 0.1);
    border-radius: 3px;
}

.bg-kitting-01 {
    border-radius: 3px;
}

.kittingSwiper .swiper-pagination {
    bottom: 10px !important;
    text-align: center;
}

.box-btn-mb-1 {
    margin-bottom: 30px;
}

.show-btn-02 {
    display: none;
}

.show-btn-01 {
    display: block;
}

@media (max-width: 991px) {
    .show-btn-01 {
        display: none;
    }

    .show-btn-02 {
        display: block;
        text-align: center;
    }

}

/* Target Customer Cards Section */
.target-customer-card-image {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    height: 300px;
    cursor: default;
}

.customer-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.customer-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.customer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 28, 56, 0.4), rgba(0, 28, 56, 0.05));
    display: flex;
    align-items: flex-end;
    padding: 24px;
    transition: background 0.3s ease;
}

.customer-content-overlay {
    color: white;
    width: 100%;
    text-align: left;
}

.customer-title-overlay {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
    text-align: left;
    line-height: 1.2;
}

.customer-subtitle-overlay {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
    line-height: 1.2;
}

.customer-details-overlay {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.customer-details-overlay p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding-top: 8px;
    text-align: left;
}


/* Hover Effect - Show Details (desktop only) */
@media (min-width: 576px) {
    .target-customer-card-image:hover .customer-overlay {
        background: linear-gradient(to top, rgba(0, 28, 56, 0.7), rgba(0, 28, 56, 0.2));
    }

    .target-customer-card-image:hover .customer-details-overlay {
        max-height: 150px;
        margin-top: 8px;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clients Slider Section */
.clients-slider-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.clients-slider {
    display: flex;
    animation: slideLeft 20s linear infinite;
    width: calc(200px * 12);
}

.client-logo {
    flex: 0 0 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0px 4px 24px 0px rgba(84, 84, 84, 0.1);
    transition: transform 0.3s ease;
}

.client-logo:hover {
    transform: scale(0.9);
}

.client-logo img {
    max-width: 100%;
    max-height: 96px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Video Container for Features Section */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 65%;
    /* Taller aspect ratio for bigger video */
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 8px 32px rgba(0, 28, 56, 0.15);
}

.feature-row {
    gap: 24px
}

/* Features Section Layout */
.features-section .row {
    align-items: center;
}

.features-section .col-xl-6:first-child {
    padding-right: 40px;
}

.features-section .col-xl-6:last-child {
    padding-left: 40px;
}

/* Features Image Container */
.features-image-container {
    position: relative;
    width: 100%;
    border-radius: 3px;
    box-shadow: 0 8px 32px rgba(0, 28, 56, 0.15);
    overflow: hidden;
}

.features-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 3px;
    display: block;
}

/* Solution Slider */
.solution-slider {
    width: 100%;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.solution-image {
    height: 500px;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.solution-slider .carousel-control-prev,
.solution-slider .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: none;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.solution-slider .carousel-control-prev {
    left: 20px;
}

.solution-slider .carousel-control-next {
    right: 20px;
}

.solution-slider .carousel-control-prev-icon,
.solution-slider .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.solution-slider .carousel-indicators {
    bottom: 20px;
}

.solution-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    /* background-color: rgba(255, 255, 255, 0.5); */
    border: none;
}

.solution-slider .carousel-indicators button.active {
    background-color: var(--theme-color1-secondary);
}

/* Solution Slider Responsive */
@media (max-width: 767px) {
    .solution-image {
        height: 300px;
    }

    .solution-slider .carousel-control-prev,
    .solution-slider .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .solution-slider .carousel-control-prev {
        left: 10px;
    }

    .solution-slider .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 575px) {
    .solution-image {
        height: 250px;
    }

    .solution-slider .carousel-control-prev,
    .solution-slider .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .solution-slider .carousel-control-prev-icon,
    .solution-slider .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}

.contact-row {
    text-align: start;
}

.kitting-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .target-customer-card-image {
        height: 250px;
        /* margin-bottom: 20px; */
    }

    .customer-title-overlay {
        font-size: 20px;
    }

    .customer-subtitle-overlay {
        font-size: 14px;
    }

    .features-section .col-xl-6:first-child {
        padding-right: 15px;
        margin-bottom: 40px;
    }

    .features-section .col-xl-6:last-child {
        padding-left: 15px;
    }
}

@media (max-width: 767px) {
    .target-customer-card-image {
        height: 200px;
    }

    .customer-overlay {
        padding: 16px;
    }

    .customer-title-overlay {
        font-size: 18px;
    }

    .customer-subtitle-overlay {
        font-size: 13px;
    }

    .customer-details-overlay p {
        font-size: 12px;
    }

    .clients-slider {
        animation-duration: 15s;
    }

    .client-logo {
        flex: 0 0 150px;
        height: 96px;
        padding: 15px;
        margin: 0 8px;
    }

    .video-container {
        padding-bottom: 60%;
        /* Slightly taller for mobile */
        margin-bottom: 30px;
    }

    .features-section .col-xl-6:first-child {
        padding-right: 15px;
        margin-bottom: 30px;
    }

    .features-section .col-xl-6:last-child {
        padding-left: 15px;
    }

    .customer-bg-image {
        object-position: 100% 15%;
    }
}

@media (max-width: 575px) {
    .target-customer-card-image {
        height: auto;
    }

    .customer-image-container {
        position: relative;
        height: auto;
    }

    .customer-bg-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .customer-overlay {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        background: linear-gradient(to top, rgba(0, 28, 56, 0.7), rgba(0, 28, 56, 0.2));
        align-items: flex-start;
        padding: 80px 16px 16px 16px;
    }

    .customer-details-overlay {
        max-height: none;
        overflow: visible;
        margin-top: 8px;
        opacity: 1;
        transform: translateY(0);
    }

    .customer-details-overlay p {
        padding-top: 4px;
    }

    .customer-title-overlay {
        font-size: 16px;
        margin-bottom: 4px;
    }

    .customer-subtitle-overlay {
        font-size: 12px;
    }

    .client-logo {
        flex: 0 0 120px;
        height: 80px;
        padding: 12px;
        margin: 0 6px;
    }

    .client-logo img {
        max-height: 64px;
    }

    .video-container {
        padding-bottom: 65%;
        /* Even taller for small mobile */
    }
}

/*
 Kitting Carousel Indicators */
#kittingCarousel .carousel-indicators {
    bottom: 20px;
}

#kittingCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: #dedede;
    border: none;
}

#kittingCarousel .carousel-indicators button.active {
    background-color: var(--theme-color1-secondary);
}

/* Solution Carousel Controls */
.solution-slider .carousel-control-prev,
.solution-slider .carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: none;
    top: 50%;
}

.solution-slider .carousel-control-prev:hover,
.solution-slider .carousel-control-next:hover {
    color: #fff;
}

.solution-slider .carousel-control-prev {
    left: 20px;
}

.solution-slider .carousel-control-next {
    right: 20px;
}

.solution-slider .carousel-control-prev-icon,
.solution-slider .carousel-control-next-icon {
    width: 32px;
    height: 32px;
    background-size: 32px 32px;
}

/* Solution Carousel Indicators */
.solution-slider .carousel-indicators {
    bottom: 20px;
}

.solution-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: #b7b7b7;
    border: none;
}

.solution-slider .carousel-indicators button.active {
    background-color: var(--theme-color1-secondary);
}

/*
 Solution Carousel Controls Responsive */
@media (max-width: 767px) {

    .solution-slider .carousel-control-prev,
    .solution-slider .carousel-control-next {
        width: 50px;
        height: 50px;
    }

    .solution-slider .carousel-control-prev {
        left: 15px;
    }

    .solution-slider .carousel-control-next {
        right: 15px;
    }

    .solution-slider .carousel-control-prev-icon,
    .solution-slider .carousel-control-next-icon {
        width: 24px;
        height: 24px;
        background-size: 24px 24px;
    }
}

@media (max-width: 575px) {

    .solution-slider .carousel-control-prev,
    .solution-slider .carousel-control-next {
        width: 45px;
        height: 45px;
    }

    .solution-slider .carousel-control-prev {
        left: 10px;
    }

    .solution-slider .carousel-control-next {
        right: 10px;
    }

    .solution-slider .carousel-control-prev-icon,
    .solution-slider .carousel-control-next-icon {
        width: 20px;
        height: 20px;
        background-size: 20px 20px;
    }
}

/* Clients Slider Container Updates */
.clients-slider-container {
    /* background: #f8f9fa; */
    padding: 30px 0;
    border-radius: 12px;
}

.clients-slider {
    padding: 0 20px;
}

/* Pause animation on hover */
.clients-slider:hover {
    animation-play-state: paused;
}

.clients-slider-container:hover .clients-slider {
    animation-play-state: paused;
}


/*
 Call to Action Section Styles - Following Website Theme */
.promotion-cta-box {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0px 5px 37px 0px rgba(84, 84, 84, 0.1);
    /* border: 1px solid #f0f0f0; */
}

.promotion-content {
    position: relative;
}

.promotion-icon-wrapper {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: var(--theme-color1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.promotion-delivery-icon {
    font-size: 2.2rem;
    color: white;
    animation: truckDrive 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes truckDrive {
    0% {
        transform: translateX(-3px) scale(1);
    }

    25% {
        transform: translateX(2px) scale(1.05);
    }

    50% {
        transform: translateX(3px) scale(1);
    }

    75% {
        transform: translateX(-1px) scale(0.98);
    }

    100% {
        transform: translateX(-3px) scale(1);
    }
}

.promotion-main-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--theme-color3);
    margin-bottom: 15px;
    font-family: var(--title-font);
}

.promotion-condition {
    font-size: 18px;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.4;
}

.promotion-condition .text-theme1 {
    color: var(--theme-color1);
    font-weight: 700;
    font-size: 20px;
}

.promotion-area-text {
    font-size: 14px;
    color: #7c858c;
    font-style: italic;
    line-height: 1.4;
}

.promotion-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.promotion-buttons .theme-btn {
    transition: all 0.3s ease;
}

.promotion-buttons .btn-link {
    background: rgba(0, 28, 56, 0.05);
    padding: 12px 24px;
    border-radius: 3px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(0, 28, 56, 0.1);
}

.promotion-buttons .btn-link:hover {
    background: var(--theme-color3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 28, 56, 0.2);
}

.promotion-buttons .btn-link:hover i {
    color: white;
}

.promotion-buttons .btn-link i {
    color: var(--theme-color3);
    transition: all 0.3s ease;
}

/* Responsive Design for Promotion CTA */
@media (max-width: 991px) {
    .promotion-cta-box {
        padding: 35px 25px;
    }

    .promotion-main-title {
        font-size: 24px;
    }

    .promotion-condition {
        font-size: 16px;
    }

    .promotion-condition .text-theme1 {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .promotion-cta-box {
        padding: 30px 20px;
    }

    .promotion-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .promotion-delivery-icon {
        font-size: 1.8rem;
    }

    .promotion-main-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .promotion-condition {
        font-size: 15px;
    }

    .promotion-condition .text-theme1 {
        font-size: 17px;
    }

    .promotion-area-text {
        font-size: 13px;
    }

    .promotion-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }

    .promotion-buttons .theme-btn,
    .promotion-buttons .btn-link {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .promotion-cta-box {
        padding: 25px 15px;
    }

    .promotion-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .promotion-delivery-icon {
        font-size: 1.6rem;
    }

    .promotion-main-title {
        font-size: 20px;
    }

    .promotion-condition {
        font-size: 14px;
    }

    .promotion-condition .text-theme1 {
        font-size: 16px;
    }

    .promotion-area-text {
        font-size: 12px;
    }
}

@media (max-width: 425px) {
    .hide-425 {
        display: none;
    }
}