/* Influencer Campaign Specific Styles */

/* Header Section */
.influencer-header {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #1a202c;
    text-align: center;
    padding: 120px 0 60px;
}

.influencer-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 255, 0.05);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.agency-label {
    display: inline-block;
    color: #0066FF;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding: 8px 0;
}

.main-heading {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #1a202c;
}

.consultation-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.consultation-btn:hover {
    transform: translateY(-2px);
    background: #128C7E;
    color: white;
}

.consultation-btn i {
    font-size: 18px;
}

.partner-badges {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge:hover {
    transform: scale(1.05);
}

.partner-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.badge span {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

/* Background Animation */
.influencer-tools-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.tool-icon {
    position: absolute;
    font-size: 40px;
    color: #64748b;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.tool-icon:nth-child(even) {
    animation-direction: reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(-10px) rotate(-3deg); }
}

/* Portfolio Clients Section */
.portfolio-clients {
    padding: 40px 0;
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
    overflow: hidden;
    position: relative;
}

.portfolio-clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #edf2f7;
}

.portfolio-logo-slider {
    width: 100%;
    overflow: hidden;
}

.portfolio-logo-track {
    display: flex;
    align-items: center;
    width: calc(150px * 21); /* 14 logos * 2 sets * 150px width */
    animation: slide 15s linear infinite;
}

.portfolio-logo-item {
    flex: 0 0 150px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.portfolio-logo-item img {
    max-width: 100%;
    max-height: 45px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.portfolio-logo-item:hover img {
    filter: grayscale(0%);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .influencer-header {
        padding: 100px 0 40px;
        min-height: 90vh;
    }
    
    .main-heading {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .agency-label {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .consultation-btn {
        padding: 12px 28px;
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .partner-badges {
        gap: 20px;
        margin-top: 30px;
    }
    
    .badge span {
        font-size: 13px;
    }
    
    .partner-logo {
        width: 40px;
        height: 40px;
    }
    
    .tool-icon {
        font-size: 24px;
        opacity: 0.2;
    }
    
    .portfolio-clients {
        padding: 30px 0;
    }
    
    .portfolio-logo-item {
        flex: 0 0 120px;
        height: 50px;
        padding: 0 10px;
    }
    
    .portfolio-logo-item img {
        max-width: 100%;
        max-height: 35px;
    }
    
    .portfolio-logo-track {
        width: calc(120px * 21);
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .partner-badges {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }
    
    .consultation-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
    
    .consultation-btn i {
        font-size: 16px;
    }
    
    .partner-logo {
        width: 35px;
        height: 35px;
    }
}

/* Why Work With Us Section - Adjusted to match portfolio theme */
.why-work-section {
    background: #f8fafc;
    padding: 80px 0;
}

.why-work-wrapper {
    font-family: 'Poppins', sans-serif;
    background-color: transparent;
    color: #1a202c;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 70px;
}

/* Accent Shapes - Adjusted colors */
.accent-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03) 0%, rgba(0, 102, 255, 0) 70%);
    top: -150px;
    right: -150px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03) 0%, rgba(0, 102, 255, 0) 70%);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: rgba(0, 102, 255, 0.02);
    top: 40%;
    left: 60%;
}

/* Title Section */
.title-container {
    margin-bottom: 60px;
    position: relative;
    text-align: center;
    z-index: 2;
}

.subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #0066FF;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.sociarmy-main-title {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: #1a202c;
    line-height: 1.3;
}

.sociarmy-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #0066FF;
}

.highlight {
    color: #0066FF;
    position: relative;
}

/* Slider Container */
.slider-container {
    position: relative;
    overflow: visible;
    margin-bottom: 40px;
    padding: 5px 0;
    z-index: 2;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    overflow: visible;
    padding: 10px 0;
}

.slider-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    position: relative;
    margin: 0 10px;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    box-sizing: border-box;
}

.card-inner {
    width: 100%;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    position: relative;
}

.slider-card:hover .card-inner {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 102, 255, 0.2);
}

.card-header {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.03), rgba(0, 102, 255, 0.06));
    padding: 25px 25px 15px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.reason-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 102, 255, 0.15);
    line-height: 1;
    position: absolute;
    top: 15px;
    right: 20px;
    font-style: italic;
}

.card-header h3 {
    font-size: 1.1rem;
    color: #1a202c;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    margin-right: 50px;
}

.reason-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
}

.reason-content p {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Slider Progress */
.slider-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    z-index: 2;
    position: relative;
    padding: 20px 0;
}

.progress-bar {
    width: 100%;
    max-width: 350px;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-bottom: 25px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #0066FF;
    border-radius: 4px;
    width: 0;
    transition: width 0.8s ease;
}

.slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #0066FF;
    transform: scale(1.2);
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #0066FF;
    color: #0066FF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.15);
    flex-shrink: 0;
    position: absolute;
    z-index: 200; /* Increased z-index to ensure clickability */
    pointer-events: auto !important; /* Ensure they're always clickable */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Explicitly enable pointer events */
}

