﻿/* ==================================================
   PREMIUM DARK SERVICES
   ================================================== */

.services-section {
    position: relative;
    padding: 115px 0;
    background: radial-gradient( circle at 85% 10%, rgba(215, 25, 32, .10), transparent 30% ), linear-gradient( 180deg, #080808 0%, #101010 100% );
    color: #fff;
    overflow: hidden;
}


/* HEADER */

.services-header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 70px;
}

    .services-header span {
        display: inline-block;
        color: #d71920;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 3px;
        text-transform: uppercase;
    }

    .services-header h2 {
        margin: 18px 0 0;
        color: #fff;
        font-size: clamp(40px, 5vw, 58px);
        font-weight: 800;
        line-height: 1.05;
    }

        .services-header h2 strong {
            color: #d71920;
        }

    .services-header p {
        max-width: 720px;
        margin: 22px auto 0;
        color: rgba(255,255,255,.58);
        font-size: 15px;
        line-height: 1.9;
    }


/* CARDS */

.service-card {
    position: relative;
    height: 100%;
    background: #151515;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.35);
    transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}

    .service-card:hover {
        transform: translateY(-10px);
        border-color: rgba(215,25,32,.55);
        box-shadow: 0 30px 70px rgba(0,0,0,.5);
    }


    /* TOP RED LINE */

    .service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: #d71920;
        transition: width .4s ease;
        z-index: 10;
    }

    .service-card:hover::before {
        width: 100%;
    }


/* IMAGE */

.service-image {
    position: relative;
    overflow: hidden;
}

    .service-image::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, transparent 45%, rgba(0,0,0,.65) );
    }

    .service-image img {
        width: 100%;
        height: 245px;
        object-fit: cover;
        display: block;
        transition: transform .7s ease, filter .5s ease;
    }

.service-card:hover .service-image img {
    transform: scale(1.07);
    filter: brightness(.8);
}


/* CONTENT */

.service-content {
    position: relative;
    padding: 32px 30px 30px;
}


/* ICON */

.service-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -66px;
    background: #0b0b0b;
    color: #d71920;
    border: 1px solid rgba(215,25,32,.45);
    border-radius: 50%;
    font-size: 24px;
    position: relative;
    z-index: 5;
    box-shadow: 0 15px 35px rgba(0,0,0,.5);
    transition: .35s ease;
}

.service-card:hover .service-icon {
    background: #d71920;
    color: #fff;
    transform: translateY(-5px) rotate(-3deg);
    box-shadow: 0 15px 35px rgba(215,25,32,.3);
}


/* TITLE */

.service-content h3 {
    margin: 25px 0 0;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
}


/* TEXT */

.service-content p {
    min-height: 82px;
    margin: 15px 0 25px;
    color: rgba(255,255,255,.55);
    font-size: 14px;
    line-height: 1.85;
}


/* BUTTON */

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 0;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.3px;
    transition: .3s ease;
}

    .service-btn i {
        color: #d71920;
        transition: .3s ease;
    }

    .service-btn:hover {
        background: #d71920;
        border-color: #d71920;
        color: #fff;
    }

        .service-btn:hover i {
            color: #fff;
            transform: translateX(5px);
        }


/* BOTTOM RED LINE */

.service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #d71920;
    transition: width .4s ease;
}

.service-card:hover::after {
    width: 100%;
}


/* MOBILE */

@media (max-width: 991px) {

    .services-section {
        padding: 90px 0;
    }

    .services-header {
        margin-bottom: 55px;
    }

        .services-header h2 {
            font-size: 40px;
        }
}

@media (max-width: 767px) {

    .services-section {
        padding: 75px 0;
    }

    .services-header h2 {
        font-size: 38px;
    }

    .service-card {
        margin-bottom: 25px;
    }

    .service-content p {
        min-height: auto;
    }
}
