/**
 * Avolution Landing Page Stylesheet
 * Externalized from index.php to boost performance, caching, and Text-to-HTML ratio
 */

/* Utility Classes */
.bottom-9 {
    bottom: -1rem;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* ========================================================
   Why Choose Us Section
   ======================================================== */
#why-choose-us #cards-column,
#cards-column {
    gap: 14px !important;
}

#why-choose-us .uk-card-spotlight,
#cards-column .uk-card-spotlight,
#cards-column .uk-card-spotlight .uk-card-img-wrap,
#cards-column .uk-card-spotlight .uk-card-img {
    border-radius: 0 !important;
}

/* ========================================================
   Our Solutions for Every Industry Section
   ======================================================== */
.avo-industry-section {
    position: relative;
    background: #ffffff;
    padding: 10px 24px 40px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 640px) {
    .avo-industry-section {
        padding: 20px 32px 50px;
    }
}

@media (min-width: 1024px) {
    .avo-industry-section {
        padding: 30px 48px 60px;
    }
}

.avo-industry-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.avo-industry-header {
    text-align: center;
    margin-bottom: 24px;
}

.avo-industry-title {
    font-size: 26px;
    font-weight: 800;
    color: #101223;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .avo-industry-title {
        font-size: 32px;
    }
}

@media (min-width: 1024px) {
    .avo-industry-title {
        font-size: 38px;
    }
}

/* Tabs Navigation */
.avo-industry-tabs-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 4px 4px;
}

.avo-industry-tabs-wrap::-webkit-scrollbar {
    display: none;
}

.avo-industry-tabs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 4px 8px 12px;
    position: relative;
}

@media (min-width: 640px) {
    .avo-industry-tabs {
        gap: 32px;
    }
}

@media (min-width: 1024px) {
    .avo-industry-tabs {
        gap: 52px;
    }
}

.avo-industry-tab {
    position: relative;
    background: transparent;
    border: none;
    padding: 6px 4px 12px;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: color 0.25s ease;
    white-space: nowrap;
    user-select: none;
}

@media (min-width: 768px) {
    .avo-industry-tab {
        font-size: 21px;
        padding: 8px 6px 14px;
    }
}

.avo-industry-tab:hover {
    color: #bf2026;
}

.avo-industry-tab.active {
    color: #101223;
}

.avo-industry-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3.5px;
    background-color: #bf2026;
    border-radius: 2px;
}

/* Industry Showcase Stage */
.avo-industry-stage {
    position: relative;
    width: 80%;
    margin: 0 auto;
    aspect-ratio: 16 / 9 !important;
    border-radius: 0;
    overflow: hidden;
    background: #0d0f17;
    box-shadow: 0 16px 44px -8px rgba(16, 18, 35, 0.14);
}

@media (max-width: 1024px) {
    .avo-industry-stage {
        width: 90%;
    }
}

@media (max-width: 640px) {
    .avo-industry-stage {
        width: 100%;
        aspect-ratio: 16 / 9 !important;
        border-radius: 0;
    }
}

.avo-industry-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    pointer-events: none;
}

.avo-industry-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.avo-industry-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
}

.avo-industry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    border-radius: 0 !important;
}

.avo-industry-img-sme {
    object-position: center 32%;
}

/* Action Button (Bottom Left) */
.avo-industry-action {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 10;
    pointer-events: auto;
}

@media (min-width: 768px) {
    .avo-industry-action {
        bottom: 32px;
        left: 32px;
    }
}

.avo-industry-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #bf2026;
    background: #ffffff;
    padding: 11px 22px;
    border-radius: 9999px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .avo-industry-btn {
        font-size: 15px;
        padding: 13px 26px;
        gap: 10px;
    }
}

.avo-industry-btn:hover {
    color: #ffffff;
    background: #bf2026;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(191, 32, 38, 0.35);
    gap: 14px;
}

