/* SECTION */
.xpertnext-about-section {
    width: 100%;
    padding: 30px 15px;
    overflow: hidden;
    background: #fff;
}

/* HEADING */
.xpertnext-about-heading {
    text-align: center;
    max-width: 850px;
    margin: auto;
    margin-bottom: 70px;
}

.xpertnext-about-heading span {
    color: #502110;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.xpertnext-about-heading h2 {
    font-size: 52px;
    color: #111;
    line-height: 1.2;
    margin-top: 18px;
    font-weight: 700;
}

.xpertnext-about-heading p {
    margin-top: 22px;
    color: #666;
    font-size: 16px;
    line-height: 1.9;
}

/* GRID */
.xpertnext-about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.xpertnext-about-card {
    position: relative;
    background: #fff;
    padding: 40px 30px;
    border: 1px solid rgba(80, 33, 16, 0.08);
    transition: 0.5s ease;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

.xpertnext-about-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(80, 33, 16, 0.07);
}

/* NUMBER */
.card-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(80, 33, 16, 0.08);
    color: #502110;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 28px;
    transition: 0.5s ease;
}

.xpertnext-about-card:hover .card-number {
    background: #502110;
    color: #fff;
}

/* TEXT */
.xpertnext-about-card h3 {
    font-size: 20px;
    color: #111;
    line-height: 1.4;
    margin-bottom: 16px;
    font-weight: 600;
}

.xpertnext-about-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.9;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .xpertnext-about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .xpertnext-about-grid {
        grid-template-columns: repeat(2, 1fr); /* ✅ FIX: 2 columns */
        gap: 20px;
    }

    .xpertnext-about-heading h2 {
        font-size: 38px;
    }
}

@media (max-width: 576px) {
    .xpertnext-about-section {
        padding: 60px 5%;
    }

    .xpertnext-about-grid {
        grid-template-columns: repeat(2, 1fr); /* ✅ 2 boxes per row */
        gap: 12px;
    }

    .xpertnext-about-card {
        padding: 25px 18px;
    }

    .card-number {
        width: 50px;
        height: 50px;
        font-size: 16px;
        margin-bottom: 18px;
    }

    .xpertnext-about-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .xpertnext-about-card p {
        font-size: 12px;
        line-height: 1.7;
    }
}