/* =========================
   SERVICES SECTION – FINAL
========================= */

.services-section {
    padding: 10px 20px 60px;
    background: #f8fafc;
}

.services-section .container {
    max-width: 1200px;
}

/* =========================
   HEADING (CENTER FIXED)
========================= */

.services-section .heading-wrap {
    text-align: center;   /* 🔥 center control */
}

.services-section h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
	font-size: 28px;
    color: #0d6efd;
    position: relative;
    padding-bottom: 8px;
    margin: 0 auto 12px;   /* 🔥 center */
}

/* arrow */
.services-section h2::before{
    content: "▶";
    font-size: 14px;
    text-shadow: 1px 1px 0 #999;
}

/* underline */
.services-section h2::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background:
      linear-gradient(#dcdcdc,#dcdcdc) top,
      linear-gradient(#dcdcdc,#dcdcdc) bottom;
    background-size: 100% 1px;
    background-repeat: no-repeat;
}

/* =========================
   SERVICE CARD
========================= */

.service-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 22px;
    text-align: center;
    height: 100%;
    transition: transform 0.25s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.service-card::before{
    display: none;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* =========================
   ICON
========================= */

.service-card i {
    font-size: 38px;
    color: #0d6efd;
    margin-bottom: 14px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.service-card:hover i {
    color: #111;
    transform: scale(1.1);
}

/* =========================
   TITLE
========================= */

.service-card h5 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
    font-size: 1.05rem;
}

/* =========================
   TEXT
========================= */

.service-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* =========================
   RESPONSIVE – TABLET
========================= */

@media (max-width: 992px) {
    .services-section {
        padding: 35px 15px 50px;
    }
}

/* =========================
   RESPONSIVE – MOBILE
========================= */

@media (max-width: 576px) {

    .services-section {
        padding: 28px 10px 40px;
    }

    /* reduce bootstrap row gaps */
    .services-section .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    /* heading */
    .services-section h2 {
        font-size: 1.7rem;
        margin-bottom: 28px;
    }

    /* card compact */
    .service-card {
        padding: 22px 16px;
    }

    /* icon smaller */
    .service-card i {
        font-size: 32px;
        margin-bottom: 10px;
    }

    /* tighter text */
    .service-card h5 {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .service-card p {
        font-size: 0.85rem;
    }
}