.avo-industry-arrow {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.avo-industry-btn:hover .avo-industry-arrow {
    transform: translateX(4px);
    stroke: #ffffff;
}

/* ========================================================
   Growth Metrics Section
   ======================================================== */
.avo-growth-metrics-section {
    position: relative;
    margin: 30px 0 60px;
    padding: 60px 24px 85px;
    background: #ffffff !important;
    color: #1a202c;
    overflow: hidden;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (min-width: 640px) {
    .avo-growth-metrics-section {
        margin: 40px 0 85px;
        padding: 70px 36px 105px;
    }
}

@media (min-width: 1024px) {
    .avo-growth-metrics-section {
        margin: 50px 0 115px;
        padding: 80px 48px 125px;
    }
}

.avo-growth-container {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.avo-growth-headline-box {
    flex: 0 0 auto;
}

.avo-growth-headline {
    font-size: clamp(1.55rem, 2.05vw, 2.2rem);
    font-weight: 800;
    color: #000000;
    line-height: 1.18;
    letter-spacing: -0.025em;
    margin: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.avo-headline-line {
    display: block;
    white-space: nowrap;
}

.avo-growth-metrics-row {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.avo-metric-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    padding: 0 12px;
}

.avo-metric-divider {
    width: 1px;
    height: 82px;
    background-color: #e5e7eb;
    flex-shrink: 0;
}

.avo-metric-val {
    font-size: clamp(2.5rem, 3.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #bf2026;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 6px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.avo-metric-plus {
    font-size: clamp(1.65rem, 2.2vw, 2.2rem);
    font-weight: 800;
    color: #bf2026;
    margin-left: 2px;
    line-height: 1;
    transform: translateY(3px);
}

.avo-metric-lbl {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1e293b;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin-top: 4px;
}

@media (max-width: 1023px) {
    .avo-growth-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .avo-growth-headline-box {
        max-width: 100%;
        text-align: center;
    }

    .avo-growth-metrics-row {
        width: 100%;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 24px 16px;
    }

    .avo-metric-divider {
        height: 54px;
    }
}

@media (max-width: 640px) {
    .avo-growth-metrics-section {
        padding: 50px 20px 45px;
    }

    .avo-headline-line {
        white-space: normal;
    }

    .avo-growth-metrics-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 16px;
    }

    .avo-metric-divider {
        display: none;
    }

    .avo-metric-unit:last-child {
        grid-column: 1 / -1;
    }
}

/* ========================================================
   Certifications & Memberships Section
   ======================================================== */
.avo-certifications-section {
    position: relative;
    margin: -30px 0 50px;
    padding: 0 24px 20px;
    background: #ffffff;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (min-width: 640px) {
    .avo-certifications-section {
        margin: -45px 0 65px;
        padding: 0 36px 24px;
    }
}

@media (min-width: 1024px) {
    .avo-certifications-section {
        margin: -65px 0 80px;
        padding: 0 48px 30px;
    }
}

.avo-certifications-container {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.avo-certifications-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px 54px;
}

.avo-cert-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
    opacity: 0.7;
    filter: grayscale(100%);
}

.avo-cert-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

.avo-cert-logo {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: block;
}

.avo-certifications-label {
    font-size: 17px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    letter-spacing: -0.01em;
    padding-left: 8px;
}

@media (max-width: 1023px) {
    .avo-certifications-section {
        margin: 0 0 50px;
    }
    .avo-certifications-container {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
    .avo-certifications-logos {
        justify-content: center;
        gap: 24px 36px;
    }
    .avo-certifications-label {
        font-size: 15px;
        padding-left: 0;
    }
    .avo-cert-logo {
        height: 38px;
        max-width: 130px;
    }
}

@media (max-width: 640px) {
    .avo-certifications-logos {
        gap: 20px 24px;
    }
    .avo-cert-logo {
        height: 32px;
        max-width: 110px;
    }
}

/* ========================================================
   Social Proof Brand Marquee Scroller
   ======================================================== */
.social-proof-section {
    background-color: #fafbfc !important;
    border-bottom: 1px solid #edf2f7 !important;
    border-top: 1px solid #edf2f7 !important;
    padding: 68px 0 76px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.social-proof-header {
    max-width: 960px !important;
    margin: 0 auto 44px auto !important;
    padding: 0 24px !important;
    text-align: center !important;
}

.social-proof-title {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 30px !important;
    font-weight: 900 !important;
    color: #101223 !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.5px !important;
}

@media (min-width: 768px) {
    .social-proof-title {
        font-size: 40px !important;
    }
}

.social-proof-subtitle {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 16px !important;
    color: #64748b !important;
    margin: 0 auto !important;
    max-width: 780px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
}

@media (min-width: 768px) {
    .social-proof-subtitle {
        font-size: 17px !important;
    }
}

/* Scroller Viewport & Gradient Masks */
.brand-scroller-wrapper {
    position: relative !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    overflow: hidden !important;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%) !important;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%) !important;
}

.brand-scroller-wrapper::before,
.brand-scroller-wrapper::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 120px !important;
    z-index: 3 !important;
    pointer-events: none !important;
}

.brand-scroller-wrapper::before {
    left: 0 !important;
    background: linear-gradient(to right, #fafbfc 0%, rgba(250, 251, 252, 0) 100%) !important;
}

.brand-scroller-wrapper::after {
    right: 0 !important;
    background: linear-gradient(to left, #fafbfc 0%, rgba(250, 251, 252, 0) 100%) !important;
}

/* Rows and Continuous Tracks */
.brand-scroller-row {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 6px 0 !important;
}

.brand-scroller-track {
    display: flex !important;
    width: max-content !important;
    max-width: none !important;
    will-change: transform !important;
}

.brand-scroller-group {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    max-width: none !important;
    gap: 18px !important;
    padding-right: 18px !important;
    flex-shrink: 0 !important;
}

/* Infinite Marquee Animations */
.row-left .brand-scroller-track {
    animation: brandMarqueeLeft 42s linear infinite !important;
}

.row-right .brand-scroller-track {
    animation: brandMarqueeRight 45s linear infinite !important;
}

.brand-scroller-wrapper:hover .brand-scroller-track,
.brand-scroller-track:hover {
    animation-play-state: paused !important;
}

@keyframes brandMarqueeLeft {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes brandMarqueeRight {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* Brand Badge Card */
.brand-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    border: 1px solid #eef1f6 !important;
    box-shadow: 0 4px 18px -2px rgba(16, 24, 40, 0.05), 0 1px 3px -1px rgba(16, 24, 40, 0.03) !important;
    width: 148px !important;
    min-width: 148px !important;
    max-width: 148px !important;
    height: 94px !important;
    min-height: 94px !important;
    max-height: 94px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease !important;
}

.brand-card:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 14px 28px -4px rgba(16, 24, 40, 0.1), 0 4px 10px -2px rgba(16, 24, 40, 0.04) !important;
    border-color: rgba(191, 32, 38, 0.25) !important;
}

.brand-card img {
    max-width: 100% !important;
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 4px !important;
    opacity: 0.95 !important;
    filter: none !important;
    transition: transform 0.28s ease, opacity 0.28s ease !important;
}

.brand-card:hover img {
    opacity: 1 !important;
    transform: scale(1.06) !important;
}

@media (max-width: 768px) {
    .social-proof-section {
        padding: 48px 0 54px 0 !important;
    }
    .social-proof-header {
        margin-bottom: 28px !important;
    }
    .brand-scroller-wrapper {
        gap: 14px !important;
    }
    .brand-scroller-wrapper::before,
    .brand-scroller-wrapper::after {
        width: 50px !important;
    }
    .brand-card {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
        height: 78px !important;
        min-height: 78px !important;
        max-height: 78px !important;
        border-radius: 14px !important;
        padding: 10px 14px !important;
    }
    .brand-card img {
        max-height: 38px !important;
    }
    .brand-scroller-group {
        gap: 12px !important;
        padding-right: 12px !important;
    }
    .row-left .brand-scroller-track {
        animation-duration: 32s !important;
    }
    .row-right .brand-scroller-track {
        animation-duration: 35s !important;
    }
}

/* ========================================================
   Systems in Action Carousel
   ======================================================== */
.systems-card-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 40px 0 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: max(24px, calc((100vw - 1500px) / 2 + 24px));
    padding-right: max(24px, calc((100vw - 1500px) / 2 + 24px));
    scroll-padding-left: max(24px, calc((100vw - 1500px) / 2 + 24px));
    cursor: grab;
}

.systems-card-scroll:active {
    cursor: grabbing;
}

.systems-card-scroll::-webkit-scrollbar {
    display: none;
}

.systems-card {
    flex: 0 0 420px;
    height: 640px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: #101223;
}

.systems-card:hover {
    transform: scale(1.02);
}

.systems-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
}

.systems-card:hover img {
    transform: scale(1.05);
}

.systems-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 40%, transparent 100%);
    padding: 32px;
    color: #fff;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.systems-card-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.systems-card-title {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .systems-card {
        flex: 0 0 320px;
        height: 520px;
    }
    .systems-card-scroll {
        gap: 14px;
        padding-top: 24px;
        padding-bottom: 14px;
    }
}

