/* Complexity Services Grid Styles */
.cs-wrapper {
    width: 100%;
    margin: 0 auto;
    color: #111;
}

/* TOP AREA */
.cs-top-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 30px;
}

.cs-heading h2 {
    font-size: 85px;
    line-height: 0.9;
    font-weight: 800;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
}

.cs-heading-amber {
    color: #E87722;
}

.cs-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    max-width: 480px;
    font-weight: 500;
    padding-top: 35px;
}

.cs-hero-banner {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 19 / 7;
}

.cs-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BOTTOM CARDS GRID */
.cs-bottom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cs-card {
    background: #f8f3eb;
    border: 1px solid #7d7d7d;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cs-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    background: #fff;
    /* Slight brighten on hover */
}

/* Entrance Animation Initial States */
.cs-heading,
.cs-description,
.cs-hero-banner,
.cs-card {
    opacity: 0;
    transform: translateY(30px);
}

.cs-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.cs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.cs-card:hover .cs-card-image img {
    transform: scale(1.08);
}

.cs-card-body {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cs-card-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.cs-card-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cs-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #E87722;
    overflow: hidden;
    /* For image icons */
}

.cs-card-icon img {
    object-fit: contain;
}

.cs-card-decor {
    width: 55px;
    height: 3.0px;
    background: #E87722;
    opacity: 0.5;
}

.cs-card-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 5px 0 0 0;
    line-height: 1.4;
}

.cs-card-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .cs-top-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cs-heading h2 {
        font-size: 65px;
    }

    .cs-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cs-heading h2 {
        font-size: 45px;
    }

    .cs-bottom-grid {
        grid-template-columns: 1fr;
    }
}