.vmaf-comparison-section {
    padding: 0 0 2rem;
    margin-top: 0;
    background-color: #f5f5f5;
}

.format-nav {
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 2rem 1rem 0;
}

.format-nav-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.format-nav-item {
    cursor: pointer;
    padding: 1rem 2rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.format-nav-item.active {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.image-comparison-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background-color: #f5f5f5;
}

.image-left, .image-right {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

.image-right {
    clip-path: inset(0 0 0 50%);
    width: 100%;
}

.image-left img, .image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    object-position: center;
    transition: transform 0.3s ease;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    cursor: ew-resize;
    transform: translateX(-50%);
    z-index: 2;
}

.slider-handle::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    background: transparent;
    z-index: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 0;
    height: 0;
}

.slider-circle {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.compression-rate {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.image-types {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.type-item {
    cursor: pointer;
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 1rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.type-item.active {
    opacity: 1;
    transform: translateY(-5px);
}

.type-item img {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.type-item span {
    display: block;
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.image-info {
    position: absolute;
    bottom: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    z-index: 3;
    transition: opacity 0.3s ease;
}

.image-left .image-info {
    left: 20px;
}

.image-right .image-info {
    right: 20px;
}

.image-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 500;
}

.image-info p {
    margin: 4px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.image-info strong {
    color: #2196F3;
    font-weight: 600;
}

@media (max-width: 768px) {
    .image-wrapper {
        height: 400px;
    }
    
    .image-info {
        padding: 10px 15px;
    }
    
    .image-info h3 {
        font-size: 1rem;
    }
    
    .image-info p {
        font-size: 0.8rem;
    }
}

.compression-title-section {
    text-align: center;
    padding: 3rem 1rem 2rem;
    background-color: #f5f5f5;
}

.compression-title-section h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: bold;
}

.compression-title-section p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.page-banner {
    margin-bottom: 0;
}

.vmaf-capabilities-section {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.capabilities-chart {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chart-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.chart-container img {
    width: 60%;
    height: auto;
}

.chart-description {
    flex: 1;
}

.chart-description h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.capability-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.capability-item:hover {
    transform: translateY(-5px);
}

.capability-item .icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.capability-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.capability-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.capability-item p {
    color: #666;
    line-height: 1.6;
}
