/*==================================================
            PREMIUM SERVICES SECTION
==================================================*/

.services{

    position:relative;
    padding:160px 0;
    background:#070707;
    overflow:hidden;

}

/*=============================
        BACKGROUND
==============================*/

.services::before{

    content:"";

    position:absolute;

    width:900px;
    height:900px;

    top:-450px;
    right:-350px;

    background:radial-gradient(
        circle,
        rgba(217,23,23,.18),
        transparent 70%
    );

    pointer-events:none;

}

.services::after{

    content:"SERVICES";

    position:absolute;

    left:-70px;
    bottom:-70px;

    font-family:"Anton",sans-serif;

    font-size:13rem;

    color:rgba(215, 41, 41, 0.025);

    letter-spacing:10px;

    user-select:none;

    pointer-events:none;

}

/*=============================
        CONTAINER
==============================*/

.services .container{

    position:relative;

    z-index:2;

}

/*=============================
        TITLE
==============================*/

.services .section-title{

    text-align:center;

    margin-bottom:90px;

}

.services .section-title span{

    display:inline-block;

    color:#d91717;

    font-size:.85rem;

    font-weight:700;

    letter-spacing:3px;

    margin-bottom:20px;

}

.services .section-title h2{

    color:#fff;

    font-family:"Anton",sans-serif;

    font-size:clamp(3rem,6vw,5.5rem);

    letter-spacing:2px;

    margin-bottom:25px;

}

.services .section-title p{

    max-width:760px;

    margin:auto;

    color:#bdbdbd;

    line-height:1.9;

    font-size:1.05rem;

}

/*=============================
            GRID
==============================*/

.services-grid{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(340px,1fr));

    gap:35px;

}

/*=============================
            CARD
==============================*/

.service-card{

    position:relative;

    padding:45px;

    border-radius:28px;

    background:

        linear-gradient(
            180deg,
            rgba(255,255,255,.06),
            rgba(255,255,255,.03)
        );

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    overflow:hidden;

    transition:.45s cubic-bezier(.22,.61,.36,1);

    min-height:360px;

    display:flex;

    flex-direction:column;

}

/*=============================
        TOP BORDER
==============================*/

.service-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:0;

    height:4px;

    background:#d91717;

    transition:.45s;

}

/*=============================
        NUMBER
==============================*/

.service-number{

    color:#ff4747;

    font-size:.8rem;

    font-weight:700;

    letter-spacing:3px;

    margin-bottom:28px;

}

/*=============================
            ICON
==============================*/

.service-icon{

    width:82px;

    height:82px;

    border-radius:22px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    margin-bottom:35px;

    transition:.4s;

}

.service-icon img{

    width:38px;

    transition:.4s;

}

/*=============================
            TITLE
==============================*/

.service-card h3{

    color:#fff;

    font-family:"Anton",sans-serif;

    font-size:2rem;

    letter-spacing:1px;

    margin-bottom:20px;

}

/*=============================
        DESCRIPTION
==============================*/

.service-card p{

    color:#bdbdbd;

    line-height:1.9;

    font-size:1rem;

    flex:1;

}

/*=============================
        BUTTON
==============================*/

.service-link{

    display:inline-flex;

    align-items:center;

    gap:12px;

    margin-top:35px;

    color:#fff;

    font-weight:600;

    letter-spacing:1px;

    transition:.35s;

}

.service-link span{

    transition:.35s;

}

/*=============================
        DECORATIVE CIRCLE
==============================*/

.circle{

    position:absolute;

    width:170px;

    height:170px;

    border-radius:50%;

    right:-60px;

    bottom:-60px;

    background:rgba(255,255,255,.03);

    transition:.45s;

}

/*=============================
        HOVER
==============================*/

.service-card:hover{

    transform:translateY(-14px);

    border-color:rgba(217,23,23,.45);

    box-shadow:

        0 35px 80px rgba(0,0,0,.45),

        0 0 45px rgba(217,23,23,.18);

}

.service-card:hover::before{

    width:100%;

}

.service-card:hover .service-icon{

    background:#d91717;

    border-color:#d91717;

    transform:rotate(8deg) scale(1.08);

}

.service-card:hover .service-icon img{

    transform:scale(1.1);

}

