*,
*::before,
*::after{
    box-sizing:border-box;
}

/* ===== SALON SECTION OUTER BOX ===== */
/* ===== SECTION CONTAINER ===== */
.home{
    width:100%;
    display:flex;
    justify-content:center;
    margin:20px 0 10px;
}

.home-section{
    width:95%;
    background:#D9D0E1;
    border:1px solid #f0dede;
    border-radius:12px;
    padding:18px 14px 24px;
}

/* ===== TITLE ROW ===== */
.service-title{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:14px;
    margin-bottom:18px;
}

/* SIDE LINES */
.service-title::before,
.service-title::after{
    content:"";
    flex:1;
    height:1px;
    background:#431469;
}

/* CENTER PILL */
.service-title span{
    padding:7px 22px;
    background:#431469;
    border-radius:20px;
    font-size:16px;
    font-weight:600;
    color:#fff;
    white-space:nowrap;
}

/* ===== SERVICES WRAPPER ===== */
.service-wrapper{
    width:100%;
    margin:auto;
}

/* ===== GRID ===== */
.services-grid{
    display:grid;
    grid-template-columns:repeat(6, 1fr); /* ✅ 6 services per row */
    gap:26px;
    width:100%;
}



/* ===== CARD ===== */
.service-card{
    text-align:center;
    cursor:pointer;
    transition:0.3s ease;
   background: transparent !important
}

.service-card:hover{
    transform:translateY(-4px);
}

/* IMAGE */
.service-card img{
    width:100%;
    height:170px;
    object-fit:cover;
    border-radius:16px;
}

/* TEXT */
.service-card p{
    margin-top:6px;
    font-size:15px;
    font-weight:500;
    color:#444;
}

/* ===== TABLET ===== */
@media(max-width:768px){
    .services-grid{
        grid-template-columns:repeat(2,1fr);
        gap:20px;
    }

    .service-card img{
        height:140px;
    }

    .service-title span{
        font-size:15px;
        padding:6px 20px;
    }
}

/* ===== MOBILE ===== */
@media(max-width:480px){
    .home-section{
        padding:14px 10px 18px;
        border-radius:10px;
    }

    .services-grid{
        grid-template-columns:repeat(2,1fr); /* ✅ 2 services per row on mobile */
        gap:16px;
    }

    .service-card img{
        height:120px;
    }

    .service-title span{
        font-size:14px;
        padding:5px 18px;
    }
}
