.pav-container {
    background-image: url('../images/Home/Section1/Header-Bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    padding-top: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pav-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pav-text-section {
    color: white;
}

.pav-heading {
    font-size: clamp(2.5rem, 6vw, 2.9rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.pav-heading-line {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
}

.pav-animated-text {
    position: relative;
    display: inline-block;
    height: 1em;
    overflow: hidden;
    vertical-align: baseline;
    /* min-width: 250px; */
    min-width: -webkit-fill-available;
    margin-left: 0.3em;
}

.pav-text-slider {
    position: relative;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pav-text-item {
    height: 1.2em;
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pav-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    color: #ffffff;
}

.pav-visual-section {
    display: flex;
    justify-content: end;
    align-items: center;
}

.pav-device-frame {
    position: relative;
    width: 400px;
    height: 400px;
    border: 3px solid white;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pav-scanner-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 20%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.1) 80%, 
        transparent 100%
    );
    animation: pav-scan-animation 3s infinite;
    z-index: 10;
    pointer-events: none;
}

@keyframes pav-scan-animation {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.pav-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pav-image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pav-image-item {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.pav-pos-terminal {
    width: 80px;
    height: 120px;
    background: #2c3e50;
    border-radius: 8px;
    position: relative;
    margin: 0 10px;
}

.pav-pos-screen {
    width: 70px;
    height: 40px;
    background: #34495e;
    border-radius: 4px;
    margin: 8px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #27ae60;
    font-size: 8px;
    font-weight: bold;
}

.pav-pos-keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 8px;
}

.pav-pos-key {
    width: 15px;
    height: 10px;
    background: #7f8c8d;
    border-radius: 2px;
}

.pav-pos-key.pav-red { background: #e74c3c; }
.pav-pos-key.pav-yellow { background: #f39c12; }
.pav-pos-key.pav-green { background: #27ae60; }

.pav-credit-card {
    width: 100px;
    height: 60px;
    background: linear-gradient(45deg, #3742fa, #5352ed);
    border-radius: 8px;
    position: relative;
    margin: 0 10px;
    color: white;
    font-size: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px;
}

.pav-card-chip {
    width: 15px;
    height: 12px;
    background: #ffd700;
    border-radius: 2px;
}

.pav-card-number {
    font-family: monospace;
    font-size: 6px;
    letter-spacing: 1px;
}

.pav-mobile-phone {
    width: 60px;
    height: 100px;
    background: #2c3e50;
    border-radius: 12px;
    position: relative;
    margin: 0 10px;
}

.pav-phone-screen {
    width: 50px;
    height: 80px;
    background: #ecf0f1;
    border-radius: 8px;
    margin: 10px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pav-app-icon {
    width: 20px;
    height: 20px;
    background: #3742fa;
    border-radius: 4px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
    font-weight: bold;
}

.pav-payment-wave {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 15px;
    height: 15px;
}

.pav-wave {
    width: 3px;
    height: 3px;
    background: #27ae60;
    border-radius: 50%;
    position: absolute;
    animation: pav-wave-animation 2s infinite;
}

.pav-wave:nth-child(1) { animation-delay: 0s; }
.pav-wave:nth-child(2) { left: 4px; animation-delay: 0.2s; }
.pav-wave:nth-child(3) { left: 8px; animation-delay: 0.4s; }

@keyframes pav-wave-animation {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

.pav-laptop {
    width: 120px;
    height: 80px;
    position: relative;
    margin: 0 10px;
}

.pav-laptop-screen {
    width: 120px;
    height: 70px;
    background: #2c3e50;
    border-radius: 8px 8px 0 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pav-laptop-display {
    width: 100px;
    height: 55px;
    background: #ecf0f1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    font-size: 8px;
    font-weight: bold;
}

.pav-laptop-base {
    width: 130px;
    height: 10px;
    background: #34495e;
    border-radius: 0 0 8px 8px;
    margin-left: -5px;
}

@media (max-width: 768px) {
    .pav-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .pav-device-frame {
        width: 320px;
        height: 298px;
    }
    .pav-visual-section {
        justify-content: center;
    }
}
@media(max-width: 469px){
    .pav-device-frame {
        width: 100%;
        height: 298px;
    }
}
@media(max-width: 420px){
    .pav-heading-line {
    flex-direction: column;
    align-items: center;
}
.pav-text-item {
    left: 28px;
}
}