/* validation.css */
.validation-section {
    background: #fff;
    padding: 80px 20px;
    border-top: 1px solid #e5e7eb;
    /*border-bottom: 1px solid #e5e7eb; */
}

.validation-heading {
    text-align: center;
    margin-bottom: 60px;
}

.validation-heading h2 {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(237, 36, 78);
}

/* FLEX CONTAINER */
.validation-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    /* even spacing */
    align-items: stretch;
    flex-wrap: wrap;
    /* wrap for smaller screens */
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

/* FLEX ITEM */
.validation-item {
    flex: 1 1 25%;
    /* grow, shrink, base 25% width */
    min-width: 80px;
    background: #fff;
    text-align: center;
    padding: 40px 20px;
    border-right: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
} 
/* 

.validation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    transition: color 0.3s;
} */

/* Ensure the icon and text align properly */
.validation-item svg {
    transition: stroke 0.3s;
}

/* When hovering the entire item, make SVG green */
.validation-item:hover svg {
    stroke: #00cc7a;
}

.validation-item:nth-child(4) {
    border-right: none;
}

/* ICON STYLING */
.validation-item .icon-item {
    margin-bottom: 15px;
    color: #0d9488;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.icon-item svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.8;
    transition: transform 0.3s ease, color 0.3s ease;
}

.icon-item svg:hover {
    transform: scale(1.1);
    color: #059669;
}

/* TEXT STYLING */
.validation-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

.validation-item p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.4;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .validation-item {
        flex: 1 1 50%;
        /* 2 per row */
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .validation-item:nth-child(2n) {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .validation-item {
        flex: 1 1 100%;
        /* full width per row */
        border-bottom: 1px solid #e5e7eb;
    }

    .validation-item:last-child {
        border-bottom: none;
    }
}