/* ========================================================
   Rolling Marquee Animation of Projects (Below Systems in Action)
   ======================================================== */
.projects-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 0 60px 0;
    background: #ffffff;
    user-select: none;
    -webkit-user-select: none;
}

.projects-marquee-track {
    display: flex !important;
    width: max-content !important;
    max-width: none !important;
    will-change: transform !important;
    animation: projectsMarqueeGlide 160s linear infinite !important;
}

.projects-marquee-group {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    max-width: none !important;
    gap: 14px !important;
    padding-right: 14px !important;
    flex-shrink: 0 !important;
}

/* Pause marquee seamlessly on hover */
.projects-marquee-wrapper:hover .projects-marquee-track,
.projects-marquee-track:hover {
    animation-play-state: paused !important;
}

@keyframes projectsMarqueeGlide {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Project Marquee Card: image card with title & pixel pitch below, matching Explore our deployments hover effect */
.projects-marquee-card {
    flex: 0 0 420px !important;
    width: 420px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    border: none !important;
    outline: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.projects-marquee-card:hover {
    transform: translateY(-3px) !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.projects-marquee-card .installation-card-media {
    width: 100% !important;
    height: 260px !important;
    position: relative !important;
    overflow: hidden !important;
    background: #101223 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transition: none !important;
}

.projects-marquee-card:hover .installation-card-media {
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
}

.projects-marquee-card .installation-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    inset: 0 !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.projects-marquee-card:hover .installation-card-media img {
    transform: scale(1.06) !important;
}

/* Info container below image */
.projects-marquee-info {
    padding: 12px 2px 2px !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-height: 52px !important;
    box-sizing: border-box !important;
}

.projects-marquee-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #101223 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.projects-marquee-pitch {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

/* Overlay identical to Explore our successful deployments */
.projects-marquee-card .installation-card-overlay {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.82) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    color: #ffffff !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    line-height: 1.3 !important;
    transform: translateY(100%) !important;
    opacity: 0 !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
    pointer-events: none !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

.projects-marquee-card:hover .installation-card-overlay,
.projects-marquee-card:focus .installation-card-overlay,
.projects-marquee-card:focus-visible .installation-card-overlay {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

.projects-marquee-card .installation-card-overlay span {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    box-shadow: none !important;
    transform: none !important;
    display: inline-block !important;
}

@media (max-width: 768px) {
    .projects-marquee-wrapper {
        padding-bottom: 40px;
    }
    .projects-marquee-card {
        flex: 0 0 300px !important;
        width: 300px !important;
    }
    .projects-marquee-card .installation-card-media {
        height: 185px !important;
    }
    .projects-marquee-info {
        padding: 12px 2px 2px !important;
        gap: 2px !important;
    }
    .projects-marquee-title {
        font-size: 15px !important;
    }
    .projects-marquee-pitch {
        font-size: 12px !important;
    }
    .projects-marquee-group {
        gap: 12px !important;
        padding-right: 12px !important;
    }
    .projects-marquee-track {
        animation-duration: 125s !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .projects-marquee-track {
        animation: none !important;
        overflow-x: auto;
    }
}

/* ========================================================
   Apple-Style Accordion Services Showcase
   ======================================================== */

/* Ensure sticky scroll works cleanly by overriding ancestor overflow-x: hidden */
html, body {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

#main-content {
    overflow: visible !important;
    overflow-x: clip !important;
}

#vision-solutions,
#vision-solutions > div {
    overflow: visible !important;
}

.svc-showcase-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    margin-top: 10px;
    position: relative;
    overflow: visible !important;
}

@media (min-width: 1024px) {
    .svc-showcase-layout {
        display: grid;
        grid-template-columns: 480px 1fr;
        gap: 60px;
        align-items: start;
        position: relative;
        overflow: visible !important;
    }
}

@media (min-width: 1280px) {
    .svc-showcase-layout {
        grid-template-columns: 520px 1fr;
        gap: 80px;
    }
}

/* --- Left Column: Accordion List --- */
.svc-accordion-col {
    flex: 1;
    min-width: 0;
}

@media (min-width: 1024px) {
    .svc-accordion-col {
        flex: 0 0 46%;
        max-width: 520px;
    }
}

.svc-accordion {
    border-top: 1px solid #d2d2d7;
}

.svc-accordion-item {
    border-bottom: 1px solid #d2d2d7;
}

.svc-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    user-select: none;
    transition: color 0.2s ease;
}

.svc-accordion-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
    line-height: 1.25;
    letter-spacing: -0.015em;
    transition: color 0.2s ease;
    pointer-events: none;
}

@media (min-width: 768px) {
    .svc-accordion-title {
        font-size: 20px;
    }
}

.svc-accordion-header:hover .svc-accordion-title {
    color: #bf2026;
}

.svc-accordion-item.active .svc-accordion-title {
    color: #101223;
}

.svc-accordion-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: #86868b;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
    pointer-events: none;
}

