/* Performance Campaign Specific Styles - Portfolio Theme */

/* Performance Header Section */
.performance-header {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.agency-label {
    color: #0066FF;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

.main-heading {
    font-size: 2.5rem;
    color: #1a202c;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 600;
}

.consultation-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-bottom: 40px;
}

.consultation-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    color: white;
}

.consultation-btn i {
    font-size: 18px;
}

/* Partner Badges */
.partner-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.partner-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.05);
}

.badge span {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

/* Marketing Tools Background Animation */
.marketing-tools-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.tool-icon {
    position: absolute;
    font-size: 3rem;
    color: #64748b;
    opacity: 0.4;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    z-index: 1;
    transition: all 0.3s ease;
    will-change: transform;
}

.tool-icon:hover {
    opacity: 0.6;
    transform: scale(1.2);
}

.tool-icon-1 {
    top: 15%;
    left: 5%;
    animation-name: float-1;
    color: #4267B2; /* Facebook blue */
}

.tool-icon-2 {
    top: 25%;
    right: 5%;
    animation-name: float-2;
    animation-delay: -2s;
    color: #0088cc; /* Telegram blue */
}

.tool-icon-3 {
    top: 45%;
    left: 2%;
    animation-name: float-3;
    animation-delay: -4s;
    color: #00acee; /* Twitter blue */
}

.tool-icon-4 {
    top: 35%;
    right: 3%;
    animation-name: float-4;
    animation-delay: -6s;
    color: #833AB4; /* Instagram purple */
}

/* Mobile position adjustments for icons */
@media screen and (max-width: 768px) {
    /* Centered distribution of icons around the header */
    .tool-icon-1 { left: 10%; top: 15%; }
    .tool-icon-2 { right: 10%; top: 15%; }
    .tool-icon-3 { left: 20%; top: 30%; }
    .tool-icon-4 { right: 20%; top: 30%; }
    .tool-icon-5 { left: 15%; top: 50%; }
    .tool-icon-6 { right: 15%; top: 50%; }
    .tool-icon-7 { left: 25%; top: 65%; }
    .tool-icon-8 { right: 25%; top: 65%; }
    .tool-icon-9 { left: 50%; transform: translateX(-50%); top: 75%; }
    .tool-icon-10 { left: 50%; transform: translateX(-50%); top: 35%; }
    
    /* Make icons more visible on mobile */
    .tool-icon {
        opacity: 0.5;
    }
}

.tool-icon-5 {
    top: 65%;
    left: 8%;
    animation-name: float-5;
    animation-delay: -8s;
    color: #25D366; /* WhatsApp green */
}

.tool-icon-6 {
    top: 55%;
    right: 10%;
    animation-name: float-6;
    animation-delay: -10s;
    color: #db4a39; /* Google red */
}

.tool-icon-7 {
    top: 75%;
    left: 12%;
    animation-name: float-7;
    animation-delay: -12s;
    color: #ff0000; /* YouTube red */
}

.tool-icon-8 {
    top: 20%;
    left: 15%;
    animation-name: float-8;
    animation-delay: -14s;
    color: #0e76a8; /* LinkedIn blue */
}

.tool-icon-9 {
    top: 80%;
    right: 12%;
    animation-name: float-9;
    animation-delay: -16s;
    color: #000000; /* TikTok */
}

.tool-icon-10 {
    top: 40%;
    left: 18%;
    animation-name: float-10;
    animation-delay: -18s;
    color: #ff4500; /* Reddit orange */
}

/* Float animations */
@keyframes float-1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, 15px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, 10px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, 10px) rotate(3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-4 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-10px, -15px) rotate(-3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-5 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -10px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-6 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-12px, 8px) rotate(-4deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-7 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(8px, 12px) rotate(3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-8 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5px, -8px) rotate(-2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-9 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -5px) rotate(4deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-10 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-8px, 15px) rotate(-3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Performance Logo Slider */
.performance-clients {
    padding: 40px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.portfolio-logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.portfolio-logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-180px * 12)); } /* Adjust based on number of logos */
}

.portfolio-logo-item {
    width: 180px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-logo-item img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.portfolio-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.content-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.content-section h2 {
    font-size: 2.2rem;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    border-radius: 2px;
}

.content-section p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Services Grid Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
    text-align: left; /* Default text alignment untuk desktop */
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto; /* Center icon untuk desktop */
}

