/**
 * A2Z Process Widget Styles
 */

.a2z-process-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    /* Reduced from 60px */
}

.a2z-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.a2z-process-item {
    text-align: center;
    position: relative;
}

.a2z-process-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 373 / 209;
    margin-bottom: 30px;
    border-radius: 4px;
    /* Changed from 8px to match What We Do */
    /* Subtle rounding for a premium feel */
    overflow: visible;
    /* To allow number to overlap */
}

.a2z-process-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    /* Changed from 8px to match What We Do */
}

.a2z-process-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    /* Reduced from 44px */
    height: 34px;
    /* Reduced from 44px */
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    /* Reduced from 18px */
    font-weight: 700;
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.a2z-process-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    /* Reduced from 17px */
    line-height: 1.6;
    color: #666666;
    /* Slightly softer color for description */
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
}

/* Initial Hidden State for Entrance Animation */
.a2z-process-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Tablet: < 1024px */
@media (max-width: 1024px) {
    .a2z-process-grid {
        gap: 24px;
    }
}

/* Mobile: < 768px */
@media (max-width: 767px) {
    .a2z-process-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        /* More space between stacked items */
    }

    .a2z-process-text {
        font-size: 14px;
        max-width: 100%;
    }
}