.svc-accordion-chevron svg {
    pointer-events: none;
}

.svc-accordion-header:hover .svc-accordion-chevron {
    color: #1d1d1f;
}

.svc-accordion-item.active .svc-accordion-chevron {
    transform: rotate(180deg);
    color: #1d1d1f;
}

/* Accordion Smooth Collapse Animation using CSS Grid */
.svc-accordion-collapse {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-accordion-item.active .svc-accordion-collapse {
    grid-template-rows: 1fr;
}

.svc-accordion-inner {
    overflow: hidden;
}

.svc-accordion-desc {
    font-size: 16px;
    line-height: 1.65;
    color: #515154;
    margin: 0 0 16px 0;
    font-weight: 400;
}

@media (min-width: 768px) {
    .svc-accordion-desc {
        font-size: 17px;
    }
}

.svc-accordion-footer {
    margin-bottom: 24px;
}

.svc-accordion-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #bf2026;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.svc-accordion-link:hover {
    color: #991b1b;
    gap: 12px;
}

.svc-accordion-link .svc-arrow-icon {
    transition: transform 0.2s ease;
}

.svc-accordion-link:hover .svc-arrow-icon {
    transform: translateX(3px);
}

/* Mobile Inline Image (Hidden on desktop) */
.svc-mobile-media {
    display: block;
    margin-bottom: 24px;
    border-radius: 0;
    overflow: hidden;
    background: #111;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

.svc-mobile-media img {
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: cover;
    display: block;
}

@media (min-width: 1024px) {
    .svc-mobile-media {
        display: none;
    }
}

/* --- Right Column: Visual Stage (Desktop Sticky) --- */
.svc-visual-col {
    display: none;
}

@media (min-width: 1024px) {
    .svc-visual-col {
        display: block;
        width: 100%;
        min-width: 0;
        position: -webkit-sticky;
        position: sticky;
        top: 90px;
        align-self: start;
        height: -moz-fit-content;
        height: fit-content;
        z-index: 10;
        will-change: transform;
    }
}

.svc-visual-stage {
    position: relative;
    width: 100%;
    height: clamp(460px, 58vh, 560px);
    border-radius: 0;
    overflow: hidden;
    background: #1a1a24;
    box-shadow: 0 20px 48px -12px rgba(16, 18, 35, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.svc-visual-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98);
    transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s;
    pointer-events: none;
}

.svc-visual-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}

