/* =============================================================================
   SERVICES — /services hub page
============================================================================= */


/* --- Section label --- */
.srv-section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary-green);
}

/* --- Intro pillars --- */
.srv-pillar {
    padding: 1.5rem 1rem;
}
.srv-pillar-icon {
    width: 56px;
    height: 56px;
    background: rgba(123,185,62,0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-green);
    margin: 0 auto 1rem;
}
.srv-pillar-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--navbar-bg);
    margin-bottom: 0.5rem;
}
.srv-pillar-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    max-width: 260px;
    margin: 0 auto;
}


/* --- Service cards --- */
.srv-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
    position: relative;
}
.srv-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

/* featured card gets a green top border */
.srv-card-featured {
    border-top: 3px solid var(--primary-green);
}
.srv-card-featured-label {
    position: absolute;
    top: 0;
    right: 1.25rem;
    background: var(--primary-green);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    padding: 0.3rem 0.75rem;
    border-radius: 0 0 6px 6px;
    z-index: 2;
}

.srv-card-image {
    position: relative;
    width: 100%;
    height: 264px;
    overflow: hidden;
    margin: 0;
    flex-shrink: 0;
}
.srv-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.srv-card:hover .srv-card-image img {
    transform: scale(1.04);
}

/* badge overlaid on image */
.srv-card-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    border-radius: 6px;
    padding: 0.35rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.03em;
}
.srv-badge-impl { background: var(--primary-green); color: #ffffff; }
.srv-badge-train { background: var(--primary-green); color: #ffffff; }
.srv-badge-cons { background: var(--primary-green); color: #ffffff; }

.srv-card-body {
    padding: 1.75rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.srv-card-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--navbar-bg);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}
.srv-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 1rem;
    flex: 1;
}
.srv-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.srv-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.srv-card-features li i {
    color: var(--primary-green);
    margin-top: 0.15rem;
    flex-shrink: 0;
}


/* --- CTA --- */
.srv-cta {
    background: linear-gradient(135deg, #14161A 0%, #1a2e10 100%);
}


/* --- Responsive --- */
@media screen and (max-width: 768px) {
    .srv-pillar { padding: 1rem 0.5rem; }
    .srv-pillar-desc { max-width: 100%; }
    .srv-card-image { height: 240px; }
}
