/* Management Campaigns Specific Styles - Based on Performance Campaign */

/* Management Header Section */
.management-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;
    overflow: hidden;
}

.tool-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    opacity: 0.3;
}

.tool-icon i {
    font-size: 24px;
    color: #0066FF;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Services Grid Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 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 */
}

.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;
}

.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);
}

/* 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 */
    }
}

@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;
        text-align: left;
        position: relative;
        padding-left: 25px;
    }
    
    .service-features li::before {
        content: '✓';
        color: #2563eb;
        position: absolute;
        left: 0;
        font-weight: bold;
        font-size: 16px;
    }
}

/* Improved touch targets for mobile */
@media screen and (max-width: 480px) {
    .service-card {
        text-align: center; /* Mobile tetap center */
    }
    
    .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;
    }
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.process-step.animated {
    opacity: 1;
    transform: translateY(0);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 15px;
    font-weight: 600;
}

.process-step p {
    color: #4a5568;
    line-height: 1.6;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
    opacity: 0;
    transform: translateY(30px);
}

.feature-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15);
}

.feature-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;
}

.feature-icon i {
    font-size: 32px;
    color: #2563eb;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: #1a202c;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Content Section H2 Styling - Consistent with Performance Campaign */
.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: #2563eb !important;
    border-radius: 2px;
}

/* General Section Title Styling - Ensure all section headings are centered */
.section-title h2,
section h2,
h2 {
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2::before,
.section-title h2::after {
    display: none !important;
}

.section-title p {
    text-align: center;
    color: #6b7280;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-cta-section h2 {
    font-size: 2.2rem;
    text-align: center;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn.primary {
    background: #25D366;
    color: white;
}

.contact-btn.primary:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.contact-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.contact-btn.secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Animation Classes */
.service-card, .process-step, .feature-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-card.animated, .process-step.animated, .feature-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(2), .process-step:nth-child(2), .feature-item:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3), .process-step:nth-child(3), .feature-item:nth-child(3) {
    transition-delay: 0.4s;
}

.service-card:nth-child(4), .process-step:nth-child(4), .feature-item:nth-child(4) {
    transition-delay: 0.6s;
}

.service-card:nth-child(5), .process-step:nth-child(5), .feature-item:nth-child(5) {
    transition-delay: 0.8s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .service-card, .process-step, .feature-item {
        padding: 25px;
    }
    
    .service-card:nth-child(n+3), .process-step:nth-child(n+2), .feature-item:nth-child(n+3) {
        transition-delay: 0s;
    }
}

@media (max-width: 768px) {
    .management-header {
        padding: 120px 0 60px;
    }
    
    .main-heading {
        font-size: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
        text-align: center;
        width: 100%;
    }
    
    .contact-cta-section h2 {
        font-size: 1.8rem;
    }
    
    .case-studies-section .section-title h2 {
        font-size: 1.8rem;
    }
    
    .services-grid, .process-steps, .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .partner-badges {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
        justify-content: 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;
    }
}

@media (max-width: 480px) {
    .management-header {
        padding: 100px 0 40px;
    }
    
    .main-heading {
        font-size: 1.8rem;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .contact-cta-section h2 {
        font-size: 1.6rem;
    }
    
    .case-studies-section .section-title h2 {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .service-card, .process-step, .feature-item {
        padding: 20px;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
}

/* Case Studies Section - Static Display */
.case-studies-section {
    background: #f8fafc;
    padding: 80px 0;
    position: relative;
}

.case-studies-section .section-title h2 {
    font-size: 2.2rem;
    color: #1a202c;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
    position: relative;
}

/* Remove any existing pseudo-elements and create only one blue line */
.case-studies-section .section-title h2::before {
    display: none !important;
}

.case-studies-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2563eb !important;
    border-radius: 2px;
}

.case-studies-section .section-title p {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 50px;
}

.success-stories-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-study-card {
    background: #ffffff;
    display: flex;
    min-height: 350px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.case-study-image {
    flex: 0 0 35%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    opacity: 0.9;
}

.case-study-content {
    flex: 1;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.case-study-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 15px;
}

.case-study-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 25px;
}

.case-study-info {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.case-info-item {
    flex: 1;
    min-width: 100px;
    background: #f9fafb;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    border-left: 3px solid #1e3a8a;
}

.case-info-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #1e3a8a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.case-info-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.case-results {
    display: flex;
    gap: 15px;
}

.result-box {
    flex: 1;
    background: #1e3a8a;
    color: white;
    padding: 18px 15px;
    border-radius: 10px;
    text-align: center;
}

.result-value {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.result-label {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
}

/* Responsive Design for Case Studies Grid */
@media (max-width: 1024px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .case-study-card {
        min-height: 320px;
    }
}

@media (max-width: 768px) {
    .case-studies-section {
        padding: 60px 0;
    }
    
    .case-study-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .case-study-image {
        flex: none;
        min-height: 200px;
        padding: 0;
        overflow: hidden;
    }
    
    .case-study-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .case-study-content {
        padding: 25px;
    }
    
    .case-study-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .case-study-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .case-study-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .case-results {
        gap: 12px;
    }
    
    .result-box {
        padding: 15px 12px;
    }
    
    .result-value {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .success-stories-container {
        padding: 0 15px;
    }
    
    .case-study-content {
        padding: 20px;
    }
    
    .case-results {
        flex-direction: column;
        gap: 10px;
    }
}

/* 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%); }
}