.svc-visual-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.svc-visual-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svc-visual-action {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 10;
    pointer-events: auto;
}

.svc-visual-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #bf2026;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 18px;
    border-radius: 9999px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    text-decoration: none;
}

.svc-visual-link:hover {
    color: #ffffff;
    background: #bf2026;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(191, 32, 38, 0.35);
    gap: 12px;
}

.svc-visual-link:hover .svc-arrow-icon {
    transform: translateX(4px);
    stroke: #ffffff;
}

/* Hide accordion link in left column on desktop (>=1024px) since it is now at the lower left of the image */
@media (min-width: 1024px) {
    .svc-accordion-inner .svc-accordion-footer {
        display: none;
    }
}


/* ========================================================
   Landing Page "LET'S CONNECT" Section
   ======================================================== */
@keyframes landingSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.landing-connect-section {
    background-color: #ffffff;
    padding: 65px 20px 85px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
}

@media (min-width: 640px) {
    .landing-connect-section {
        padding: 75px 32px 95px;
    }
}

@media (min-width: 1024px) {
    .landing-connect-section {
        padding: 90px 48px 120px;
    }
}

@media (min-width: 1280px) {
    .landing-connect-section {
        padding: 95px 56px 120px;
    }
}

.landing-connect-container {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1024px) {
    .landing-connect-container {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 48px 56px;
        align-items: stretch;
    }
}