.service-icon i {
    font-size: 32px;
    color: #2563eb;
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a202c;
    text-align: center; /* H3 tetap di tengah untuk desktop */
    line-height: 1.3;
}

/* Paragraph dalam service card rata kiri */
.service-card p {
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
}

.service-features {
    margin: 20px 0;
    text-align: left; /* Features list rata kiri */
}

/* Desktop specific alignment - text left, icon and h3 center */
@media screen and (min-width: 769px) {
    .service-card {
        text-align: left; /* Default text alignment untuk desktop */
    }
    
    .service-card h3 {
        text-align: center; /* H3 tetap di tengah untuk desktop */
    }
    
    .service-icon {
        margin: 0 auto 20px auto; /* Center icon untuk desktop */
    }
    
    .service-card p {
        text-align: left; /* Paragraph rata kiri pada desktop */
        font-family: 'Poppins', sans-serif;
        font-size: 15px;
        font-weight: 400;
        color: #4a5568;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .service-features {
        text-align: left; /* Features list rata kiri pada desktop */
    }
    
    .service-cta {
        display: block;
        text-align: center;
        width: fit-content;
        margin: 15px auto 0 auto; /* Center button pada desktop */
    }
}

.service-features ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.service-features li {
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '✓';
    color: #2563eb;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .service-card {
        text-align: center; /* Mobile tetap center */
    }
    
    .service-card p {
        text-align: left; /* Mobile paragraph rata kiri */
        font-family: 'Poppins', sans-serif;
        font-size: 15px;
        font-weight: 400;
        color: #4a5568;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .service-features {
        text-align: left; /* Mobile features rata kiri */
    }
    
    .service-features ul {
        list-style: none;
        padding-left: 0;
        margin-left: 0;
        text-align: left;
    }
    
    .service-features li {
        margin-bottom: 10px;
        font-family: 'Poppins', sans-serif;
        font-size: 15px;
        font-weight: 400;
        color: #4a5568;
        line-height: 1.6;
        position: relative;
        padding-left: 25px;
    }
    
    .service-features li::before {
        content: '✓';
        color: #2563eb;
        position: absolute;
        left: 0;
        font-weight: bold;
        font-size: 16px;
    }
}

.service-cta {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    margin-top: 15px;
    line-height: 1.4;
}

/* Center the CTA button on desktop while keeping other content left-aligned */
.service-card .service-cta {
    display: block;
    text-align: center;
    width: fit-content;
    margin: 15px auto 0 auto;
}

.service-cta:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
}

/* Improved touch targets for mobile */
@media screen and (max-width: 480px) {
    .service-card {
        text-align: center; /* Mobile tetap center */
    }
    .service-card p {
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    font-weight: 400;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
}
    .service-cta {
        display: block;
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        font-weight: 500;
        padding: 12px 24px;
        text-align: center;
        margin: 20px auto 0 auto;
        width: fit-content;
        line-height: 1.4;
    }
}

/* Case Studies Section */
.case-studies-section {
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.case-studies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../files/important.json') no-repeat;
    opacity: 0.03;
    background-size: cover;
    z-index: 0;
}

.case-studies-slider {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.case-study-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    flex: 1 1 calc(50% - 20px);
    display: flex;
    flex-direction: column;
    min-width: 300px;
    max-width: 540px;
    margin: 0 10px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.case-study-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.case-study-card:hover::after {
    transform: scaleX(1);
}

.case-study-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.case-study-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-study-card:hover .case-study-image::before {
    opacity: 1;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.1);
}

.case-study-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-study-category {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3b82f6;
    margin-bottom: 10px;
    font-weight: 600;
}

.case-study-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a202c;
    transition: color 0.3s ease;
}

.case-study-card:hover .case-study-content h3 {
    color: #2563eb;
}

.case-study-metrics {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
}

