/* Service Page Styles */

:root {
    --service-primary: #128c5e;
    --service-primary-dark: #0f766e;
    --service-primary-light: #f0fdf4;
    --service-text: #1e293b;
    --service-text-secondary: #64748b;
}

/* 1. Intro Section */
.service-intro-section {
    padding: 80px 0;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.service-intro-desc {
    font-size: 18px;
    line-height: 1.8;
    color: var(--service-text);
    margin-bottom: 30px;
}

.service-intro-checklist {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.service-intro-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--service-text);
    font-size: 16px;
}

.service-intro-checklist li::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--service-primary);
    border-radius: 50%;
}

/* 2. Service Grid */
.service-grid-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.section-header-centered {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-centered h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--service-primary);
    margin-bottom: 10px;
}

.section-header-centered p {
    color: var(--service-text-secondary);
    font-size: 16px;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-cards-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: #ffffff;
    border: 1px solid #d9e9df;
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    text-decoration: none !important;
}

.service-card * {
    text-decoration: none !important;
}

.service-icon {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #1a9c6d 0%, #128c5e 100%);
    box-shadow: 0 10px 20px rgba(26, 156, 109, 0.2);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.service-icon i {
    color: #ffffff !important;
    font-size: 28px;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
    transition: color 0.3s ease;
}

.service-desc {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-more {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a9c6d;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
    transition: gap 0.3s ease, opacity 0.3s ease;
}

.service-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #1a9c6d;
    background: #fff;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card:hover .service-title {
    color: #1a9c6d;
}

.service-card:hover .service-icon i {
    color: #ffffff !important;
}

.service-card:hover .service-more {
    opacity: 1;
    gap: 12px;
}

.service-card:hover .service-more i {
    transform: translateX(4px);
}

/* 3. Core Values */
.service-values-section {
    padding: 100px 0;
    background-color: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    text-align: center;
}

.value-item .item-circle {
    width: 100px;
    height: 100px;
    background-color: var(--service-primary);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.value-item .item-circle i {
    font-size: 40px;
    color: #ffffff;
}

.value-item:hover .item-circle {
    transform: scale(1.1);
}

.value-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--service-text);
    margin-bottom: 10px;
}

.value-item p {
    font-size: 14px;
    color: var(--service-text-secondary);
    line-height: 1.5;
}

/* Pagination */
#service-ajax-container {
    transition: opacity 0.3s ease;
}

.service-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.service-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--service-primary);
    border-radius: 50%;
    color: var(--service-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-pagination .page-numbers.current,
.service-pagination .page-numbers:hover {
    background-color: var(--service-primary);
    color: #fff;
}

.service-pagination .page-numbers.dots {
    border-color: transparent;
    color: var(--service-text-secondary);
}

.service-empty-wrapper {
    text-align: center;
    padding: 40px 0;
    color: var(--service-text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .service-intro-checklist {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .section-header-centered h2 {
        font-size: 28px;
    }
}