/* ── Services: Consulting & Advisory Section ── */

.services-consulting-section {
    background-color: var(--color-dark, #001D24);
}

/* ── Cards stack ── */
.services-consulting-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-consulting-cards {
    position: relative;
    width: 420px;
    height: 340px;
}

.services-consulting-card {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease;
    cursor: pointer;
}

.services-consulting-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Default stacked positions */
.services-consulting-card-1 {
    width: 340px;
    height: 260px;
    top: 40px;
    left: 0;
    z-index: 3;
    transform: rotate(-3deg);
}

.services-consulting-card-2 {
    width: 320px;
    height: 240px;
    top: 20px;
    left: 60px;
    z-index: 2;
    transform: rotate(2deg);
}

.services-consulting-card-3 {
    width: 300px;
    height: 220px;
    top: 0;
    left: 120px;
    z-index: 1;
    transform: rotate(5deg);
}

/* Hover: fan out like cards */
.services-consulting-cards:hover .services-consulting-card-1 {
    transform: rotate(-12deg) translateX(-40px) translateY(10px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.services-consulting-cards:hover .services-consulting-card-2 {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    z-index: 2;
}

.services-consulting-cards:hover .services-consulting-card-3 {
    transform: rotate(12deg) translateX(40px) translateY(10px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Placeholder */
.services-consulting-placeholder {
    width: 420px;
    height: 280px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .services-consulting-cards {
        width: 300px;
        height: 260px;
    }

    .services-consulting-card-1 {
        width: 240px;
        height: 185px;
    }

    .services-consulting-card-2 {
        width: 220px;
        height: 170px;
        left: 40px;
    }

    .services-consulting-card-3 {
        width: 200px;
        height: 155px;
        left: 80px;
    }

    .services-consulting-placeholder {
        width: 300px;
        height: 200px;
    }
}
