/* =====================================================
   SERVICE PAGE STYLES - SG ENERGY 2026
   Service Cards, Process Timeline, Features
===================================================== */

/* ===================== SERVICE INTRO ===================== */
.service-intro {
    text-align: center;
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);
}

.service-intro__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(66, 165, 245, 0.1) 0%, rgba(0, 172, 193, 0.15) 100%);
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-lg);
    border: 2px solid rgba(66, 165, 245, 0.2);
}

    .service-intro__badge i {
        font-size: 14px;
    }

.service-intro__title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.service-intro__desc {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* ===================== SERVICE CARDS ===================== */
.service-cards {
    padding: var(--spacing-3xl) 0;
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
}

.service-card {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    border: 2px solid var(--border-light);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: transform var(--transition-smooth);
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:nth-child(2)::before {
        background: var(--gradient-secondary);
    }

    .service-card:nth-child(3)::before {
        background: var(--gradient-accent);
    }

    .service-card:nth-child(4)::before {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .service-card:nth-child(5)::before {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    }

    .service-card:nth-child(6)::before {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary-light);
    }

.service-card__icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-2xl);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
}

.service-card:nth-child(2) .service-card__icon {
    background: var(--gradient-secondary);
}

.service-card:nth-child(3) .service-card__icon {
    background: var(--gradient-accent);
}

.service-card:nth-child(4) .service-card__icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card:nth-child(5) .service-card__icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-card:nth-child(6) .service-card__icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-card:hover .service-card__icon {
    transform: scale(1.1) rotate(10deg);
}

.service-card__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.service-card__desc {
    font-size: 15px;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    flex: 1;
}

.service-features {
    margin-bottom: var(--spacing-xl);
}

.service-features__title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .service-features__title i {
        color: var(--primary-color);
        font-size: 14px;
    }

.service-features__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.5;
}

    .service-features__item i {
        color: var(--success-color);
        font-size: 14px;
        flex-shrink: 0;
        margin-top: 3px;
    }

.service-card__cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
}

    .service-card__cta:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .service-card__cta i {
        font-size: 12px;
        transition: transform var(--transition-smooth);
    }

    .service-card__cta:hover i {
        transform: translateX(4px);
    }

/* ===================== SERVICE PROCESS ===================== */
.service-process {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
}

.service-process__header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.service-process__title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.service-process__subtitle {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.6;
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
}

.process-step {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 2px solid var(--border-light);
    transition: all var(--transition-smooth);
    position: relative;
}

    .process-step::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -30px;
        width: 30px;
        height: 2px;
        background: linear-gradient(to right, var(--primary-color), transparent);
        display: none;
    }

@media (min-width: 769px) {
    .process-step:not(:nth-child(3n))::after {
        display: block;
    }
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.process-step__number {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-lg);
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
}

.process-step:nth-child(2) .process-step__number {
    background: var(--gradient-secondary);
}

.process-step:nth-child(3) .process-step__number {
    background: var(--gradient-accent);
}

.process-step:nth-child(4) .process-step__number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.process-step:nth-child(5) .process-step__number {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.process-step:nth-child(6) .process-step__number {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.process-step:hover .process-step__number {
    transform: scale(1.15) rotate(10deg);
}

.process-step__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.process-step__desc {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===================== WHY CHOOSE US ===================== */
.service-why-choose {
    padding: var(--spacing-3xl) 0;
    background: #fff;
}

.service-why-choose__header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.service-why-choose__title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.service-why-choose__subtitle {
    font-size: 18px;
    color: var(--text-medium);
    line-height: 1.6;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
}

.why-choose-item {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-light);
    transition: all var(--transition-smooth);
}

    .why-choose-item:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-light);
        background: #fff;
    }

.why-choose-item__icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: var(--radius-xl);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-smooth);
}

.why-choose-item:nth-child(2) .why-choose-item__icon {
    background: var(--gradient-secondary);
}

.why-choose-item:nth-child(3) .why-choose-item__icon {
    background: var(--gradient-accent);
}

.why-choose-item:nth-child(4) .why-choose-item__icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.why-choose-item:hover .why-choose-item__icon {
    transform: scale(1.1) rotate(10deg);
}

.why-choose-item__content {
    flex: 1;
}

.why-choose-item__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.why-choose-item__desc {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===================== SERVICE CTA (inside Why Choose section) ===================== */
.service-why-choose .service-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    padding: var(--spacing-2xl) var(--spacing-3xl);
    background: linear-gradient(135deg, #1565c0 0%, #00acc1 100%);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

    .service-why-choose .service-cta::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100%25" height="100%25" fill="url(%23grid)"/></svg>');
    }

.service-cta-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-smooth);
}

.service-cta-btn--white {
    background: #fff;
    color: var(--primary-color);
}

    .service-cta-btn--white:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: var(--shadow-xl);
        color: var(--primary-dark);
    }

.service-cta-btn--outline {
    background: transparent;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

    .service-cta-btn--outline:hover {
        background: #fff;
        color: var(--primary-color);
        border-color: #fff;
        transform: translateY(-4px) scale(1.05);
    }

.service-cta-btn i {
    font-size: 16px;
    transition: transform var(--transition-smooth);
}

.service-cta-btn:hover i {
    transform: scale(1.2);
}

/* ===================== CTA SECTION ===================== */
.solutions-after--center .solutions-after__wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
}

.solutions-after--center .after-content {
    text-align: center;
}

.solutions-cta {
    padding: var(--spacing-3xl) var(--spacing-lg);
    background: var(--gradient-primary);
    text-align: center;
    color: var(--text-white);
}

.solutions-cta__title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: var(--spacing-lg);
}

.solutions-cta__text {
    font-size: 16px;
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.solutions-cta__actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-intro__title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .service-intro__title {
        font-size: 32px;
    }

    .service-process__title,
    .service-why-choose__title {
        font-size: 32px;
    }

    .service-why-choose .service-cta {
        flex-direction: column;
        padding: var(--spacing-2xl) var(--spacing-lg);
    }

    .service-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .service-intro__title {
        font-size: 28px;
    }

    .service-card {
        padding: var(--spacing-lg);
    }

    .service-card__icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }

    .service-card__title {
        font-size: 20px;
    }

    .process-step__number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .why-choose-item {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }

    .why-choose-item__icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin: 0 auto;
    }

    .service-cta-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}
