/* ============================= */
/* GLOBAL SERVICE SECTION UPGRADE */
/* ============================= */

.services {
    position: relative;
    z-index: 1;
}

/* Skew Section Divider */
.services::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 120px;
    background: #f8f9fa;
    transform: skewY(-3deg);
    z-index: -1;
}

/* ============================= */
/* SERVICE BLOCK MODERN CARD */
/* ============================= */

.services .row {
    padding: 60px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Gradient Glow Background */
.services .row::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.08),
            rgba(193, 255, 46, 0.08));
    opacity: 0;
    transition: 0.4s;
}

.services .row:hover::before {
    opacity: 1;
}

/* Hover Lift */
.services .row:hover {
    transform: translateY(-10px);
}

/* ============================= */
/* IMAGE FLOAT EFFECT */
/* ============================= */

.services img {
    border-radius: 18px;
    transition: 0.5s ease;
}

.services img:hover {
    transform: scale(1.04) rotate(1deg);
}

/* ============================= */
/* SERVICE TITLE PREMIUM STYLE */
/* ============================= */

.services h2 {
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.services h2::after {
    content: "";
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.9),
            #c1ff2e);
    position: absolute;
    left: 0;
    bottom: -10px;
    border-radius: 20px;
}

/* ============================= */
/* FEATURE LIST STYLE */
/* ============================= */

.services ul li {
    padding-left: 28px;
    position: relative;
    font-weight: 500;
}

.services ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #c1ff72;
    font-weight: bold;
}

/* ============================= */
/* ALTERNATE BACKGROUND DEPTH */
/* ============================= */

.services .row:nth-child(even) {
    background: #f9fafc;
}

/* ============================= */
/* PREMIUM CTA BLOCK */
/* ============================= */

.services .bg-dark {
    background: linear-gradient(135deg,
            #0f172a,
            #020617) !important;

    position: relative;
    overflow: hidden;
}

/* CTA Glow */
.services .bg-dark::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
            rgba(102, 126, 234, 0.3),
            transparent 70%);
    top: -150px;
    left: -100px;
}

.services .bg-dark::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle,
            rgba(193, 255, 46, 0.25),
            transparent 70%);
    bottom: -150px;
    right: -100px;
}

/* CTA Button Upgrade */

.services .btn-primary {
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.services .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.3));
}

@keyframes floatSoft {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.services img {
    animation: floatSoft 6s ease-in-out infinite;
}