/* Meta Results Info Styling Improvements */
.meta-result-info {
    padding: 25px 20px;
    position: relative;
    background: linear-gradient(to bottom, #1a1a1a 0%, #161616 100%);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 120px;
    justify-content: center;
}

.meta-result-metric {
    display: flex;
    align-items: baseline;
    margin-bottom: 12px;
    justify-content: center;
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    color: #c6fb3c;
    margin-right: 8px;
    line-height: 1;
    letter-spacing: -0.5px;
}

.metric-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.meta-result-client {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 5px;
    text-align: center;
}

/* Placeholder image improvements */
.placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #252525;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #c6fb3c;
}

.placeholder-image i {
    font-size: 50px;
    margin-bottom: 15px;
}

.placeholder-image span {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .meta-result-info {
        padding: 22px 15px;
        min-height: 110px;
    }
    
    .metric-value {
        font-size: 2.8rem;
    }
}

/* Meta Results Slider - Complete Rewrite */
.meta-results-slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 50px auto;
    max-width: 1200px; /* Control maximum width */
}

/* Create a viewport that only shows 2 cards */
.meta-results-slider-wrapper {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.meta-results-slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.meta-result-slide {
    width: 50%;
    flex: 0 0 50%;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .meta-result-slide {
        width: 100%;
        flex: 0 0 100%;
    }
}

/* Slider controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #222;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #95ff00;
    color: #222;
}

.slider-pagination {
    display: flex;
    gap: 8px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #444;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.pagination-dot.active {
    background-color: #95ff00;
    transform: scale(1.2);
}

/* Styles for meta result images */
.meta-result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.meta-result-img:hover {
    transform: scale(1.05);
}

/* Image container sizing */
.meta-result-image {
    background-color: #1a1a1a;
    border-radius: 15px;
    height: 220px;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .meta-result-image {
        height: 180px;
    }
}

.meta-result-info {
    padding: 15px 0;
}

.meta-result-metric {
    margin-bottom: 8px;
}

.metric-value {
    font-size: 2.4rem;
    font-weight: 700;
    color: #95ff00;
    line-height: 1.2;
}

.metric-name {
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-result-client {
    font-size: 1rem;
    color: #ccc;
}

/* Improved mobile text spacing for meta showcase section */
.meta-results-showcase .funnel-section-header p {
    padding: 0 20px;
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}

@media (max-width: 768px) {
    .meta-results-showcase .funnel-section-header p {
        padding: 0 30px;
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.6;
    }
}

/* Global section header improvements for mobile */
.funnel-section-header {
    margin-bottom: 40px;
}

.funnel-section-header h2 {
    margin-bottom: 15px;
}

.funnel-section-header p {
    padding: 0 20px;
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
}

/* Mobile adjustments for section headers */
@media (max-width: 768px) {
    .funnel-section-header {
        margin-bottom: 30px;
    }
    
    .funnel-section-header h2 {
        padding: 0 20px;
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .funnel-section-header p {
        padding: 0 30px;
        margin-bottom: 15px;
        font-size: 15px;
        line-height: 1.6;
    }
    
    .funnel-section-header .section-label {
        padding: 0 20px;
        margin-bottom: 10px;
    }
}

/* Lightbox and zoom functionality */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Lightbox content */
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    overflow: hidden;
}

/* Lightbox image */
.lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    transform-origin: center;
    transition: transform 0.3s ease;
}

/* Zoom levels */
.zoom-level-1 {
    transform: scale(1);
}

.zoom-level-2 {
    transform: scale(1.5);
}

.zoom-level-3 {
    transform: scale(2);
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    transition: background-color 0.3s;
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Zoom controls */
.zoom-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.zoom-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
} 