/* Owner: features/video. Existing visual rules extracted from style.css. */
.popupForm .modal-body {
    padding: 0;
}

.popupForm button.btn-close {
    background: var(--secondary-color);
    opacity: 1;
    padding: 8px;
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 9;
    display: grid;
    place-content: center;
    color: white;
}

.modal-dialog.popupForm {
    max-width: 600px;
}

a.secondary-btn.industry-btn {
    color: #00702f;
    /* darkened brand green for WCAG AA contrast (~6:1 on white) */
    background: white;
    border-color: white;
}

.process-container .col-lg-3.col-md-6:last-child .process-step .arrow-right {
    display: none !important;
}
.video-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 114, 190, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.video-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 114, 190, 0.15);
}

.video-card:hover::before {
    transform: scaleX(1);
}

.video-client-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
    margin-top: 1rem;
}

.video-client-title {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.service-testimonial-layout {
    row-gap: 30px;
}

.service-video-testimonials {
    border: 2px solid rgba(0, 165, 80, 0.45);
    border-radius: 14px;
    padding: 14px 14px 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 114, 190, 0.1);
    position: sticky;
    top: 110px;
}

.service-video-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.service-video-heading h3 {
    color: #111827;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.service-video-slider {
    margin: 0 -2px;
}

.service-video-slider .slick-list {
    padding: 0 !important;
}

.service-video-slider .slick-slide {
    border: 0;
}

.service-video-slide {
    padding: 0 2px 18px;
}

.service-video-card {
    background: #fff;
    border: 4px solid #8bd5dc;
    border-radius: 14px;
    overflow: hidden;
}

.service-video-frame {
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
    position: relative;
    background: #eef7fb;
}

.service-video-frame::before {
    background: #ff0000;
    border-radius: 12px;
    content: "";
    height: 42px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    z-index: 2;
}

.service-video-frame::after {
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
    border-top: 10px solid transparent;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-38%, -50%);
    z-index: 3;
}

.service-video-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-video-frame:hover img {
    transform: scale(1.03);
}

.service-video-meta {
    padding: 8px 4px 0;
}

.service-video-meta h4 {
    color: #111827;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 2px;
}

.service-video-meta span {
    color: #667085;
    display: block;
    font-size: 0.78rem;
    line-height: 1.3;
}

.service-video-arrows {
    display: flex;
    justify-content: right;
    gap: 14px;
    margin-top: 2px;
}

.service-video-next-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.service-video-prev,
.service-video-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.service-video-prev:hover,
.service-video-next:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.service-video-prev i,
.service-video-next i {
    font-size: 0.78rem;
}

.testimonial-pg .testimonial-card {
    margin: 0 0 25px;
    width: 100%;
}

.client-testimonials {
    height: stretch;
}

@media (max-width: 991.98px) {
    .service-video-prev i,
    .service-video-next i {
        transform: rotate(-90deg);
    }

    .service-video-testimonials {
        position: relative;
        padding-bottom: 58px;
        top: auto;
    }

    .service-video-slide {
        padding-bottom: 8px;
    }

    .service-video-heading {
        justify-content: center;
    }
    .service-video-heading .service-video-prev {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(-50px);
    }
    .service-video-arrows {
        margin: 0;
    }

    .service-video-arrows .service-video-next {
        position: absolute;
        bottom: 12px;
        left: 50%;
        transform: translateX(10px);
    }
}

@media (max-width: 575.98px) {
    .service-video-testimonials {
        padding-bottom: 50px;
    }

    .service-video-heading {
        justify-content: center;
    }

    .service-video-heading .service-video-prev {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-35px);
        width: 34px;
        height: 34px;
    }

    .service-video-arrows .service-video-next {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(10px);
        width: 34px;
        height: 34px;
    }
}
@media (max-width: 767.98px) {
    .modal-dialog.popupForm {
        margin: 0.5rem;
    }

    .modal-dialog.popupForm .modal-content {
        border-radius: 12px;
    }

    .modal-dialog.popupForm .form-box {
        background: #ffffff !important;
        opacity: 1 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* Extracted from web/layout/footer.blade.php. */
.yt-lightbox{position:fixed;inset:0;z-index:9999;background:rgba(15,23,42,.88);display:none;align-items:center;justify-content:center;padding:20px}
    .yt-lightbox.is-open{display:flex}
    .yt-lightbox__inner{position:relative;width:min(960px,100%);aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden;box-shadow:0 25px 60px rgba(0,0,0,.5)}
    .yt-lightbox__inner iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
    .yt-lightbox__close{position:absolute;top:-46px;right:0;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.15);color:#fff;font-size:22px;line-height:1;cursor:pointer;transition:background .2s}
    .yt-lightbox__close:hover{background:rgba(255,255,255,.3)}
    @media (max-width:576px){.yt-lightbox__close{top:auto;bottom:-46px;right:50%;transform:translateX(50%)}}

.landing-client-video-card {
    background: #fff;
    border: 4px solid #8bd5dc;
    border-radius: 14px;
    box-shadow: none;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.landing-client-video-card .service-video-frame {
    border-radius: 0;
}
