.aivah-psl-container {
    width: 100%;
    position: relative;
    background-color: transparent;
}

.aivah-psl-layout {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100vh;
    box-sizing: border-box;
}

/* Left Content Column */
.aivah-psl-left {
    flex: 0 0 35%;
    max-width: 35%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    box-sizing: border-box;
    position: relative; /* relative positioning to layer the background breakout correctly */
}

@media (min-width: 1201px) and (pointer: fine) {
    .aivah-psl-left {
        padding-left: 10%;
        padding-right: 5%;
    }
}

/* Left Section Background Wrapper */
.aivah-psl-left-bg-wrapper {
    position: absolute;
    top: 0;
    left: calc((100vw - 100%) / -2);
    width: calc(100% + (100vw - 100%) / 2);
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.aivah-psl-left-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.aivah-psl-left-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 11, 12, 0.4);
}

.aivah-psl-eyebrow {
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #E85B24;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    position: relative;
    z-index: 5;
}

.aivah-psl-heading {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin: 0 0 25px 0;
    position: relative;
    z-index: 5;
}

.aivah-psl-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #a8a8a9;
    margin-bottom: 35px;
    position: relative;
    z-index: 5;
}

.aivah-psl-desc p {
    margin: 0 0 15px 0;
}
.aivah-psl-desc p:last-child {
    margin-bottom: 0;
}

.aivah-psl-btn {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;
    padding: 14px 28px;
    border: 1px solid #ffffff;
    border-radius: 30px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    background-color: transparent;
    position: relative;
    z-index: 5;
}

.aivah-psl-btn:hover {
    color: #E85B24;
    border-color: #E85B24;
}

.aivah-psl-btn svg {
    transition: transform 0.3s ease;
}

.aivah-psl-btn:hover svg {
    transform: translateX(5px);
}

/* Right Content Column */
.aivah-psl-right {
    flex: 0 0 65%;
    max-width: 65%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-sizing: border-box;
}

@media (min-width: 1201px) and (pointer: fine) {
    .aivah-psl-right {
        padding-right: 10%;
    }
}

/* Vehicle Background Wrapper - Breakout to right edge of screen */
.aivah-psl-car-wrapper {
    position: absolute;
    top: 0;
    right: calc((100vw - 100%) / -2);
    width: calc(100% + (100vw - 100%) / 2);
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.aivah-psl-car-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(1.08); /* Initial state scaled, GSAP will animate to 1 */
}

/* Vignette/Glow overlay for right area */
.aivah-psl-car-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(11, 11, 12, 0.2) 0%, rgba(11, 11, 12, 0.95) 85%);
    pointer-events: none;
}

/* Orange decorative glow trails */
.aivah-psl-light-trail-1 {
    position: absolute;
    bottom: 20%;
    left: -20%;
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, rgba(232, 91, 36, 0) 0%, rgba(232, 91, 36, 0.8) 50%, rgba(232, 91, 36, 0) 100%);
    filter: blur(2px);
    pointer-events: none;
}

/* Panels track container */
.aivah-psl-panels-track {
    position: relative;
    width: 460px;
    height: auto;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Card Panel Styling */
.aivah-psl-card {
    width: 100%;
    background-color: #0B0B0C;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-sizing: border-box;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    transform-origin: center center;
    position: relative;
}

.aivah-psl-card-inner {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-sizing: border-box;
}

/* Icon Wrap */
.aivah-psl-card-icon-wrap {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.aivah-psl-card-icon-wrap i {
    font-size: 20px;
    color: #E85B24;
}

.aivah-psl-card-icon-wrap svg {
    width: 20px;
    height: 20px;
    fill: #E85B24;
}

/* Text */
.aivah-psl-card-text {
    flex-grow: 1;
}

.aivah-psl-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.aivah-psl-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #a8a8a9;
    margin: 0;
}

/* Number wrap */
.aivah-psl-card-number-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.aivah-psl-card-number {
    font-family: monospace, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #E85B24;
    letter-spacing: 1px;
}

.aivah-psl-card-number-line {
    width: 15px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-top: 5px;
}

/* Active Focus shadows & borders */
.aivah-psl-card.active-focus {
    border-color: rgba(232, 91, 36, 0.3);
    box-shadow: 0 10px 30px rgba(232, 91, 36, 0.05);
}

.aivah-psl-card.active-focus .aivah-psl-card-icon-wrap {
    transform: scale(1.08);
}

/* Responsive Collapse for mobile/tablet */
@media (max-width: 1200px), (pointer: coarse) {
    .aivah-psl-container {
        background-image: var(--psl-mobile-bg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        padding: 60px 20px !important;
    }

    .aivah-psl-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(11, 11, 12, 0.95);
        z-index: 1;
    }

    .aivah-psl-layout {
        flex-direction: column;
        height: auto;
        position: relative;
        z-index: 2;
    }

    .aivah-psl-left {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        height: auto;
        position: relative;
        z-index: 2;
    }

    .aivah-psl-right {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        height: auto;
        position: relative;
        z-index: 2;
    }

    /* Hide the individual left bg wrapper and right car wrapper since they are combined into the container background */
    .aivah-psl-left-bg-wrapper,
    .aivah-psl-car-wrapper {
        display: none !important;
    }

    .aivah-psl-left {
        margin-bottom: 40px !important;
    }

    .aivah-psl-right {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .aivah-psl-panels-track {
        width: 100%;
        gap: 20px;
    }

    .aivah-psl-card {
        opacity: 1 !important;
        transform: none !important;
        position: relative !important;
        top: auto !important;
    }

    /* Responsive inside cards: [Number Circle absolute top-left] [Icon on top] [Text below] */
    .aivah-psl-card-inner {
        padding: 40px 25px 25px 25px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 15px !important;
        box-sizing: border-box !important;
    }

    .aivah-psl-card-number-wrap {
        position: absolute !important;
        top: 15px !important;
        right: 20px !important;
        margin: 0 !important;
        z-index: 10 !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }

    .aivah-psl-card-number {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        letter-spacing: 0 !important;
    }

    .aivah-psl-card-number-line {
        display: none !important;
    }

    .aivah-psl-card-icon-wrap {
        order: 1 !important;
        margin-bottom: 5px !important;
        margin-left: 0 !important;
    }

    .aivah-psl-card-text {
        order: 2 !important;
        width: 100% !important;
    }
}

/* Ken Burns Loop Animations */
@keyframes aivah-psl-kb-right {
    0% {
        transform: scale(1.08) translate(0, 0);
    }
    50% {
        transform: scale(1.15) translate(-1.5%, 1%);
    }
    100% {
        transform: scale(1.08) translate(0, 0);
    }
}

@keyframes aivah-psl-kb-left {
    0% {
        transform: scale(1.08) translate(0, 0);
    }
    50% {
        transform: scale(1.15) translate(1.5%, 1%);
    }
    100% {
        transform: scale(1.08) translate(0, 0);
    }
}

.aivah-psl-car-image.aivah-psl-kenburns {
    animation: aivah-psl-kb-right 28s ease-in-out infinite;
}

.aivah-psl-left-bg-image.aivah-psl-kenburns {
    animation: aivah-psl-kb-left 28s ease-in-out infinite;
}