@media (min-width: 1280px) {
    .landing-connect-container {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 56px 72px;
    }
}

.landing-connect-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.landing-connect-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.landing-connect-title {
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    font-weight: 900;
    color: #000000;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
    text-transform: uppercase;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-connect-subtitle {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: #000000;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-connect-map {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
    min-height: 280px;
    margin: 28px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
    background: #f8fafc;
}

.landing-connect-map iframe {
    width: 100%;
    height: 100%;
    flex: 1;
    min-height: 280px;
    border: 0;
    display: block;
}

.landing-connect-description {
    font-size: clamp(1.02rem, 1.2vw, 1.125rem);
    font-weight: 400;
    color: #1e293b;
    line-height: 1.6;
    max-width: 460px;
    margin: 0;
    font-family: inherit;
}

@media (min-width: 1024px) {
    .landing-connect-description {
        margin-top: 0;
        padding-top: 0;
    }
}

@media (max-width: 1023px) {
    .landing-connect-map {
        flex: none;
        height: 320px;
        margin: 24px 0;
    }

    .landing-connect-description {
        margin-top: 0;
        padding-top: 0;
    }
}

@media (max-width: 640px) {
    .landing-connect-map {
        height: 260px;
        min-height: 240px;
        margin: 20px 0;
    }

    .landing-connect-map iframe {
        min-height: 240px;
    }
}

.landing-connect-right {
    width: 100%;
    max-width: 660px;
    box-sizing: border-box;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .landing-connect-right {
        margin-left: auto;
        margin-right: 0;
    }
}

.landing-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.landing-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .landing-fields-grid {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }
}

.landing-field-col-100 {
    grid-column: 1 / -1;
}

.landing-field-col-50 {
    grid-column: span 1;
}

@media (max-width: 640px) {
    .landing-field-col-50 {
        grid-column: 1 / -1 !important;
    }
}

.landing-form-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 5px;
    display: block;
}

.landing-form-label .req-star {
    color: #ef4444;
    font-weight: 700;
    margin-left: 2px;
}

.landing-form-input {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #0f172a;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
    line-height: 1.4;
}

.landing-form-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.landing-form-input:focus {
    border-color: #94a3b8;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.15);
}

.landing-form-input.is-invalid {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

select.landing-form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 38px;
    cursor: pointer;
}

select.landing-form-input:invalid,
select.landing-form-input option[value=""] {
    color: #94a3b8;
}

select.landing-form-input option {
    color: #0f172a;
}

.landing-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.landing-char-counter {
    text-align: right;
    font-size: 12px;
    color: #64748b;
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
}

.landing-choice-card {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #1e293b;
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    transition: all .15s ease;
}

.landing-choice-card:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

/* Newsletter Opt-in Box */
.landing-newsletter-optin-box {
    background: #f0f4f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 18px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

.landing-newsletter-optin-box:hover {
    border-color: #cbd5e1;
    background: #edf2f7;
}

.landing-newsletter-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 700;
    user-select: none;
    margin: 0;
}

.landing-newsletter-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    accent-color: #003399;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

/* Error Messages */
.landing-field-error-msg {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
    margin-top: 4px;
    line-height: 1.35;
    animation: landingErrFade 0.18s ease-in-out;
}

.landing-field-error-msg svg {
    flex-shrink: 0;
    color: #ef4444;
}

@keyframes landingErrFade {
    from { opacity: 0; transform: translateY(-2px); }
    to { opacity: 1; transform: translateY(0); }
}

