/* ==========================================================
   SERVICES
========================================================== */

.services{

    position:relative;

    overflow:hidden;

}

/* ==========================================================
   Background
========================================================== */

.services::before{

    content:"";

    position:absolute;

    top:-220px;

    right:-180px;

    width:520px;

    height:520px;

    border-radius:50%;

    background:rgba(37,99,235,.08);

    filter:blur(120px);

    pointer-events:none;

}

.services::after{

    content:"";

    position:absolute;

    bottom:-220px;

    left:-180px;

    width:450px;

    height:450px;

    border-radius:50%;

    background:rgba(6,182,212,.08);

    filter:blur(120px);

    pointer-events:none;

}

/* ==========================================================
   Header
========================================================== */

.services-header{

    max-width:860px;

    margin:0 auto 5rem;

    text-align:center;

}

.services-title{

    margin-top:1.4rem;

    font-size:clamp(2.5rem,5vw,4rem);

    font-weight:800;

    line-height:1.2;

}

.services-title span{

    display:block;

    margin-top:.35rem;

    background:var(--gradient-primary);

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    background-clip:text;

}

.services-description{

    max-width:760px;

    margin:2rem auto 0;

    color:var(--text-secondary);

    line-height:2;

    font-size:1.05rem;

}

/* ==========================================================
   Grid
========================================================== */

.services-grid{

    display:grid;

    grid-template-columns:

        repeat(

            3,

            minmax(0,1fr)

        );

    gap:2rem;

}

/* ==========================================================
   Cards
========================================================== */

.services-card{

    position:relative;

    padding:2.5rem;

    border-radius:28px;

    background:var(--gradient-card);

    border:1px solid var(--border-color);

    backdrop-filter:blur(20px);

    transition:all .4s ease;

    overflow:hidden;

}

.services-card:hover{

    transform:translateY(-10px);

    border-color:rgba(37,99,235,.35);

    box-shadow:var(--shadow-lg);

}

.services-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(

            135deg,

            rgba(37,99,235,.12),

            transparent 60%

        );

    opacity:0;

    transition:.4s;

}

.services-card:hover::before{

    opacity:1;

}

/* ==========================================================
   Large Card
========================================================== */

.services-card-large{

    grid-column:span 2;

}

/* ==========================================================
   Icon
========================================================== */

.services-icon{

    width:72px;

    height:72px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:20px;

    background:rgba(37,99,235,.12);

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

    margin-bottom:1.8rem;

}

.services-icon img{

    width:38px;

    height:38px;

    object-fit:contain;

}

/* ==========================================================
   Label
========================================================== */

.services-label{

    display:inline-block;

    padding:.45rem .9rem;

    margin-bottom:1rem;

    border-radius:999px;

    background:rgba(6,182,212,.12);

    color:#67e8f9;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:.03em;

}

/* ==========================================================
   Heading
========================================================== */

.services-card h3{

    margin-bottom:1.5rem;

    font-size:1.65rem;

    font-weight:700;

    line-height:1.3;

    color:#fff;

}

/* ==========================================================
   Text
========================================================== */

.services-card p{

    color:var(--text-secondary);

    line-height:2.1;

    font-size:1rem;

}

/* ==========================================================
   Feature List
========================================================== */

.services-list{

    display:flex;

    flex-direction:column;

    gap:1rem;

    margin-top:2rem;

}

.services-list li{

    display:flex;

    align-items:center;

    gap:.8rem;

    color:var(--text-secondary);

}

.services-list li::before{

    content:"";

    width:8px;

    height:8px;

    border-radius:50%;

    background:var(--color-primary);

    box-shadow:0 0 10px rgba(6,182,212,.7);

}

/* ==========================================================
   Hover Line
========================================================== */

.services-card::after{

    content:"";

    position:absolute;

    right:0;

    bottom:0;

    width:0;

    height:3px;

    background:var(--gradient-primary);

    transition:.45s;

}

.services-card:hover::after{

    width:100%;

}

/* ==========================================================
   Responsive
========================================================== */

@media(max-width:1100px){

    .services-grid{

        grid-template-columns:

            repeat(

                2,

                1fr

            );

    }

    .services-card-large{

        grid-column:span 2;

    }

}

@media(max-width:768px){

    .services-grid{

        grid-template-columns:1fr;

    }

    .services-card-large{

        grid-column:auto;

    }

    .services-card{

        padding:2rem;

    }

    .services-title{

        font-size:2.4rem;

    }

}

@media(max-width:576px){

    .services-card{

        padding:1.75rem;

    }

    .services-icon{

        width:60px;

        height:60px;

    }

    .services-icon img{

        width:30px;

        height:30px;

    }

    .services-card h3{

        font-size:1.35rem;

    }

}