.case-study-metrics span {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

/* Keep metrics in one row on all devices */
@media screen and (max-width: 768px) {
    .case-study-metrics {
        gap: 20px;
        justify-content: center;
    }
    
    .case-study-metrics span {
        font-size: 1.7rem;
    }
}

@media screen and (max-width: 480px) {
    .case-study-metrics {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
        gap: 10px;
    }
    
    .case-study-metrics span {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .case-study-metrics small {
        font-size: 0.75rem;
        text-align: center;
    }
}

.case-study-metrics small {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    margin-top: 8px;
    -webkit-text-fill-color: #64748b;
}

.case-study-content p {
    color: #64748b;
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.7;
}

.case-study-link {
    align-self: flex-start;
    padding: 12px 24px;
    background: transparent;
    color: #2563eb;
    text-decoration: none;
    border: 1px solid #2563eb;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.case-study-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.case-study-link:hover {
    background: #2563eb;
    color: #fff;
}

.case-study-link:hover i {
    transform: translateX(5px);
}

/* Process Section */
.process-section {
    padding: 120px 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    right: -150px;
    top: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 40%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
}

.process-section::after {
    content: '';
    position: absolute;
    left: -150px;
    bottom: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 40%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.process-steps {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 32px;
    width: 3px;
    background: linear-gradient(to bottom, #2563eb 0%, #3b82f6 100%);
    border-radius: 3px;
}

.process-step {
    display: flex;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    position: relative;
    transition: transform 0.3s ease;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.3);
    animation: pulse 2s infinite;
    opacity: 0;
}

.process-step:hover .step-number {
    transform: scale(1.1);
}

.process-step:hover .step-number::before {
    opacity: 1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.step-content {
    padding-top: 8px;
    position: relative;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1a202c;
    font-weight: 600;
    transition: color 0.3s ease;
}

.process-step:hover .step-content h3,
.process-step.active .step-content h3 {
    color: #2563eb;
}

.step-content p {
    color: #64748b;
    line-height: 1.7;
}

/* Animations for scroll effects */
.service-card, .case-study-card, .process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.animated, .case-study-card.animated, .process-step.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Add delay for cascade effect */
.service-card:nth-child(2), .case-study-card:nth-child(2), .process-step:nth-child(2) {
    transition-delay: 0.1s;
}

.service-card:nth-child(3), .case-study-card:nth-child(3), .process-step:nth-child(3) {
    transition-delay: 0.2s;
}

.service-card:nth-child(4), .case-study-card:nth-child(4), .process-step:nth-child(4) {
    transition-delay: 0.3s;
}

.service-card:nth-child(5), .case-study-card:nth-child(5), .process-step:nth-child(5) {
    transition-delay: 0.4s;
}

/* Reduce animation complexity on mobile for better performance */
@media (prefers-reduced-motion: reduce), (max-width: 768px) {
    .tool-icon {
        animation-duration: 25s; /* Slower animation on mobile */
    }
    
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-140px * 12)); } /* Adjusted for mobile logo width */
    }
    
    .service-card, .case-study-card, .process-step {
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    
    .service-card:nth-child(n+3), .case-study-card:nth-child(n+2), .process-step:nth-child(n+3) {
        transition-delay: 0.1s; /* Reduce number of different delays on mobile */
    }
    
    .process-step:hover .step-number::before {
        animation: none; /* Disable pulse animation on mobile */
    }
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #1a202c, #2d3748);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.contact-section h2 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-section p {
    color: #cbd5e0;
    max-width: 700px;
    margin: 0 auto 50px;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 10px);
    min-width: 250px;
}