/* reCAPTCHA Box */
.landing-recaptcha-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 8px 0 4px;
    width: 100%;
    box-sizing: border-box;
}

.landing-recaptcha-card {
    width: 304px;
    max-width: 100%;
    height: 76px;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    box-sizing: border-box;
    position: relative;
    user-select: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.landing-recaptcha-card.has-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.landing-recaptcha-left {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.landing-recaptcha-checkbox {
    width: 28px;
    height: 28px;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.landing-recaptcha-checkbox:hover {
    border-color: #a6a6a6;
}

.landing-recaptcha-checkbox:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

.landing-recaptcha-checkbox.is-checked {
    border-color: transparent;
    background: transparent;
}

.landing-recaptcha-label {
    font-family: Roboto, helvetica, arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #222222;
}

.landing-recaptcha-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.landing-recaptcha-logo {
    display: block;
    margin-bottom: 2px;
}

.landing-recaptcha-brand-text {
    font-family: Roboto, helvetica, arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #555555;
    letter-spacing: -0.01em;
}

.landing-recaptcha-brand-links {
    font-family: Roboto, helvetica, arial, sans-serif;
    font-size: 8px;
    color: #555555;
    display: flex;
    gap: 3px;
    margin-top: 1px;
}

.landing-recaptcha-brand-links a {
    color: #555555;
    text-decoration: none;
}

.landing-recaptcha-brand-links a:hover {
    text-decoration: underline;
}

/* Terms & Agreement Statement */
.landing-agreement-statement {
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
    line-height: 1.5;
    margin: 10px 0 12px;
    font-family: inherit;
}

.landing-agreement-statement a {
    color: #003399;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.landing-agreement-statement a:hover {
    color: #bf2026;
}

/* Submit Button */
.landing-submit-btn {
    width: 100%;
    box-sizing: border-box;
    height: 50px;
    background: #bac7d5;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    font-family: inherit;
    margin-top: 2px;
}

.landing-submit-btn.is-active,
.landing-submit-btn:not(:disabled) {
    background: #bf2026 !important;
    color: #ffffff !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(191, 32, 38, 0.2);
}

.landing-submit-btn.is-active:hover,
.landing-submit-btn:not(:disabled):hover {
    background: #a81c21 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(191, 32, 38, 0.28);
}

.landing-submit-btn.is-active:active,
.landing-submit-btn:not(:disabled):active {
    transform: scale(0.99);
}

.landing-submit-btn:disabled {
    background: #bac7d5 !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ========================================================
   Systems Article Modal - Zero Border Radius
   ======================================================== */
#articleModal1 .uk-modal-content,
.uk-modal-container .uk-modal-content {
    border-radius: 0 !important;
}

/* ========================================================
/* ========================================================
   Client Video Testimonials Section (Pixel-matched Reference)
   ======================================================== */
.avo-testimonials-section {
    position: relative;
    padding: 20px 24px 60px;
    background: #ffffff;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow: hidden;
}

@media (min-width: 640px) {
    .avo-testimonials-section {
        padding: 30px 36px 70px;
    }
}

@media (min-width: 1024px) {
    .avo-testimonials-section {
        padding: 35px 48px 80px;
    }
}

.avo-testimonials-container {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

.avo-testimonials-slider {
    position: relative;
    width: 100%;
}

.avo-testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.avo-testimonial-slide.active {
    display: block;
    opacity: 1;
    animation: avoTestimonialFadeIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes avoTestimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avo-testimonial-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #f8f9fa;
    width: 100%;
    height: 620px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

/* Left: Video Media / Thumbnail */
.avo-testimonial-media {
    flex: 0 0 38%;
    width: 38%;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #111827;
    border-radius: 0;
}

.avo-testimonial-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transform: scale(1.06);
    transform-origin: center center;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.avo-testimonial-media:hover .avo-testimonial-thumb {
    transform: scale(1.10);
}

.avo-testimonial-play-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 3;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.avo-testimonial-play-btn svg {
    margin-left: 3px;
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
}

.avo-testimonial-media:hover .avo-testimonial-play-btn {
    transform: scale(1.08);
    background: #ffffff;
    color: #bf2026;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

/* Right: Card Body */
.avo-testimonial-body {
    flex: 0 0 62%;
    width: 62%;
    height: 100%;
    background: #f8f9fa;
    padding: 54px 64px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.avo-testimonial-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0;
}

.avo-testimonial-logo-wrap {
    height: 56px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.avo-testimonial-logo {
    display: block;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.avo-logo-daikin {
    max-height: 50px;
    max-width: 250px;
}

.avo-logo-redcross {
    max-height: 64px;
    max-width: 64px;
}

.avo-testimonial-quote-mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.avo-testimonial-quote-mark svg {
    display: block;
    width: 64px;
    height: 52px;
    fill: #bf2026;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.avo-testimonial-quote {
    margin: auto 0;
    padding: 20px 0;
    font-size: clamp(1.4rem, 1.85vw, 1.75rem);
    font-weight: 600;
    color: #0f172a;
    line-height: 1.38;
    letter-spacing: -0.02em;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    border: none;
    background: transparent;
    max-width: 720px;
}

.avo-testimonial-meta {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    margin-top: 0;
    padding-top: 0;
}

.avo-testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.avo-author-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.avo-author-pos,
.avo-author-comp {
    font-size: 0.96rem;
    font-weight: 500;
    color: #475569;
    margin: 0;
    line-height: 1.35;
}

/* Navigation Arrows (Bottom Right) */
.avo-testimonials-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.avo-testimonial-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid #1e293b;
    background: transparent;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    padding: 0;
}

.avo-testimonial-nav-btn:hover {
    background: #1e293b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.avo-testimonial-nav-btn:active {
    transform: scale(0.94);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .avo-testimonial-card {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .avo-testimonial-media {
        flex: none;
        width: 100%;
        height: 320px;
    }

    .avo-testimonial-body {
        flex: none;
        width: 100%;
        height: auto;
        padding: 36px 28px 32px;
    }

    .avo-testimonial-quote {
        font-size: 20px;
        max-width: 100%;
        margin-bottom: 24px;
    }
}


@media (max-width: 640px) {
    .avo-testimonial-media {
        height: 280px;
    }

    .avo-testimonial-play-btn {
        width: 50px;
        height: 50px;
        bottom: 16px;
        right: 16px;
    }

    .avo-testimonial-play-btn svg {
        width: 16px;
        height: 16px;
    }

    .avo-testimonial-body {
        padding: 30px 22px 26px;
    }

    .avo-testimonial-quote {
        font-size: 1.25rem;
        line-height: 1.35;
        margin-bottom: 24px;
    }

    .avo-testimonials-nav {
        margin-top: 18px;
    }

    .avo-testimonial-nav-btn {
        width: 42px;
        height: 42px;
    }
}

/* ========================================================
   Video Modal (Lightbox)
   ======================================================== */
/* ========================================================
   Video Modal (Consistent with Systems in Action Modal)
   ======================================================== */
.avo-video-modal.uk-modal-container {
    /* Uses uk-modal-container positioning, blur, and opacity animation */
}

.avo-video-modal-content {
    background: #ffffff !important;
    max-width: 900px !important;
    border-radius: 0 !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3) !important;
    margin: 60px auto !important;
}

.avo-video-modal-article {
    padding: 60px 48px 48px !important;
    max-width: 800px;
    margin: 0 auto;
    box-sizing: border-box;
}

.avo-video-modal-header {
    margin-bottom: 28px !important;
    text-align: left;
}

.avo-video-modal-header .uk-modal-article-tag {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #bf2026;
    margin-bottom: 8px;
    display: block;
}

.avo-video-modal-header .uk-modal-article-title {
    font-size: 32px;
    font-weight: 900;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 0;
}

.avo-video-modal-player-wrap {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.avo-video-modal-video {
    width: 100%;
    max-height: 65vh;
    display: block;
    margin: 0 auto;
    outline: none;
    background: #000000;
    border-radius: 0;
}

.avo-video-modal-close {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #111827 !important;
    transition: all 0.2s ease !important;
}

.avo-video-modal-close:hover {
    background: #bf2026 !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

@media (max-width: 768px) {
    .avo-video-modal-content {
        margin: 30px auto !important;
    }
    .avo-video-modal-article {
        padding: 44px 20px 28px !important;
    }
    .avo-video-modal-header .uk-modal-article-title {
        font-size: 24px;
    }
}


