
/* services-reborn.css
   Scoped fixes for Services page so styles don't collide with global template.
   Place at: assets/css/services-reborn.css
*/

/* 1) Kill the rounded blob background that was bleeding into text */
.services-area .services-item.clean-card::before{
    display: none !important;
}

/* 2) Make columns equal height and cards stretch to fill */
.services-area .row > [class*="col-"]{
    display: flex;
}
.services-area .services-item.clean-card{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 520px;           /* adjust if you need taller cards */
    padding: 28px 24px;
    background: #F8FAFF;         /* soft blue background to match theme */
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0,70,200,.08);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 3) Brand/logo box always same height, image never overflows */
.services-area .services-item.clean-card .brand{
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.services-area .services-item.clean-card .brand-logo{
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

/* 4) Tidy texts: consistent spacing & readable lines */
.services-area .services-item.clean-card h3{
    font-size: 22px;
    margin: 6px 0 8px;
    line-height: 1.5;
}
.services-area .services-item.clean-card p{
    margin: 0 0 6px 0;
    line-height: 1.9;
    color: #374151;              /* gray-700 */
    font-size: 15.5px;
}

/* 5) Hover polish without shifting layout */
.services-area .services-item.clean-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,70,200,.12);
}

/* 6) Responsive tweaks */
@media (max-width: 992px){
    .services-area .services-item.clean-card{ min-height: 480px; }
    .services-area .services-item.clean-card .brand{ height: 100px; }
}
@media (max-width: 576px){
    .services-area .row > [class*="col-"]{ display:block; }
    .services-area .services-item.clean-card{ min-height: unset; }
}