.full-width {
    flex: 1 1 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a202c;
    text-align: left;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #1a202c;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Mobile form improvements */
@media screen and (max-width: 768px) {
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    .submit-btn {
        padding: 14px 24px;
        width: 100%;
        max-width: 100%;
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.submit-btn {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

/* Floating CTA Section */
.floating-cta-section {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.floating-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.floating-cta-section h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 20px;
    position: relative;
}

.floating-cta-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
}

.floating-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    padding: 16px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button i {
    font-size: 1.3rem;
}

.cta-button:hover {
    background: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    /* Header adjustments */
    .performance-header {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .header-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .main-heading {
        font-size: 1.8rem;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .agency-label {
        font-size: 12px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .consultation-btn {
        padding: 12px 24px;
        margin-bottom: 30px;
        justify-content: center;
    }
    
    .partner-badges {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    /* Tool icons adjustments */
    .tool-icon {
        font-size: 2rem;
    }
    
    /* Logo slider adjustments */
    .portfolio-logo-item {
        width: 140px;
        padding: 0 15px;
    }
    
    .portfolio-logo-item img {
        max-height: 45px;
    }
    
    /* Services section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .content-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
        text-align: center;
        width: 100%;
    }
    
    .content-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    /* Center service icons on mobile */
    .service-icon {
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-card h3 {
        text-align: center;
        font-family: 'Poppins', sans-serif;
        font-size: 1.5rem;
        font-weight: 600;
        color: #1a202c;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    /* Case study adjustments */
    .case-study-card {
        flex: 1 1 100%;
    }
    
    .case-study-image {
        height: 180px;
    }
    
    .case-study-content {
        padding: 20px;
        text-align: center;
    }
    
    .case-study-category {
        text-align: center;
    }
    
    .case-study-content h3 {
        text-align: center;
    }
    
    .case-study-metrics {
        gap: 15px;
        justify-content: center;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .case-study-metrics span {
        font-size: 1.6rem;
        text-align: center;
        flex: 1;
        min-width: auto;
    }
    
    .case-study-content p {
        text-align: center;
    }
    
    .case-study-link {
        align-self: center;
    }
    
    /* Process section adjustments */
    .process-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .process-section h2 {
        text-align: center;
    }
    
    .process-section p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .process-steps::before {
        left: 24px;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        margin-right: 15px;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
        text-align: left; /* Keep process steps text aligned left for readability */
    }
    
    .process-step {
        margin-bottom: 40px;
    }
    
    /* Contact form adjustments */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form-container {
        padding: 25px;
    }
    
    .form-group {
        flex: 1 1 100%;
    }
    
    /* Floating CTA adjustments */
    .floating-cta-section {
        padding: 40px 20px;
    }
    
    .floating-cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* Extra small device adjustments */
@media screen and (max-width: 480px) {
    .performance-header {
        padding: 100px 0 50px;
    }
    
    .main-heading {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .consultation-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .tool-icon {
        font-size: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 24px;
    }
    
    /* Make partner badges and icons centered and visible */
    .partner-badges {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .badge {
        justify-content: center;
    }
}
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .process-steps::before {
        left: 20px;
    }
    
    .case-study-link, .service-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .floating-cta-section h2 {
        font-size: 1.5rem;
    }
    
    .floating-cta-section p {
        font-size: 1rem;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* Portfolio Clients Section - From portfolio-original.css */
.portfolio-clients {
    padding: 60px 0;
    background: #ffffff;
    border-bottom: 1px solid #edf2f7;
}

.portfolio-logo-slider {
    overflow: hidden;
    width: 100%;
}

.portfolio-logo-track {
    display: flex;
    animation: slide 15s linear infinite;
}

.portfolio-logo-item {
    flex: 0 0 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.portfolio-logo-item img {
    max-height: 60px;
    max-width: 100%;
    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%); }
}


.influencer-consult-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.influencer-consult-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.influencer-consult-heading {
    text-align: center;
    margin-bottom: 40px;
}

.influencer-consult-heading h2 {
    font-size: 2.5rem;
    color: #1a202c;
    margin-bottom: 15px;
    font-weight: 600;
}

.influencer-consult-heading p {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Form Elements */
.influencer-field-group {
    margin-bottom: 25px;
}

.influencer-field-group label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 500;
}

.influencer-field-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.influencer-field-group input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.influencer-field-group input::placeholder {
    color: #a0aec0;
}

/* Submit Button */
.influencer-consult-submit {
    width: 100%;
    padding: 15px;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.influencer-consult-submit:hover {
    background-color: #3182ce;
}

.influencer-consult-submit:disabled {
    background-color: #a0aec0;
    cursor: not-allowed;
}

/* Error Messages */
.influencer-form-errors {
    color: #e53e3e;
    font-size: 0.9rem;
    margin-top: 5px;
    padding: 8px;
    background-color: #fff5f5;
    border-radius: 4px;
    border-left: 3px solid #e53e3e;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .influencer-consult-wrapper {
        padding: 20px;
    }
    
    .influencer-consult-heading h2 {
        font-size: 2rem;
    }
    
    .influencer-field-group input {
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .influencer-consult-heading h2 {
        font-size: 1.8rem;
    }
    
    .influencer-consult-heading p {
        font-size: 1rem;
    }
}
