﻿/* Root */
.services-root {
    position: relative;
    background-color: #050507;
    width: 100%;
    padding: 7rem var(--layout-padding-mobile);
}

/* Container aligned with Hero + Navbar */
.services-container {
    position: relative;
    max-width: var(--layout_container-maxwidth);
    margin: 0 auto;
    width: 100%;
}

/* Header */
.services-header {
    max-width: 680px;
    margin-bottom: 4rem;
}

.services-tag {
    font-family: monospace;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #00E599;
    margin-bottom: 1rem;
}

.services-title {
    font-family: "Outfit", system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #ffffff;
}

/* Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .services-title {
        font-size: 2.20rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(12, 1fr);
    }

    .services-root {
        padding: 7rem var(--layout-padding-desktop);
    }

    .services-title {
        font-size: 2.75rem;
    }

    /* Column spans */
    .lg\:col-span-7 {
        grid-column: span 7 / span 7;
    }

    .lg\:col-span-5 {
        grid-column: span 5 / span 5;
    }
}

/* Card */
.service-card {
    position: relative;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: rgb(56, 75, 56, 0.20);
    backdrop-filter: blur(8px);
    padding: 2rem;
    transition: border-color 0.5s ease;
}

.service-card:hover {
    border-color: #00E599;
}

/* Featured background */
.service-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.10;
    transition: opacity 0.7s ease;
}

.service-card:hover .service-bg {
    opacity: 0.20;
}

.service-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9), rgba(10,10,10,0.6), transparent);
}
/* Content */
.service-content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* Top row */
.service-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.service-icon {
    height: 48px;
    width: 48px;
    border-radius: 0.5rem;
    background-color: rgba(0,229,153,0.1);
    border: 1px solid rgba(0,229,153,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00E599;
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    background-color: #00E599;
    color: #050507;
}

.service-number {
    font-family: monospace;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.2);
}
/* Title */
.service-name {
    margin-top: 2rem;
    font-family: "Outfit", system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.75rem;
    color: #ffffff;
}
/* Description */
.service-desc {
    margin-top: 1rem;
    color: #cccccc;
    max-width: 500px;
    line-height: 1.6;
}
/* Tags */
.service-tags {
    margin-top: auto;
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag-item {
    font-family: monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #cccccc;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}