.service-card:hover .service-link{

    color:#ff5a5a;

}

.service-card:hover .service-link span{

    transform:translateX(8px);

}

.service-card:hover .circle{

    transform:scale(1.45);

    background:rgba(217,23,23,.14);

}
/*==================================================
        PREMIUM ANIMATIONS & EFFECTS
==================================================*/

/* Floating Glow */

.service-card::after{

    content:"";

    position:absolute;

    width:220px;
    height:220px;

    border-radius:50%;

    top:-120px;
    right:-120px;

    background:radial-gradient(
        circle,
        rgba(217,23,23,.18),
        transparent 70%
    );

    opacity:0;

    transition:.5s ease;

}

.service-card:hover::after{

    opacity:1;

    transform:scale(1.2);

}

/* Icon Glow */

.service-card:hover .service-icon{

    box-shadow:

        0 0 20px rgba(217,23,23,.35),

        0 0 50px rgba(217,23,23,.18);

}

/* Number Animation */

.service-card:hover .service-number{

    letter-spacing:5px;

    color:#ff6b6b;

}

/* Title Animation */

.service-card h3{

    transition:.35s ease;

}

.service-card:hover h3{

    transform:translateY(-4px);

    color:#ffffff;

}

/* Description Animation */

.service-card p{

    transition:.35s ease;

}

.service-card:hover p{

    color:#e5e5e5;

}

/* Learn More Button */

.service-link{

    position:relative;

}

.service-link::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-5px;

    width:0;
    height:2px;

    background:#d91717;

    transition:.35s;

}

.service-card:hover .service-link::after{

    width:100%;

}

/*======================================
        FLOAT ANIMATION
=======================================*/

@keyframes floating{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-8px);

    }

    100%{

        transform:translateY(0);

    }

}

.service-card:hover .circle{

    animation:floating 3s infinite ease-in-out;

}

/*======================================
        GRID STAGGER
=======================================*/

.service-card:nth-child(2){

    margin-top:40px;

}

.service-card:nth-child(5){

    margin-top:40px;

}

/*======================================
        TABLET
=======================================*/

@media(max-width:1200px){

    .services{

        padding:120px 0;

    }

    .services-grid{

        gap:28px;

    }

}

@media(max-width:992px){

    .services-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .service-card:nth-child(2),

    .service-card:nth-child(5){

        margin-top:0;

    }

}

/*======================================
        MOBILE
=======================================*/

@media(max-width:768px){

    .services{

        padding:90px 0;

    }

    .services-grid{

        grid-template-columns:1fr;

    }

    .service-card{

        min-height:auto;

        padding:35px;

    }

    .service-icon{

        width:70px;
        height:70px;

    }

    .service-icon img{

        width:32px;

    }

    .service-card h3{

        font-size:1.7rem;

    }

    .services::after{

        display:none;

    }

}

/*======================================
        SMALL MOBILE
=======================================*/

@media(max-width:480px){

    .services{

        padding:70px 0;

    }

    .services .section-title{

        margin-bottom:60px;

    }

    .services .section-title h2{

        font-size:2.5rem;

    }

    .service-card{

        padding:28px;

        border-radius:22px;

    }

    .service-number{

        margin-bottom:20px;

    }

    .service-icon{

        width:60px;
        height:60px;

        border-radius:18px;

    }

    .service-icon img{

        width:28px;

    }

    .service-card h3{

        font-size:1.45rem;

    }

    .service-card p{

        font-size:.95rem;

    }

}

/*======================================
        PREMIUM ENTRANCE
=======================================*/

.service-card{

    opacity:0;

    transform:translateY(60px);

    animation:serviceReveal .8s forwards;

}

.service-card:nth-child(1){animation-delay:.1s;}
.service-card:nth-child(2){animation-delay:.2s;}
.service-card:nth-child(3){animation-delay:.3s;}
.service-card:nth-child(4){animation-delay:.4s;}
.service-card:nth-child(5){animation-delay:.5s;}
.service-card:nth-child(6){animation-delay:.6s;}
.service-card:nth-child(7){animation-delay:.7s;}

@keyframes serviceReveal{

    from{

        opacity:0;

        transform:translateY(60px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}