/*------------------*/
/* SERVICES SECTION */
.services-section{
    width:100%;
    padding:20px 8%;
    background:#000;
    position:relative;
    animation:sectionFade 1.2s ease;
}
@keyframes sectionFade{

    0%{
        opacity:0;
        transform:translateY(60px);
    }

    100%{
        opacity:1;
        transform:translateY(0);
    }

}

/*BOTTOM LINE */
.services-section::before,
.services-section::after{
    content:'';
    position:absolute;
    left:3%;
    width:94%;
    height:1px;
    background:linear-gradient(to right, #B028D6, #3D46D4, #B028D6);
}

.services-section::before{
    top:0;
}

.services-section::after{
    bottom:0;
}

/* TITLE */
.section-title{
    text-align:center;
    margin-bottom:20px;
}

.section-title p{
    color:#c026d3;
    letter-spacing:6px;
    font-size:18px;
    font-weight:600;
    animation:glowText 3s ease infinite;
}

@keyframes glowText{

    0%{
        opacity:0.7;
        text-shadow:0 0 0px #B028D6;
    }

    50%{
        opacity:1;

        text-shadow:
        0 0 10px #B028D6,
        0 0 20px #3D46D4;
    }

    100%{
        opacity:0.7;
        text-shadow:0 0 0px #B028D6;
    }

}

.section-title h2{
    font-size:30px;
    font-weight: 500;
    color:#fff;
}

.section-title span{
    color:#fff;
    font-size:14px;
    line-height:1.4;
    max-width:800px;
    display:block;
    margin:auto;
}

/* SERVICES GRID */
.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    max-width:1200px;
    margin:auto;
}

/* SERVICE CARD */
.service-card{
    width: 100%;
    max-width: 350px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 35px;
    border: 1px solid #7b2cff;
    display: flex;
    align-items: flex-start;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.4s ease;
    box-shadow: 0 0 25px rgba(123, 44, 255, 0.25), inset 0 0 30px rgba(255, 255, 255, 0.03);
    background-size:100%;
    opacity:0;
    transform:translateY(80px) scale(0.95);

    transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    box-shadow 0.4s ease,
    background-size 0.4s ease;
     
}
/* SHOW ANIMATION */
.service-card.show{
    opacity:1;
    transform:translateY(0) scale(1);
}

/* DIFFERENT DELAY */
.service-card:nth-child(1){
    animation-delay:0.1s;
}

.service-card:nth-child(2){
    animation-delay:0.2s;
}

.service-card:nth-child(3){
    animation-delay:0.3s;
}

.service-card:nth-child(4){
    animation-delay:0.4s;
}

.service-card:nth-child(5){
    animation-delay:0.5s;
}

.service-card:nth-child(6){
    animation-delay:0.6s;
}



/*------------------*/
/* BORDER GLOW */
/*------------------*/

.service-card::after{
    content:'';
    position:absolute;
    inset:0;
    border-radius:32px;

    border:1px solid rgba(255,255,255,0.08);

    opacity:0;
    transition:0.4s ease;

    z-index:2;
}

.service-card:hover::after{
    opacity:1;

    box-shadow:
    inset 0 0 10px rgba(176,40,214,0.4),
    0 0 10px rgba(61,70,212,0.3);
}


/* DARK OVERLAY */
.service-card::before{
    content:'';
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,0.78),
        rgba(20,0,40,0.35)
    );

    z-index:1;
}

/* HOVER */
.service-card:hover{
    background-size:108%;
    transform:
    translateY(-10px)
    scale(1.02);

    box-shadow:
    0 0 15px #B028D6,
    0 0 35px rgba(61,70,212,0.5);
}

.service-card:hover h3{

    text-shadow:
    0 0 10px rgba(176,40,214,0.7),
    0 0 25px rgba(61,70,212,0.5);

    transform:translateX(5px);
}

/* CONTENT */
.service-content{
    position:relative;
    z-index:2;
}

/* TITLE */
.service-content h3{
    color:#fff;
    font-size:18px;
    margin-bottom:3px;
    font-weight:600;
    transition:0.4s ease;
}

/* LIST */
.service-content ul{
    padding-left:20px;
}

.service-content ul li{
    background:linear-gradient(180deg, #fff, #8A38F5);
    background-clip:text;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    font-size:13px;
    line-height:1.5;
    transition:0.4s ease;
}

/* STAGGER EFFECT */
.service-card:hover ul li:nth-child(1){
    transform:translateX(6px);
}

.service-card:hover ul li:nth-child(2){
    transform:translateX(12px);
}

.service-card:hover ul li:nth-child(3){
    transform:translateX(18px);
}

.service-card:hover ul li:nth-child(4){
    transform:translateX(24px);
}
/*------------------*/
/* SERVICES SECTION */



/* ===================================
   SERVICES - TABLET
=================================== */
@media (max-width: 1024px) {

    .services-section{
        padding:50px 5%;
    }

    .section-title{
        margin-bottom:35px;
    }

    .section-title p{
        font-size:16px;
        letter-spacing:4px;
    }

    .section-title h2{
        font-size:28px;
    }

    .section-title span{
        font-size:14px;
        max-width:650px;
    }

    .services-grid{
        grid-template-columns:repeat(2,1fr);
        gap:25px;
        justify-items:center;
    }

    .service-card{
        max-width:100%;
        height:210px;
    }

}




/* ===================================
   SERVICES - MOBILE
=================================== */
@media (max-width: 768px) {

    .services-section{
        padding:50px 6%;
    }

    .section-title{
        margin-bottom:30px;
    }

    .section-title p{
        font-size:14px;
        letter-spacing:3px;
    }

    .section-title h2{
        font-size:26px;
    }

    .section-title span{
        font-size:14px;
        line-height:1.7;
        max-width:100%;
    }

    .services-grid{
        grid-template-columns:1fr;
        gap:20px;
        justify-items:center;
    }

    .service-card{
        max-width:500px;
        width:100%;
        height:200px;
        padding:25px;
    }

    .service-content h3{
        font-size:18px;
    }

    .service-content ul li{
        font-size:13px;
    }

}




/* ===================================
   SERVICES - SMALL MOBILE
=================================== */
@media (max-width: 480px) {

    .services-section{
        padding:45px 20px;
    }

    .section-title p{
        font-size:12px;
        letter-spacing:2px;
    }

    .section-title h2{
        font-size:22px;
    }

    .section-title span{
        font-size:13px;
        line-height:1.8;
    }

    .services-grid{
        gap:18px;
    }

    .service-card{
        height:auto;
        min-height:190px;
        padding:22px;
        border-radius:24px;
    }

    .service-content h3{
        font-size:16px;
        margin-bottom:8px;
    }

    .service-content ul{
        padding-left:15px;
    }

    .service-content ul li{
        font-size:12px;
        line-height:1.8;
    }

}
