/* ===== SERVICES SECTION ===== */

#Services{
    background: linear-gradient(135deg, #0b1220, #0e1627);
    padding: 100px 6%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow */
#Services::before{
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,255,106,0.15), transparent 70%);
    top: -100px;
    left: -100px;
}

/* Heading */
#Services h2{
    font-size: 44px;
    color: #fff;
    margin-bottom: 70px;
    font-weight: 600;
}

#Services span{
    color: #00ff6a;
}


/* ===== GRID ===== */

.services-list{
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}


/* ===== CARD ===== */

.box{
    position: relative;
    background: rgba(26, 34, 51, 0.7);
    backdrop-filter: blur(12px);
    padding: 35px 30px;
    border-radius: 18px;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.4s ease;
    cursor: pointer;
    overflow: hidden;
}

/* Animated gradient border */
.box::before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, #00ff6a, transparent, #00ff6a);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.4s;
}

.box:hover::before{
    opacity: 1;
}

.box:hover{
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,255,106,0.15);
}


/* ===== ICON ===== */

.icon{
    font-size: 36px;
    color: #00ff6a;
    margin-bottom: 18px;
    transition: 0.3s;
}

.box:hover .icon{
    transform: scale(1.1);
}


/* ===== TITLE ===== */

.box h3{
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 22px;
}


/* ===== TEXT ===== */

.box p{
    color: #bcbcbc;
    font-size: 14px;
    line-height: 1.7;
}


/* ===== ARROW ===== */

.arrow{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    background: white;
    color: #0b1220;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    opacity: 0;
    transform: translateY(-8px);
    transition: 0.3s ease;
}

.box:hover .arrow{
    opacity: 1;
    transform: translateY(0);
}

.box:hover .arrow i{
    transform: rotate(-45deg);
    transition: 0.3s;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 1200px){
    .services-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px){
    #Services{
        padding: 70px 5%;
    }

    #Services h2{
        font-size: 34px;
    }

    .services-list{
        grid-template-columns: 1fr;
    }

    .box{
        text-align: center;
    }
}