﻿#services {
    position: relative;
}

.services-header {
    display: grid;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.service-card {
    background: var(--surface);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: background 0.25s;
    cursor: default;
}

    .service-card:hover {
        background: var(--surface2);
    }

    .service-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--gold), var(--blue-accent));
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    }

    .service-card:hover::after {
        transform: scaleX(1);
    }

.service-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.service-icon {
    width: 46px;
    height: 46px;
    background: var(--gold-dim);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    transition: border-color 0.25s, background 0.25s;
}

.service-card:hover .service-icon {
    border-color: rgba(201,168,76,0.5);
    background: rgba(201,168,76,0.2);
}

.service-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.8rem;
}

.service-desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    padding: 3px 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--muted);
    transition: all 0.2s;
}

.service-card:hover .tag {
    border-color: rgba(201,168,76,0.25);
    color: var(--gold);
}

.cloud-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: -10px;
    gap: 0px;
}

.services-subtitle {
    color: var(--muted);
    max-width: 420px;
    margin-top: 10px;
}