.slider-arrow:hover {
    background-color: #0066FF;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.3);
    animation: pulse 1.5s infinite;
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.98);
}

    .slider-arrow-left {
        left: -25px;
        transform: translateY(-50%);
    }
    
    .slider-arrow-right {
        right: -25px;
        transform: translateY(-50%);
    }
    
    @media (max-width: 768px) {
        .slider-arrow {
            width: 40px;
            height: 40px;
            font-size: 16px;
            background-color: #ffffff;
            opacity: 0.9;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }
        
    .slider-arrow-left {
        left: 5px;
    }
    
    .slider-arrow-right {
        right: 5px;
    }
    
    /* Additional styles to ensure arrows are visible and clickable on all devices */
    @media (max-width: 768px) {
        .slider-arrow {
            width: 40px;
            height: 40px;
            opacity: 0.9;
            background-color: white;
            border: 2px solid #0066FF;
        }
        
        .slider-arrow-left {
            left: 10px;
        }
        
        .slider-arrow-right {
            right: 10px;
        }
    }        .slider-arrow:hover {
            background-color: #0066FF;
            color: #ffffff;
            opacity: 1;
        }
    }
    
    /* Animation for arrows */
    @keyframes pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.4);
        }
        70% {
            box-shadow: 0 0 0 10px rgba(0, 102, 255, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
        }
    }.slider-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #6c757d;
}

/* Arrow click animation effect */
.arrow-click {
    animation: click-effect 0.3s ease;
}

@keyframes click-effect {
    0% {
        transform: translateY(-50%) scale(1);
    }
    50% {
        transform: translateY(-50%) scale(0.9);
    }
    100% {
        transform: translateY(-50%) scale(1);
    }
}

.cta-section {
    text-align: center;
    margin-top: 30px;
    z-index: 2;
    position: relative;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #128C7E;
    color: white;
}

.cta-button:hover::before {
    left: 100%;
}

@media (max-width: 992px) {
    .why-work-section {
        padding: 60px 0;
    }
    
    .why-work-wrapper {
        padding: 0 60px;
    }
    
    .sociarmy-main-title {
        font-size: 2.2rem;
    }
    
    .slider-card {
        flex: 0 0 calc(50% - 20px);
        min-width: calc(50% - 20px);
    }
    
    .card-header {
        padding: 20px 20px 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
    }
    
    .reason-content {
        padding: 20px;
        text-align: center;
    }
    
    .reason-number {
        font-size: 2.5rem;
        position: relative;
        margin: 0 auto 10px;
        display: block;
    }
    
    .card-header h3 {
        text-align: center;
        width: 100%;
        font-size: 1.4rem;
    }
    
    .slider-arrow {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .why-work-section {
        padding: 50px 0;
    }
    
    .why-work-wrapper {
        padding: 0 20px;
    }
    
    .sociarmy-main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
    
    .slider-container {
        overflow: visible;
        margin: 0 auto 40px;
        padding: 5px 0;
        width: 100%;
        /* Ensure container can properly position the slider */
        position: relative;
        display: flex;
        justify-content: center;
        max-width: 100%;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    .slider-track {
        margin: 0 auto;
        overflow: visible;
        /* Keep the track centered in the container */
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
        position: relative;
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Smoother animation */
    }
    
    .slider-card {
        flex: 0 0 calc(100% - 40px);
        min-width: calc(100% - 40px); 
        margin: 0 20px;
        padding: 0;
        box-sizing: border-box;
        /* Ensure content is centered and fully visible */
        display: flex;
        justify-content: center;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    
    /* Ensure card content is fully visible and centered */
    .slider-card .card-inner {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Make sure text content is perfectly centered and readable */
    .reason-content {
        text-align: center;
        padding: 20px 25px 25px;
    }
    
    .reason-content p {
        text-align: center;
        width: 100%;
        margin: 0 auto;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .reason-number {
        font-size: 2.2rem;
        top: 12px;
        right: 15px;
    }
    
    .progress-bar {
        max-width: 250px;
    }
    
    .title-container {
        margin-bottom: 40px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .slider-arrow-left {
        left: -10px;
    }
    
    .slider-arrow-right {
        right: -10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .why-work-section {
        padding: 40px 0;
    }
    
    .why-work-wrapper {
        padding: 0 40px;
    }
    
    .sociarmy-main-title {
        font-size: 1.8rem;
    }
    
    .card-header {
        padding: 18px 18px 10px;
    }
    
    .reason-content {
        padding: 18px;
    }
    
    .reason-number {
        font-size: 2rem;
        top: 10px;
        right: 12px;
    }
    
    .card-header h3 {
        font-size: 0.95rem;
        margin-right: 35px;
    }
    
    .reason-content p {
        font-size: 0.85rem;
    }
    
    .cta-button {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .slider-arrow-left {
        left: -8px;
    }
    
    .slider-arrow-right {
        right: -8px;
    }
    
    .dot {
        width: 9px;
        height: 9px;
    }
}
